ITK  5.0.0
Insight Segmentation and Registration Toolkit
WikiExamples/Images/ImageRegion.cxx
#include "itkImageRegion.h"
#include "itkIndex.h"
#include "itkSize.h"
int main(int, char *[])
{
size.Fill(3);
index.Fill(1);
RegionType region(index,size);
std::cout << region << std::endl;
return EXIT_SUCCESS;
}