supplierdeeply

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

  • 101 Replies
  • 40992 Views
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #60 on: 27 / July / 2008, 12:49:05 »
Advertisements
Difference between CV and CVF curves:
- CV curves are the standard RGB curves
- CVF curves are my own version of the curves which
  intends to avoid color shift side effect of the RGB curves.
  They are an approximation of the luminance curves.

Except the SYSCURVES.CVF file. It is recommended to
put the curves files in the curve directory.

Auto DR with Zebra is intended to be use for the direct 
application of the curves to the shot - and not for post
processing (the feature is just mimic of the Fuji S100
+200, +400 Dynamic Range). The flow is:

1. Activate Zebra display
2. Activate Auto DR
3. Use the camera EV negative compensation to reduce the
    Zebra overblown highlights shown on screen.
    I used the (+/-) button on the back of the camera.
4. Take the shot. You will directly get the JPG without post
    processing. The luminance of the darker areas will be
    raised while the highlight is compressed.

Your workflow is correct. However during the RAW develop
process, you need to set the EV comp to the value that you
used to reduce the high light blown out when you took the RAW.
I don't use much in camera develop since it is a tricky art there
(specially for WB issues).

If the scene does not require you to reduce exposure to avoid
blown highlight, the Auto DR feature does not do anything.

I am not sure what the Velvia effect is. Won't be able to help there.
I have attached some curve samples (which include a Provia effect).

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #61 on: 27 / July / 2008, 13:06:37 »
More about CV versus CVF...

- CV curves are RGB.
  To oversimplify the process: If a pixel has the following VRi, VGi, VBi values.
  The new VRo, VGo, VBo value are derived from a table lookup based on the VRi, VGi, VBi.
  The proportion of R,G,B value may not be kept after the transformation.

  VRo = T(VRi)
  VGo  = T(VGi)
  VBo = T(VBi)

- CVF curves are approximation of luminance curve
  Again to oversimplify it: A luminance value is L derived from the VRi, VGi, VBi.
  For a specific L a factor K(L) is looked up in a table and multiplied to the VRi, VGi, VBi.

  VRo = K(L) * VRi
  VGo = K(L) * VGi
  VBo = K(L) * VBi

  Color proportion is kept since we multiply with the same factor.
« Last Edit: 27 / July / 2008, 13:14:31 by toinech »

*

Offline littlejohn

  • *
  • 35
  • Ixus 860is
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #62 on: 17 / August / 2008, 03:44:31 »
Hi,

On my 860IS, it took a few seconds to complete one shot if a curve is applied.
If post processing on each JPEG/RAW file is allowed (by applying different curves), that would be great.
:)

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #63 on: 17 / August / 2008, 12:53:33 »
If post processing on each JPEG/RAW file is allowed (by applying different curves), that would be great.
feature is already there...
1. Take a pic with save RAW
2. Activate the curve
3. Develop RAW

Curve does not apply on the JPEG though but only to the RAW.


Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #64 on: 01 / September / 2008, 03:35:11 »
  Hello,

  I am trying to use the curves as well. The custom curve loading works but the "Auto DR", "+1EV" and "+2EV" features does not!

  I have Canon Powershot S5 IS. In my filebrowse in CHDK I can see the filenames only in DOS 8.3 filename convention. Can this be the cause of the problem?
The file SYSCURVES.CFG is thus shown as SYSCUR~1.CFG. Is there some workaround?

  I think the "Auto DR" feature is really a must have! Can anyone help, please?

  Michal.

--> I am sorry, please, ignore my message - I made a mistake. The filename should be SYSCURVES.CVF (mistake in extension), and it works even if the filebrowser still shows SYSCUR~1.CVF!

--> Great work, no more overexposed sky!
« Last Edit: 01 / September / 2008, 04:31:03 by dovciak »

*

Offline littlejohn

  • *
  • 35
  • Ixus 860is
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #65 on: 01 / September / 2008, 04:07:31 »
Hi,

Check this out:
CHDK/MoreBest - CHDK Wiki
You have to put the file "SYSCURVES.CVF" in your CHDK directory. :)

Edit: I'm also interested in the Auto DR feature.
If you have any great picture using Auto DR, could you please post it here?
I'm not sure if I'm using the right way.  ;)
« Last Edit: 01 / September / 2008, 04:11:34 by littlejohn »

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #66 on: 14 / September / 2008, 01:04:13 »
I may need to adjust the SYSCURVES a little bit to get the desired effect.
As yet they are not aggressive enough to reduce the blown out.
Still need to do some more study here.

Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #67 on: 01 / October / 2008, 19:17:46 »
Hi,

I just tried the "Collaborative Build" and see that several curves are built in: +1,2 ev and hdr.  That is great, glad to see it in there.  I have a request: How about adding -2,-1 ev and perhaps also the .5 ev steps.  That would give some nice exposure choices when developing raws.  I didn't look at the code, but these choices do not need a pre-calculated curve.  It can be easily calculated on the fly.

Jon


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #68 on: 01 / October / 2008, 20:24:15 »
I also tried curves and found some strange things (see attached picture, 100% crop at right border of image):
- Some unprocessed vertical band at right side of image. Maybe, skippings of last 40 columns is too much.
- Multiple black points on image. Maybe (only maybe!) this is defect pixels on CCD, stored in RAW with value 0. After curve processing this pixels must be stored back with the same value 0 (not black level (31)).
The same things reported in russian forum user of S3IS, his image:

*

Offline hotvedt

  • ***
  • 106
  • A540/SX110IS/350D
Re: Custom processing for JPEG (Tone curve, CA ...)
« Reply #69 on: 02 / October / 2008, 05:53:18 »
Some days ago i made this post: http://chdk.setepontos.com/index.php/topic,265.msg21410.html#msg21410

The black pixels is present in my cam too (A540), also the same things as ewavr mentions.

 

Related Topics