Go to the documentation of this file.
18 #ifndef sitkVectorIndexSelectionCastImageFilter_h
19 #define sitkVectorIndexSelectionCastImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetIndex (
unsigned int Index ) { this->m_Index =
Index;
return *
this; }
69 unsigned int GetIndex()
const {
return this->m_Index; }\
82 std::string
GetName()
const {
return std::string (
"VectorIndexSelectionCastImageFilter"); }
85 std::string ToString()
const;
100 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image& image1 );
108 unsigned int m_Index{0u};
113 bool m_InPlace{
false};
The Image class for SimpleITK.
Self & SetIndex(unsigned int Index)
typelist2::typelist< VectorPixelID< int8_t >, VectorPixelID< uint8_t >, VectorPixelID< int16_t >, VectorPixelID< uint16_t >, VectorPixelID< int32_t >, VectorPixelID< uint32_t >, VectorPixelID< float >, VectorPixelID< double > > VectorPixelIDTypeList
Self & SetOutputPixelType(PixelIDValueEnum OutputPixelType)
Set the output pixel type of the scalar component to extract.
std::string GetName() const
PixelIDValueEnum
Enumerated values of pixelIDs.
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
Image VectorIndexSelectionCast(Image &&image1, unsigned int index=0u, PixelIDValueEnum outputPixelType=itk::simple::sitkUnknown)
Extracts the selected index of the vector that is the input pixel type.
#define SITKBasicFilters_EXPORT
Extracts the selected index of the vector that is the input pixel type.
VectorPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1) MemberFunctionType
unsigned int GetIndex() const
PixelIDValueEnum GetOutputPixelType() const
Get the ouput pixel type.