fixed failure in Features2d_MSER.cases

This commit is contained in:
Vadim Pisarevsky 2015-05-21 16:27:34 +03:00
parent dab78c26b1
commit 4c67ae1a0b

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 ? 10 : 2;
int maxRegs = use_big_image ? 1000 : 10;
int maxRegs = use_big_image ? 1000 : 15;
if( binarize && (thresh == 0 || thresh == 255) )
minRegs = maxRegs = 0;