DPX Log to Linear

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?".
Post Reply
venkatsiddareddy
Posts: 4
Joined: 2011-04-20T23:34:37-07:00
Authentication code: 8675308

DPX Log to Linear

Post by venkatsiddareddy »

Hi,
I am looking for a solution to convert some DPX files which are in log format in to linear format.
I am using a look up table plugin in after effects. But I am not satisfied with the results. I also tried the cineon effect in AE but the colors are completely different than the actual film print.
Is there any way to do a log to linear conversion in Imagemagick?

You can download few sample DPX files from here. If anybody can try and convert any of these images in to linear I would be extremely thankful for them.

http://rapidshare.com/files/456449228/DPX.rar

Please help me.
Thanks in advance
Venkat
venkatsiddareddy
Posts: 4
Joined: 2011-04-20T23:34:37-07:00
Authentication code: 8675308

Re: DPX Log to Linear

Post by venkatsiddareddy »

Hi,

Can anybody guide me in this process please.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: DPX Log to Linear

Post by anthony »

I believe there is a 'Log' colorspace. You could declare the image is using a Log colorspace then convert to a linear colorspace. Something like...

convert image.dpx -set colorspace log -colorspace rgb image_linear.png

WARNING: often images are not even stored using a linear colorspace but a sRGB (gamma RGB) colorspace.
However IM v6 currently assumes images read in are linear RGB. This may change in IM v7, but at the moment that is the way it works. Typically this does not effect results greatly, especially with GIF images.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply