Package inra.ijpb.morphology.strel
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface inra.ijpb.morphology.Strel
Strel.ShapeNested classes/interfaces inherited from interface inra.ijpb.morphology.Strel3D
Strel3D.Shape -
Field Summary
Fields inherited from interface inra.ijpb.morphology.Strel
BACKGROUND, FOREGROUNDFields inherited from interface inra.ijpb.morphology.Strel3D
BACKGROUND, FOREGROUND -
Method Summary
Modifier and Type Method Description voidinPlaceDilation(ij.process.ImageProcessor image)Performs dilation of the image given as argument, and stores the result in the same image.voidinPlaceErosion(ij.process.ImageProcessor image)Performs erosion of the image given as argument, and stores the result in the same image.InPlaceStrelreverse()The reverse structuring element of an InPlaceStrel is also an InPlaceStrel.Methods inherited from interface inra.ijpb.algo.Algo
addAlgoListener, removeAlgoListenerMethods inherited from interface inra.ijpb.morphology.strel.InPlaceStrel3D
inPlaceDilation, inPlaceErosionMethods inherited from interface inra.ijpb.morphology.Strel
closing, dilation, erosion, getChannelName, getMask, getOffset, getShifts, getSize, opening, setChannelNameMethods inherited from interface inra.ijpb.morphology.Strel3D
closing, dilation, erosion, getMask3D, getShifts3D, opening, showProgress, showProgress
-
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.
-