ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkNaryFunctorImageFilter.h>
Static Public Member Functions | |
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 Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
NaryFunctorImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
FunctorType | m_Functor |
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.
typedef SmartPointer< const Self > itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, TOutputImage >.
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 |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkNaryFunctorImageFilter.h.
typedef InputImageType::Pointer itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkNaryFunctorImageFilter.h.
typedef InputImageType::RegionType itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkNaryFunctorImageFilter.h.
typedef TInputImage itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
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 |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 68 of file itkNaryFunctorImageFilter.h.
typedef OutputImageType::Pointer itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 66 of file itkNaryFunctorImageFilter.h.
typedef OutputImageType::RegionType itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 67 of file itkNaryFunctorImageFilter.h.
typedef TOutputImage itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType |
Superclass typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 65 of file itkNaryFunctorImageFilter.h.
typedef SmartPointer< Self > itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Pointer |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkNaryFunctorImageFilter.h.
typedef NaryFunctorImageFilter itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Self |
Standard class typedefs.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, TOutputImage >.
Definition at line 48 of file itkNaryFunctorImageFilter.h.
typedef InPlaceImageFilter< TInputImage, TOutputImage > itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Superclass |
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkNaryFunctorImageFilter.h.
|
protected |
End concept checking
|
inlineprotectedvirtual |
Definition at line 111 of file itkNaryFunctorImageFilter.h.
|
private |
|
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.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, 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 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.
Reimplemented from itk::Object.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, TOutputImage >.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::NaryMaximumImageFilter< TInputImage, TOutputImage >, and itk::NaryAddImageFilter< TInputImage, TOutputImage >.
|
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.
|
protectedvirtual |
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 >.
itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )
itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::typedef | ( | Concept::HasZero< OutputImagePixelType > | ) |
This class requires OutputHasZeroCheck in the form of ( Concept::HasZero< OutputImagePixelType > )
|
static |
ImageDimension constants
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 95 of file itkNaryFunctorImageFilter.h.
|
private |
Definition at line 130 of file itkNaryFunctorImageFilter.h.
|
static |
ImageDimension constants
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Definition at line 97 of file itkNaryFunctorImageFilter.h.