Suppress light structures connected to image border
suppresses
structures in image J
= imclearborder(I
)I
that are lighter than their surroundings
and that are connected to the image border. Use this function to clear the image
border. For grayscale images, imclearborder
tends to reduce the
overall intensity level in addition to suppressing border structures. The output
image, J
, is grayscale or binary, depending on the
input.
imclearborder
uses morphological reconstruction
where:
Mask image is the input image.
Marker image is zero everywhere except along the border, where it equals the mask image.
[1] Soille, P., Morphological Image Analysis: Principles and Applications, Springer, 1999, pp. 164-165.