ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkNaryFunctorImageFilter.h>
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.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef std::vector < InputImagePixelType > | NaryArrayType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef NaryFunctorImageFilter | Self |
typedef InPlaceImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef InPlaceImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
FunctorType | m_Functor |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer |
Definition at line 51 of file itkNaryFunctorImageFilter.h.
typedef TFunction itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::FunctorType |
Some typedefs.
Definition at line 57 of file itkNaryFunctorImageFilter.h.
typedef InputImageType::PixelType itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePixelType |
Definition at line 64 of file itkNaryFunctorImageFilter.h.
typedef InputImageType::Pointer itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer |
Definition at line 62 of file itkNaryFunctorImageFilter.h.
typedef InputImageType::RegionType itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType |
Definition at line 63 of file itkNaryFunctorImageFilter.h.
typedef TInputImage itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType |
Definition at line 61 of file itkNaryFunctorImageFilter.h.
typedef std::vector< InputImagePixelType > itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::NaryArrayType |
Definition at line 69 of file itkNaryFunctorImageFilter.h.
typedef OutputImageType::PixelType itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePixelType |
Definition at line 68 of file itkNaryFunctorImageFilter.h.
typedef OutputImageType::Pointer itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer |
Definition at line 66 of file itkNaryFunctorImageFilter.h.
typedef OutputImageType::RegionType itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType |
Definition at line 67 of file itkNaryFunctorImageFilter.h.
typedef TOutputImage itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType |
Definition at line 65 of file itkNaryFunctorImageFilter.h.
typedef SmartPointer< Self > itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Pointer |
Definition at line 50 of file itkNaryFunctorImageFilter.h.
typedef NaryFunctorImageFilter itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Self |
Standard class typedefs.
Definition at line 48 of file itkNaryFunctorImageFilter.h.
typedef InPlaceImageFilter< TInputImage, TOutputImage > itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Superclass |
Definition at line 49 of file itkNaryFunctorImageFilter.h.
|
protected |
|
inlineoverrideprotectedvirtual |
Definition at line 111 of file itkNaryFunctorImageFilter.h.
|
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.
|
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 75 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 83 of file itkNaryFunctorImageFilter.h.
|
overrideprotectedvirtual |
NaryFunctorImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
|
static |
ImageDimension constants
Definition at line 95 of file itkNaryFunctorImageFilter.h.
|
private |
Definition at line 127 of file itkNaryFunctorImageFilter.h.
|
static |
ImageDimension constants
Definition at line 97 of file itkNaryFunctorImageFilter.h.