Skip to content

Commit d962b3f

Browse files
committed
Merge pull request opencv#8796 from liurs1990:master
2 parents 11af7b7 + cc3fdd0 commit d962b3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/features2d/src/mser.cpp

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ class MSER_Impl : public MSER
335335
head = comp1->head;
336336
tail = comp2->tail;
337337
size = comp1->size + comp2->size;
338+
// update the history size
339+
history->size =size;
338340

339341
CompHistory *h1 = history->child_;
340342
CompHistory *h2 = comp2->history;

0 commit comments

Comments
 (0)