18 #ifndef itkMatrixIndexSelectionImageFilter_h 19 #define itkMatrixIndexSelectionImageFilter_h 27 template<
typename TInput,
typename TOutput >
49 return !( *
this != other );
54 return static_cast< TOutput
>( A[
m_I][
m_J] );
80 template<
typename TInputImage,
typename TOutputImage >
84 Functor::MatrixIndexSelection< typename TInputImage::PixelType,
85 typename TOutputImage::PixelType > >
108 this->GetFunctor().SetIndices(i, j);
114 {
return this->GetFunctor().GetIndices(i, j); }
116 #ifdef ITK_USE_CONCEPT_CHECKING 129 void operator=(
const Self &) ITK_DELETE_FUNCTION;
SmartPointer< Self > Pointer
void SetIndices(unsigned int i, unsigned int j)
SmartPointer< const Self > ConstPointer
virtual ~MatrixIndexSelectionImageFilter()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Base class for all process objects that output image data.
MatrixIndexSelectionImageFilter()
MatrixIndexSelectionImageFilter Self
TOutput operator()(const TInput &A) const
void GetIndices(unsigned int &i, unsigned int &j) const
bool operator!=(const MatrixIndexSelection &other) const
bool operator==(const MatrixIndexSelection &other) const
Implements pixel-wise generic operation on one image.
void GetIndices(unsigned int &i, unsigned int &j) const
void SetIndices(unsigned int i, unsigned int j)
Extracts the selected indices of a matrix image that is the input pixel type.
#define itkConceptMacro(name, concept)
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MatrixIndexSelection< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass