public abstract class AbstractStrel3D extends AlgoStub implements Strel3D
Strel3D.ShapeBACKGROUND, FOREGROUND| Constructor and Description | 
|---|
AbstractStrel3D()  | 
| Modifier and Type | Method and Description | 
|---|---|
ij.ImageStack | 
addBorder(ij.ImageStack image)
Adds a border around the image, to avoid edge effects when performing
 morphological closing or opening. 
 | 
ij.ImageStack | 
closing(ij.ImageStack image)
Performs a morphological closing on the input stack, by applying first a
 dilation, then an erosion with the reversed structuring element. 
 | 
protected static int[][] | 
convertMaskToShifts(int[][][] mask)
Converts the specified (binary) mask into a series of shifts, assuming
 the offset of the mask is located at its center. 
 | 
ij.ImageStack | 
cropBorder(ij.ImageStack image)
Retrieve the portion of image that corresponds to the original image
 before adding border. 
 | 
ij.ImageStack | 
dilation(ij.ImageStack image)
Implements a default algorithm for dilation, that consists in iterating
 over the neighbors of each pixel to compute the maximum value. 
 | 
ij.ImageStack | 
erosion(ij.ImageStack image)
Implements a default algorithm for erosion, that consists in iterating
 over the neighbors of each pixel to compute the minimum value. 
 | 
protected void | 
fireProgressChanged(AlgoEvent evt)  | 
protected void | 
fireProgressChanged(Object source,
                   double step,
                   double total)  | 
protected void | 
fireStatusChanged(AlgoEvent evt)  | 
protected void | 
fireStatusChanged(Object source,
                 String message)  | 
ij.ImageStack | 
opening(ij.ImageStack image)
Performs a morphological opening on the input stack, by applying first an
 erosion, then a dilation with the reversed structuring element. 
 | 
boolean | 
showProgress()
Returns a boolean flag indicating whether or not this structuring
 element should display its progress or not 
 | 
void | 
showProgress(boolean b)
Specifies if this structuring element should display its progress. 
 | 
addAlgoListener, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMask3D, getOffset, getShifts3D, getSize, reverseaddAlgoListener, removeAlgoListenerprotected static final int[][] convertMaskToShifts(int[][][] mask)
mask - a binary mask as a 3D array (first index is z, second is y,
            last one is x)public ij.ImageStack addBorder(ij.ImageStack image)
image - the image to padcropBorder(ImageStack)public ij.ImageStack cropBorder(ij.ImageStack image)
 ImageStack result = strel3d.cropBorder(strel3d.addBorder(inputImage));
 image - the image to cropaddBorder(ImageStack)public boolean showProgress()
Strel3DshowProgress in interface Strel3Dpublic void showProgress(boolean b)
Strel3DshowProgress in interface Strel3Db - a boolean flag with value true if progress should be displayedpublic ij.ImageStack dilation(ij.ImageStack image)
getShifts() method.dilation in interface Strel3Dimage - the input imageStrel3D.getShifts3D(), 
erosion(ImageStack)public ij.ImageStack erosion(ij.ImageStack image)
getShifts() method.erosion in interface Strel3Dimage - the input imageStrel3D.getShifts3D(), 
dilation(ImageStack)public ij.ImageStack closing(ij.ImageStack image)
closing in interface Strel3Dimage - the input imagedilation(ImageStack), 
erosion(ImageStack), 
opening(ImageStack), 
Strel3D.reverse()public ij.ImageStack opening(ij.ImageStack image)
opening in interface Strel3Dimage - the input imagedilation(ImageStack), 
erosion(ImageStack), 
closing(ImageStack), 
Strel3D.reverse()protected void fireProgressChanged(Object source, double step, double total)
fireProgressChanged in class AlgoStubprotected void fireProgressChanged(AlgoEvent evt)
fireProgressChanged in class AlgoStubprotected void fireStatusChanged(Object source, String message)
fireStatusChanged in class AlgoStubprotected void fireStatusChanged(AlgoEvent evt)
fireStatusChanged in class AlgoStubCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.