public class Cross3DStrel extends AbstractStrel3D
Strel3D.Shape
BACKGROUND, FOREGROUND
Constructor and Description |
---|
Cross3DStrel()
Create a new instance of this structuring element.
|
Modifier and Type | Method and Description |
---|---|
ij.ImageStack |
closing(ij.ImageStack image)
Performs a morphological closing on the input stack, by applying first a
dilation, then an erosion with the reversed structuring element.
|
ij.ImageStack |
dilation(ij.ImageStack image)
Implements a default algorithm for dilation, that consists in iterating
over the neighbors of each pixel to compute the maximum value.
|
ij.ImageStack |
erosion(ij.ImageStack image)
Implements a default algorithm for erosion, that consists in iterating
over the neighbors of each pixel to compute the minimum value.
|
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.
|
ij.ImageStack |
opening(ij.ImageStack image)
Performs a morphological opening on the input stack, by applying first an
erosion, then a dilation with the reversed structuring element.
|
Strel3D |
reverse()
Returns a reversed (i.e.
|
addBorder, convertMaskToShifts, cropBorder, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, showProgress, showProgress
addAlgoListener, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlgoListener, removeAlgoListener
public Cross3DStrel()
public int[] getSize()
Strel3D
public int[][][] getMask3D()
Strel3D
public int[] getOffset()
Strel3D
public int[][] getShifts3D()
Strel3D
public Strel3D reverse()
Strel3D
public ij.ImageStack dilation(ij.ImageStack image)
AbstractStrel3D
getShifts()
method.dilation
in interface Strel3D
dilation
in class AbstractStrel3D
image
- the input imageStrel3D.getShifts3D()
,
AbstractStrel3D.erosion(ImageStack)
public ij.ImageStack erosion(ij.ImageStack image)
AbstractStrel3D
getShifts()
method.erosion
in interface Strel3D
erosion
in class AbstractStrel3D
image
- the input imageStrel3D.getShifts3D()
,
AbstractStrel3D.dilation(ImageStack)
public ij.ImageStack closing(ij.ImageStack image)
AbstractStrel3D
closing
in interface Strel3D
closing
in class AbstractStrel3D
image
- the input imageAbstractStrel3D.dilation(ImageStack)
,
AbstractStrel3D.erosion(ImageStack)
,
AbstractStrel3D.opening(ImageStack)
,
Strel3D.reverse()
public ij.ImageStack opening(ij.ImageStack image)
AbstractStrel3D
opening
in interface Strel3D
opening
in class AbstractStrel3D
image
- the input imageAbstractStrel3D.dilation(ImageStack)
,
AbstractStrel3D.erosion(ImageStack)
,
AbstractStrel3D.closing(ImageStack)
,
Strel3D.reverse()
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.