ITK
5.2.0
Insight Toolkit
|
#include <itkNaryFunctorImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = TFunction |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | NaryArrayType = std::vector< InputImagePixelType > |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = NaryFunctorImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
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::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 () |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
FunctorType | m_Functor |
void | SetFunctor (FunctorType &functor) |
NaryFunctorImageFilter () | |
~NaryFunctorImageFilter () override=default | |
void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override |
Perform a generic pixel-wise operation on N images.
This class is templated over the types of the input images and the type of the output image. It is also templated by the operation to be applied. A Functor style is used to represent the function.
All the input images must be of the same type.
Definition at line 42 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer = SmartPointer<const Self> |
Definition at line 52 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::FunctorType = TFunction |
Some type alias.
Definition at line 61 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 65 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 63 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 64 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType = TInputImage |
Definition at line 62 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::NaryArrayType = std::vector<InputImagePixelType> |
Definition at line 70 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 69 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 67 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 68 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType = TOutputImage |
Definition at line 66 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Pointer = SmartPointer<Self> |
Definition at line 51 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Self = NaryFunctorImageFilter |
Standard class type aliases.
Definition at line 49 of file itkNaryFunctorImageFilter.h.
using itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Superclass = InPlaceImageFilter<TInputImage, TOutputImage> |
Definition at line 50 of file itkNaryFunctorImageFilter.h.
|
protected |
ImageDimension constants
|
overrideprotecteddefault |
ImageDimension constants
|
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.
|
overrideprotectedvirtual |
NaryFunctorImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a DynamicThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling DynamicThreadedGenerateData(). DynamicThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
|
inline |
Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer).
Definition at line 77 of file itkNaryFunctorImageFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
inline |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).
Definition at line 89 of file itkNaryFunctorImageFilter.h.
|
staticconstexpr |
ImageDimension constants
Definition at line 100 of file itkNaryFunctorImageFilter.h.
|
private |
ImageDimension constants
Definition at line 129 of file itkNaryFunctorImageFilter.h.
|
staticconstexpr |
ImageDimension constants
Definition at line 101 of file itkNaryFunctorImageFilter.h.