fixed mser (angle is -1 now)
authorMaria Dimashova <no@email>
Sat, 14 Jul 2012 15:03:39 +0000 (15:03 +0000)
committerMaria Dimashova <no@email>
Sat, 14 Jul 2012 15:03:39 +0000 (15:03 +0000)
modules/features2d/src/mser.cpp

index acbfdcc..360e5e0 100644 (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) );
     }
 
 }