Package inra.ijpb.morphology.strel
Interface SeparableStrel
- All Known Implementing Classes:
AbstractSeparableStrel
,DiamondStrel
,OctagonStrel
,SquareStrel
public interface SeparableStrel extends Strel
Interface for structuring elements that can be decomposed into several
"simpler" structuring elements. It is assumed that elementary structuring
elements can performs in place dilation or erosion (i.e. the implements the
InPlaceStrel interface).
- Author:
- David Legland
- See Also:
InPlaceStrel
-
Nested Class Summary
Nested classes/interfaces inherited from interface inra.ijpb.morphology.Strel
Strel.Shape
-
Field Summary
Fields inherited from interface inra.ijpb.morphology.Strel
BACKGROUND, FOREGROUND
-
Method Summary
Modifier and Type Method Description java.util.Collection<InPlaceStrel>
decompose()
Decompose this separable structuring element into a set of smaller structuring elements that can be used to accelerate processing.SeparableStrel
reverse()
The reversed structuring element of a separable strel is also separable.Methods inherited from interface inra.ijpb.algo.Algo
addAlgoListener, removeAlgoListener
Methods inherited from interface inra.ijpb.morphology.Strel
closing, dilation, erosion, getChannelName, getMask, getOffset, getShifts, getSize, opening, setChannelName
Methods inherited from interface inra.ijpb.morphology.Strel3D
closing, dilation, erosion, getMask3D, getShifts3D, opening, showProgress, showProgress
-
Method Details
-
decompose
java.util.Collection<InPlaceStrel> decompose()Decompose this separable structuring element into a set of smaller structuring elements that can be used to accelerate processing.- Returns:
- a set of elementary structuring elements
-
reverse
SeparableStrel reverse()The reversed structuring element of a separable strel is also separable.
-