18#ifndef itkNeighborhoodInnerProduct_h
19#define itkNeighborhoodInnerProduct_h
47template <
typename TImage,
typename TOperator =
typename TImage::PixelType,
typename TComputation = TOperator>
60 static constexpr unsigned int ImageDimension = TImage::ImageDimension;
70 const unsigned int start = 0,
71 const unsigned int stride = 1);
76 const unsigned int start = 0,
77 const unsigned int stride = 1);
83 return Self::Compute(it, op, s.start(), s.stride());
89 return Self::Compute(it, op);
95 return Self::Compute(N, op, s.start(), s.stride());
101 return Self::Compute(N, op);
106#ifndef ITK_MANUAL_INSTANTIATION
107# include "itkNeighborhoodInnerProduct.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Defines the inner product operation between an Neighborhood and a NeighborhoodOperator.
OutputPixelType operator()(const std::slice &s, const NeighborhoodType &N, const OperatorType &op) const
TComputation OutputPixelType
OutputPixelType operator()(const ConstNeighborhoodIterator< TImage > &it, const OperatorType &op) const
typename TImage::PixelType ImagePixelType
static OutputPixelType Compute(const NeighborhoodType &N, const OperatorType &op, const unsigned int start=0, const unsigned int stride=1)
OutputPixelType operator()(const NeighborhoodType &N, const OperatorType &op) const
OutputPixelType operator()(const std::slice &s, const ConstNeighborhoodIterator< TImage > &it, const OperatorType &op) const
static OutputPixelType Compute(const ConstNeighborhoodIterator< TImage > &it, const OperatorType &op, const unsigned int start=0, const unsigned int stride=1)
TOperator OperatorPixelType
A light-weight container object for storing an N-dimensional neighborhood of values.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....