Custom processing for JPEG (Tone curve, CA ...) - page 9 - Feature Requests - CHDK Forum
supplierdeeply

Custom processing for JPEG (Tone curve, CA ...)

  • 101 Replies
  • 70376 Views
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #80 on: 23 / January / 2009, 02:15:53 »
Advertisements
Hrm:
raw.c 203
Code: [Select]
        finished();

        return (fd >= 0);
    }

#ifdef OPT_CURVES
    if (conf.curve_enable) curve_apply();
#endif
    return 0;

if raw is enabled, curve is not applied to jpeg ?

Good point. I believe that you missed an early post that fixes this and other things.
http://chdk.setepontos.com/index.php/topic,932.msg24656.html#msg24656
I do not have access to SVN to update the code.

Thank you for taking time to cleanup the code.

Toine
« Last Edit: 23 / January / 2009, 02:20:44 by toinech »

*

Online reyalp

  • ******
  • 14080
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #81 on: 25 / January / 2009, 19:59:52 »
Thanks for that. I saw there were several posts, but wasn't clear which ones had been merged.

For the column fix, this processes the entire raw buffer, potentially modifying the border pixels, correct ? Any idea whether these becoming non-black affects canon processing ?
Don't forget what the H stands for.

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #82 on: 26 / January / 2009, 02:03:07 »
Thanks for that. I saw there were several posts, but wasn't clear which ones had been merged.

For the column fix, this processes the entire raw buffer, potentially modifying the border pixels, correct ? Any idea whether these becoming non-black affects canon processing ?

For the column fix, this processes the entire raw buffer as you indicated. It is possible that a non black border pixel may effect on the canon processing. I am not sure if sometimes the manufacturer uses the non exposed border to estimate sensor noise level and use it in some noise reduction algorithm.

I wrote the code (skipping columns) for my A610 which does not expose some of the last columns in the hope of saving some processing time. It looks like through other users that different cameras have different 'non exposed' areas.

Please note that the first 8 rows are not processed.
« Last Edit: 26 / January / 2009, 02:13:20 by toinech »

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #83 on: 28 / March / 2009, 20:46:35 »
Posted the black hole fix for the luminance curves. No change for RGB.
Note the Green is now used as luminance instead of an average of G+B or G+R.
Hopefully, the DR curve should be more sensitive for the correction of blown out highlight.

Change made from trunk 725.


Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #84 on: 19 / April / 2009, 10:52:34 »
<----New guy

I can't download the curvetools program for creating custom curve profiles. Any help would be very much appreciated. Thanks in advance.

*

Offline hotvedt

  • ***
  • 106
  • A540/SX110IS/350D
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #85 on: 19 / April / 2009, 12:59:44 »
I have lost the original zip-file, but here you have the CurvesEditor4k.exe

http://www.hot.ee/hotvedt/CurvesEditor4k.zip

-
Maybe some admin can check why i/we cannot access the attatchment in this post:
http://chdk.setepontos.com/index.php/topic,932.msg10927.html#msg10927

-
Edit: heres a link with the updated editor that works: http://chdk.setepontos.com/index.php/topic,932.msg17419.html#msg17419
« Last Edit: 19 / April / 2009, 13:07:47 by hotvedt »

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #87 on: 02 / May / 2009, 22:43:19 »
SYSCURVES update attached.
Changed based on A610 response curves.
The previous version was incorrectly configured
Should help reduce significantly the high areas blown out.


*

Online reyalp

  • ******
  • 14080
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #88 on: 03 / May / 2009, 00:21:34 »
Added, svn 758
Don't forget what the H stands for.

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #89 on: 24 / June / 2009, 19:09:03 »
Hi,

Anyone figure out how to modify curves for the SX10 12 bit raw?  I have looked at the code and it is a mystery to me.

Jon

 

Related Topics