ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Attributes | List of all members
itk::VectorNeighborhoodInnerProduct< TImage > Class Template Reference

#include <itkVectorNeighborhoodInnerProduct.h>

+ Inheritance diagram for itk::VectorNeighborhoodInnerProduct< TImage >:

Public Types

using NeighborhoodType = Neighborhood< PixelType, Self::ImageDimension >
 
using OperatorType = Neighborhood< ScalarValueType, Self::ImageDimension >
 
using PixelType = typename TImage::PixelType
 
using ScalarValueType = typename PixelType::ValueType
 
using Self = VectorNeighborhoodInnerProduct
 

Public Member Functions

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

Static Public Attributes

static constexpr unsigned int ImageDimension = TImage::ImageDimension
 
static constexpr unsigned int VectorDimension = PixelType::Dimension
 

Detailed Description

template<typename TImage>
class itk::VectorNeighborhoodInnerProduct< TImage >

Defines the inner product operation between an itk::Neighborhood and an itk::NeighborhoodOperator.

This is an explicit implementation of what should really be a partial template specialization of NeighborhoodInnerProduct for itkVector.

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.

Definition at line 45 of file itkVectorNeighborhoodInnerProduct.h.

Member Typedef Documentation

◆ NeighborhoodType

Definition at line 57 of file itkVectorNeighborhoodInnerProduct.h.

◆ OperatorType

Operator type alias

Definition at line 64 of file itkVectorNeighborhoodInnerProduct.h.

◆ PixelType

template<typename TImage>
using itk::VectorNeighborhoodInnerProduct< TImage >::PixelType = typename TImage::PixelType

Extract the pixel type and scalar type from the image template parameter.

Definition at line 55 of file itkVectorNeighborhoodInnerProduct.h.

◆ ScalarValueType

template<typename TImage>
using itk::VectorNeighborhoodInnerProduct< TImage >::ScalarValueType = typename PixelType::ValueType

Definition at line 56 of file itkVectorNeighborhoodInnerProduct.h.

◆ Self

template<typename TImage>
using itk::VectorNeighborhoodInnerProduct< TImage >::Self = VectorNeighborhoodInnerProduct

Standard type alias

Definition at line 49 of file itkVectorNeighborhoodInnerProduct.h.

Member Function Documentation

◆ operator()() [1/3]

template<typename TImage>
PixelType itk::VectorNeighborhoodInnerProduct< TImage >::operator() ( const ConstNeighborhoodIterator< TImage > &  it,
const OperatorType op 
) const
inline

Conversion operator.

Definition at line 72 of file itkVectorNeighborhoodInnerProduct.h.

◆ operator()() [2/3]

template<typename TImage>
PixelType itk::VectorNeighborhoodInnerProduct< TImage >::operator() ( const std::slice &  s,
const ConstNeighborhoodIterator< TImage > &  it,
const OperatorType op 
) const

Conversion operator.

◆ operator()() [3/3]

template<typename TImage>
PixelType itk::VectorNeighborhoodInnerProduct< TImage >::operator() ( const std::slice &  s,
const NeighborhoodType it,
const OperatorType op 
) const

Member Data Documentation

◆ ImageDimension

template<typename TImage>
constexpr unsigned int itk::VectorNeighborhoodInnerProduct< TImage >::ImageDimension = TImage::ImageDimension
staticconstexpr

Definition at line 51 of file itkVectorNeighborhoodInnerProduct.h.

◆ VectorDimension

template<typename TImage>
constexpr unsigned int itk::VectorNeighborhoodInnerProduct< TImage >::VectorDimension = PixelType::Dimension
staticconstexpr

Extract the image and vector dimension from the image template parameter.

Definition at line 61 of file itkVectorNeighborhoodInnerProduct.h.


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