10bit float log dpx to 16bit float lin exr

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
salvati.marc

Re: 10bit float log dpx to 16bit float lin exr

Post by salvati.marc »

I runned into the same problem.
I m not using the HDRi version of Image magick.
It seems there a problem in DPX conversion, which ever conversion it is. As you noticed there is a problem in the log to lin conversion, but there is also one in the log to log conversion too.
Actually when I try to convert keeping in Log space to exr, there is a slight change in the color.
just try:

Code: Select all

convert -size 100x100 plasma:fractal -colorspace Log -depth 10 testFractal.dpx
convert testFractal.dpx -depth 16 testFractal.exr
composite testFractal.dpx testFractal.exr -compose difference testDiff.exr
convert  testDiff.exr -contrast-stretch 0   testDiff.exr
If you compare both image, there is some small difference that can be really big when you have a real high dynamic range picture...
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 10bit float log dpx to 16bit float lin exr

Post by fmw42 »

possibly due to -depth 10 vs -depth 16?
Post Reply