ITK
5.2.0
Insight Toolkit
|
#include <itkTernaryOperatorImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::TernaryOperator< typename TMask::PixelType, typename TImage::PixelType, typename TImage::PixelType, typename TImage::PixelType > |
using | Pointer = SmartPointer< Self > |
using | Self = TernaryOperatorImageFilter |
using | Superclass = TernaryGeneratorImageFilter< TMask, TImage, TImage, TImage > |
Public Types inherited from itk::TernaryGeneratorImageFilter< TMask, TImage, TImage, TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | ConstRefFunctionType = OutputImagePixelType(const Input1ImagePixelType &, const Input2ImagePixelType &, const Input3ImagePixelType &) |
using | DecoratedInput1ImagePixelType = SimpleDataObjectDecorator< Input1ImagePixelType > |
using | DecoratedInput2ImagePixelType = SimpleDataObjectDecorator< Input2ImagePixelType > |
using | DecoratedInput3ImagePixelType = SimpleDataObjectDecorator< Input3ImagePixelType > |
using | FunctionType = OutputImagePixelType(*)(const Input1ImagePixelType &, const Input2ImagePixelType &, const Input3ImagePixelType &) |
using | Input1ImagePixelType = typename Input1ImageType::PixelType |
using | Input1ImagePointer = typename Input1ImageType::ConstPointer |
using | Input1ImageRegionType = typename Input1ImageType::RegionType |
using | Input1ImageType = TMask |
using | Input2ImagePixelType = typename Input2ImageType::PixelType |
using | Input2ImagePointer = typename Input2ImageType::ConstPointer |
using | Input2ImageRegionType = typename Input2ImageType::RegionType |
using | Input2ImageType = TImage |
using | Input3ImagePixelType = typename Input3ImageType::PixelType |
using | Input3ImagePointer = typename Input3ImageType::ConstPointer |
using | Input3ImageRegionType = typename Input3ImageType::RegionType |
using | Input3ImageType = TImage |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TImage |
using | Pointer = SmartPointer< Self > |
using | Self = TernaryGeneratorImageFilter |
using | Superclass = InPlaceImageFilter< TMask, TImage > |
using | ValueFunctionType = OutputImagePixelType(Input1ImagePixelType, Input2ImagePixelType, Input3ImagePixelType) |
Public Types inherited from itk::InPlaceImageFilter< TMask, TImage > | |
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 = TMask |
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< TMask, TImage > |
Public Types inherited from itk::ImageToImageFilter< TMask, TImage > | |
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 = TMask |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TImage > |
Public Types inherited from itk::ImageSource< TImage > | |
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 = TImage |
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::TernaryGeneratorImageFilter< TMask, TImage, TImage, TImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TMask, TImage > | |
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 () |
Additional Inherited Members | |
Static Public Attributes inherited from itk::TernaryGeneratorImageFilter< TMask, TImage, TImage, TImage > | |
static constexpr unsigned int | Input1ImageDimension |
static constexpr unsigned int | Input2ImageDimension |
static constexpr unsigned int | Input3ImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TMask, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TMask, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static constexpr unsigned int | OutputImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TMask, TImage > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Static Protected Member Functions inherited from itk::ProcessObject | |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ImageSource< TImage > | |
bool | m_DynamicMultiThreading |
Protected Attributes inherited from itk::ProcessObject | |
bool | m_Updating |
TimeStamp | m_OutputInformationMTime |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Return the value of input 2 if input 1 is false, and that of input 3 otherwise.
This class is templated over the mask type and image type. Inputs two and three and the output image are all templated over the same type. If the value of Input1 evaluates to true, the value of Input2 is taken; otherwise, the value of Input3 is taken. This is equivalent to applying the ternary operator pixelwise across the three images:
Output = Input1 ? Input2 : Input3
As an example of where this filter could be useful, consider the case where you have the following images:
A new image with the foreground object placed on the background can be obtained as follows:
Definition at line 67 of file itkTernaryOperatorImageFilter.h.
using itk::TernaryOperatorImageFilter< TMask, TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 77 of file itkTernaryOperatorImageFilter.h.
using itk::TernaryOperatorImageFilter< TMask, TImage >::FunctorType = Functor::TernaryOperator<typename TMask::PixelType, typename TImage::PixelType, typename TImage::PixelType, typename TImage::PixelType> |
Definition at line 82 of file itkTernaryOperatorImageFilter.h.
using itk::TernaryOperatorImageFilter< TMask, TImage >::Pointer = SmartPointer<Self> |
Definition at line 76 of file itkTernaryOperatorImageFilter.h.
using itk::TernaryOperatorImageFilter< TMask, TImage >::Self = TernaryOperatorImageFilter |
Standard class type aliases.
Definition at line 73 of file itkTernaryOperatorImageFilter.h.
using itk::TernaryOperatorImageFilter< TMask, TImage >::Superclass = TernaryGeneratorImageFilter<TMask, TImage, TImage, TImage> |
Definition at line 74 of file itkTernaryOperatorImageFilter.h.
|
inlineprotected |
Definition at line 91 of file itkTernaryOperatorImageFilter.h.
References itk::TernaryGeneratorImageFilter< TMask, TImage, TImage, TImage >::SetFunctor().
|
overrideprotecteddefault |
|
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.
|
virtual |
Runtime information support.
Reimplemented from itk::TernaryGeneratorImageFilter< TMask, TImage, TImage, TImage >.
|
static |
Method for creation through the object factory.