Class BinaryDilateImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryDilateImageFilter
Fast binary dilation of a single intensity value in the image.
BinaryDilateImageFilter is a binary dilation morphologic operation on the foreground of an
image. Only the value designated by the intensity value
"SetForegroundValue()" (alias as SetDilateValue() ) is considered as
foreground, and other intensity values are considered background.
Grayscale images can be processed as binary images by selecting a
"ForegroundValue" (alias "DilateValue"). Pixel values matching the
dilate value are considered the "foreground" and all other pixels
are "background". This is useful in processing segmented images
where all pixels in segment #1 have value 1 and pixels in segment #2
have value 2, etc. A particular "segment number" can be processed.
ForegroundValue defaults to the maximum possible value of the
PixelType.
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. A reasonable
choice of structuring element is itk::BinaryBallStructuringElement .
This implementation is based on the papers:
L.Vincent "Morphological transformations of binary images with
arbitrary structuring elements", and
N.Nikopoulos et al. "An efficient algorithm for 3d binary
morphological transformations with 3d structuring elements for
arbitrary size and shape". IEEE Transactions on Image Processing. Vol. 9. No. 3. 2000. pp. 283-286.
See:
 ImageToImageFilter BinaryErodeImageFilter BinaryMorphologyImageFilter
 itk::simple::BinaryDilate for the procedural interface
 itk::BinaryDilateImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryDilateImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::BinaryDilateImageFilter::BinaryDilateImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedBinaryDilateImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidSelf& itk::simple::BinaryDilateImageFilter::BoundaryToForegroundOff()voidSelf& itk::simple::BinaryDilateImageFilter::BoundaryToForegroundOn() Set the value of BoundaryToForeground to true or false respectfully.voiddelete()virtual itk::simple::BinaryDilateImageFilter::~BinaryDilateImageFilter() DestructorImage itk::simple::BinaryDilateImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::BinaryDilateImageFilter::GetBackgroundValue() constbooleanbool itk::simple::BinaryDilateImageFilter::GetBoundaryToForeground() constprotected static longdoubledouble itk::simple::BinaryDilateImageFilter::GetForegroundValue() conststd::vector<unsigned int> itk::simple::BinaryDilateImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.KernelEnum itk::simple::BinaryDilateImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.getName()std::string itk::simple::BinaryDilateImageFilter::GetName() const Name of this classvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryDilateImageFilter::SetBackgroundValue(double BackgroundValue)voidsetBoundaryToForeground(boolean BoundaryToForeground) Self& itk::simple::BinaryDilateImageFilter::SetBoundaryToForeground(bool BoundaryToForeground)voidsetForegroundValue(double ForegroundValue) Self& itk::simple::BinaryDilateImageFilter::SetForegroundValue(double ForegroundValue)voidsetKernelRadius(long value) Self& itk::simple::BinaryDilateImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoidsetKernelRadius(VectorUInt32 KernelRadius) Self& itk::simple::BinaryDilateImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoidsetKernelType(KernelEnum KernelType) Self& itk::simple::BinaryDilateImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.protected static longtoString()std::string itk::simple::BinaryDilateImageFilter::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- 
BinaryDilateImageFilterprotected BinaryDilateImageFilter(long cPtr, boolean cMemoryOwn) 
- 
BinaryDilateImageFilterpublic BinaryDilateImageFilter()itk::simple::BinaryDilateImageFilter::BinaryDilateImageFilter() 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::BinaryDilateImageFilter::~BinaryDilateImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setKernelRadiusSelf& itk::simple::BinaryDilateImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value
- 
setKernelRadiuspublic void setKernelRadius(long value) Self& itk::simple::BinaryDilateImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value
- 
getKernelRadiusstd::vector<unsigned int> itk::simple::BinaryDilateImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.
- 
setKernelTypeSelf& itk::simple::BinaryDilateImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.
- 
getKernelTypeKernelEnum itk::simple::BinaryDilateImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.
- 
setBackgroundValuepublic void setBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryDilateImageFilter::SetBackgroundValue(double BackgroundValue)
- 
getBackgroundValuepublic double getBackgroundValue()double itk::simple::BinaryDilateImageFilter::GetBackgroundValue() const
- 
setForegroundValuepublic void setForegroundValue(double ForegroundValue) Self& itk::simple::BinaryDilateImageFilter::SetForegroundValue(double ForegroundValue)
- 
getForegroundValuepublic double getForegroundValue()double itk::simple::BinaryDilateImageFilter::GetForegroundValue() const
- 
setBoundaryToForegroundpublic void setBoundaryToForeground(boolean BoundaryToForeground) Self& itk::simple::BinaryDilateImageFilter::SetBoundaryToForeground(bool BoundaryToForeground)
- 
boundaryToForegroundOnpublic void boundaryToForegroundOn()Self& itk::simple::BinaryDilateImageFilter::BoundaryToForegroundOn() Set the value of BoundaryToForeground to true or false respectfully.
- 
boundaryToForegroundOffpublic void boundaryToForegroundOff()Self& itk::simple::BinaryDilateImageFilter::BoundaryToForegroundOff()
- 
getBoundaryToForegroundpublic boolean getBoundaryToForeground()bool itk::simple::BinaryDilateImageFilter::GetBoundaryToForeground() const
- 
getNamestd::string itk::simple::BinaryDilateImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::BinaryDilateImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-