mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
fix the mser issue
This commit is contained in:
parent
11af7b7e55
commit
cc3fdd005e
2
modules/features2d/src/mser.cpp
Normal file → Executable file
2
modules/features2d/src/mser.cpp
Normal file → Executable file
@ -335,6 +335,8 @@ public:
|
|||||||
head = comp1->head;
|
head = comp1->head;
|
||||||
tail = comp2->tail;
|
tail = comp2->tail;
|
||||||
size = comp1->size + comp2->size;
|
size = comp1->size + comp2->size;
|
||||||
|
// update the history size
|
||||||
|
history->size =size;
|
||||||
|
|
||||||
CompHistory *h1 = history->child_;
|
CompHistory *h1 = history->child_;
|
||||||
CompHistory *h2 = comp2->history;
|
CompHistory *h2 = comp2->history;
|
||||||
|
Loading…
Reference in New Issue
Block a user