47 typedef float PixelType;
48 const int Dimension = 3;
49 typedef itk::Image<PixelType, Dimension> ImageType;
51 ImageType::Pointer inImage = ImageType::New();
55 typedef itk::NormalizeImageFilter<ImageType, ImageType> NormalizeFilterType;
57 NormalizeFilterType::Pointer imageFilter = NormalizeFilterType::New();
58 imageFilter->SetInput(inImage);
59 imageFilter->Update();
61 ImageType::Pointer outputImage = imageFilter->GetOutput();