IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 10, 2004, 12:07:04 PM (22 years ago)
Author:
eugene
Message:

cleaned up types / implementation for math operations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psImages.h

    r198 r206  
    1111 */
    1212
    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 
    3013/// basic image data structure.
    3114typedef struct psImage {
     15    psType type;                        ///< image data type and dimension
    3216    int nx, ny;                         ///< size of image
    3317    int x0, y0;                         ///< data region relative to parent
    34     PS_IMAGE_DEPTH depth;               ///< type of image
    3518    psF32 **rows;                       ///< == rows_f32
    3619    psU8  **rows_u8;                    ///< pointers to psU8 data
Note: See TracChangeset for help on using the changeset viewer.