Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Join floating white pixels to the nearest island without closing morph?

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?

sample

The result of image if i perform a closing: (Note that image have a huge zoom, spacing is really low)

closing

Join floating white pixels to the nearest island without closing morph?

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 (black and white) 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?

sample

The result of image if i perform a closing: (Note that image have a huge zoom, spacing is really low)

closing

Join floating white pixels to the nearest island without closing morph?

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 (black and white) shows the problem, the red cicles circles 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?

sample

The result of image if i perform a closing: (Note that image have a huge zoom, spacing is really low)

closing

Join floating white pixels to the nearest island without closing morph?

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 (black and white) shows the problem, the red circles 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?

sample

The result of image if i perform a closing: closing with 2 iterations: (Note that image have a huge zoom, spacing is really low)

closing

Join floating white pixels to the nearest island without closing morph?

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 (black and white) shows the problem, the red circles shows what i want to merge, currently i'm able to detect those isolated pixels, pixels and i have the ROI rectangle of them, so can i do any kind of ROI join or something that doesn't perform a closing on whole image?

sample

The result of image if i perform a closing with 2 iterations: (Note that image have a huge zoom, spacing is really low)

closing