Class HConvexImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.HConvexImageFilter
Identify local maxima whose height above the baseline is greater than
h.
HConvexImageFilter extract local maxima that are more than h intensity units above the
(local) background. This has the effect of extracting objects that are
brighter than background by at least h intensity units.
This filter uses the HMaximaImageFilter .
Geodesic morphology and the H-Convex algorithm is described in Chapter
6 of Pierre Soille's book "Morphological Image Analysis: Principles
and Applications", Second Edition, Springer, 2003.
See:
GrayscaleGeodesicDilateImageFilter , HMinimaImageFilter
MorphologyImageFilter , GrayscaleDilateImageFilter , GrayscaleFunctionDilateImageFilter , BinaryDilateImageFilter
itk::simple::HConvex for the procedural interface
itk::HConvexImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkHConvexImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::HConvexImageFilter::HConvexImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedHConvexImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::HConvexImageFilter::~HConvexImageFilter() DestructorImage itk::simple::HConvexImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::HConvexImageFilter::FullyConnectedOff()voidSelf& itk::simple::HConvexImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.protected static longbooleanbool itk::simple::HConvexImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.doubledouble itk::simple::HConvexImageFilter::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::HConvexImageFilter::GetName() const Name of this classvoidsetFullyConnected(boolean FullyConnected) Self& itk::simple::HConvexImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.voidsetHeight(double Height) Self& itk::simple::HConvexImageFilter::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::HConvexImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObject
abort, 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
-
HConvexImageFilter
protected HConvexImageFilter(long cPtr, boolean cMemoryOwn) -
HConvexImageFilter
public HConvexImageFilter()itk::simple::HConvexImageFilter::HConvexImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::HConvexImageFilter::~HConvexImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setHeight
public void setHeight(double Height) Self& itk::simple::HConvexImageFilter::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. -
getHeight
public double getHeight()double itk::simple::HConvexImageFilter::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. -
setFullyConnected
public void setFullyConnected(boolean FullyConnected) Self& itk::simple::HConvexImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. -
fullyConnectedOn
public void fullyConnectedOn()Self& itk::simple::HConvexImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully. -
fullyConnectedOff
public void fullyConnectedOff()Self& itk::simple::HConvexImageFilter::FullyConnectedOff() -
getFullyConnected
public boolean getFullyConnected()bool itk::simple::HConvexImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. -
getName
std::string itk::simple::HConvexImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::HConvexImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-