ITK
4.9.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.
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 Member Functions | |
NaryFunctorImageFilter (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
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 |
|
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.
|
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.
|
private |
|
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 >.
itk::NaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
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
Definition at line 95 of file itkNaryFunctorImageFilter.h.
|
private |
Definition at line 130 of file itkNaryFunctorImageFilter.h.
Referenced by itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Maximum1< TInputImage::PixelType, TInputImage::PixelType > >::GetFunctor(), and itk::NaryFunctorImageFilter< TInputImage, TOutputImage, Functor::Maximum1< TInputImage::PixelType, TInputImage::PixelType > >::SetFunctor().
|
static |
ImageDimension constants
Definition at line 97 of file itkNaryFunctorImageFilter.h.