public class RegionalExtrema3DByFlooding extends RegionalExtrema3DAlgo
ImageStack image = IJ.getImage().getStack();
RegionalExtrema3DAlgo algo = new RegionalExtrema3DFlooding();
algo.setExtremaType(ExtremaType.MAXIMA);
algo.setConnectivity(6);
ImageStack result = algo.applyTo(image);
ImagePlus resPlus = new ImagePlus("Regional Maxima", result);
resPlus.show();
MinimaAndMaxima3D
,
FloodFill
Constructor and Description |
---|
RegionalExtrema3DByFlooding() |
Modifier and Type | Method and Description |
---|---|
ij.ImageStack |
applyTo(ij.ImageStack image)
Applies this regional extrema algorithm on the 3D image given as argument,
and returns the result as a binary image stack.
|
ij.ImageStack |
applyTo(ij.ImageStack inputImage,
ij.ImageStack maskImage)
Applies this regional extrema algorithm on the 3D image given as argument
and using the given mask, and returns the result as a binary image stack.
|
getConnectivity, getExtremaType, isProgressVisible, setConnectivity, setExtremaType, setProgressVisible
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListener
public ij.ImageStack applyTo(ij.ImageStack image)
RegionalExtrema3DAlgo
applyTo
in class RegionalExtrema3DAlgo
image
- the 3D image to processpublic ij.ImageStack applyTo(ij.ImageStack inputImage, ij.ImageStack maskImage)
RegionalExtrema3DAlgo
applyTo
in class RegionalExtrema3DAlgo
inputImage
- the 3D image to processmaskImage
- a binary maskCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.