fixed mser (angle is -1 now)

This commit is contained in:
Maria Dimashova 2012-07-14 15:03:39 +00:00
parent 2bd86e2541
commit c94974ccb3

View File

@ -1296,7 +1296,7 @@ void MserFeatureDetector::detectImpl( const Mat& image, vector<KeyPoint>& keypoi
float diam = sqrt(rect.size.height*rect.size.width);
if( diam > std::numeric_limits<float>::epsilon() && r.contains(rect.center) )
keypoints.push_back( KeyPoint( rect.center, diam, rect.angle) );
keypoints.push_back( KeyPoint(rect.center, diam) );
}
}