Bracketing / HDR Script with continuous mode - Script Writing - CHDK Forum
supplierdeeply

Bracketing / HDR Script with continuous mode

  • 18 Replies
  • 9895 Views
*

Offline c_joerg

  • *****
  • 1248
Bracketing / HDR Script with continuous mode
« on: 04 / May / 2016, 08:34:30 »
Advertisements
Are there any Bracketing / HDR Scripts which works with the Canon continuous shooting mode?

I found only fast scripts which runs in the quick mode (stays in half press). As I know from my S110 and G1x, the Canon continuous shooting mode is much faster.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Bracketing / HDR Script with continuous mode
« Reply #1 on: 04 / May / 2016, 08:54:54 »
Bracketing in continuous mode is an inbuilt chdk function. Is there a special reason for this request?

msl
CHDK-DE:  CHDK-DE links

*

Offline c_joerg

  • *****
  • 1248
Re: Bracketing / HDR Script with continuous mode
« Reply #2 on: 04 / May / 2016, 09:46:07 »
I really like the script, which calculates the borders from the threshold of a histogram like br_histo.lua….
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline reyalp

  • ******
  • 14079
Re: Bracketing / HDR Script with continuous mode
« Reply #3 on: 04 / May / 2016, 16:51:50 »
I really like the script, which calculates the borders from the threshold of a histogram like br_histo.lua….
Do you have a link to this script?

Converting a script that works in "quick" to continuous mode should not be very hard.
Don't forget what the H stands for.


*

Offline c_joerg

  • *****
  • 1248
Re: Bracketing / HDR Script with continuous mode
« Reply #4 on: 04 / May / 2016, 17:28:23 »
Do you have a link to this script?

Converting a script that works in "quick" to continuous mode should not be very hard.

You find br_histo.lua or br_h_new.lua on the German side:
Well it has more than 1200 downloads...

http://forum.chdk-treff.de/viewtopic.php?t=1440
But this script runs in single mode and uses get_histo_range. I’m not sure if this works in continuous mode.
But as msl said, the Bracketing inbuilt chdk function works very well. The advantage of the script is, that it stops on the histogram levels.
« Last Edit: 04 / May / 2016, 17:46:31 by c_joerg »
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Bracketing / HDR Script with continuous mode
« Reply #5 on: 04 / May / 2016, 17:58:39 »
Here is the last archived script version: https://www.assembla.com/spaces/chdkde/subversion/source/HEAD/scripts/br_easy/br_easyE.lua
It is a little bit obsolete. Some propset stuff needs a rework for newer cameras. The idea is to determine the number of necessary images automatically via the histogram. Today might be shot/raw hook combined with the continuous shooting mode a better approach.

msl
CHDK-DE:  CHDK-DE links

*

Offline reyalp

  • ******
  • 14079
Re: Bracketing / HDR Script with continuous mode
« Reply #6 on: 04 / May / 2016, 21:56:15 »
But this script runs in single mode and uses get_histo_range. I’m not sure if this works in continuous mode.
The rawop histogram code is more flexible, but shot_histogram should work too. In either case, you would use the raw shooting hook to know when the histogram is ready, and adjust exposure before allowing it to continue.

This could be a good, relatively simple example of the shooting hook code.

Some propset stuff needs a rework for newer cameras.
Yes, I highly recommend using propcase.lua instead of hard coded numbers. If there are known, useful propcases that aren't included, we can add them.
Don't forget what the H stands for.

*

Offline c_joerg

  • *****
  • 1248
Re: Bracketing / HDR Script with continuous mode
« Reply #7 on: 05 / May / 2016, 02:26:50 »
This could be a good, relatively simple example of the shooting hook code.

This sounds like a great idea…

I was yesterday a little bit playing with the CHDK build in function. An advantage of this function from the timing side is the alternatively apply the bracketing value by first increasing then decreasing the exposure value like this: 0 Ev, +1Ev, -1Ev, +2Ev, -2Ev, etc. May be you need only the 5 pictures until +-2Ev then they are closer together If the script runs first in one direction to +4Ev and then to -4Ev.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd


*

Offline c_joerg

  • *****
  • 1248
Re: Bracketing / HDR Script with continuous mode
« Reply #8 on: 22 / September / 2017, 01:56:00 »
Bracketing in continuous mode is an inbuilt chdk function.
Looks like that my EOS M3 has no custom timer  :(
On continuous mode I must then hold the whole time the shutter. Even on a tripod it comes to blur.
So a script might by the only way. Or did I miss something?
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

*

Offline lapser

  • *****
  • 1093
Re: Bracketing / HDR Script with continuous mode
« Reply #9 on: 22 / September / 2017, 11:24:34 »
Looks like that my EOS M3 has no custom timer
On continuous mode I must then hold the whole time the shutter. Even on a tripod it comes to blur.
So a script might by the only way. Or did I miss something?
I think a script would be the best way to do it. Do you want the script to do a single HDR photo or HDR time lapse?

My idea for HDR would be to start with an ETTR photo. That is, a photo that is exposed as brightly as possible without "blowing" any pixels. I see no need for any bracketed exposures darker than that, do you?

Starting from the ETTR photo, the script would then take additonal exposures of around +2, +4, +6 ev with the actual ev changes set by script parameters. The HDR program, Photomatix, recommends 2 ev between exposures.

I need to write a script to test my changes to rawop.meter() so I'll see if I can come up with something for you.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

 

Related Topics