Changeset 206 for trunk/archive/pslib/include/psImages.h
- Timestamp:
- Mar 10, 2004, 12:07:04 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psImages.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psImages.h
r198 r206 11 11 */ 12 12 13 /// image data type names.14 typedef enum {15 PS_U8 = 1,16 PS_U16 = 2,17 PS_U32 = 3,18 PS_F32 = 4,19 PS_F64 = 5,20 } PS_IMAGE_DEPTH;21 22 PS_DECLARE_ARRAY_TYPE(psFloatArray); ///< Declare an array of real vectors (psFloatArrayArray).23 24 typedef unsigned char psU8; ///< BITPIX 8 (unsigned short)25 typedef unsigned short psU16; ///< BITPIX 16 (unsigned int)26 typedef unsigned long psU32; ///< BITPIX 32 (unsigned long)27 typedef float psF32; ///< BITPIX -32 (float)28 typedef double psF64; ///< BITPIX -64 (double)29 30 13 /// basic image data structure. 31 14 typedef struct psImage { 15 psType type; ///< image data type and dimension 32 16 int nx, ny; ///< size of image 33 17 int x0, y0; ///< data region relative to parent 34 PS_IMAGE_DEPTH depth; ///< type of image35 18 psF32 **rows; ///< == rows_f32 36 19 psU8 **rows_u8; ///< pointers to psU8 data
Note:
See TracChangeset
for help on using the changeset viewer.
