First time here? Check out the FAQ!
answered 2014-03-19 13:31:53 -0600
findContours has a parameter 'mode' that can be set to CV_RETR_EXTERNAL to retrieve only the outermost contour.
http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#findcontours