supplierdeeply

In Camera DNG Color Correction?

  • 14 Replies
  • 3809 Views
*

Offline KenO

  • ***
  • 119
In Camera DNG Color Correction?
« on: 29 / June / 2012, 12:52:51 »
Advertisements
I have not kept up with the CHDK DNG progress.

Am wondering if the CHDK in camera DNG has color correction support for most cameras like DNG4PS-2?

Searched the Forum and Internet but did not find an answer.

Thanks

Ken

Re: In Camera DNG Color Correction?
« Reply #1 on: 29 / June / 2012, 14:04:58 »
Am wondering if the CHDK in camera DNG has color correction support for most cameras like DNG4PS-2?
Short answer = yes.

The parameters to do this are stored in the platform_camera.h file in the svn build tree for each camera.  It looks something like this :

Code: [Select]
#define cam_CalibrationIlluminant1      17 // standard light A   
#define CAM_COLORMATRIX1 \
        11093,  1000000,    -3906,  1000000,    -1028,  1000000, \
        -5047,  1000000,    12492,  1000000,     2879,  1000000, \
        -1003,  1000000,     1750,  1000000,     5561,  1000000
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline KenO

  • ***
  • 119
Re: In Camera DNG Color Correction?
« Reply #2 on: 03 / July / 2012, 11:57:21 »
Hi waterwingz,

"Short answer = yes. The parameters to do this are stored in the platform_camera.h file in the svn build tree for each camera.  It looks something like this :..."

Thanks in that case I should be using in camera DNG. 

Since saw your answer did a recheck of "CHDK User Manual" http://chdk.wikia.com/wiki/CHDK_User_Manual ,
CHDK User Quick Start Guide http://chdk.wikia.com/wiki/CHDK_User_Quick_Start_Guide.pdf , CHDK for Dummies http://chdk.wikia.com/wiki/CHDK_for_Dummies , FAQ http://chdk.wikia.com/wiki/FAQ , CHDK firmware usage http://chdk.wikia.com/wiki/CHDK_firmware_usage , One Page Ultra-Quick Users Guide http://chdk.wikia.com/wiki/One_Page_Ultra-Quick_Users_Guide , but did not find any mention of this.

Also researched the forum but also did not find a recent post concerning in camera DNG color correction.

Is there a User Guide that explains the in camera DNG options and which cameras have supported color correction?

Thanks again for all your help!!!

Ken

Re: In Camera DNG Color Correction?
« Reply #3 on: 03 / July / 2012, 12:41:40 »
Is there a User Guide that explains the in camera DNG options and which cameras have supported color correction?
Not that I know of beyond the ones you already found.  After that you either read the source or (shudder) search the forum.

But all cameras that support DNG will have the color correction code.  Whether the values are set correctly is anyone's guess.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline KenO

  • ***
  • 119
Re: In Camera DNG Color Correction?
« Reply #4 on: 03 / July / 2012, 13:46:37 »
Hi waterwingz,

Are you using the CHDK "in camera DNG option"?

If yes What camera(s) are you using this with? and what in camera DNG settings are you using? 

Also what version of CHDK are you using?

Thanks again for all your help!!!

Ken

Re: In Camera DNG Color Correction?
« Reply #5 on: 03 / July / 2012, 14:08:46 »
Are you using the CHDK "in camera DNG option"?
Yes

Quote
If yes What camera(s) are you using this with? and what in camera DNG settings are you using? 
G10 and IXUS120.  I just use the default settings.

Quote
Also what version of CHDK are you using?
Frankly,  all of them.  That's what you get when you play around with the source enough.

BTW - Here's my set of "RAW" links - didn't have access to it earlier.  Not sure if any of its of interest to you :

link> CHDK Wiki Page about RAW
link> CHDK Forum thread on RAW
link> CHDK Wiki Page about Raw Software
link> CHDK Forum Board for RAW
link> How do you fix lens distortion with CHDK RAW files?
link> Decoding CHDK RAW images from a new cameras
link> CHDK Tools : rawconvert.c
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline KenO

  • ***
  • 119
Re: In Camera DNG Color Correction?
« Reply #6 on: 03 / July / 2012, 15:00:33 »
Hi waterwingz,

Thanks  for the links!

Am ready to try In Camera DNG option.   

I have not found out how long it has been stable so question if I should download the latest stable version of CHDK for my A570IS?

Since you have a much better idea of when In Camera DNG option became stable, will ask what version of CHDK has the latest In Camera DNG code?

If my version of CHDK is later will just try the In Camera DNG option.

Thanks

Ken 

Re: In Camera DNG Color Correction?
« Reply #7 on: 03 / July / 2012, 15:10:43 »
I have not found out how long it has been stable so question if I should download the latest stable version of CHDK for my A570IS?
Its been available for more than 4 years AFAIK.

Quote
Since you have a much better idea of when In Camera DNG option became stable, will ask what version of CHDK has the latest In Camera DNG code? If my version of CHDK is later will just try the In Camera DNG option.
The stuff in your camera will be fine.   Some people have trouble generating the required bad_pixel.bin file on their cameras ( search the forum for "bad_pixel.bin").    The new dev trunk supports a newer versionof DNG that does not need the bad pixel file if you get stuck on that step.

Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline KenO

  • ***
  • 119
Re: In Camera DNG Color Correction?
« Reply #8 on: 03 / July / 2012, 15:21:00 »
Hi waterwingz,

"The stuff in your camera will be fine.   Some people have trouble generating the required bad_pixel.bin file on their cameras ( search the forum for "bad_pixel.bin").    The new dev trunk supports a newer versionof DNG that does not need the bad pixel file if you get stuck on that step."

When searching about "In Camera DNG Color Correction?" found "How can I convert from CRW to DNG?
The automatic DNG conversion is just a tad slower than ordinary RAW shooting, but you're familiar with the delay if you use CHDK for RAW. CHDK DNG works fine in ACR and other applications I've used....CHDK SETUP DNG CONVERSION IN-CAMERA
. Ensure badpixel.bin is in CHDK folder on SD card
. In RAW PARAMETERS, ensure SAVE RAW is checked
. set BadPixelRemoval to 'RAWconv' or 'DNGconv'
. check DNG FORMAT
. check 'DNG' FILE EXTENSION (newer CHDK)
. check MISC STUFF 'Show DNG with USB' [S5]

Hope it 's helpful. Not sure it's entirely up to date with latest versions of CHDK. "

http://forums.dpreview.com/forums/read.asp?forum=1010&message=39515894

Is all that is mentioned here really necessary?

"The new dev trunk supports a newer version of DNG that does not need the bad pixel file if you get stuck on that step." 

I was one having problems so what version has "DNG that does not need the bad pixel file"?

Thanks again

Ken


*

Offline KenO

  • ***
  • 119
Re: In Camera DNG Color Correction?
« Reply #9 on: 03 / July / 2012, 15:29:36 »
Hi waterwingz,

Forgot to mention, I found some postings concerning CHDK Internal DNG Conversion such as "Questions about CHDK Internal DNG Conversion" http://chdk.setepontos.com/index.php?topic=3418.0 but they were 2-3 yrs old so do not know if the problems were solved?

Ken

 

Related Topics