#include <itkUnaryFunctorImageFilter.h>
Inheritance diagram for itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >:
Public Types | |
typedef UnaryFunctorImageFilter | Self |
typedef InPlaceImageFilter< TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef TInputImage | InputImageType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::PixelType | OutputImagePixelType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () const |
void | SetFunctor (const FunctorType &functor) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
UnaryFunctorImageFilter () | |
virtual | ~UnaryFunctorImageFilter () |
virtual void | GenerateOutputInformation () |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
This class is parameterized over the type of the input image and the type of the output image. It is also parameterized by the operation to be applied, using a Functor style.
UnaryFunctorImageFilter allows the output dimension of the filter to be larger than the input dimension. Thus subclasses of the UnaryFunctorImageFilter (like the CastImageFilter) can be used to promote a 2D image to a 3D image, etc.
Definition at line 41 of file itkUnaryFunctorImageFilter.h.
|
|
Some typedefs. Reimplemented in itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, and itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >. Definition at line 57 of file itkUnaryFunctorImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Definition at line 61 of file itkUnaryFunctorImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Definition at line 59 of file itkUnaryFunctorImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Definition at line 60 of file itkUnaryFunctorImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Definition at line 58 of file itkUnaryFunctorImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Definition at line 65 of file itkUnaryFunctorImageFilter.h. |
|
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Definition at line 63 of file itkUnaryFunctorImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Definition at line 64 of file itkUnaryFunctorImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Reimplemented in itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, and itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >. Definition at line 62 of file itkUnaryFunctorImageFilter.h. |
|
|
|
|
|
|
Definition at line 90 of file itkUnaryFunctorImageFilter.h. |
|
UnaryFunctorImageFilter can produce an image which is a different resolution than its input image. As such, UnaryFunctorImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
Reimplemented from itk::ProcessObject. |
|
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 72 of file itkUnaryFunctorImageFilter.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 71 of file itkUnaryFunctorImageFilter.h. |
|
Run-time type information (and related methods). Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >. Reimplemented in itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, and itk::CastImageFilter< FeatureImageType, ImageType >. |
|
|
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 81 of file itkUnaryFunctorImageFilter.h. |
|
UnaryFunctorImageFilter 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 >. |