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