public class ChamferStrel extends AbstractStrel
Strel.ShapeBACKGROUND, FOREGROUND| Constructor and Description |
|---|
ChamferStrel(ChamferMask2D chamferMask,
double radius)
Creates a new ChamferStrel 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[][] |
getMask()
Returns the structuring element as a mask.
|
int[] |
getOffset()
Returns the offset in the mask.
|
int[][] |
getShifts()
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.
|
Strel |
reverse()
Returns a reversed (i.e.
|
addBorder, closing, closing, convertMaskToShifts, cropBorder, dilation, dilation, erosion, erosion, getChannelName, getMask3D, getShifts3D, opening, opening, setChannelNameaddBorder, convertMaskToShifts, cropBorder, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, showProgress, showProgressaddAlgoListener, removeAlgoListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshowProgress, showProgressaddAlgoListener, removeAlgoListenerpublic ChamferStrel(ChamferMask2D chamferMask, double radius)
chamferMask - the chamfer maskradius - the radiuspublic int[] getSize()
Strelpublic int[][] getMask()
Strelpublic int[] getOffset()
Strelpublic int[][] getShifts()
StrelCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.