Update mser.cpp
Need to initialize boolean variable pass2Only, otherwise the result is not predictable
This commit is contained in:
parent
d1a15097fe
commit
b51805e245
@ -67,6 +67,7 @@ public:
|
|||||||
areaThreshold = _area_threshold;
|
areaThreshold = _area_threshold;
|
||||||
minMargin = _min_margin;
|
minMargin = _min_margin;
|
||||||
edgeBlurSize = _edge_blur_size;
|
edgeBlurSize = _edge_blur_size;
|
||||||
|
pass2Only = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int delta;
|
int delta;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user