Go to the documentation of this file.
18 #ifndef sitkVectorIndexSelectionCastImageFilter_h
19 #define sitkVectorIndexSelectionCastImageFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetIndex (
unsigned int Index ) { this->m_Index =
Index;
return *
this; }
71 unsigned int GetIndex()
const {
return this->m_Index; }\
84 std::string
GetName()
const {
return std::string (
"VectorIndexSelectionCastImageFilter"); }
87 std::string ToString()
const;
102 template <
class TImageType1,
class TImageType2>
Image DualExecuteInternal (
const Image& image1 );
110 unsigned int m_Index{0u};
115 bool m_InPlace{
false};
The 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
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
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
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.