int main(int, char *[])
{
ImageType::Pointer image = ImageType::New();
ImageType::RegionType region;
region.SetIndex( start );
image->SetRegions( region );
image->Allocate();
ImageType::PixelType initialValue;
initialValue.Fill( 0.0 );
image->FillBuffer( initialValue );
ImageType::PixelType pixelValue;
pixelValue[0] = 1.345;
pixelValue[1] = 6.841;
pixelValue[2] = 3.295;
image->SetPixel( pixelIndex, pixelValue );
ImageType::PixelType value = image->GetPixel( pixelIndex );
std::cout << value << std::endl;
return EXIT_SUCCESS;
}