Author Topic: New project: camera color profile calculation  (Read 95429 times)

Offline quatch

  • Newbie
  • *
  • Posts: 4
Re: New project: camera color profile calculation
« Reply #390 on: 13 / March / 2009, 00:47:39 »
  • Publish
  • Here are some test pictures for the SX10IS, using the new beta firmware, and the save as DNG options, taken under the stipulations at the top of thread (http://chdk.setepontos.com/index.php/topic,390.0.html).

    http://www.fes.uwaterloo.ca/u/akasurak/CHDK_SX10IS
    « Last Edit: 13 / March / 2009, 00:49:59 by quatch »

    Offline ArtDen

    • Full Member
    • ***
    • Posts: 173
      • dng4ps2
    Re: New project: camera color profile calculation
    « Reply #391 on: 14 / March / 2009, 10:11:10 »
  • Publish
  • Here are some test pictures for the SX10IS, using the new beta firmware, and the save as DNG options
    Dng4ps2 can't read dng files for creating color matrix. It reads only RAW files without any meta information

    Offline zosX

    • Rookie
    • *
    • Posts: 37
    Re: New project: camera color profile calculation
    « Reply #392 on: 14 / March / 2009, 20:11:30 »
  • Publish
  • After doing some shooting this week and finally importing the results this morning, I am very happy with my results. I think that the raws look a lot better than the jpegs due to there being more dynamic range as well. If anything the results are somewhat warmer than the jpeg, which I am completely ok with because I feel that in comparison, the jpegs seem somewhat cold and lifeless colorwise. Look at these two shots. Happy with the results? The matrix I came up with is a definite improvement at least....

    « Last Edit: 14 / March / 2009, 20:13:50 by zosX »

    Offline ewavr

    • Developers
    • Hero Member
    • ****
    • Posts: 1057
    • A710IS
    Re: New project: camera color profile calculation
    « Reply #393 on: 14 / March / 2009, 21:06:28 »
  • Publish
  • I can't calculate color matrix for SX10, results are always poop (on stage 1).
    Original (12-bit) RAW+JPEG here - http://ewavr.nm.ru/chdk/for_test/sx10_calib/
    Because current version of dng4ps2 cannot handle such RAWs, I converted it to 10 bit (converter).
    Any help will be greatly appreciated.
    p.s. RAW size is 3720x2772.

    Offline snc

    • Jr. Member
    • **
    • Posts: 64
      • vware
    Re: New project: camera color profile calculation
    « Reply #394 on: 22 / March / 2009, 23:10:41 »
  • Publish
  • same trouble as ewavr over here... ixus 970 raw + jpeg. note that this is the untouched 12 bit raw still... help, please?

    files here:
    http://www.zshare.net/download/57436971b85bd82e/

    Offline ewavr

    • Developers
    • Hero Member
    • ****
    • Posts: 1057
    • A710IS
    Re: New project: camera color profile calculation
    « Reply #395 on: 22 / March / 2009, 23:46:41 »
  • Publish
  • same trouble as ewavr over here...

    Finally I did it avoiding some squares (brown and violet). Of course, result is not brilliant.

    Offline snc

    • Jr. Member
    • **
    • Posts: 64
      • vware
    Re: New project: camera color profile calculation
    « Reply #396 on: 23 / March / 2009, 00:37:21 »
  • Publish
  • mmm yeah, turns out that "works", but it really shouldnt be like that, should it...

    Offline gam3ra

    • Rookie
    • *
    • Posts: 22
    Re: New project: camera color profile calculation
    « Reply #397 on: 23 / March / 2009, 15:30:14 »
  • Publish
  • How you guys shoot with 12bit RAW? My CHDK version shoots in 10bit.  :blink:
    A590IS user

    Offline snc

    • Jr. Member
    • **
    • Posts: 64
      • vware
    Re: New project: camera color profile calculation
    « Reply #398 on: 23 / March / 2009, 15:38:28 »
  • Publish
  • that depends on the sensor, actually - chdk cant magically add some bits. the sx10, sd990, sd890, and sd790 are some examples for cams with a 12bit sensor.

    CHDK Forum

    Re: New project: camera color profile calculation
    « Reply #398 on: 23 / March / 2009, 15:38:28 »

    Offline ewavr

    • Developers
    • Hero Member
    • ****
    • Posts: 1057
    • A710IS
    Re: New project: camera color profile calculation
    « Reply #399 on: 25 / March / 2009, 00:06:05 »
  • Publish
  • same trouble as ewavr over here... ixus 970 raw + jpeg. note that this is the untouched 12 bit raw still... help, please?
    files here:
    http://www.zshare.net/download/57436971b85bd82e/


    6. Set focus to infinity


    Offline snc

    • Jr. Member
    • **
    • Posts: 64
      • vware
    Re: New project: camera color profile calculation
    « Reply #400 on: 26 / March / 2009, 14:40:18 »
  • Publish
  • yup, got it... a fellow 970 user took them, cause my cam was gone for a while... took new images with my cam, but same problem. anyway, the sx10 and ixus970 sensors seem to be extremely similar, if not identical.
    surely some more experienced photographer can come up with "better" images from the 970, but i am not sure that it would help...

    Offline ewavr

    • Developers
    • Hero Member
    • ****
    • Posts: 1057
    • A710IS
    Re: New project: camera color profile calculation
    « Reply #401 on: 26 / March / 2009, 15:46:24 »
  • Publish
  • yup, got it... a fellow 970 user took them, cause my cam was gone for a while... took new images with my cam, but same problem. anyway, the sx10 and ixus970 sensors seem to be extremely similar, if not identical.
    surely some more experienced photographer can come up with "better" images from the 970, but i am not sure that it would help...


    @scn:

    Try also semi-official color matix from G9 (http://lclevy.free.fr/cr2/):

    #define CAM_COLORMATRIX1                               \
      7368, 10000,  -2141, 10000,  -598 , 10000, \
     -5621, 10000,  13254, 10000,  2625 , 10000, \
     -1418, 10000,   1696, 10000,   5743, 10000

    also try with this matrix:
    #define cam_CalibrationIlluminant1 21 // D65

    For current SX10 matrix, reds are oversaturated (like to many other cameras: SX100, A720, S5IS).
    With this matrix, reds are slightly undersaturated.
    Violet colors in both matrix are more violet than in jpeg, but they (in dng) are more similar to the real colors (due to  suppression of chromatic aberrations in camera jpeg ?).
    « Last Edit: 26 / March / 2009, 15:57:35 by ewavr »

    Offline snc

    • Jr. Member
    • **
    • Posts: 64
      • vware
    Re: New project: camera color profile calculation
    « Reply #402 on: 26 / March / 2009, 19:11:42 »
  • Publish
  • Did you give it a shot with NIP2? There is a nice tutorial here: http://www.vips.ecs.soton.ac.uk/index.php?title=Colour_calibration_with_nip2&printable=yes

    Attached see the image I quickly did with it, and your sample pic. It shows the color matrix it calculated, I suspect it could be used for our purpose as well. Just I didn't have time to look into it yet. Either the values need to be ordered correctly, or the matrix has to be inversed for the transformation... Suspect that a value like 107.07 would be 1.0707 in "our" terms... that would make sense, judging from the scale of them.

    Offline whoever

    • Sr. Member
    • ****
    • Posts: 280
    • IXUS950
    Re: New project: camera color profile calculation
    « Reply #403 on: 26 / March / 2009, 21:52:53 »
  • Publish
  • Did you give it a shot with NIP2? There is a nice tutorial here: http://www.vips.ecs.soton.ac.uk/index.php?title=Colour_calibration_with_nip2&printable=yes
    ...

    For this to work, you need the real G-M color-checker, not an on-screen fake (plus you need a standard light source). Overall, to calibrate anything, you need a calibrated source. (ArtDen's logic in dng4ps2 is something different from calibration, even though it may produce useful results.)

    Offline snc

    • Jr. Member
    • **
    • Posts: 64
      • vware
    Re: New project: camera color profile calculation
    « Reply #404 on: 27 / March / 2009, 11:23:24 »
  • Publish
  • well, you are right with that, of course. but as i said, it was merely a quick test. what i am trying to work out with this is some principle that i could apply. the test image that was processed there surely should give us some "close enough" result as proof-of-concept, should it not?
    and really, i am willing to get a color checker chart - it's not like they are hellishly expensive, after all. plus, i have the access to standard light sources and additional color charts.
    « Last Edit: 27 / March / 2009, 13:56:05 by snc »

     


    SimplePortal 2.3.3 © 2008-2010, SimplePortal