Jump to content
  • Advertisement
Sign in to follow this  

How remove thin contour adjacent to area?

This topic is 1369 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!