public abstract class AbstractSeparableStrel extends AbstractStrel implements SeparableStrel, AlgoListener
Strel.Shape
BACKGROUND, FOREGROUND
Constructor and Description |
---|
AbstractSeparableStrel() |
Modifier and Type | Method and Description |
---|---|
void |
algoProgressChanged(AlgoEvent evt)
Propagates the event by changing the source.
|
void |
algoStatusChanged(AlgoEvent evt)
Propagates the event by changing the source.
|
ij.process.ImageProcessor |
closing(ij.process.ImageProcessor image)
Performs a morphological closing on the input image, by applying first a
dilation, then an erosion with the reversed structuring element.
|
ij.process.ImageProcessor |
dilation(ij.process.ImageProcessor image)
Implements a default algorithm for dilation, that consists in iterating
over the neighbors of each pixel to compute the maximum value.
|
ij.process.ImageProcessor |
erosion(ij.process.ImageProcessor image)
Implements a default algorithm for erosion, that consists in iterating
over the neighbors of each pixel to compute the minimum value.
|
ij.process.ImageProcessor |
opening(ij.process.ImageProcessor image)
Performs a morphological opening on the input image, by applying first an
erosion, then a dilation with the reversed structuring element.
|
addBorder, closing, convertMaskToShifts, cropBorder, dilation, erosion, getChannelName, getMask3D, getShifts3D, opening, setChannelName
addBorder, convertMaskToShifts, cropBorder, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, showProgress, showProgress
addAlgoListener, removeAlgoListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decompose, reverse
getChannelName, getMask, getOffset, getShifts, getSize, setChannelName
closing, dilation, erosion, getMask3D, getShifts3D, opening, showProgress, showProgress
addAlgoListener, removeAlgoListener
public ij.process.ImageProcessor dilation(ij.process.ImageProcessor image)
AbstractStrel
getShifts()
method.dilation
in interface Strel
dilation
in class AbstractStrel
image
- the input imageStrel.getShifts()
,
AbstractStrel.erosion(ImageProcessor)
public ij.process.ImageProcessor erosion(ij.process.ImageProcessor image)
AbstractStrel
getShifts()
method.erosion
in interface Strel
erosion
in class AbstractStrel
image
- the input imageStrel.getShifts()
,
AbstractStrel.dilation(ImageProcessor)
public ij.process.ImageProcessor closing(ij.process.ImageProcessor image)
AbstractStrel
closing
in interface Strel
closing
in class AbstractStrel
image
- the input imageAbstractStrel.dilation(ij.process.ImageProcessor)
,
AbstractStrel.erosion(ij.process.ImageProcessor)
,
AbstractStrel.opening(ij.process.ImageProcessor)
,
Strel3D.reverse()
public ij.process.ImageProcessor opening(ij.process.ImageProcessor image)
AbstractStrel
opening
in interface Strel
opening
in class AbstractStrel
image
- the input imageAbstractStrel.dilation(ij.process.ImageProcessor)
,
AbstractStrel.erosion(ij.process.ImageProcessor)
,
AbstractStrel.closing(ij.process.ImageProcessor)
,
Strel3D.reverse()
public void algoProgressChanged(AlgoEvent evt)
algoProgressChanged
in interface AlgoListener
evt
- the AlgoEvent instance containing info about the algorithm.public void algoStatusChanged(AlgoEvent evt)
algoStatusChanged
in interface AlgoListener
evt
- the AlgoEvent instance containing info about the algorithm.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.