public class CuboidStrel extends AbstractSeparableStrel3D
CubeStrel, 
EllipsoidStrel, 
LinearHorizontalStrel, 
LinearVerticalStrel, 
LinearDepthStrel3DStrel3D.ShapeBACKGROUND, FOREGROUND| Modifier and Type | Method and Description | 
|---|---|
Collection<InPlaceStrel3D> | 
decompose()
Returns a collection of three linear-shape structuring element, along
 each principal direction. 
 | 
static CuboidStrel | 
fromDiameter(int diam)
Creates a new cube-shape structuring element with the specified diameter
 (equal to cube side length). 
 | 
static CuboidStrel | 
fromDiameterList(int diamX,
                int diamY,
                int diamZ)
Creates a 3D structuring element with a cuboid shape and different sizes
 depending on direction. 
 | 
static CuboidStrel | 
fromRadius(int radius)
Creates a new cube-shape structuring element with the specified radius
 (such that cube side length equals 2 * radius + 1). 
 | 
static CuboidStrel | 
fromRadiusList(int radiusX,
              int radiusY,
              int radiusZ)
Creates a 3D structuring element with a cuboid shape and different sizes
 depending on direction. 
 | 
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. 
 | 
CuboidStrel | 
reverse()
Returns a cuboidal structuring element with same size, but offset located
 symmetrically with respect to structuring element center. 
 | 
algoProgressChanged, algoStatusChanged, closing, dilation, erosion, openingaddBorder, convertMaskToShifts, cropBorder, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, showProgress, showProgressaddAlgoListener, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshowProgress, showProgressaddAlgoListener, removeAlgoListenerpublic static final CuboidStrel fromDiameter(int diam)
diam - the side length of the cubepublic static final CuboidStrel fromRadius(int radius)
radius - the "radius" of the cubepublic static final CuboidStrel fromRadiusList(int radiusX, int radiusY, int radiusZ)
radiusX - radius in x directionradiusY - radius in y directionradiusZ - radius in z directionpublic static final CuboidStrel fromDiameterList(int diamX, int diamY, int diamZ)
diamX - diameter in x directiondiamY - diameter in y directiondiamZ - diameter in z directionpublic Collection<InPlaceStrel3D> decompose()
SeparableStrel.decompose()public int[][][] getMask3D()
Strel3Dpublic int[] getOffset()
Strel3Dpublic int[][] getShifts3D()
Strel3Dpublic int[] getSize()
Strel3Dpublic CuboidStrel reverse()
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.