else if (m_ImageIO->GetComponentTypeInfo() == typeid(type)) \
{ \
if (strcmp(this->GetOutput()->GetNameOfClass(), "VectorImage") == 0) \
{ \
if ((typeid(OutputImagePixelType) == typeid(std::complex<double>)) || (typeid(OutputImagePixelType) == typeid(std::complex<float>)) || \
(typeid(OutputImagePixelType) == typeid(std::complex<int>)) || (typeid(OutputImagePixelType) == typeid(std::complex<short>))) \
{ \
ConvertPixelBuffer<type::value_type, OutputImagePixelType, ConvertPixelTraits>::ConvertComplexVectorImageToVectorImageComplex( \
static_cast<type*>(inputData), m_IOComponents, outputData, numberOfPixels); \
} \
else \
{ \
ConvertPixelBuffer<type::value_type, OutputImagePixelType, ConvertPixelTraits>::ConvertComplexVectorImageToVectorImage( \
static_cast<type*>(inputData), m_IOComponents, outputData, numberOfPixels); \
} \
} \
else \
{ \
ConvertPixelBuffer<type::value_type, OutputImagePixelType, ConvertPixelTraits>::ConvertComplexToGray(static_cast<type*>(inputData), m_IOComponents, \
outputData, numberOfPixels); \
} \
}