1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33: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:
will hunt
2016-08-07 08:38:38 +08:00
parent c3d2921971
commit ac2d79fd67
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ TEST(Features2d_MSER, cases)
GaussianBlur(src, src, Size(5, 5), 1.5, 1.5);
int minRegs = use_big_image ? 7 : 2;
int maxRegs = use_big_image ? 1000 : 15;
int maxRegs = use_big_image ? 1000 : 20;
if( binarize && (thresh == 0 || thresh == 255) )
minRegs = maxRegs = 0;