Ask Your Question

Revision history [back]

Radiance File (.hdr) format parser options.

Hello gentlemen, I was reading through the opencv/modules/imgcodecs/src/rgbe.cpp source code and I noticed that pixel datas are assumed to be flat or encoded via Adaptive-RLE (described by Glassner in Chapter II.8 of Graphics Gems II [Arvo91,p.89]) . However, in Greg Ward Larson's Radiance file format specification (I'm assuming .hdr == .pic since it seems to be the common opinion) it is specified that there is a third option for encoding (mentioned as Old RLE in the paper). My question is: is there something missing in the code, is there something I am missing in the code or .hdr pixel datas are always either flat or ARL Encoded?