Ask Your Question

AP's profile - activity

2016-01-06 16:26:30 -0600 commented question openCV - Dealing with parent/children contours

RETR_TREE? Sounds like Mr Perfect!

2016-01-06 15:47:15 -0600 asked a question openCV - Dealing with parent/children contours

Given a contour X from the array returned from findcontours is it possible to get all the children of X ?

2016-01-06 15:16:51 -0600 received badge  Editor (source)
2016-01-06 15:11:01 -0600 asked a question openCV - Dealing with parent/children contours

I have an image with contours that sometimes can have inside others as well.

Giving this problem i have marked some points in the boundaries with goodfeaturestotrack and the results are fantastic because if a parent have only children with points marked the contour is valid, otherwise it won't be necessary to be passed to drawcontours to create a mask.

So, given a contour X, if i could loop the boundaries of all the contours inside to check if it's good or not would be awesome.

Can it be done?

Ideas to help to do this processing are appreciated.

image description

2016-01-04 01:05:19 -0600 asked a question Looping points inside contours

How can we build a loop to work with the points inside contours but without looping the boundaries?