public class EllipsoidStrel extends AbstractStrel3D
BallStrelStrel3D.ShapeBACKGROUND, FOREGROUND| Modifier and Type | Method and Description | 
|---|---|
ij.ImageStack | 
dilation(ij.ImageStack image)
Performs dilation with a ball structuring element by calling the ImageJ
 Filters3D.filter method, using Filters3D.MAX option. 
 | 
ij.ImageStack | 
erosion(ij.ImageStack image)
Performs erosion with a ball structuring element by calling the ImageJ
 Filters3D.filter method, using Filters3D.MIN option. 
 | 
static EllipsoidStrel | 
fromDiameter(double diam)
Creates a structuring element with an ellipsoidal shape of the given diameter. 
 | 
static EllipsoidStrel | 
fromDiameterList(double diamX,
                double diamY,
                double diamZ)
Creates a structuring element with an ellipsoidal shape from a list of
 three diameters. 
 | 
static EllipsoidStrel | 
fromRadius(double radius)
Creates a structuring element with an ellipsoidal shape of the given radius. 
 | 
static EllipsoidStrel | 
fromRadiusList(double radiusX,
              double radiusY,
              double radiusZ)
Creates a structuring element with an ellipsoidal shape from a list of
 three radius. 
 | 
int[][][] | 
getMask3D()
Returns the structuring element as a mask. 
 | 
int[] | 
getOffset()
Returns the offset in the mask for each direction. 
 | 
int[][] | 
getShifts3D()
Returns the structuring element as a set of shifts. 
 | 
int[] | 
getSize()
Returns the size of the structuring element, as an array of size in each
 direction. 
 | 
Strel3D | 
reverse()
Returns this instance, as an ellipsoid is symmetric. 
 | 
addBorder, closing, convertMaskToShifts, cropBorder, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, opening, showProgress, showProgressaddAlgoListener, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAlgoListener, removeAlgoListenerpublic static final EllipsoidStrel fromRadius(double radius)
radius - the radius of the structuring element, in pixelspublic static final EllipsoidStrel fromRadiusList(double radiusX, double radiusY, double radiusZ)
radiusX - the radius along the X-axisradiusY - the radius along the Y-axisradiusZ - the radius along the Z-axispublic static final EllipsoidStrel fromDiameter(double diam)
diam - the diameter of the structuring element, in pixelspublic static final EllipsoidStrel fromDiameterList(double diamX, double diamY, double diamZ)
diamX - the diameter along the X-axisdiamY - the diameter along the Y-axisdiamZ - the diameter along the Z-axispublic int[] getSize()
Strel3Dpublic int[][][] getMask3D()
Strel3Dpublic int[] getOffset()
Strel3Dpublic int[][] getShifts3D()
Strel3Dpublic Strel3D reverse()
public ij.ImageStack dilation(ij.ImageStack image)
dilation in interface Strel3Ddilation in class AbstractStrel3Dimage - the 3D stack to processStrel3D.getShifts3D(), 
AbstractStrel3D.erosion(ImageStack)public ij.ImageStack erosion(ij.ImageStack image)
erosion in interface Strel3Derosion in class AbstractStrel3Dimage - the 3D stack to processStrel3D.getShifts3D(), 
AbstractStrel3D.dilation(ImageStack)Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.