Re: DWA compression

Brendan Bolles <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
On Aug 16, 2014, at 11:35 PM, Sean Y Chen wrote:

> In Brendan Bolles's demo video, it seems that 100000 is the limit for a couple of the images, though one of them goes to 250000 before reaching file size 1. 


Here's the code for the little program I wrote to generate those sequences.  I'm basically doing compression = pow(10.0, frame / 25.0), with frames going from 0-149.  I wouldn't say it's perceptually linear exactly, although if you look at the MtTamWest example where I show difference mode, the diff seems to come in pretty linearly.

Karl's has a nice write-up on the algorithm at the top of ImfDwaCompressor.cpp.


Brendan

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
main.cpp (application/octet-stream, 3.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.