Copy link to clipboard
Copied
Recently, I was doing some work related to the DNG images and has been noticed the Opcode Lists (1,2,3) have been applied to the original RAW DATA.
I've searched some related documents about the Opcode but not so sure about how these codes worked on the RAW data.
Can anyone show me some examples to see how the Opcode works?
Hi Xud,
The DNG file can contain lists of "function calls" to be executed at various stages in the raw conversion process. For example, the WarpRectilinear Opcode "applies a warp to an image and can be used to correct geometric distortion and lateral (transverse) chromatic aberration for rectilinear lenses". This is an example of an algorithm that cannot be applied to the raw image data itself before it is placed into the DNG file, because it should be executed after demosaicing.
Regards,
Sahil
Copy link to clipboard
Copied
Hi Xud,
The DNG file can contain lists of "function calls" to be executed at various stages in the raw conversion process. For example, the WarpRectilinear Opcode "applies a warp to an image and can be used to correct geometric distortion and lateral (transverse) chromatic aberration for rectilinear lenses". This is an example of an algorithm that cannot be applied to the raw image data itself before it is placed into the DNG file, because it should be executed after demosaicing.
Regards,
Sahil
Copy link to clipboard
Copied
Hi Chawla.S
I got you point. So, how about the other TAGs of DNG photo, are they also cannot applied to an RAW image directly? Or it's just for Opcode operators?
Copy link to clipboard
Copied
Hi Chawla.S
Could you pls help me with some dumb question?
I want to add ProfileHueSatMapDims , ProfileHueSatMapData1 & ProfileHueSatMapData2 into my raw image.
Do you have any idea how to do this ?
Any useful tips?
Copy link to clipboard
Copied
Have a look at DngOpcodesEditor on GitHub