First time here? Check out the FAQ!
answered 2012-11-12 06:48:31 -0600
You have to use cvFindContour and set mode = CV_RETR_EXTERNAL. In this mode you have the external shape and fills all holes by cvDrawContour by level=1