Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > Class Template Reference
[Image Filters]

Applies a single NeighborhoodOperator to an image region. More...

#include <itkNeighborhoodOperatorImageFilter.h>

Inheritance diagram for itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >:

Inheritance graph
[legend]
Collaboration diagram for itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef NeighborhoodOperatorImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TOutputImage::PixelType OutputPixelType
typedef TOutputImage::InternalPixelType OutputInternalPixelType
typedef TInputImage::PixelType InputPixelType
typedef TInputImage::InternalPixelType InputInternalPixelType
typedef TOperatorValueType OperatorValueType
typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef InputImageType::Pointer InputImagePointer
typedef ImageBoundaryCondition<
InputImageType > * 
ImageBoundaryConditionPointerType
typedef ZeroFluxNeumannBoundaryCondition<
InputImageType
DefaultBoundaryCondition
typedef Superclass::OutputImageRegionType OutputImageRegionType
typedef Neighborhood< OperatorValueType,
itkGetStaticConstMacro(ImageDimension) 
OutputNeighborhoodType )

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
const OutputNeighborhoodTypeGetOperator () const
void OverrideBoundaryCondition (const ImageBoundaryConditionPointerType i)
ImageBoundaryConditionPointerType GetBoundaryCondition ()
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
void SetOperator (const OutputNeighborhoodType &p)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 NeighborhoodOperatorImageFilter ()
virtual ~NeighborhoodOperatorImageFilter ()
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId)
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
class itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >

Applies a single NeighborhoodOperator to an image region.

This filter calculates successive inner products between a single NeighborhoodOperator and a NeighborhoodIterator, which is swept across every pixel in an image region. For operators that are symmetric across their axes, the result is a fast convolution with the image region. Apply the mirror()'d operator for non-symmetric NeighborhoodOperators.

See also:
Image

Neighborhood

NeighborhoodOperator

NeighborhoodIterator

Definition at line 46 of file itkNeighborhoodOperatorImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef SmartPointer<const Self> itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ConstPointer
 

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 54 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef ZeroFluxNeumannBoundaryCondition<InputImageType> itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::DefaultBoundaryCondition
 

Typedef for the default boundary condition

Definition at line 85 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef ImageBoundaryCondition<InputImageType>* itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType
 

Typedef for generic boundary condition pointer.

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 82 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef InputImageType::Pointer itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputImagePointer
 

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 78 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef TInputImage itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputImageType
 

Image typedef support.

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 76 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef TInputImage::InternalPixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputInternalPixelType
 

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 67 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef TInputImage::PixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputPixelType
 

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 66 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef TOperatorValueType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OperatorValueType
 

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 68 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef Superclass::OutputImageRegionType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputImageRegionType
 

Superclass typedefs.

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 88 of file itkNeighborhoodOperatorImageFilter.h.

Referenced by itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::~NeighborhoodOperatorImageFilter().

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef TOutputImage itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputImageType
 

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 77 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef TOutputImage::InternalPixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType
 

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 65 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef Neighborhood<OperatorValueType, itkGetStaticConstMacro(ImageDimension) itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType)
 

Neighborhood types

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 92 of file itkNeighborhoodOperatorImageFilter.h.

Referenced by itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::SetOperator().

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef TOutputImage::PixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputPixelType
 

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 64 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef SmartPointer<Self> itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::Pointer
 

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 53 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef NeighborhoodOperatorImageFilter itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::Self
 

Standard "Self" & Superclass typedef.

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 51 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::Superclass
 

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 52 of file itkNeighborhoodOperatorImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::NeighborhoodOperatorImageFilter  )  [inline, protected]
 

Definition at line 130 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
virtual itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::~NeighborhoodOperatorImageFilter  )  [inline, protected, virtual]
 

Definition at line 132 of file itkNeighborhoodOperatorImageFilter.h.

References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputImageRegionType.


Member Function Documentation

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
virtual void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::GenerateInputRequestedRegion  )  throw (InvalidRequestedRegionError) [virtual]
 

NeighborhoodOperatorImageFilter 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()

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
ImageBoundaryConditionPointerType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::GetBoundaryCondition  )  [inline]
 

Get the boundary condition specified

Definition at line 117 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
virtual const char* itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
const OutputNeighborhoodType& itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::GetOperator  )  const [inline]
 

Get the operator that is used to filter the image.

Definition at line 105 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension 
 

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
Pointer itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::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 113 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::PrintSelf std::ostream &  os,
Indent  indent
const [inline, protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

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

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 149 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::SetOperator const OutputNeighborhoodType p  )  [inline]
 

Sets the operator that is used to filter the image. Note that the operator is stored as an internal COPY (it is not part of the pipeline).

Definition at line 97 of file itkNeighborhoodOperatorImageFilter.h.

References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType.

template<class TInputImage, class TOutputImage, class TOperatorValueType = typename TOutputImage::PixelType>
void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData const OutputImageRegionType outputRegionForThread,
int  threadId
[protected, virtual]
 

NeighborhoodOperatorImageFilter 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 >.

Reimplemented in itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:56:29 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000