Changeset 15630 for trunk/psLib/src/fits/psFitsFloat.h
- Timestamp:
- Nov 15, 2007, 3:04:56 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsFloat.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsFloat.h
r15335 r15630 2 2 #define PS_FITS_FLOAT_H 3 3 4 4 #include <psFits.h> 5 #include <psType.h> 5 6 #include <psImage.h> 6 #include <psMetadata.h>7 7 8 8 /// Type of custom floating point 9 9 typedef enum { 10 PS_FITS_FLOAT_NONE, ///< No conversion to be performed 10 11 PS_FITS_FLOAT_16_0, ///< Original F16 proposal: 1S 5E 10M 11 12 } psFitsFloat; 12 13 13 14 /// Convert an image to custom floating-point in preparation for writing as FITS 14 psImage *psFitsConvertFloatImage(const psImage *image, ///< Image to convert 15 psMetadata *header, ///< Header to update 16 psFitsFloat type ///< Custom floating point type 15 psImage *psFitsFloatImageWrite(const psImage *image, ///< Image to convert 16 psFitsFloat type ///< Custom floating point type 17 17 ); 18 18 19 /// Convert the custom floating-point image to a floating-point image 20 psImage *psFitsFloatImageRead(psImage *out, ///< Output image, or NULL 21 const psImage *in, ///< Image to convert 22 psFitsFloat type ///< Custom floating point type 23 ); 24 25 /// Return the appropriate element type for a custom floating-point 26 psElemType psFitsFloatImageType(psFitsFloat type ///< Custom floating-point type 27 ); 28 29 /// Return the custom floating-point type from a string description 30 psFitsFloat psFitsFloatTypeFromString(const char *string ///< String with name of type 31 ); 19 32 20 33 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
