IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 20, 2004, 6:12:37 PM (22 years ago)
Author:
eugene
Message:

substantial API changes based on change to PSLib SDRS

File:
1 edited

Legend:

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

    r680 r753  
    1313    const int x0, y0;                   ///< data region relative to parent
    1414    union {
    15         psF32 **rows;                   ///< Pointers to floating-point data (default)
    16         psS8  **rows_S8;                ///< Pointers to char data
    17         psS16 **rows_S16;               ///< Pointers to short-integer data
    18         psS32 **rows_S32;               ///< Pointers to integer data
    19         psS64 **rows_S64;               ///< Pointers to long-integer data
    20         psU8  **rows_U8;                ///< Pointers to unsigned-char data
    21         psU16 **rows_U16;               ///< Pointers to unsigned-short-integer data
    22         psU32 **rows_U32;               ///< Pointers to unsigned-integer data
    23         psU64 **rows_U64;               ///< Pointers to unsigned-long-integer data
    24         psF32 **rows_F32;               ///< Pointers to floating-point data
    25         psF64 **rows_F64;               ///< Pointers to double-precision data
    26         psC32 **rows_C32;               ///< Pointers to complex floating-point data
    27     } rows;
     15        psS8  **S8;                     ///< Pointers to char data
     16        psS16 **S16;                    ///< Pointers to short-integer data
     17        psS32 **S32;                    ///< Pointers to integer data
     18        psS64 **S64;                    ///< Pointers to long-integer data
     19        psU8  **U8;                     ///< Pointers to unsigned-char data
     20        psU16 **U16;                    ///< Pointers to unsigned-short-integer data
     21        psU32 **U32;                    ///< Pointers to unsigned-integer data
     22        psU64 **U64;                    ///< Pointers to unsigned-long-integer data
     23        psF32 **F32;                    ///< Pointers to floating-point data
     24        psF64 **F64;                    ///< Pointers to double-precision data
     25        psC32 **C32;                    ///< Pointers to complex floating-point data
     26    } data;
    2827    const struct psImage *parent;       ///< parent, if a subimage
    2928    int Nchildren;                      ///< number of subimages
     
    215214;
    216215
    217 /// Read only header from image file.
    218 psMetadata *
    219 psImageReadHeader(psMetadata *output,   ///< read data to this structure
    220                   const char *extname,  ///< MEF extension name ("PHU" for primary header)
    221                   int extnum,           ///< MEF extension number (-1 for "PHU", 0 : Nextend - 1)
    222                   const char *filename) ///< file to read from
    223 ;
    224 
    225 /// Read only header from image file descriptor.
    226 psMetadata *
    227 psImageFReadHeader(psMetadata *output,  ///< read data to this structure
    228                    const char *extname, ///< MEF extension name ("PHU" for primary header)
    229                    int extnum,          ///< MEF extension number (-1 for "PHU", 0 : Nextend - 1)
    230                    FILE *f)             ///< file descriptor to read from
    231 ;
    232 
    233216/*** basic pixel manipulations ***/
    234217/// Clip image values outside of range to given values.  Return number of clipped pixels.
     
    260243# endif
    261244/* image overlay operations
    262     PS_OVERLAY_EQUALS   = '=',
    263     PS_OVERLAY_ADD      = '+',
    264     PS_OVERLAY_SUBTRACT = '-',
    265     PS_OVERLAY_MULTIPLY = '*',
    266     PS_OVERLAY_DIVIDE   = '/',
     245   PS_OVERLAY_EQUALS   = '=',
     246   PS_OVERLAY_ADD      = '+',
     247   PS_OVERLAY_SUBTRACT = '-',
     248   PS_OVERLAY_MULTIPLY = '*',
     249   PS_OVERLAY_DIVIDE   = '/',
    267250*/
Note: See TracChangeset for help on using the changeset viewer.