Interface InPlaceStrel

All Superinterfaces:
Algo, InPlaceStrel3D, Strel, Strel3D
All Known Implementing Classes:
AbstractInPlaceStrel, Cross3x3Strel, DiskStrel, LinearDiagDownStrel, LinearDiagUpStrel, LinearHorizontalStrel, LinearVerticalStrel

public interface InPlaceStrel
extends Strel, InPlaceStrel3D
A structuring element that can performs erosion or dilation directly in the original image buffer. As InPlaceStrel do not require memory allocation, they result in faster execution.
Author:
David Legland
See Also:
SeparableStrel
  • Method Details

    • inPlaceDilation

      void inPlaceDilation​(ij.process.ImageProcessor image)
      Performs dilation of the image given as argument, and stores the result in the same image.
      Parameters:
      image - the input image to dilate
    • inPlaceErosion

      void inPlaceErosion​(ij.process.ImageProcessor image)
      Performs erosion of the image given as argument, and stores the result in the same image.
      Parameters:
      image - the input image to erode
    • reverse

      InPlaceStrel reverse()
      The reverse structuring element of an InPlaceStrel is also an InPlaceStrel.
      Specified by:
      reverse in interface InPlaceStrel3D
      Specified by:
      reverse in interface Strel
      Specified by:
      reverse in interface Strel3D
      Returns:
      the reversed structuring element