int main(int, char *[])
{
CreateImage(image);
SinImageFilterType;
sinImageFilter->SetInput(image);
sinImageFilter->Update();
return EXIT_SUCCESS;
}
{
FloatImageType::IndexType start;
start.Fill(0);
FloatImageType::SizeType size;
size.Fill(10);
FloatImageType::RegionType region(start,size);
image->SetRegions(region);
image->Allocate();
image->FillBuffer(0);
}