Package inra.ijpb.label.conncomp
Class LabelBoundariesLabeling2D
java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.label.conncomp.LabelBoundariesLabeling2D
- All Implemented Interfaces:
Algo
public class LabelBoundariesLabeling2D extends AlgoStub
Computes a label map of the boundaries between regions from a label map.
The result is returned as a
Result
instance, that encloses the
boundary label map and the list of boundaries as a BoundarySet
.
Each Boundary
in the boundary set is identified by an integer
index, and contains the list of regions it is adjacent to.- Author:
- dlegland
- See Also:
Boundary
,BoundarySet
,LabelBoundariesLabeling3D
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
LabelBoundariesLabeling2D.Result
Provides the result of a boundary labeling. -
Constructor Summary
Constructors Constructor Description LabelBoundariesLabeling2D()
-
Method Summary
Modifier and Type Method Description LabelBoundariesLabeling2D.Result
process(ij.process.ImageProcessor labelMap)
Computes boundary labeling on the specified label map of regions, and returns the result in aResult
instance.Methods inherited from class inra.ijpb.algo.AlgoStub
addAlgoListener, removeAlgoListener
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LabelBoundariesLabeling2D
public LabelBoundariesLabeling2D()
-
-
Method Details
-
process
Computes boundary labeling on the specified label map of regions, and returns the result in aResult
instance.- Parameters:
labelMap
- the label map of the regions- Returns:
- the result of labeling, enclosing the boundary label map and the list of boundaries.
-