Class HMaximaImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.HMaximaImageFilter
Suppress local maxima whose height above the baseline is less than h.
HMaximaImageFilter suppresses local maxima that are less than h intensity units above
the (local) background. This has the effect of smoothing over the
"high" parts of the noise in the image without smoothing over large
changes in intensity (region boundaries). See the HMinimaImageFilter to suppress the local minima whose depth is less than h intensity
units below the (local) background.
If the output of HMaximaImageFilter is subtracted from the original image, the significant "peaks" in
the image can be identified. This is what the HConvexImageFilter provides.
This filter uses the ReconstructionByDilationImageFilter . It provides its own input as the "mask" input to the geodesic
dilation. The "marker" image for the geodesic dilation is the input
image minus the height parameter h.
Geodesic morphology and the H-Maxima algorithm is described in Chapter
6 of Pierre Soille's book "Morphological Image Analysis: Principles
and Applications", Second Edition, Springer, 2003.
The height parameter is set using SetHeight.
See:
 ReconstructionByDilationImageFilter , HMinimaImageFilter , HConvexImageFilter
 MorphologyImageFilter , GrayscaleDilateImageFilter , GrayscaleFunctionDilateImageFilter , BinaryDilateImageFilter
 itk::simple::HMaxima for the procedural interface
 itk::HMaximaImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkHMaximaImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::HMaximaImageFilter::HMaximaImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedHMaximaImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::HMaximaImageFilter::~HMaximaImageFilter() DestructorImage itk::simple::HMaximaImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longdoubledouble itk::simple::HMaximaImageFilter::GetHeight() const Set/Get the height that a local maximum must be above the local background (local contrast) in order to survive the processing.getName()std::string itk::simple::HMaximaImageFilter::GetName() const Name of this classvoidsetHeight(double Height) Self& itk::simple::HMaximaImageFilter::SetHeight(double Height) Set/Get the height that a local maximum must be above the local background (local contrast) in order to survive the processing.protected static longtoString()std::string itk::simple::HMaximaImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
HMaximaImageFilterprotected HMaximaImageFilter(long cPtr, boolean cMemoryOwn) 
- 
HMaximaImageFilterpublic HMaximaImageFilter()itk::simple::HMaximaImageFilter::HMaximaImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::HMaximaImageFilter::~HMaximaImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setHeightpublic void setHeight(double Height) Self& itk::simple::HMaximaImageFilter::SetHeight(double Height) Set/Get the height that a local maximum must be above the local background (local contrast) in order to survive the processing. Local maxima below this value are replaced with an estimate of the local background.
- 
getHeightpublic double getHeight()double itk::simple::HMaximaImageFilter::GetHeight() const Set/Get the height that a local maximum must be above the local background (local contrast) in order to survive the processing. Local maxima below this value are replaced with an estimate of the local background.
- 
getNamestd::string itk::simple::HMaximaImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::HMaximaImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-