Package inra.ijpb.morphology.strel
Interface InPlaceStrel3D
- All Known Subinterfaces:
InPlaceStrel
- All Known Implementing Classes:
AbstractInPlaceStrel
,AbstractInPlaceStrel3D
,Cross3x3Strel
,DiskStrel
,LinearDepthStrel3D
,LinearDiagDownStrel
,LinearDiagUpStrel
,LinearHorizontalStrel
,LinearVerticalStrel
public interface InPlaceStrel3D extends Strel3D
A structuring element that can performs erosion or dilation directly in the
original image stack. As InPlaceStrel do not require memory allocation,
they result in faster execution.
- Author:
- David Legland
- See Also:
SeparableStrel3D
-
Nested Class Summary
Nested classes/interfaces inherited from interface inra.ijpb.morphology.Strel3D
Strel3D.Shape
-
Field Summary
Fields inherited from interface inra.ijpb.morphology.Strel3D
BACKGROUND, FOREGROUND
-
Method Summary
Modifier and Type Method Description void
inPlaceDilation(ij.ImageStack stack)
Performs dilation of the stack given as argument, and stores the result in the same image.void
inPlaceErosion(ij.ImageStack stack)
Performs erosion of the image given as argument, and stores the result in the same image.InPlaceStrel3D
reverse()
The reverse structuring element of an InPlaceStrel is also an InPlaceStrel.Methods inherited from interface inra.ijpb.algo.Algo
addAlgoListener, removeAlgoListener
Methods inherited from interface inra.ijpb.morphology.Strel3D
closing, dilation, erosion, getMask3D, getOffset, getShifts3D, getSize, opening, showProgress, showProgress
-
Method Details
-
inPlaceDilation
void inPlaceDilation(ij.ImageStack stack)Performs dilation of the stack given as argument, and stores the result in the same image.- Parameters:
stack
- the input image stack to dilate
-
inPlaceErosion
void inPlaceErosion(ij.ImageStack stack)Performs erosion of the image given as argument, and stores the result in the same image.- Parameters:
stack
- the input image stack to erode
-
reverse
InPlaceStrel3D reverse()The reverse structuring element of an InPlaceStrel is also an InPlaceStrel.
-