Skip to content

Commit cc3fdd0

Browse files
author
n001519
committed
fix the mser issue
1 parent 11af7b7 commit cc3fdd0

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)