Convert all .hdr files to .exr using pfstools. This will replace the hdr extension to exr.
$ for img in *.hdr; do pfsin ${img} | pfsout ${img%%.hdr}.exr; done
Similarly, tonemap multiple HDR files using a variety of tonemapping operations:
$ for img in *.exr; do pfsin ${img} | pfstmo_mantiuk08|pfsout ${img%%.exr}.ppm; done
pfstmo_mantiuk08 is one of many available tonemap operations available in pfstools.
No comments:
Post a Comment