template <typename TImage>
void MyFunction(const TImage* const image)
{
}
int main(int, char*[])
{
FloatImageType::Pointer floatImage = FloatImageType::New();
MyFunction(floatImage.GetPointer());
DoubleImageType::Pointer doubleImage = DoubleImageType::New();
MyFunction(doubleImage.GetPointer());
return EXIT_SUCCESS;
}