Binary morphological closing/opening with a box probe.
Binary morphological closing/opening with a box probe.
ClosingOpening applies a morphological closing followed by an
opening of the same scale. This sequence of operations enforces smooth
transitions between the two classes in the input binary image. Small
regions of either black or white pixels are removed, with preference given
to white pixels.
Binary morphological closing/opening with a box probe.
ClosingOpening applies a morphological closing followed by an opening of the same scale. This sequence of operations enforces smooth transitions between the two classes in the input binary image. Small regions of either black or white pixels are removed, with preference given to white pixels.