fix the mser issue

This commit is contained in:
n001519 2017-05-26 16:51:54 +08:00
parent 11af7b7e55
commit cc3fdd005e

2
modules/features2d/src/mser.cpp Normal file → Executable file
View File

@ -335,6 +335,8 @@ public:
head = comp1->head;
tail = comp2->tail;
size = comp1->size + comp2->size;
// update the history size
history->size =size;
CompHistory *h1 = history->child_;
CompHistory *h2 = comp2->history;