public interface Strel3D extends Algo
Modifier and Type | Interface and Description |
---|---|
static class |
Strel3D.Shape
An enumeration of the different possible structuring element shapes.
|
Modifier and Type | Field and Description |
---|---|
static int |
BACKGROUND
Default value for background pixels.
|
static int |
FOREGROUND
Default value for foreground pixels.
|
Modifier and Type | Method and Description |
---|---|
ij.ImageStack |
closing(ij.ImageStack image)
Performs a morphological closing of the input image with this structuring
element, and returns the result in a new ImageStack.
|
ij.ImageStack |
dilation(ij.ImageStack image)
Performs a morphological dilation of the input image with this
structuring element, and returns the result in a new ImageStack.
|
ij.ImageStack |
erosion(ij.ImageStack image)
Performs an morphological erosion of the input image with this
structuring element, and returns the result in a new ImageStack.
|
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 of the input image with this structuring
element, and returns the result in a new ImageStack.
|
Strel3D |
reverse()
Returns a reversed (i.e.
|
boolean |
showProgress()
Returns a boolean flag indicating whether or not this structuring
element should display its progress or not
|
void |
showProgress(boolean b)
Specifies if this structuring element should display its progress.
|
addAlgoListener, removeAlgoListener
static final int BACKGROUND
static final int FOREGROUND
int[] getSize()
int[][][] getMask3D()
int[] getOffset()
int[][] getShifts3D()
Strel3D reverse()
ij.ImageStack dilation(ij.ImageStack image)
image
- the input imageerosion(ij.ImageStack)
,
closing(ij.ImageStack)
,
opening(ij.ImageStack)
ij.ImageStack erosion(ij.ImageStack image)
image
- the input imagedilation(ij.ImageStack)
,
closing(ij.ImageStack)
,
opening(ij.ImageStack)
ij.ImageStack closing(ij.ImageStack image)
image
- the input imagedilation(ij.ImageStack)
,
erosion(ij.ImageStack)
,
opening(ij.ImageStack)
,
reverse()
ij.ImageStack opening(ij.ImageStack image)
image
- the input imagedilation(ij.ImageStack)
,
erosion(ij.ImageStack)
,
closing(ij.ImageStack)
,
reverse()
boolean showProgress()
void showProgress(boolean b)
b
- a boolean flag with value true if progress should be displayedCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.