ITK
5.2.0
Insight Toolkit
|
#include <itkMaskNegatedImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::MaskNegatedInput< typename TInputImage::PixelType, typename TMaskImage::PixelType, typename TOutputImage::PixelType > |
using | MaskImageType = TMaskImage |
using | Pointer = SmartPointer< Self > |
using | Self = MaskNegatedImageFilter |
using | Superclass = BinaryGeneratorImageFilter< TInputImage, TMaskImage, TOutputImage > |
Public Types inherited from itk::BinaryGeneratorImageFilter< TInputImage, TMaskImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | ConstRefFunctionType = OutputImagePixelType(const Input1ImagePixelType &, const Input2ImagePixelType &) |
using | DecoratedInput1ImagePixelType = SimpleDataObjectDecorator< Input1ImagePixelType > |
using | DecoratedInput2ImagePixelType = SimpleDataObjectDecorator< Input2ImagePixelType > |
using | FunctionType = OutputImagePixelType(*)(const Input1ImagePixelType &, const Input2ImagePixelType &) |
using | Input1ImagePixelType = typename Input1ImageType::PixelType |
using | Input1ImagePointer = typename Input1ImageType::ConstPointer |
using | Input1ImageRegionType = typename Input1ImageType::RegionType |
using | Input1ImageType = TInputImage |
using | Input2ImagePixelType = typename Input2ImageType::PixelType |
using | Input2ImagePointer = typename Input2ImageType::ConstPointer |
using | Input2ImageRegionType = typename Input2ImageType::RegionType |
using | Input2ImageType = TMaskImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = BinaryGeneratorImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
using | ValueFunctionType = OutputImagePixelType(Input1ImagePixelType, Input2ImagePixelType) |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BinaryGeneratorImageFilter< TInputImage, TMaskImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
FunctorType | m_Functor |
void | SetOutsideValue (const typename TOutputImage::PixelType &outsideValue) |
const TOutputImage::PixelType & | GetOutsideValue () const |
void | SetMaskingValue (const typename TMaskImage::PixelType &maskingValue) |
const TMaskImage::PixelType & | GetMaskingValue () const |
void | SetMaskImage (const MaskImageType *maskImage) |
const MaskImageType * | GetMaskImage () |
MaskNegatedImageFilter ()=default | |
~MaskNegatedImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | BeforeThreadedGenerateData () override |
virtual const FunctorType & | GetFunctor () const |
FunctorType & | GetFunctor () |
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.
Definition at line 139 of file itkMaskNegatedImageFilter.h.
using itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 151 of file itkMaskNegatedImageFilter.h.
using itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::FunctorType = Functor:: MaskNegatedInput<typename TInputImage::PixelType, typename TMaskImage::PixelType, typename TOutputImage::PixelType> |
Definition at line 149 of file itkMaskNegatedImageFilter.h.
using itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::MaskImageType = TMaskImage |
Typedefs
Definition at line 160 of file itkMaskNegatedImageFilter.h.
using itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 150 of file itkMaskNegatedImageFilter.h.
using itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::Self = MaskNegatedImageFilter |
Standard class type aliases.
Definition at line 145 of file itkMaskNegatedImageFilter.h.
using itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::Superclass = BinaryGeneratorImageFilter<TInputImage, TMaskImage, TOutputImage> |
Definition at line 146 of file itkMaskNegatedImageFilter.h.
|
protecteddefault |
Method to explicitly set the outside value of the mask. Defaults to 0
|
overrideprotecteddefault |
Method to explicitly set the outside value of the mask. Defaults to 0
|
inlineoverrideprotectedvirtual |
Method to explicitly set the outside value of the mask. Defaults to 0
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 236 of file itkMaskNegatedImageFilter.h.
References itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetFunctor(), and itk::BinaryGeneratorImageFilter< TInputImage, TMaskImage, TOutputImage >::SetFunctor().
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
inlineprivate |
Method to explicitly set the outside value of the mask. Defaults to 0
Definition at line 244 of file itkMaskNegatedImageFilter.h.
References itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::m_Functor.
|
privatevirtual |
Method to explicitly set the outside value of the mask. Defaults to 0
Referenced by itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::BeforeThreadedGenerateData(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetMaskingValue(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetOutsideValue(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskingValue(), and itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetOutsideValue().
|
inline |
Method to explicitly set the outside value of the mask. Defaults to 0
Definition at line 211 of file itkMaskNegatedImageFilter.h.
References itk::ProcessObject::GetInput().
|
inline |
Method to get the masking value of the mask.
Definition at line 194 of file itkMaskNegatedImageFilter.h.
References itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetFunctor(), and itk::Functor::MaskNegatedInput< TInput, TMask, TOutput >::GetMaskingValue().
Referenced by itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskingValue().
|
virtual |
Runtime information support.
Reimplemented from itk::BinaryGeneratorImageFilter< TInputImage, TMaskImage, TOutputImage >.
|
inline |
Method to explicitly set the outside value of the mask. Defaults to 0
Definition at line 175 of file itkMaskNegatedImageFilter.h.
References itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetFunctor(), and itk::Functor::MaskNegatedInput< TInput, TMask, TOutput >::GetOutsideValue().
Referenced by itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::PrintSelf(), and itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::SetOutsideValue().
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Method to explicitly set the outside value of the mask. Defaults to 0
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 229 of file itkMaskNegatedImageFilter.h.
References itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetOutsideValue(), and itk::InPlaceImageFilter< TInputImage, TOutputImage >::PrintSelf().
|
inline |
Set/Get the mask image. Pixels set to zero in the mask image will retain the original value of the input image while non-zero pixels in the mask will be set to the "OutsideValue".
Definition at line 204 of file itkMaskNegatedImageFilter.h.
References itk::ProcessObject::SetNthInput().
|
inline |
Method to explicitly set the masking value of the mask. Defaults to 0
Definition at line 182 of file itkMaskNegatedImageFilter.h.
References itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetFunctor(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetMaskingValue(), itk::Object::Modified(), and itk::Functor::MaskNegatedInput< TInput, TMask, TOutput >::SetMaskingValue().
|
inline |
Method to explicitly set the outside value of the mask. Defaults to 0
Definition at line 164 of file itkMaskNegatedImageFilter.h.
References itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetFunctor(), itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetOutsideValue(), itk::Object::Modified(), itk::Math::NotExactlyEquals(), and itk::Functor::MaskNegatedInput< TInput, TMask, TOutput >::SetOutsideValue().
|
private |
Method to explicitly set the outside value of the mask. Defaults to 0
Definition at line 249 of file itkMaskNegatedImageFilter.h.
Referenced by itk::MaskNegatedImageFilter< TInputImage, TMaskImage, TOutputImage >::GetFunctor().