ITK
4.8.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
SphinxExamples/src/Core/Common/CreateAImageRegion/Code.cxx
#include "
itkImageRegion.h
"
int
main(
int
,
char
*[])
{
const
unsigned
int
Dimension = 2;
typedef
itk::ImageRegion< Dimension >
RegionType;
RegionType::SizeType size;
size.Fill(3);
RegionType::IndexType index;
index.Fill(1);
RegionType region( index, size );
std::cout << region << std::endl;
return
EXIT_SUCCESS;
}
Generated on Fri Jul 3 2015 02:47:22 for ITK by
1.8.5