#include <itkBinaryFunctorImageFilter.h>
Inheritance diagram for itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >:
Public Types | |
typedef BinaryFunctorImageFilter | Self |
typedef InPlaceImageFilter< TInputImage1, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef TInputImage1 | Input1ImageType |
typedef Input1ImageType::ConstPointer | Input1ImagePointer |
typedef Input1ImageType::RegionType | Input1ImageRegionType |
typedef Input1ImageType::PixelType | Input1ImagePixelType |
typedef TInputImage2 | Input2ImageType |
typedef Input2ImageType::ConstPointer | Input2ImagePointer |
typedef Input2ImageType::RegionType | Input2ImageRegionType |
typedef Input2ImageType::PixelType | Input2ImagePixelType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::PixelType | OutputImagePixelType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
void | SetInput1 (const TInputImage1 *image1) |
void | SetInput2 (const TInputImage2 *image2) |
FunctorType & | GetFunctor () |
void | SetFunctor (const FunctorType &functor) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
BinaryFunctorImageFilter () | |
virtual | ~BinaryFunctorImageFilter () |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
This class is parameterized over the types of the two input images and the type of the output image. It is also parameterized by the operation to be applied. A Functor style is used.
Definition at line 37 of file itkBinaryFunctorImageFilter.h.
|
|
Some convenient typedefs. Reimplemented in itk::JoinImageFilter< TInputImage1, TInputImage2 >, and itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >. Definition at line 54 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 58 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 56 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 57 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 55 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 62 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 60 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 61 of file itkBinaryFunctorImageFilter.h. |
|
Definition at line 59 of file itkBinaryFunctorImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage1, TOutputImage >. Reimplemented in itk::JoinImageFilter< TInputImage1, TInputImage2 >. Definition at line 66 of file itkBinaryFunctorImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage1, TOutputImage >. Definition at line 64 of file itkBinaryFunctorImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::InPlaceImageFilter< TInputImage1, TOutputImage >. Definition at line 65 of file itkBinaryFunctorImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::InPlaceImageFilter< TInputImage1, TOutputImage >. Reimplemented in itk::Compose2DCovariantVectorImageFilter< TInputImage, TOutputImage >, itk::Compose2DVectorImageFilter< TInputImage, TOutputImage >, and itk::JoinImageFilter< TInputImage1, TInputImage2 >. Definition at line 63 of file itkBinaryFunctorImageFilter.h. |
|
|
|
|
|
|
Definition at line 95 of file itkBinaryFunctorImageFilter.h. |
|
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 78 of file itkBinaryFunctorImageFilter.h. |
|
Run-time type information (and related methods). Reimplemented from itk::InPlaceImageFilter< TInputImage1, TOutputImage >. Reimplemented in itk::JoinImageFilter< TInputImage1, TInputImage2 >. |
|
|
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 86 of file itkBinaryFunctorImageFilter.h. |
|
Connect one of the operands for pixel-wise addition |
|
Connect one of the operands for pixel-wise addition |
|
BinaryFunctorImageFilter 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 >. |