ITK
4.9.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
WikiExamples/Images/ImageRegion.cxx
#include "
itkImageRegion.h
"
#include "
itkIndex.h
"
#include "
itkSize.h
"
int
main(
int
,
char
*[])
{
itk::Size<2>
size;
size.
Fill
(3);
itk::Index<2>
index;
index.
Fill
(1);
typedef
itk::ImageRegion<2>
RegionType;
RegionType region(index,size);
std::cout << region << std::endl;
return
EXIT_SUCCESS;
}
Generated on Sat Jan 30 2016 02:56:00 for ITK by
1.8.5