ITK  4.8.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | List of all members
itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation > Class Template Reference

#include <itkNeighborhoodInnerProduct.h>

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

Detailed Description

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

Defines the inner product operation between an Neighborhood and a NeighborhoodOperator.

This class defines the inner product operation between an itk::Neighborhood and an itk::NeighborhoodOperator. The operator() method is overloaded to support various types of neighborhoods as well as inner products with slices of neighborhoods.

Template Parameters
TImageType of image on which the class operates.
TOperatorThe value type of the operator (defaults to the image pixel type).
TComputationThe value type used as the return type of the inner product calculation (defaults to the operator type).

Definition at line 48 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

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

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 

Member Typedef Documentation

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

Capture some typedefs from the template parameters.

Definition at line 55 of file itkNeighborhoodInnerProduct.h.

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

Definition at line 67 of file itkNeighborhoodInnerProduct.h.

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

Definition at line 56 of file itkNeighborhoodInnerProduct.h.

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

Operator typedef

Definition at line 64 of file itkNeighborhoodInnerProduct.h.

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

Definition at line 57 of file itkNeighborhoodInnerProduct.h.

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

Standard typedefs

Definition at line 52 of file itkNeighborhoodInnerProduct.h.

Member Function Documentation

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

Definition at line 74 of file itkNeighborhoodInnerProduct.h.

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

Definition at line 84 of file itkNeighborhoodInnerProduct.h.

Member Data Documentation

template<typename TImage, typename TOperator = typename TImage::PixelType, typename TComputation = TOperator>
const unsigned int itk::NeighborhoodInnerProduct< TImage, TOperator, TComputation >::ImageDimension = TImage::ImageDimension
static

Capture some typedefs from the template parameters.

Definition at line 60 of file itkNeighborhoodInnerProduct.h.


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