Save RAW files in DNG format instead of RAW - page 12 - Feature Requests - CHDK Forum
supplierdeeply

Save RAW files in DNG format instead of RAW

  • 392 Replies
  • 145895 Views
*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW files in DNG format instead of RAW
« Reply #110 on: 19 / November / 2008, 16:15:26 »
Advertisements
about badpixel file creation: is there a chance we can do this in camera? shoot an "old format" raw, go to file browser -> "right click" create badpixel file. no?

Yes, this feature in my plans.
Hmm, six check-ins in one day? I don't have time to refresh my local copy  :D.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Save RAW files in DNG format instead of RAW
« Reply #111 on: 19 / November / 2008, 16:26:28 »
sorry ;) i dont think these checkins should influence your dng stuff. btw shall i already submit that rear curtain thing you added for sx100? of course you can do this yourself, ur the boss :)

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW files in DNG format instead of RAW
« Reply #112 on: 19 / November / 2008, 17:22:26 »
I've also added code that to make the colormatrix optional - that way we can
add DNG support for cameras before someone has worked out the colormatrix.

dng_validate reports:

*** Warning: IFD 0 AnalogBalance is not allowed with unknown color plane count  (missing ColorMatrix1 tag?) ***
*** Error: PhotometricInterpretation requires use of ColorMatrix1 tag (SubIFD 1) ***

Also Adobe camera RAW cannot open such file.

I think that approximate color matrix can be calculated using DNG4PS2(beta), but how we can calculate active area of new matrix? This is mystery for me.
« Last Edit: 19 / November / 2008, 17:24:01 by ewavr »

*

Offline vit40

  • ****
  • 276
Re: Save RAW files in DNG format instead of RAW
« Reply #113 on: 19 / November / 2008, 17:28:26 »
Quote from: ewavr
Because color thumbnail was planned. Now it works, but colors are not too good (but accectable for me ;))

Didn't check new version, but I presume you took 10 bit linear color values from bayer image (not from jpeg generated by camera)? Those values are, besides they are linear, in sensor color space. Interpreting them as sRGB will give quite desaturated image (that's why color matrix is for - to transform colors from sensor RGB to XYZ and then, using another - well known sRGB matrix, to sRGB), and also, it is not WB corrected. Calculating a proper thumbnail from raw image would take far too long I think
« Last Edit: 19 / November / 2008, 17:33:23 by vit40 »


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW files in DNG format instead of RAW
« Reply #114 on: 19 / November / 2008, 17:35:11 »
sorry ;) i dont think these checkins should influence your dng stuff. btw shall i already submit that rear curtain thing you added for sx100? of course you can do this yourself, ur the boss :)

Maybe we must at least add this feature to cameras without it (maybe all A5x0, A4x0 (how about IXUS/SD series?)) and test if this feature works.
I see also that in many cameras "slow sync" mode also absent...

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Save RAW files in DNG format instead of RAW
« Reply #115 on: 19 / November / 2008, 17:37:24 »
yeah, definitly. i VERY OFTEN use a) slow sync and b) rear curtain shutter flash in my s3is. very great techniques to create nice pictures (if you know how to handle it :D)

how did you know these features arent present in some cams? reading the manuals or looking for strings in the firmwares or reading user reports?

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW files in DNG format instead of RAW
« Reply #116 on: 19 / November / 2008, 17:52:04 »
how did you know these features arent present in some cams? reading the manuals or looking for strings in the firmwares or reading user reports?
Of course, I read user's manuals - I have download a lot of it  :).

Re: Save RAW files in DNG format instead of RAW
« Reply #117 on: 19 / November / 2008, 18:05:33 »
Registry edit to allow you to see DNG thumbnails in Windows Explorer.

In case anybody didn't know it:

Restoring Nikon NEF Thumbnails Under Windows XP Service Pack 2 - Photo Tips @ Earthbound Light

(Although the posting talks about Nikon NEF files, at the bottom of the page there's the registry edit that applies to DNG files.)

Martin


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW files in DNG format instead of RAW
« Reply #118 on: 19 / November / 2008, 18:37:12 »
Registry edit to allow you to see DNG thumbnails in Windows Explorer.

Great!

So, next build. Changes:
 - color thumbnail
 - added some TIFF/EXIF tags (suggested by MartinBudden) (also CHDK version)
 - IXUS850(SD800) support

Maybe if this version has no essential lacks, it can be added to trunk (after adding other IXUS/SD-series support) ?

« Last Edit: 19 / November / 2008, 18:41:20 by ewavr »

*

Offline lrossel

  • **
  • 53
  • CHDK - Take it underwater
    • My Photos
Re: Save RAW files in DNG format instead of RAW
« Reply #119 on: 19 / November / 2008, 19:51:49 »
YES!!!  add it to the trunk please... you have my vote!
If you saw me on land, It was just the surface interval
G10 without CHDK

 

Related Topics