18#ifndef itkMatrixIndexSelectionImageFilter_h
19#define itkMatrixIndexSelectionImageFilter_h
27template <
typename TInput,
typename TOutput>
58 return static_cast<TOutput
>(A[
m_I][
m_J]);
84template <
typename TInputImage,
typename TOutputImage>
89 Functor::MatrixIndexSelection<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
124#ifdef ITK_USE_CONCEPT_CHECKING
bool operator==(const MatrixIndexSelection &other) const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(MatrixIndexSelection)
void GetIndices(unsigned int &i, unsigned int &j) const
TOutput operator()(const TInput &A) const
void SetIndices(unsigned int i, unsigned int j)
~MatrixIndexSelection()=default
Base class for all process objects that output image data.
Templated n-dimensional image class.
Extracts the selected indices of a matrix image that is the input pixel type.
void SetIndices(unsigned int i, unsigned int j)
MatrixIndexSelectionImageFilter()=default
void GetIndices(unsigned int &i, unsigned int &j) const
~MatrixIndexSelectionImageFilter() override=default
virtual void Modified() const
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements pixel-wise generic operation on one image.
FunctorType & GetFunctor()
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....