Package inra.ijpb.morphology.geodrec
Class GeodesicReconstructionByErosion
java.lang.Object
inra.ijpb.algo.AlgoStub
inra.ijpb.morphology.geodrec.GeodesicReconstructionAlgoStub
inra.ijpb.morphology.geodrec.GeodesicReconstructionByErosion
- All Implemented Interfaces:
- Algo,- GeodesicReconstructionAlgo
public class GeodesicReconstructionByErosion extends GeodesicReconstructionAlgoStub
Geodesic reconstruction by erosion for integer images.
 
 This class performs the algorithm on the two instances of ImageProcessor
 kept in it.
- Author:
- David Legland
- See Also:
- GeodesicReconstructionByDilation
- 
Field SummaryFields inherited from class inra.ijpb.morphology.geodrec.GeodesicReconstructionAlgoStubshowProgress, showStatus, verbose
- 
Constructor SummaryConstructors Constructor Description GeodesicReconstructionByErosion()Creates a new instance of geodesic reconstruction by erosion algorithm, using default connectivity 4.GeodesicReconstructionByErosion(int connectivity)Creates a new instance of geodesic reconstruction by erosion algorithm, that specifies the connectivity to use.
- 
Method SummaryModifier and Type Method Description ij.process.ImageProcessorapplyTo(ij.process.ImageProcessor marker, ij.process.ImageProcessor mask)Run the reconstruction by erosion algorithm using the images specified as argument.Methods inherited from class inra.ijpb.morphology.geodrec.GeodesicReconstructionAlgoStubgetConnectivity, setConnectivityMethods inherited from class inra.ijpb.algo.AlgoStubaddAlgoListener, removeAlgoListenerMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
GeodesicReconstructionByErosionpublic GeodesicReconstructionByErosion()Creates a new instance of geodesic reconstruction by erosion algorithm, using default connectivity 4.
- 
GeodesicReconstructionByErosionpublic GeodesicReconstructionByErosion(int connectivity)Creates a new instance of geodesic reconstruction by erosion algorithm, that specifies the connectivity to use.- Parameters:
- connectivity- the 2D connectivity to use (either 4 or 8)
 
 
- 
- 
Method Details- 
applyTopublic ij.process.ImageProcessor applyTo(ij.process.ImageProcessor marker, ij.process.ImageProcessor mask)Run the reconstruction by erosion algorithm using the images specified as argument.- Parameters:
- marker- image used to initialize the reconstruction
- mask- image used to constrain the reconstruction
- Returns:
- the geodesic reconstruction of marker image constrained by mask image
 
 
-