My RAW to DNG processing conclusion - RAW Shooting and Processing - CHDK Forum  

My RAW to DNG processing conclusion

  • 6 Replies
  • 6000 Views
*

Offline Lebeau

  • ***
  • 187
My RAW to DNG processing conclusion
« on: 08 / February / 2011, 16:42:23 »
Advertisements
Bonjour,

I just delivered my submitted version of DNG.c and RAW.c (http://chdk.setepontos.com/index.php?topic=650.msg60887#msg60887) after I succeed to modify them to save a big-endian dng file (http://chdk.setepontos.com/index.php?topic=5940.msg58697#msg58697) but without good result.

Now, I am convinced, in fact I convinced myself, that the best performing way to benefit from DNG advantages, is to jointly post-process chdk-raw files and Canon-jpeg files as per DNG4PS2 is doing.

For me, personnally, it's adding an intermediate process between capture phase and my photo softwares (lightroom, photoshop, autopano pro, Dynamic HDR, ...) that I use in parallel way. In fact, instead of simply importing captures, using integrated import function, I will process-import captures and post-processes dng files. Well, it's not so bad.

But, to perform conveniently, my project is to add "OpcodeList1" tag as a separate file to enumerate bad pixels to post-process. I expect to create that "partial tag" file during "badpixels.bin" creating process.

The first point here is: "I expect that some day DNG4PS2 developers will integrate that tagged bad pixel file, as it integrates jpeg tags, into his final dng file".

The second point is: "To have a complete bad pixel list, badpixels.bin and badpixels.txt shall form the final tagged bad pixels and therefore consider both internal list as the bad pixel list." I am relatively comfortable with the interpretation of these files (http://chdk.setepontos.com/index.php?topic=5939.msg58693#msg58693).

Before starting working on this, I would greatly appreciate your comments.

Thanks.

*

Offline Lebeau

  • ***
  • 187
Re: My RAW to DNG processing conclusion
« Reply #1 on: 10 / February / 2011, 11:09:28 »
 :(  ???  :blink: :-X

*

Offline Lebeau

  • ***
  • 187
Re: My RAW to DNG processing conclusion
« Reply #2 on: 13 / February / 2011, 09:03:52 »
Since OpcodeList is interpreted in DNG version 1.3 and my modification to generate a YCbCr thumbnail does not seams to work on other software than Adobe, I postpone that project.

*

Offline Lebeau

  • ***
  • 187
Re: My RAW to DNG processing conclusion
« Reply #3 on: 12 / April / 2011, 00:51:44 »
Could that PDF document change the way Endianness is seen for DNG writing?

Changing Endian, live? I am not so good with Canon-CHDK to answer my interrogation, so I am asking you :)

http://www.arium.com/pdf/Endianness.pdf


*

Offline reyalp

  • ******
  • 14114
Re: My RAW to DNG processing conclusion
« Reply #4 on: 12 / April / 2011, 01:06:26 »
Could that PDF document change the way Endianness is seen for DNG writing?

Changing Endian, live? I am not so good with Canon-CHDK to answer my interrogation, so I am asking you :)

http://www.arium.com/pdf/Endianness.pdf
No.
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: My RAW to DNG processing conclusion
« Reply #5 on: 12 / April / 2011, 01:17:23 »
Could that PDF document change the way Endianness is seen for DNG writing?

Changing Endian, live? I am not so good with Canon-CHDK to answer my interrogation, so I am asking you :)

http://www.arium.com/pdf/Endianness.pdf

Probably not - if you did manage to switch the processor 'endianess' in CHDK the camera would crash almost immediately. All the instructions and data being executed and used by CHDK and the firmware are being stored in memory in little endian format. If you switch the processor it will get garbage instructions and all your data will be reversed - instant crash.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline Lebeau

  • ***
  • 187
Re: My RAW to DNG processing conclusion
« Reply #6 on: 27 / May / 2011, 15:47:24 »
Well, please read this section A2.7, but it is in ARMv6 architecture :(
https://silver.arm.com/download/ARM_Architecture/AR550-DA-70002-r0p0-00rel0/DDI%2001001.pdf

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal