template <class TImage>
void
{
using ImageType = TImage;
region.SetSize(size);
region.SetIndex(start);
image->SetRegions(region);
image->Allocate();
{
++imageIterator;
}
}
int
main()
{
using PixelType = unsigned char;
CreateImage<ImageType>(image);
thresholdFilter->SetInput(image);
thresholdFilter->ThresholdBelow(100);
thresholdFilter->SetOutsideValue(0);
thresholdFilter->Update();
return EXIT_SUCCESS;
}