Reputation: 1776
I have problem with one from steps which i have to do. Most important problem.
I have an image, for example:
The second step's to select part of image:
Ok. If i have this image in cache, which selected area:
Early steps i have done. Problem is with the last step, which task is to select only (exactly outer) border area. Here's example how it should looks:
My ask's to what algorithm or steps i have to do for the last effect. It's feasible for any images? My prefered language's C#/C/JS but if somebody know the knowledge about solution it will be nice! I had find some algorithm for detect edge, but not for outer edge.
Upvotes: 3
Views: 163
Reputation: 5515
Maybe try the following:
this way you should be able to flood fill only the gray background in selection
Upvotes: 1