I am doing image processing and I get some scatter points (blue) now, filled with random points (red) on it.enter image description here

I want to find the random points lay inside scatter blue circles. So I tired with MATLAB but cannot do it successfully, as shows.

So my idea is first define all the polygons based on scatter points (hand-draw with black), then use algorithm. Now I just cannot find a way to define these black polygons.enter image description here Any suggestion?


This is not a full answer but just an idea, You can use raster analysis on your blue points convert to raster (with fine pixel size), then use an edge enhancement filter that would depict the edges of blue, convert that to lines, clean it a bit then build your polygons form lines. latter you can easily select red points contained by the polygons.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.