public class Cross3x3Strel extends AbstractInPlaceStrel
Strel.Shape
BACKGROUND, FOREGROUND
Constructor and Description |
---|
Cross3x3Strel() |
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.
|
void |
inPlaceDilation(ij.process.ImageProcessor image)
Performs dilation of the image given as argument, and stores the result
in the same image.
|
void |
inPlaceErosion(ij.process.ImageProcessor image)
Performs erosion of the image given as argument, and stores the result
in the same image.
|
InPlaceStrel |
reverse()
Returns this structuring element, as is is self-reverse.
|
closing, closing, dilation, dilation, erosion, erosion, inPlaceDilation, inPlaceErosion, opening, opening
addBorder, convertMaskToShifts, cropBorder, getChannelName, getMask3D, getShifts3D, setChannelName
addBorder, convertMaskToShifts, cropBorder, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, showProgress, showProgress
addAlgoListener, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChannelName, setChannelName
getMask3D, getShifts3D, showProgress, showProgress
addAlgoListener, removeAlgoListener
public int[] getSize()
Strel
public int[][] getMask()
Strel
public int[] getOffset()
Strel
public int[][] getShifts()
Strel
public InPlaceStrel reverse()
InPlaceStrel.reverse()
public void inPlaceDilation(ij.process.ImageProcessor image)
InPlaceStrel
image
- the input image to dilatepublic void inPlaceErosion(ij.process.ImageProcessor image)
InPlaceStrel
image
- the input image to erodeCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.