Can you explain what you mean by "i would like to box the part i needed ask the pic shown," ?
If I'm correct, it looks like you want to draw a bounding box around the contours with the largest area, but I can only guess. Have you verified your sorting procedure ?
Bookmarks