Class GrayscaleMorphologicalOpeningImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.GrayscaleMorphologicalOpeningImageFilter
Grayscale opening of an image.
Open an image using grayscale morphology.
The structuring element is assumed to be composed of binary values
(zero or one). Only elements of the structuring element having values
> 0 are candidates for affecting the center pixel.
See:
MorphologyImageFilter , GrayscaleFunctionDilateImageFilter , BinaryDilateImageFilter
itk::simple::GrayscaleMorphologicalOpening for the procedural interface
itk::GrayscaleMorphologicalOpeningImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkGrayscaleMorphologicalOpeningImageFilter.h
-
Field Summary
Fields inherited from class ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::GrayscaleMorphologicalOpeningImageFilter::GrayscaleMorphologicalOpeningImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedGrayscaleMorphologicalOpeningImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::GrayscaleMorphologicalOpeningImageFilter::~GrayscaleMorphologicalOpeningImageFilter() DestructorImage itk::simple::GrayscaleMorphologicalOpeningImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longstd::vector<unsigned int> itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.KernelEnum itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.getName()std::string itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetName() const Name of this classbooleanbool itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetSafeBorder() const A safe border is added to input image to avoid borders effects and remove it once the closing is donevoidSelf& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SafeBorderOff()voidSelf& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully.voidsetKernelRadius(long value) Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoidsetKernelRadius(VectorUInt32 KernelRadius) Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoidsetKernelType(KernelEnum KernelType) Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.voidsetSafeBorder(boolean SafeBorder) Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetSafeBorder(bool SafeBorder) A safe border is added to input image to avoid borders effects and remove it once the closing is doneprotected static longtoString()std::string itk::simple::GrayscaleMorphologicalOpeningImageFilter::ToString() const Print ourselves outMethods inherited from class ImageFilter
getCPtr, swigReleaseModifier and TypeMethodDescriptionprotected static longgetCPtr(ImageFilter obj) protected static longswigRelease(ImageFilter obj) Methods inherited from class 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, swigReleaseModifier and TypeMethodDescriptionvoidabort()virtual void itk::simple::ProcessObject::Abort() Sets an abort flag on the active process.intaddCommand(EventEnum event, Command cmd) virtual int itk::simple::ProcessObject::AddCommand(itk::simple::EventEnum event, itk::simple::Command &cmd) Add a Command Object to observer the event.voiddebugOff()voiddebugOn()protected static longgetCPtr(ProcessObject obj) booleangetDebug()static doublestatic booleanstatic doublestatic longstatic Stringstatic booleanlonglongfloatvirtual float itk::simple::ProcessObject::GetProgress() const An Active Measurement of the progress of execution.static voidstatic voidstatic voidstatic voidbooleanhasCommand(EventEnum event) virtual bool itk::simple::ProcessObject::HasCommand(itk::simple::EventEnum event) const Query of this object has any registered commands for event.voidvirtual void itk::simple::ProcessObject::RemoveAllCommands() Remove all registered commands.voidsetDebug(boolean debugFlag) static voidsetGlobalDefaultCoordinateTolerance(double arg0) static voidsetGlobalDefaultDebug(boolean debugFlag) static voidsetGlobalDefaultDirectionTolerance(double arg0) static voidsetGlobalDefaultNumberOfThreads(long n) static booleansetGlobalDefaultThreader(String threader) static voidsetGlobalWarningDisplay(boolean flag) voidsetNumberOfThreads(long n) voidsetNumberOfWorkUnits(long n) protected static longswigRelease(ProcessObject obj)
-
Constructor Details
-
GrayscaleMorphologicalOpeningImageFilter
protected GrayscaleMorphologicalOpeningImageFilter(long cPtr, boolean cMemoryOwn) -
GrayscaleMorphologicalOpeningImageFilter
public GrayscaleMorphologicalOpeningImageFilter()itk::simple::GrayscaleMorphologicalOpeningImageFilter::GrayscaleMorphologicalOpeningImageFilter() 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::GrayscaleMorphologicalOpeningImageFilter::~GrayscaleMorphologicalOpeningImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setKernelRadius
Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
setKernelRadius
public void setKernelRadius(long value) Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
getKernelRadius
std::vector<unsigned int> itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element. -
setKernelType
Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology. -
getKernelType
KernelEnum itk::simple::GrayscaleMorphologicalOpeningImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology. -
setSafeBorder
public void setSafeBorder(boolean SafeBorder) Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::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::GrayscaleMorphologicalOpeningImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully. -
safeBorderOff
public void safeBorderOff()Self& itk::simple::GrayscaleMorphologicalOpeningImageFilter::SafeBorderOff() -
getSafeBorder
public boolean getSafeBorder()bool itk::simple::GrayscaleMorphologicalOpeningImageFilter::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::GrayscaleMorphologicalOpeningImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::GrayscaleMorphologicalOpeningImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-