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

itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation > Class Template Reference
[Operators]

#include <itkNeighborhoodInnerProduct.h>

Inheritance diagram for itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
class itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >

This class defines the inner product operation between an itk::Neighborhood and and itk::NeighborhoodOperator. The operator() method is overloaded to support various types of neighborhoods as well as inner products with slices of neighborhoods. The second template parameter allows you to set the value type of the operator. The third templage parameter allows you to set the value type used as the return type of the inner product calculation. The operator value type defaults to the image pixel type and the output value type defaults to the operator type.

Definition at line 43 of file itkNeighborhoodInnerProduct.h.


Public Types

typedef TImage::PixelType ImagePixelType
typedef Neighborhood
< ImagePixelType,
itkGetStaticConstMacro(ImageDimension)> 
NeighborhoodType
typedef TOperator OperatorPixelType
typedef Neighborhood
< OperatorPixelType,
itkGetStaticConstMacro(ImageDimension)> 
OperatorType
typedef TComputation OutputPixelType
typedef NeighborhoodInnerProduct Self

Public Member Functions

 itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension)
OutputPixelType operator() (const NeighborhoodType &N, const OperatorType &op) const
OutputPixelType operator() (const std::slice &s, const NeighborhoodType &N, const OperatorType &op) const
OutputPixelType operator() (const ConstNeighborhoodIterator< TImage > &it, const OperatorType &op) const
OutputPixelType operator() (const std::slice &s, const ConstNeighborhoodIterator< TImage > &it, const OperatorType &op) const

Member Typedef Documentation

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
typedef TImage::PixelType itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::ImagePixelType

Capture some typedefs from the template parameters.

Definition at line 50 of file itkNeighborhoodInnerProduct.h.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
typedef Neighborhood<ImagePixelType, itkGetStaticConstMacro(ImageDimension)> itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::NeighborhoodType

Definition at line 62 of file itkNeighborhoodInnerProduct.h.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
typedef TOperator itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::OperatorPixelType

Definition at line 51 of file itkNeighborhoodInnerProduct.h.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
typedef Neighborhood<OperatorPixelType, itkGetStaticConstMacro(ImageDimension)> itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::OperatorType

Operator typedef

Definition at line 59 of file itkNeighborhoodInnerProduct.h.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
typedef TComputation itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::OutputPixelType

Definition at line 52 of file itkNeighborhoodInnerProduct.h.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
typedef NeighborhoodInnerProduct itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::Self

Standard typedefs

Definition at line 47 of file itkNeighborhoodInnerProduct.h.


Member Function Documentation

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TImage::ImageDimension   
)

Capture some typedefs from the template parameters.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
OutputPixelType itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::operator() ( const NeighborhoodType N,
const OperatorType op 
) const [inline]

Definition at line 80 of file itkNeighborhoodInnerProduct.h.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
OutputPixelType itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::operator() ( const std::slice &  s,
const NeighborhoodType N,
const OperatorType op 
) const

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
OutputPixelType itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::operator() ( const ConstNeighborhoodIterator< TImage > &  it,
const OperatorType op 
) const [inline]

Definition at line 68 of file itkNeighborhoodInnerProduct.h.

template<class TImage, class TOperator = typename TImage::PixelType, class TComputation = TOperator>
OutputPixelType itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::operator() ( const std::slice &  s,
const ConstNeighborhoodIterator< TImage > &  it,
const OperatorType op 
) const

Reference oeprator.


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

Generated at Thu May 28 16:25:24 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000