Currently using Closing to gap closing and merging floating pixels to the nearest island, the problem is with tiny details which are required to stay immutable closing will alter the image and merge tiny details. The optimal solution is to detect the pixels that need to be joined and join pixels to the nearest island using a arm to merge both, no matter the distance or better giving a distance limit in pixels.
There are any easy solution to this problem?
As example the following picture shows the problem, the red cicles shows what i want to merge, currently i'm able to detect those isolated pixels, so can i do any kind of ROI join or something that doesn't perform a closing on whole image?
The result of image if i perform a closing: (Note that image have a huge zoom, spacing is really low)