CGAL 6.2 - Feature graph
Loading...
Searching...
No Matches
FeatureImage_3 Concept Reference

Definition

The concept FeatureImage_3 describes a 3D image that contains a label for each voxel. It also stores the dimension, voxel size as well as the position in 3D space of the voxel at index (0, 0, 0).

Has models
CGAL::Image_3

Access Functions

float value (const std::size_t i, const std::size_t j, const std::size_t k) const
 returns the value of the voxel at the index (i, j, k)
 
std::size_t xdim () const
 returns the X dimension of the image.
 
std::size_t ydim () const
 returns the Y dimension of the image.
 
std::size_t zdim () const
 returns the Z dimension of the image.
 
double vx () const
 returns the voxel size in the X dimension
 
double vy () const
 returns the voxel size in the Y dimension
 
double vz () const
 returns the voxel size in the Z dimension
 
float tx () const
 returns the position in 3D space along the X axis of the voxel at index (0, 0, 0).
 
float ty () const
 returns the position in 3D space along the Y axis of the voxel at index (0, 0, 0).
 
float tz () const
 returns the position in 3D space along the Z axis of the voxel at index (0, 0, 0).