template< typename TImage, unsigned int VDimension >
void CheckIfDimensionIsTheSame( const TImage* const )
{
}
int main( int, char* [] )
{
using PixelType = unsigned char;
ImageType::Pointer image = ImageType::New();
CheckIfDimensionIsTheSame< ImageType, 2 >( image.GetPointer() );
CheckIfDimensionIsTheSame< ImageType, ImageType2::ImageDimension >( image.GetPointer() );
return EXIT_SUCCESS;
}