Changeset 753 for trunk/archive/pslib/include/psImage.h
- Timestamp:
- May 20, 2004, 6:12:37 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psImage.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psImage.h
r680 r753 13 13 const int x0, y0; ///< data region relative to parent 14 14 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; 28 27 const struct psImage *parent; ///< parent, if a subimage 29 28 int Nchildren; ///< number of subimages … … 215 214 ; 216 215 217 /// Read only header from image file.218 psMetadata *219 psImageReadHeader(psMetadata *output, ///< read data to this structure220 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 from223 ;224 225 /// Read only header from image file descriptor.226 psMetadata *227 psImageFReadHeader(psMetadata *output, ///< read data to this structure228 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 from231 ;232 233 216 /*** basic pixel manipulations ***/ 234 217 /// Clip image values outside of range to given values. Return number of clipped pixels. … … 260 243 # endif 261 244 /* 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 = '/', 267 250 */
Note:
See TracChangeset
for help on using the changeset viewer.
