#ifndef irt_image_H #define irt_image_H /* Last edited on 2008-01-18 21:27:21 by stolfi */ /* Image facilities for the Interval Ray Tracer. */ #include typedef struct irt_gray_image_t { int width; int height; double max_v; double min_v; float *val; } irt_gray_image_t; void irt_write_gray_image(char *image_name, irt_gray_image_t *image); /* Writes {image} as "{image_name}.pgm", after scaling it. */ #endif