mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
MSER: all test passed.
1. if a component's variation is a global minimum than it should be a local minimum 2. for the small image with invert and blur, the MSERs number should be 20
This commit is contained in:
@@ -211,7 +211,7 @@ public:
|
||||
return;
|
||||
}
|
||||
}
|
||||
if( parent_ && parent_->var >= 0.f && var >= parent_->var )
|
||||
if( var > 0.f && parent_ && parent_->var >= 0.f && var >= parent_->var )
|
||||
return;
|
||||
int xmin = INT_MAX, ymin = INT_MAX, xmax = INT_MIN, ymax = INT_MIN, j = 0;
|
||||
wp.msers->push_back(vector<Point>());
|
||||
|
||||
Reference in New Issue
Block a user