Package org.itk.simple
Class WhiteTopHatImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.WhiteTopHatImageFilter
White top hat extracts local maxima that are larger than the
structuring element.
Top-hats are described in Chapter 4.5 of Pierre Soille's book
"Morphological Image Analysis: Principles and Applications", Second
Edition, Springer, 2003.
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
See:
itk::simple::WhiteTopHat for the procedural interface
itk::WhiteTopHatImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkWhiteTopHatImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::WhiteTopHatImageFilter::WhiteTopHatImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
WhiteTopHatImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::WhiteTopHatImageFilter::~WhiteTopHatImageFilter() DestructorImage itk::simple::WhiteTopHatImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
std::vector<unsigned int> itk::simple::WhiteTopHatImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.KernelEnum itk::simple::WhiteTopHatImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.getName()
std::string itk::simple::WhiteTopHatImageFilter::GetName() const Name of this classboolean
bool itk::simple::WhiteTopHatImageFilter::GetSafeBorder() const A safe border is added to input image to avoid borders effects and remove it once the closing is donevoid
Self& itk::simple::WhiteTopHatImageFilter::SafeBorderOff()void
Self& itk::simple::WhiteTopHatImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully.void
setKernelRadius
(long value) Self& itk::simple::WhiteTopHatImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoid
setKernelRadius
(VectorUInt32 KernelRadius) Self& itk::simple::WhiteTopHatImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoid
setKernelType
(KernelEnum KernelType) Self& itk::simple::WhiteTopHatImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.void
setSafeBorder
(boolean SafeBorder) Self& itk::simple::WhiteTopHatImageFilter::SetSafeBorder(bool SafeBorder) A safe border is added to input image to avoid borders effects and remove it once the closing is doneprotected static long
toString()
std::string itk::simple::WhiteTopHatImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods 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
-
WhiteTopHatImageFilter
protected WhiteTopHatImageFilter(long cPtr, boolean cMemoryOwn) -
WhiteTopHatImageFilter
public WhiteTopHatImageFilter()itk::simple::WhiteTopHatImageFilter::WhiteTopHatImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::WhiteTopHatImageFilter::~WhiteTopHatImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setKernelRadius
Self& itk::simple::WhiteTopHatImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
setKernelRadius
public void setKernelRadius(long value) Self& itk::simple::WhiteTopHatImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
getKernelRadius
std::vector<unsigned int> itk::simple::WhiteTopHatImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element. -
setKernelType
Self& itk::simple::WhiteTopHatImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology. -
getKernelType
KernelEnum itk::simple::WhiteTopHatImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology. -
setSafeBorder
public void setSafeBorder(boolean SafeBorder) Self& itk::simple::WhiteTopHatImageFilter::SetSafeBorder(bool SafeBorder) A safe border is added to input image to avoid borders effects and remove it once the closing is done -
safeBorderOn
public void safeBorderOn()Self& itk::simple::WhiteTopHatImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully. -
safeBorderOff
public void safeBorderOff()Self& itk::simple::WhiteTopHatImageFilter::SafeBorderOff() -
getSafeBorder
public boolean getSafeBorder()bool itk::simple::WhiteTopHatImageFilter::GetSafeBorder() const A safe border is added to input image to avoid borders effects and remove it once the closing is done -
getName
std::string itk::simple::WhiteTopHatImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::WhiteTopHatImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::WhiteTopHatImageFilter::Execute(const Image &image1) Execute the filter on the input image
-