Hi,
On Friday, January 25, 2013 3:36:41 AM UTC,
yuanch...@gmail.com wrote:
First, when I finish Mantiuk06 tmo operator on my hdr image, I get
R,G,B,Y channels which have been tone mapped. How can I change the RGB
channels( float ) to sRGB( 0-255 ) and display it? I can't find a way to
generate the same pictures as what are in the paper.
The images needs to be gamma corrected after tone mapping. Check the examples from the manual page:
pfsin memorial.hdr | pfstmo_mantiuk06 -f 0.5 | pfsgamma -g 2.2 | pfsout memorial.png
Tone map an image using contrast mapping and save it in the PNG format.
pfsin memorial.hdr | pfstmo_mantiuk06 -e 0.5 | pfsgamma -g 2.2 | pfsout memorial.png
The same as above, but use the contrast equalization algorithm.
Second, the Mantiuk06 tmo histogram equalization always can't converge for every hdr image when the tolerence is set to 0.001 (defalut), I do not know why?The result is not
good. Image for example is "Stanford Memorial Church".
I used the function in my program, and the contrast mapping can work.
The TMO does converge for me. Please add --verbose, send the command line that you use as well as all the messages printed by the tmo.
Cheers,
Rafal