Fixing errors

pull/3190/head
StevenPuttemans 10 years ago
parent 03662c0589
commit d4ec359f11
  1. 2
      modules/features2d/src/blobdetector.cpp

@ -282,7 +282,7 @@ void SimpleBlobDetector::detectImpl(const cv::Mat& image, std::vector<cv::KeyPoi
else
grayscaleImage = image;
if (grayscaleImage.type != CV_8UC1){
if (grayscaleImage.type() != CV_8UC1){
CV_Error(CV_StsUnsupportedFormat, "Blob detector only supports 8-bit images!");
}
vector < vector<Center> > centers;

Loading…
Cancel
Save