18 #ifndef itkNeighborhoodInnerProduct_h
19 #define itkNeighborhoodInnerProduct_h
47 template<
typename TImage,
typename TOperator =
typename TImage::PixelType,
typename TComputation = TOperator >
60 itkStaticConstMacro(ImageDimension,
unsigned int, TImage::ImageDimension);
77 return this->operator()(std::slice(0, it.
Size(), 1), it, op);
80 OutputPixelType operator()(
const std::slice & s,
81 const NeighborhoodType & N,
82 const OperatorType & op)
const;
87 return this->operator()(std::slice(0, N.
Size(), 1), N, op);
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #include "itkNeighborhoodInnerProduct.hxx"
Defines the inner product operation between an Neighborhood and a NeighborhoodOperator.
A light-weight container object for storing an N-dimensional neighborhood of values.
NeighborhoodInnerProduct Self
TOperator OperatorPixelType
OutputPixelType operator()(const ConstNeighborhoodIterator< TImage > &it, const OperatorType &op) const
TComputation OutputPixelType
NeighborIndexType Size() const
Neighborhood< ImagePixelType, itkGetStaticConstMacro(ImageDimension) > NeighborhoodType
TImage::PixelType ImagePixelType
OutputPixelType operator()(const NeighborhoodType &N, const OperatorType &op) const
Neighborhood< OperatorPixelType, itkGetStaticConstMacro(ImageDimension) > OperatorType