18 #ifndef sitkVectorIndexSelectionCastImageFilter_h
19 #define sitkVectorIndexSelectionCastImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetIndex (
unsigned int Index ) { this->m_Index = Index;
return *
this; }
70 unsigned int GetIndex()
const {
return this->m_Index; }
82 std::string
GetName()
const {
return std::string (
"VectorIndexSelectionCastImageFilter"); }
85 std::string ToString()
const;
98 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
101 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image& image1 );
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
PixelIDValueEnum
Enumerated values of pixelIDs.
unsigned int GetIndex() const
Self & SetOutputPixelType(PixelIDValueEnum OutputPixelType)
Set the output pixel type of the scalar component to extract.
VectorPixelIDTypeList PixelIDTypeList
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.
VectorIndexSelectionCastImageFilter Self
The Image class for SimpleITK.
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
Self & SetIndex(unsigned int Index)
std::string GetName() const
PixelIDValueEnum m_OutputPixelType
PixelIDValueEnum GetOutputPixelType() const
Get the ouput pixel type.
The base interface for SimpleITK filters that take one input image.