Next: Examples of using HDR from C
Up: Examples of using IMG from C
Previous: Accessing multiple images
The way that you handle ``bad'' values in your data is similar to that
used in Fortran, see
here,
however, the bad data values themselves are now defined in the
img.h file and have names to reflect the C data types.
Bad value macro |
C data type |
|
VAL__BADF |
float |
|
VAL__BADD |
double |
|
VAL__BADI |
int |
|
VAL__BADS |
short |
|
VAL__BADUS |
unsigned short |
|
VAL__BADB |
signed char |
|
VAL__BADUB |
unsigned char |
|
Next: Examples of using HDR from C
Up: Examples of using IMG from C
Previous: Accessing multiple images
IMG Simple Image Data Access
Starlink User Note 160
P.W. Draper
R.F. Warren-Smith
3 March 2003
E-mail:P.W.Draper@durham.ac.uk
Copyright © 2000-2003 Council for the Central Laboratory of the Research Councils