18#ifndef itkVectorImageToImageAdaptor_h
19#define itkVectorImageToImageAdaptor_h
47template <
typename TType>
145template <
typename TPixelType,
unsigned int Dimension>
147 :
public ImageAdaptor<VectorImage<TPixelType, Dimension>, Accessor::VectorImageToImagePixelAccessor<TPixelType>>
Extract components from a VectorImage.
VectorLengthType m_ComponentIdx
ExternalType Get(const InternalType &input, const SizeValueType offset) const
VectorLengthType GetExtractComponentIdx() const
void SetVectorLength(VectorLengthType l)
VectorImageToImagePixelAccessor(unsigned int length=1)
ExternalType Get(const ActualPixelType &input) const
unsigned int VectorLengthType
void Set(ActualPixelType output, const ExternalType &input) const
VectorLengthType GetVectorLength() const
void SetExtractComponentIdx(VectorLengthType idx)
void Set(InternalType &output, const ExternalType &input, const unsigned long offset) const
Base class for all data objects in ITK.
Give access to partial aspects of a type.
void SetVectorLength(VectorLengthType l)
VectorLengthType GetVectorLength() const
unsigned int VectorLengthType
ExternalType Get(const InternalType &input, const SizeValueType offset) const
Give access to partial aspects of voxels from an Image.
typename TImage::PixelContainerPointer PixelContainerPointer
AccessorType & GetPixelAccessor()
typename TImage::PixelContainer PixelContainer
typename TImage::PixelContainerConstPointer PixelContainerConstPointer
Base class for most ITK classes.
Presents a VectorImage and extracts a component from it into an image.
typename VectorImageType::VectorLengthType VectorLengthType
VectorLengthType GetExtractComponentIndex() const
VectorImageToImageAdaptor()=default
~VectorImageToImageAdaptor() override=default
void SetExtractComponentIndex(VectorLengthType componentIdx)
Templated n-dimensional vector image class.
unsigned int VectorLengthType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType