/home/fayn/OpenKraken-dev/OpenKN-image/src/ioHDR.cpp File Reference

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

Include dependency graph for ioHDR.cpp:

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.


Generated on Thu Nov 12 16:06:36 2009 for OpenKraken-image by  doxygen 1.5.8