#include "ioHDR.hpp"#include "ImageException.hpp"#include <sstream>#include <fstream>#include <math.h>#include <malloc.h>#include <string.h>#include <ctype.h>

Go to the source code of this file.
Classes | |
| struct | kn::rgbe_header_info |
Namespaces | |
| namespace | kn |
Enumerations | |
| enum | kn::rgbe_error_codes { kn::rgbe_read_error, kn::rgbe_write_error, kn::rgbe_format_error, kn::rgbe_memory_error } |
Functions | |
| void | kn::float2rgbe (unsigned char rgbe[4], float red, float green, float blue) |
| void | kn::rgbe2float (float *red, float *green, float *blue, unsigned char rgbe[4]) |
| static ImageException | kn::rgbe_error (int rgbe_error_code, char *msg) |
| int | kn::RGBE_ReadHeader (FILE *fp, int *width, int *height, rgbe_header_info *info) |
| int | kn::RGBE_ReadPixels (FILE *fp, float *data, int numpixels) |
| int | kn::RGBE_ReadPixels_Raw (FILE *fp, unsigned char *data, int numpixels) |
| int | kn::RGBE_ReadPixels_RLE (FILE *fp, float *data, int scanline_width, int num_scanlines) |
| int | kn::loadHDR (Image< float > &res, const std::string &filename) |
| Load function for HDR images. | |
1.5.8