public class ChamferStrel3D extends AbstractStrel3D
Strel3D.Shape
BACKGROUND, FOREGROUND
Constructor and Description |
---|
ChamferStrel3D(ChamferMask3D chamferMask,
double radius)
Creates a new ChamferStrel3D from a chamfer mask (used for computing
distances) and a radius (used to computing the extent of propagation).
|
Modifier and Type | Method and Description |
---|---|
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, dilation, erosion, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, opening, showProgress, showProgress
addAlgoListener, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlgoListener, removeAlgoListener
public ChamferStrel3D(ChamferMask3D chamferMask, double radius)
chamferMask
- the chamfer maskradius
- the radiuspublic int[] getSize()
Strel3D
public int[][][] getMask3D()
Strel3D
public int[] getOffset()
Strel3D
public int[][] getShifts3D()
Strel3D
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.