New project: camera color profile calculation - page 43 - RAW Shooting and Processing - CHDK Forum

New project: camera color profile calculation

  • 480 Replies
  • 304639 Views
Re: New project: camera color profile calculation
« Reply #420 on: 28 / May / 2009, 05:50:14 »
Advertisements
Hi :)

Using this:
Quote
sensor size 3720 x 2772
jpeg size    3672 x 2756
x1 y1         10, 12
x2, y2        3690, 2772

New matrix in form XYZ-> RGB (to be used in DNG4PS2)

    0.745700 -0.175100 -0.078400 -0.498400 1.168100 0.230400 -0.100400 0.152700 0.460100

From DNG:
Original Jpg

 :'(
Canon PowerShot sx110 is
"We live for the One, we die for the One..."

*

Offline vit40

  • ****
  • 276
Re: New project: camera color profile calculation
« Reply #421 on: 28 / May / 2009, 06:07:18 »
Can you upload a dng? In case this dng was converted from crw with dng4ps2, it has no white balance info, so you must set it manually in raw converter. As far as I know, only dngs produced in camera have WB info, unless something changed in last versions of DNG4PS2

I returned the camera to my girfriend in the meantime, so can't do more real life tests at the moment

Re: New project: camera color profile calculation
« Reply #422 on: 28 / May / 2009, 09:00:22 »
In case this dng was converted from crw with dng4ps2, it has no white balance info, so you must set it manually in raw converter.
I see!
From dng4ps2 with your settings + wb

Original Jpg

Much better now :D
« Last Edit: 28 / May / 2009, 09:02:25 by IlGranTrebeobia »
Canon PowerShot sx110 is
"We live for the One, we die for the One..."

Re: New project: camera color profile calculation
« Reply #423 on: 28 / May / 2009, 10:13:47 »
I don't know why... :(
I have DNG4PS2 0.2.3 285
and used these Settings:

But I cant convert any RAW, because the list is empty.
If I click Calc. Color Matrix and choose a RAW it says: Error during opening RAW file!
Selected RAW is not suitable for Canon PowerShot SX110IS Camera!
WTF? Because its 12 bit??? I dont know what to do :(
Canon PowerShot SX110 IS
CHDK: at Autobuild now
Wiki: SX110IS


*

Offline vit40

  • ****
  • 276
Re: New project: camera color profile calculation
« Reply #424 on: 28 / May / 2009, 10:35:51 »
You didn't select illuminant under Color matrix #1 section. If I leave this field empty, conversion fails with "unknown error". Just select Daylight in drop-down box (it probably doesn't matter which illuminant you select, because there is only 1 color matrix).

In my case, field Short Name has the same value as Camera name (Canon PowerShot SX110 IS), don't know if it matters.
Other fields seem to be ok.

After you make Geometry and color matrix adjustments, close the program and reopen it - on my computer it won't convert anything right after changing the settings, probably a bug

Make sure you didn't by accident select DNG format in CHDK menu of the camera - in that case you will get 12 bit dng right from the camera, which doesn't need conversion, but saving to SD card takes more time and it's uncompressed. It will have a color matrix built in current version of CHDK (that can be changed with DngSetMatrix). CHDK Raw file for this camera is 15.467.760 bytes long


*

Offline chdkj

  • ***
  • 140
Re: New project: camera color profile calculation
« Reply #425 on: 28 / May / 2009, 16:19:31 »
still no success, got the same color shifting into red. Which version of dng4ps are you using for SX110? That one Yarvieh posted some time ago? I was not able to create my own camera profile for sx110 in standard version (dng4ps2 0.2.3 285).
sx110

Re: New project: camera color profile calculation
« Reply #426 on: 28 / May / 2009, 16:42:28 »
still no success, got the same color shifting into red. Which version of dng4ps are you using for SX110? That one Yarvieh posted some time ago? I was not able to create my own camera profile for sx110 in standard version (dng4ps2 0.2.3 285).

same problem  :'(
Canon PowerShot SX110 IS
CHDK: at Autobuild now
Wiki: SX110IS

*

Offline vit40

  • ****
  • 276
Re: New project: camera color profile calculation
« Reply #427 on: 28 / May / 2009, 17:52:17 »
Ok, try this

http://www.megaupload.com/?d=CXVA0D9X

Included files:

- DNG4PS-2.exe  ... version I used for this

- SX110.reg        ... registry key containing settings for SX110 (geometry, matrix), so you don't need to type it

- SX110_ACR_4.4.cmd ... batch file to set a matrix of existing DNG files (whether from camera or produced by dng4ps2). It's using DngSetMatrix.exe - my last version is also included

- Canon Powershot SX110 IS Adobe Standard beta 2.103.dcp ... DNG profile for SX110. You can use it with latest versions of Adobe camera raw. Copy it to c:\Documents and settings\All Users\Application Data\Adobe\camera raw, then open the dng with Photoshop and select this profile instead of embeded color matrix. Profile is based on HSV lookup table in Adobe standard profile for Canon G9 (beta 2), with corrected positions of primary colors and white balance in DNG profile editor. I calibrated it on my test image, probably needs some further tuning on real life images. Like other Adobe DNG profiles, it contains calibrations for two illuminants (2 color matrices and 2 forward matrices)
« Last Edit: 28 / May / 2009, 17:56:48 by vit40 »


*

Offline chdkj

  • ***
  • 140
Re: New project: camera color profile calculation
« Reply #428 on: 29 / May / 2009, 15:09:58 »
Hi vit40,

you are a hero. Thank you. Will try that during this weekend.

Regards.
sx110

*

Offline chdkj

  • ***
  • 140
Re: New project: camera color profile calculation
« Reply #429 on: 31 / May / 2009, 17:14:46 »
Hi vit40,

still got the same red shifting pictures (the same as http://chdk.setepontos.com/index.php/topic,390.msg34511.html#msg34511).
I'm using DNG4PS2 (as you posted in (http://chdk.setepontos.com/index.php/topic,390.msg34528.html#msg34528) with those values you posted (in http://chdk.setepontos.com/index.php/topic,390.msg34474.html#msg34474).
If I open the resulting DNG in Adobe LightRoom then I will get those red color shifting pictures even I'm change white balance in Lightroom.

What I'm doing wrong?
sx110

 

Related Topics