answered May 13 '14
1.Create an new image 2. use findcontours to get contours and calcuate area size 3. if area size is less than constant size then do nothing else copy an new image