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 > >
116 #ifdef ITK_USE_CONCEPT_CHECKING
SmartPointer< Self > Pointer
void SetIndices(unsigned int i, unsigned int j)
SmartPointer< const Self > ConstPointer
virtual ~MatrixIndexSelectionImageFilter()
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
virtual void Modified() const
FunctorType & GetFunctor()
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
void operator=(const Self &)