Class MaskNegatedImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.MaskNegatedImageFilter
Mask an image with the negation (or logical compliment) of a mask.
This class is templated over the types of the input image type, the
mask image type and the type of the output image. Numeric conversions
(castings) are done by the C++ defaults.
The pixel type of the input 2 image must have a valid definition of
the operator!=. This condition is required because internally this
filter will perform the operation
The pixel from the input 1 is cast to the pixel type of the output
image.
Note that the input and the mask images must be of the same size.
WARNING:
Only pixel value with mask_value ( defaults to 0 ) will be preserved.
See:
 MaskImageFilter
 itk::simple::MaskNegated for the procedural interface
 itk::MaskNegatedImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkMaskNegatedImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::MaskNegatedImageFilter::MaskNegatedImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedMaskNegatedImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::MaskNegatedImageFilter::~MaskNegatedImageFilter() DestructorImage itk::simple::MaskNegatedImageFilter::Execute(Image &&image, const Image &maskImage) Execute the filter on the input imageprotected voidfinalize()protected static longdoubledouble itk::simple::MaskNegatedImageFilter::GetMaskingValue() const Method to get the masking value of the mask.getName()std::string itk::simple::MaskNegatedImageFilter::GetName() const Name of this classdoubledouble itk::simple::MaskNegatedImageFilter::GetOutsideValue() constvoidsetMaskingValue(double MaskingValue) Self& itk::simple::MaskNegatedImageFilter::SetMaskingValue(double MaskingValue) Method to explicitly set the masking value of the mask.voidsetOutsideValue(double OutsideValue) Self& itk::simple::MaskNegatedImageFilter::SetOutsideValue(double OutsideValue) Method to explicitly set the outside value of the mask.protected static longtoString()std::string itk::simple::MaskNegatedImageFilter::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- 
MaskNegatedImageFilterprotected MaskNegatedImageFilter(long cPtr, boolean cMemoryOwn) 
- 
MaskNegatedImageFilterpublic MaskNegatedImageFilter()itk::simple::MaskNegatedImageFilter::MaskNegatedImageFilter() 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::MaskNegatedImageFilter::~MaskNegatedImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setOutsideValuepublic void setOutsideValue(double OutsideValue) Self& itk::simple::MaskNegatedImageFilter::SetOutsideValue(double OutsideValue) Method to explicitly set the outside value of the mask. Defaults to 0
- 
getOutsideValuepublic double getOutsideValue()double itk::simple::MaskNegatedImageFilter::GetOutsideValue() const
- 
setMaskingValuepublic void setMaskingValue(double MaskingValue) Self& itk::simple::MaskNegatedImageFilter::SetMaskingValue(double MaskingValue) Method to explicitly set the masking value of the mask. Defaults to 0
- 
getMaskingValuepublic double getMaskingValue()double itk::simple::MaskNegatedImageFilter::GetMaskingValue() const Method to get the masking value of the mask.
- 
getNamestd::string itk::simple::MaskNegatedImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::MaskNegatedImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-