#include <itkVectorNeighborhoodInnerProduct.h>
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 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.
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 |
| using itk::VectorNeighborhoodInnerProduct< TImage >::NeighborhoodType = Neighborhood<PixelType, Self::ImageDimension> |
Definition at line 57 of file itkVectorNeighborhoodInnerProduct.h.
| using itk::VectorNeighborhoodInnerProduct< TImage >::OperatorType = Neighborhood<ScalarValueType, Self::ImageDimension> |
Operator type alias
Definition at line 64 of file itkVectorNeighborhoodInnerProduct.h.
| 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.
| using itk::VectorNeighborhoodInnerProduct< TImage >::ScalarValueType = typename PixelType::ValueType |
Definition at line 56 of file itkVectorNeighborhoodInnerProduct.h.
| using itk::VectorNeighborhoodInnerProduct< TImage >::Self = VectorNeighborhoodInnerProduct |
Standard type alias
Definition at line 49 of file itkVectorNeighborhoodInnerProduct.h.
|
inline |
Conversion operator.
Definition at line 72 of file itkVectorNeighborhoodInnerProduct.h.
References operator()(), and itk::Neighborhood< TPixel, VDimension, TAllocator >::Size().
| PixelType itk::VectorNeighborhoodInnerProduct< TImage >::operator() | ( | const std::slice & | s, |
| const ConstNeighborhoodIterator< TImage > & | it, | ||
| const OperatorType & | op ) const |
Conversion operator.
Referenced by operator()().
| PixelType itk::VectorNeighborhoodInnerProduct< TImage >::operator() | ( | const std::slice & | s, |
| const NeighborhoodType & | it, | ||
| const OperatorType & | op ) const |
|
staticconstexpr |
Definition at line 51 of file itkVectorNeighborhoodInnerProduct.h.
|
staticconstexpr |
Extract the image and vector dimension from the image template parameter.
Definition at line 61 of file itkVectorNeighborhoodInnerProduct.h.