Sign in to follow this  

How remove thin contour adjacent to area?

Recommended Posts

I have image YSianrB.png


I must find stain point by arrow 1 and 2. First i must remove thin contours. Remove contour 4 is easy - FloodFill give me  all points of this contour. If points in contours will a few compare to rectangle bounding area - it is thin. Only problem when contour will break by white pixel.

Problem is removing contours near stains 1) and 2) which touch this area. How can I remove point in angled line and leave stains?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this