Bugfix: Private member has not been initialized, use parameter instead. Fixes #103

This commit is contained in:
Peter Rekdal Sunde
2015-04-16 17:13:22 +02:00
parent 081863faff
commit 6e204e925b

View File

@@ -11,7 +11,7 @@ namespace alpr
Mat grayImg; Mat grayImg;
if (colorImage.channels() > 2) if (colorImage.channels() > 2)
{ {
cvtColor(this->colorImg, grayImg, CV_BGR2GRAY); cvtColor(colorImage, grayImg, CV_BGR2GRAY);
} }
else else
{ {