In file No file:

_image* _readImage (const char *name)

Reads an image from a file and returns an image descriptor or NULL if
reading failed

Documentation

Reads an image from a file and returns an image descriptor or NULL if
reading failed.
Reads from stdin if image name is NULL. The image data field points to a xdim * ydim * zdim * vdim buffer containing voxels in order:
(Z1, Y1, X1, V1) (Z1, Y1, X1, V2), ... , (Z1, Y1, X1, Vt),
(Z1, Y1, X2, V1) ...         ...       , (Z1, Y1, X2, Vt),
...
(Z1, Y1, Xn, V1) ...         ...       , (Z1, Y1, Xn, Vt),
(Z1, Y2, X1, V1) ...         ...       , (Z1, Y2, X1, Vt),
...
(Z2, Y1, X1, V1) ...         ...       , (Z2, Y1, X1, Vt),
...
...         ...       , (Zl, Ym, Xn, Vt)
Read the following format: Inrimage, GIF, IRIS, ANALYSE, PGM, PPM, BMP, GIS (CEA, IRISA, ENST 3D image format). See also: http://www.dcs.ed.ac.uk/home/mxr/gfx/2d-hi.html and http://www.gzip.org/zlib/
Parameters:
name - image file name or NULL for stdin

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de