Go to the documentation of this file.
18 #ifndef sitkVectorIndexSelectionCastImageFilter_h
19 #define sitkVectorIndexSelectionCastImageFilter_h
72 SITK_RETURN_SELF_TYPE_HEADER
SetIndex (
unsigned int Index ) { this->m_Index =
Index;
return *
this; }
76 unsigned int GetIndex()
const {
return this->m_Index; }
88 std::string
GetName()
const {
return std::string (
"VectorIndexSelectionCastImageFilter"); }
91 std::string ToString()
const;
107 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image& image1 );
The main Image class for SimpleITK.
Self & SetIndex(unsigned int Index)
Self & SetOutputPixelType(PixelIDValueEnum OutputPixelType)
Set the output pixel type of the scalar component to extract.
std::string GetName() const
PixelIDValueEnum m_OutputPixelType
VectorPixelIDTypeList PixelIDTypeList
PixelIDValueEnum
Enumerated values of pixelIDs.
nsstd::auto_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
VectorIndexSelectionCastImageFilter Self
#define SITKBasicFilters_EXPORT
typelist::MakeTypeList< VectorPixelID< int8_t >, VectorPixelID< uint8_t >, VectorPixelID< int16_t >, VectorPixelID< uint16_t >, VectorPixelID< int32_t >, VectorPixelID< uint32_t >, VectorPixelID< float >, VectorPixelID< double > >::Type VectorPixelIDTypeList
Image VectorIndexSelectionCast(const Image &image1, unsigned int index=0u, PixelIDValueEnum outputPixelType=itk::simple::sitkUnknown)
Extracts the selected index of the vector that is the input pixel type.
Extracts the selected index of the vector that is the input pixel type.
The base interface for SimpleITK filters that take one input image.
Base class for SimpleITK classes based on ProcessObject.
unsigned int GetIndex() const
PixelIDValueEnum GetOutputPixelType() const
Get the ouput pixel type.