fixed mser (angle is -1 now)

pull/2/head
Maria Dimashova 13 years ago
parent 2bd86e2541
commit c94974ccb3
  1. 2
      modules/features2d/src/mser.cpp

@ -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) );
}
}

Loading…
Cancel
Save