ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction > Class Template Reference

#include <itkUnaryFunctorImageFilter.h>

+ Inheritance diagram for itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >:
+ Collaboration diagram for itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TFunction FunctorType
typedef InputImageType::PixelType InputImagePixelType
typedef
InputImageType::ConstPointer 
InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef UnaryFunctorImageFilter Self
typedef InPlaceImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
FunctorTypeGetFunctor ()
const FunctorTypeGetFunctor () const
void SetFunctor (const FunctorType &functor)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void GenerateOutputInformation ()
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 UnaryFunctorImageFilter ()
virtual ~UnaryFunctorImageFilter ()

Private Member Functions

void operator= (const Self &)
 UnaryFunctorImageFilter (const Self &)

Private Attributes

FunctorType m_Functor

Detailed Description

template<class TInputImage, class TOutputImage, class TFunction>
class itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >

Implements pixel-wise generic operation on one image.

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.

See also:
BinaryFunctorImageFilter TernaryFunctorImageFilter
Wiki Examples:

Definition at line 48 of file itkUnaryFunctorImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage, class TFunction>
typedef SmartPointer< const Self > itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::SigmoidImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

Definition at line 55 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
typedef TFunction itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::FunctorType
template<class TInputImage, class TOutputImage, class TFunction>
typedef InputImageType::PixelType itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePixelType
template<class TInputImage, class TOutputImage, class TFunction>
typedef InputImageType::ConstPointer itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer
template<class TInputImage, class TOutputImage, class TFunction>
typedef InputImageType::RegionType itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType
template<class TInputImage, class TOutputImage, class TFunction>
typedef TInputImage itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType
template<class TInputImage, class TOutputImage, class TFunction>
typedef OutputImageType::PixelType itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePixelType
template<class TInputImage, class TOutputImage, class TFunction>
typedef OutputImageType::Pointer itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer
template<class TInputImage, class TOutputImage, class TFunction>
typedef OutputImageType::RegionType itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

Definition at line 73 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
typedef TOutputImage itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType
template<class TInputImage, class TOutputImage, class TFunction>
typedef SmartPointer< Self > itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Pointer

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::SigmoidImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

Definition at line 54 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
typedef UnaryFunctorImageFilter itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Self

Standard class typedefs.

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::SigmoidImageFilter< TInputImage, TOutputImage >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

Definition at line 52 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
typedef InPlaceImageFilter< TInputImage, TOutputImage > itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::Superclass

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::SigmoidImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

Definition at line 53 of file itkUnaryFunctorImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage, class TFunction>
itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::UnaryFunctorImageFilter ( ) [protected]
template<class TInputImage, class TOutputImage, class TFunction>
virtual itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::~UnaryFunctorImageFilter ( ) [inline, protected, virtual]

Definition at line 102 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::UnaryFunctorImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage, class TOutputImage, class TFunction>
virtual::itk::LightObject::Pointer itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::CreateAnother ( void  ) const [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::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::SigmoidImageFilter< TInputImage, TOutputImage >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TFunction>
virtual void itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::GenerateOutputInformation ( ) [protected, virtual]

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.

See also:
ProcessObject::GenerateOutputInformaton()

Reimplemented from itk::ProcessObject.

Reimplemented in itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TFunction>
FunctorType& itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::GetFunctor ( ) [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 80 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
const FunctorType& itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::GetFunctor ( ) const [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 81 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
virtual const char* itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::SigmoidImageFilter< TInputImage, TOutputImage >, itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TFunction>
static Pointer itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

Reimplemented in itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::SigmoidImageFilter< TInputImage, TOutputImage >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TFunction>
void itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::operator= ( const Self ) [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::SigmoidImageFilter< TInputImage, TOutputImage >, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >, itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::SymmetricEigenAnalysisImageFilter< TInputImage, TOutputImage >, itk::AdaptImageFilter< TInputImage, TOutputImage, TAccessor >, itk::VectorIndexSelectionCastImageFilter< TInputImage, TOutputImage >, itk::ChangeLabelImageFilter< TInputImage, TOutputImage >, itk::VectorRescaleIntensityImageFilter< TInputImage, TOutputImage >, itk::BinaryNotImageFilter< TImage >, itk::ClampImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< TInputImage, TOutputImage >, itk::CastImageFilter< FeatureImageType, ImageType >, itk::InvertIntensityImageFilter< TInputImage, TOutputImage >, itk::ExpNegativeImageFilter< TInputImage, TOutputImage >, itk::MatrixIndexSelectionImageFilter< TInputImage, TOutputImage >, itk::ModulusImageFilter< TInputImage, TOutputImage >, itk::AsinImageFilter< TInputImage, TOutputImage >, itk::NotImageFilter< TInputImage, TOutputImage >, itk::AcosImageFilter< TInputImage, TOutputImage >, itk::TensorFractionalAnisotropyImageFilter< TInputImage, TOutputImage >, itk::CosImageFilter< TInputImage, TOutputImage >, itk::VectorCastImageFilter< TInputImage, TOutputImage >, itk::AtanImageFilter< TInputImage, TOutputImage >, itk::TensorRelativeAnisotropyImageFilter< TInputImage, TOutputImage >, itk::LabelToRGBImageFilter< TLabelImage, TOutputImage >, itk::BoundedReciprocalImageFilter< TInputImage, TOutputImage >, itk::AbsImageFilter< TInputImage, TOutputImage >, itk::SinImageFilter< TInputImage, TOutputImage >, itk::VectorMagnitudeImageFilter< TInputImage, TOutputImage >, itk::ExpImageFilter< TInputImage, TOutputImage >, itk::Log10ImageFilter< TInputImage, TOutputImage >, itk::SqrtImageFilter< TInputImage, TOutputImage >, itk::LogImageFilter< TInputImage, TOutputImage >, itk::SquareImageFilter< TInputImage, TOutputImage >, itk::TanImageFilter< TInputImage, TOutputImage >, itk::EdgePotentialImageFilter< TInputImage, TOutputImage >, itk::ComplexToModulusImageFilter< TInputImage, TOutputImage >, itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >, itk::ComplexToImaginaryImageFilter< TInputImage, TOutputImage >, itk::ComplexToPhaseImageFilter< TInputImage, TOutputImage >, itk::ComplexToRealImageFilter< TInputImage, TOutputImage >, itk::RoundImageFilter< TInputImage, TOutputImage >, and itk::GradientToMagnitudeImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage, class TFunction>
void itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::SetFunctor ( const FunctorType functor) [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 90 of file itkUnaryFunctorImageFilter.h.

template<class TInputImage, class TOutputImage, class TFunction>
void itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
) [protected, virtual]

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"

See also:
ImageToImageFilter::ThreadedGenerateData(), ImageToImageFilter::GenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.


Member Data Documentation

template<class TInputImage, class TOutputImage, class TFunction>
FunctorType itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >::m_Functor [private]

Definition at line 131 of file itkUnaryFunctorImageFilter.h.


The documentation for this class was generated from the following file: