|
pink26 0.1.1
Image processing and digital topology for teaching
|
A 2D or 3D image. More...
#include <pink26/image.h>
Data Fields | |
| int | ndim |
| 2 or 3. | |
| p26_index | shape [P26_MAX_NDIM] |
| 2D: (cs, rs, 1); 3D: (ds, cs, rs). | |
| p26_dtype | dtype |
| Pixel type. | |
| void * | data |
| Pixels, C-contiguous, x fastest. | |
| int | owns_data |
| 1 if p26_image_free() releases data. | |
| double | voxel [P26_MAX_NDIM] |
| Voxel size along x, y, z; 1.0 by default. | |
A 2D or 3D image.