public class BallStrel extends AbstractStrel3D
EllipsoidStrelStrel3D.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 BallStrel | 
fromDiameter(double diam)
Creates a structuring element with a spherical shape of the given diameter. 
 | 
static BallStrel | 
fromRadius(double radius)
Creates a structuring element with a spherical shape of the given 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 a reversed (i.e. 
 | 
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 BallStrel fromRadius(double radius)
radius - the radius of the structuring element, in pixelspublic static final BallStrel fromDiameter(double diam)
diam - the diameter of the ball, in pixelspublic int[] getSize()
Strel3Dpublic int[][][] getMask3D()
Strel3Dpublic int[] getOffset()
Strel3Dpublic int[][] getShifts3D()
Strel3Dpublic Strel3D reverse()
Strel3Dpublic 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.