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

New project: camera color profile calculation

  • 480 Replies
  • 319201 Views
Re: New project: camera color profile calculation
« Reply #470 on: 17 / April / 2013, 08:11:24 »
Advertisements
ArtDen, please  SX20IS.
Thanks

Re: New project: camera color profile calculation
« Reply #471 on: 26 / December / 2013, 16:37:32 »
I might add that the color matrices are professionally measured and published at http://www.dxomark.com/
 There is one for sx50hs, for example, if you look up the sensor benchmark.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: New project: camera color profile calculation
« Reply #472 on: 26 / December / 2013, 19:39:57 »
I might add that the color matrices are professionally measured and published at http://www.dxomark.com/
 There is one for sx50hs, for example, if you look up the sensor benchmark.

Whether anything is measured 'professionally' by DxO is questionable; but in this case their colour matrices are of no use to CHDK.
Their matrices are a mapping for the sensor to the sRGB color space, DNG requires matrices for mapping to the CIE XYZ colour space.

DxO only have tests for Canon P&S cameras that have native RAW capability. If you really want DNG instead of the native RAW, you can get better matrices using the Adobe DNG Convertor and dng_validate tools on a native RAW file.

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)

Re: New project: camera color profile calculation
« Reply #473 on: 28 / December / 2013, 21:37:23 »
I should be able to convert that.  Stay tuned.
Here ya go:
0.617  0.198  0.140
 0.232  0.976 -0.149
-0.098 -0.333  1.141

for sx50hs
Does that look right?
« Last Edit: 28 / December / 2013, 22:51:13 by jmac698 »


Re: New project: camera color profile calculation
« Reply #474 on: 21 / May / 2014, 03:04:27 »
Is there a profile for the SX40HS? I searched this whole thread before asking.

Failing that, are there instructions for creating your own?

- Eric
ericharrelson@letterbeforehmail.com

Re: New project: camera color profile calculation
« Reply #475 on: 10 / June / 2015, 04:06:48 »
Does anybody continue to develop dng4ps-2, or there is better software for convert CRW->DNG ?

As far as I see, https://github.com/crass/dng4ps2 has some additional changes after https://code.google.com/p/dng4ps2/

*

Offline reyalp

  • ******
  • 14082
Re: New project: camera color profile calculation
« Reply #476 on: 10 / June / 2015, 16:17:04 »
Does anybody continue to develop dng4ps-2, or there is better software for convert CRW->DNG ?
In general, we recommend using CHDK DNG. CHDK "CRW" is just a dump of the frame buffer, so every program that supports it needs new code or settings each new sensor.

edit:
split further discussion to http://chdk.setepontos.com/index.php?topic=12413.msg122875#msg122875 to sticky thread on topic
« Last Edit: 10 / June / 2015, 16:34:58 by reyalp »
Don't forget what the H stands for.

Re: New project: camera color profile calculation
« Reply #477 on: 06 / September / 2015, 12:23:20 »
Now that we have raw ops, should be able to use rawop_fill_rect then develop the raw to jpg and just read out the matrix values, you could even script automatically extracting this for all the colour settings.


Re: New project: camera color profile calculation
« Reply #478 on: 28 / November / 2015, 11:07:10 »
Sharing matrices for A650IS

A650IS
ColorMatrix1
0.8796 -0.3770 0.0311 -0.4148 1.1362 0.3197 -0.0598 0.0983 0.5880
ColorMatrix2
0.7368 -0.2141 -0.0598 -0.5621 1.3254 0.2625 -0.1419 0.1696 0.5743

The A650IS matrices are extracted from "Canon PowerShot G9 Camera Standard.dcp" using dcpTool. The G9 uses the same sensor as A650IS.

Can be input to Dng4ps2 or into EXIF fields of DNGs "ColorMatrix1" and "ColorMatrix2" using ExifTool.
Example: ExifTool -ColorMatrix1="0.8796 -0.3770 0.0311 -0.4148 1.1362 0.3197 -0.0598 0.0983 0.5880" -ColorMatrix2="0.7368 -0.2141 -0.0598 -0.5621 1.3254 0.2625 -0.1419 0.1696 0.5743" *.dng

« Last Edit: 30 / November / 2015, 03:37:13 by markanini »

Re: New project: camera color profile calculation
« Reply #479 on: 28 / November / 2015, 11:33:59 »
For A570IS I've settled on "Olympus SP-510UZ Adobe Standard.dcp". It produces good colors, without knowing better they might be using the same sensor. Here are the matrices:

ColorMatrix1
1.2096 -0.5483 0.0128
-0.4476 1.1367 0.3574
-0.0434 0.1115 0.6840

ColorMatrix2
1.0594 -0.3607 -0.1010
-0.5881 1.3127 0.3083
-0.1200 0.1804 0.6720
« Last Edit: 30 / November / 2015, 05:26:19 by markanini »

 

Related Topics