ITK
4.8.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 Fri Jul 3 2015 02:47:41 for ITK by
1.8.5