Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType > Class Template Reference

#include <itkNeighborhoodFunctorImageFilter.h>

Inheritance diagram for itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >:
Collaboration diagram for itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >:

Public Types

typedef NeighborhoodFunctorImageFilter Self
 
typedef ImageToImageFilter< TInputImageType, TFeatureImageType > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImageType InputImageType
 
typedef TInputImageType::PixelType InputImagePixelType
 
typedef itk::Image< short, InputImageDimension > MaskImageType
 
typedef MaskImageType::PixelType MaskImagePixelType
 
typedef TFeatureImageType FeatureImageType
 
typedef FeatureImageType::PixelType FeaturePixelType
 
typedef itk::Size< InputImageDimension > SizeType
 
typedef ImageBoundaryCondition< InputImageType > * ImageBoundaryConditionPointerType
 
typedef ZeroFluxNeumannBoundaryCondition< InputImageTypeDefaultBoundaryCondition
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef Neighborhood< InputImagePixelType, InputImageDimension > NeighborhoodType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, TFeatureImageType::ImageDimension)
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImageType::ImageDimension)
 
void OverrideBoundaryCondition (const ImageBoundaryConditionPointerType i)
 
ImageBoundaryConditionPointerType GetBoundaryCondition ()
 
void SetNeighborhoodSize (SizeType size)
 
void SetNeighborhoodSize (unsigned int size)
 
SizeType GetNeighborhoodSize ()
 
void SetMask (const typename MaskImageType::Pointer &ptr)
 
const FunctorType & GetFunctorReference () const
 
FunctorType & GetFunctorReference ()
 
void SetFunctor (const FunctorType &func)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 NeighborhoodFunctorImageFilter ()
 
 ~NeighborhoodFunctorImageFilter ()
 
void BeforeThreadedGenerateData ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void GenerateInputRequestedRegion () throw ( InvalidRequestedRegionError )
 

Detailed Description

template<typename TInputImageType, typename TFeatureImageType, class FunctorType>
class itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >

Definition at line 17 of file itkNeighborhoodFunctorImageFilter.h.

Member Typedef Documentation

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef SmartPointer< const Self > itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::ConstPointer

Definition at line 23 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef ZeroFluxNeumannBoundaryCondition< InputImageType > itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::DefaultBoundaryCondition

Typedef for the default boundary condition

Definition at line 48 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef TFeatureImageType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::FeatureImageType

Definition at line 40 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef FeatureImageType::PixelType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::FeaturePixelType

Definition at line 41 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef ImageBoundaryCondition< InputImageType >* itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::ImageBoundaryConditionPointerType

Typedef for generic boundary condition pointer.

Definition at line 45 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef TInputImageType::PixelType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::InputImagePixelType

Definition at line 37 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef TInputImageType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::InputImageType

Definition at line 36 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef MaskImageType::PixelType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::MaskImagePixelType

Definition at line 39 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef itk::Image<short, InputImageDimension> itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::MaskImageType

Definition at line 38 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef Neighborhood< InputImagePixelType, InputImageDimension > itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::NeighborhoodType

Definition at line 53 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef Superclass::OutputImageRegionType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::OutputImageRegionType

Superclass typedefs.

Definition at line 51 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef SmartPointer< Self > itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::Pointer

Definition at line 22 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef NeighborhoodFunctorImageFilter itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::Self

Definition at line 20 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef itk::Size<InputImageDimension> itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::SizeType

Definition at line 42 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
typedef ImageToImageFilter<TInputImageType, TFeatureImageType> itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::Superclass

Definition at line 21 of file itkNeighborhoodFunctorImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::NeighborhoodFunctorImageFilter ( )
inlineprotected

Definition at line 90 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::~NeighborhoodFunctorImageFilter ( )
inlineprotected

Definition at line 97 of file itkNeighborhoodFunctorImageFilter.h.

Member Function Documentation

template<typename TInputImage , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImage, TFeatureImageType, FunctorType >::BeforeThreadedGenerateData ( )
protected

Definition at line 14 of file itkNeighborhoodFunctorImageFilter.cpp.

References mitk::New().

template<typename TInputImage , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImage, TFeatureImageType, FunctorType >::GenerateInputRequestedRegion ( )
throw (InvalidRequestedRegionError
)
protectedvirtual

NeighborhoodFunctorImageFilter needs a larger input requested region than the output requested region. As such, NeighborhoodOperatorImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.

See also
ProcessObject::GenerateInputRequestedRegion()

Definition at line 41 of file itkNeighborhoodFunctorImageFilter.cpp.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
ImageBoundaryConditionPointerType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::GetBoundaryCondition ( )
inline

Get the boundary condition specified

Definition at line 64 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
virtual const char* itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::GetClassName ( ) const
virtual
template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
const FunctorType& itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::GetFunctorReference ( ) const
inline

Definition at line 73 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
FunctorType& itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::GetFunctorReference ( )
inline

Definition at line 78 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
SizeType itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::GetNeighborhoodSize ( )
inline

Definition at line 69 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TFeatureImageType::ImageDimension   
)

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
TInputImageType::ImageDimension   
)
template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
static Pointer itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::New ( )
static
template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::OverrideBoundaryCondition ( const ImageBoundaryConditionPointerType  i)
inline

Allows a user to override the internal boundary condition. Care should be be taken to ensure that the overriding boundary condition is a persistent object during the time it is referenced. The overriding condition can be of a different type than the default type as long as it is a subclass of ImageBoundaryCondition.

Definition at line 60 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::SetFunctor ( const FunctorType &  func)
inline

Definition at line 83 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::SetMask ( const typename MaskImageType::Pointer &  ptr)
inline

Definition at line 71 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::SetNeighborhoodSize ( SizeType  size)
inline

Definition at line 67 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImageType , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImageType, TFeatureImageType, FunctorType >::SetNeighborhoodSize ( unsigned int  size)
inline

Definition at line 68 of file itkNeighborhoodFunctorImageFilter.h.

template<typename TInputImage , typename TFeatureImageType , class FunctorType >
void itk::NeighborhoodFunctorImageFilter< TInputImage, TFeatureImageType, FunctorType >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protected

Definition at line 91 of file itkNeighborhoodFunctorImageFilter.cpp.

References features.


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