Hi,
First, I apologize if you are getting this message for the second time. I just tried to post another version of this message using the googlegroups web interface, but my post does not appear. I am assuming something went wrong, so I am reposting it using a regular email.
I am trying to obtain, using the command line, images that are similar to the ones I obtained using luminance-hdr.
With luminance-hdr (version 2.3.1):
Open the hdr file, run the mantiuk06 operator with default parameters, save as jpeg (quality 75%). Parameters for mantiuk06:
- Contrast factor: 0.1
- Saturation factor: 0.8
- Detail factor: 1.0
- There is a lso a pregamma step of 1.0
Result:
http://i.imgur.com/fekAx0x.jpgWith luminance-hdr-cli (version 2.3.1):
No result obtained, it crashes. I am attaching the verbose output and a stacktrace obtained with gdb, in case anybody knows what to do with it (I did not find a bugtracker for luminance-hdr-cli).
With pfstmo (pfstmo version 1.5):
pfsin IMGP0188-IMGP0190.hdr | pfstmo_mantiuk06 -v | pfsgamma -g 2.2 | pfsout mantiuk06_pfstmo.jpg
pfstmo_mantiuk06: algorithm: contrast mapping
pfstmo_mantiuk06: contrast scale factor = 0.1
pfstmo_mantiuk06: saturation factor = 0.8
pfstmo_mantiuk06: using conjugate gradients (itmax = 200, tol = 0.001).
completed 100%
Result:
http://i.imgur.com/6rVQ7qr.jpg (it looks a bit blurry)
Luminance-hdr seems to apply a gamma of 1.0 as a preprocessing step. I tried that too:
pfsin IMGP0188-IMGP0190.hdr | pfsgamma -g 1.0 | pfstmo_mantiuk06 -v | pfsout mantiuk06_pfstmo.jpg
pfstmo_mantiuk06: algorithm: contrast mapping
pfstmo_mantiuk06: contrast scale factor = 0.1
pfstmo_mantiuk06: saturation factor = 0.8
pfstmo_mantiuk06: using conjugate gradients (itmax = 200, tol = 0.001).
completed 100%
Result:
http://i.imgur.com/pUxxIaK.jpg (very dark).
Basically, my question is: is there a way to obtain, from the command line, results that would be closer to what I could obtain with luminance-hdr? Am I not setting correctly some parameters?