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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > Class Template Reference

#include <itkNeighborhoodOperatorImageFilter.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual void GenerateInputRequestedRegion () throw ( InvalidRequestedRegionError )
ImageBoundaryConditionPointerType GetBoundaryCondition ()
virtual const char * GetNameOfClass () const
const OutputNeighborhoodTypeGetOperator () const
void OverrideBoundaryCondition (const ImageBoundaryConditionPointerType i)
 typedef (Concept::SameDimension< InputImageDimension, ImageDimension >) SameDimensionCheck
 typedef (Concept::Convertible< OperatorValueType, OutputPixelType >) OperatorConvertibleToOutputCheck
 typedef (Concept::Convertible< InputPixelValueType, OperatorValueType >) InputConvertibleToOperatorCheck
 typedef (Concept::MultiplyOperator< OperatorValueType >) OperatorMultiplyOperatorCheck
 typedef (Concept::AdditiveOperators< OperatorValueType >) OperatorAdditiveOperatorsCheck
void SetOperator (const OutputNeighborhoodType &p)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TOutputImage::ImageDimension
static const unsigned int InputImageDimension = TInputImage::ImageDimension

Protected Member Functions

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

Private Member Functions

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

Private Attributes

ImageBoundaryConditionPointerType m_BoundsCondition
DefaultBoundaryCondition m_DefaultBoundaryCondition
OutputNeighborhoodType m_Operator

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
Wiki Examples:

Definition at line 51 of file itkNeighborhoodOperatorImageFilter.h.


Member Typedef Documentation

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

Definition at line 76 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef SmartPointer< const Self > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ConstPointer
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 96 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef ImageBoundaryCondition< InputImageType >* itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef InputImageType::Pointer itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputImagePointer
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef TInputImage itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputImageType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef TInputImage::InternalPixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputInternalPixelType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef TInputImage::PixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputPixelType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef NumericTraits<InputPixelType>::ValueType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputPixelValueType

Definition at line 75 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef TOperatorValueType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OperatorValueType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef Superclass::OutputImageRegionType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputImageRegionType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef TOutputImage itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputImageType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef TOutputImage::InternalPixelType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
typedef Neighborhood< OperatorValueType, itkGetStaticConstMacro(ImageDimension) > itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType
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 65 of file itkNeighborhoodOperatorImageFilter.h.

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

Constructor & Destructor Documentation

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

End concept checking

Definition at line 157 of file itkNeighborhoodOperatorImageFilter.h.

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

End concept checking

Definition at line 159 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::NeighborhoodOperatorImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
virtual::itk::LightObject::Pointer itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::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::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
virtual void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::GenerateInputRequestedRegion ( ) throw ( InvalidRequestedRegionError ) [virtual]
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 128 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]
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 116 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
static Pointer itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::New ( ) [static]
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::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::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>
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 124 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::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >, and itk::MaskNeighborhoodOperatorImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >.

Definition at line 176 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 108 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
void itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  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 >.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef ( Concept::SameDimension< InputImageDimension, ImageDimension )

Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, ImageDimension > )

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

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef ( Concept::Convertible< OperatorValueType, OutputPixelType )

This class requires OperatorConvertibleToOutputCheck in the form of ( Concept::Convertible< OperatorValueType, OutputPixelType > )

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::typedef ( Concept::Convertible< InputPixelValueType, OperatorValueType )

This class requires InputConvertibleToOperatorCheck in the form of ( Concept::Convertible< InputPixelValueType, OperatorValueType > )

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

This class requires OperatorMultiplyOperatorCheck in the form of ( Concept::MultiplyOperator< OperatorValueType > )

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

This class requires OperatorAdditiveOperatorsCheck in the form of ( Concept::AdditiveOperators< OperatorValueType > )


Member Data Documentation

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
const unsigned int itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::ImageDimension = TOutputImage::ImageDimension [static]

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

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

Definition at line 81 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
const unsigned int itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::InputImageDimension = TInputImage::ImageDimension [static]
template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
ImageBoundaryConditionPointerType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_BoundsCondition [private]

Pointer to a persistent boundary condition object used for the image iterator.

Definition at line 187 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
DefaultBoundaryCondition itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_DefaultBoundaryCondition [private]

Default boundary condition

Definition at line 190 of file itkNeighborhoodOperatorImageFilter.h.

template<class TInputImage , class TOutputImage , class TOperatorValueType = typename TOutputImage::PixelType>
OutputNeighborhoodType itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::m_Operator [private]

Internal operator used to filter the image.

Definition at line 183 of file itkNeighborhoodOperatorImageFilter.h.


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