Ask Your Question
0

Remove pixels inside the region in an image

asked 2018-03-26 06:50:49 -0600

1610dinesh gravatar image

Hi I am new to open CV and python and I want to remove the pixels inside region in an image(attached) and only wants edges of the image..image description

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-03-26 07:43:29 -0600

vps gravatar image

Try this: 1) search big contour and fill it. 2) apply canny edge detection to get edges.

edit flag offensive delete link more
0

answered 2018-03-26 07:10:53 -0600

LBerger gravatar image

If you use findContours to get contours then you set RetrievalModes to RETR_EXTERNAL

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-03-26 06:50:49 -0600

Seen: 1,313 times

Last updated: Mar 26 '18