Dealing with sequences in OpenCV?
Posted
by
Farhad
on Stack Overflow
See other posts from Stack Overflow
or by Farhad
Published on 2011-11-19T02:18:31Z
Indexed on
2011/11/19
9:51 UTC
Read the original article
Hit count: 452
I have 2 sequences. One (lets call this cvSeq x), which contains a number of contours (derived from cvFindContours) and a second (lets call this cvSeq y) which I have used cvCreateSeq upon, but doesn't actually have anything in it. I am looping through all the contours in x, and if a contour meets specific criteria, I add it to y. I am able to do the looping, but I don't know how to add an contour in x to y if it meets the criteria.
Does anyone know how to add a contour in a sequence to another sequence (that is empty)? Code examples will be appreciated.
PS: cvStartFindContours is not an option.
© Stack Overflow or respective owner