Bracketing / HDR Script with continuous mode - page 2 - Script Writing - CHDK Forum

Bracketing / HDR Script with continuous mode

  • 18 Replies
  • 12049 Views
*

Offline c_joerg

  • *****
  • 1251
Re: Bracketing / HDR Script with continuous mode
« Reply #10 on: 22 / September / 2017, 12:26:37 »
Advertisements
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?
Right now, I thought a about script to do a single HDR photo.
HDR and time lapse, you did this before?
Only requirement it should be run in continuous mode. There is a script above which also works with a histogram but it did not run in continuous mode.

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.
Yes, but how you get a ETTR photo from start?
I thought you have to make one shoot, to get data from RAW meter or? If this photo is overexposed you should go down with -EV steps to come to ETTR. And then you can go up with +EV steps from first picture, right?
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.
That sound great…

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 #11 on: 22 / September / 2017, 19:43:42 »
Yes, but how you get a ETTR photo from start?
I thought you have to make one shoot, to get data from RAW meter or? If this photo is overexposed you should go down with -EV steps to come to ETTR. And then you can go up with +EV steps from first picture, right?
That sounds like a good plan. I did something like that in my solar eclipse script.

I finished the modifications to CHDK that I'll need for my scripts. They should be backwards compatible, so you can install my CHDK builds on all your cameras if you want to test it out. Here's a link with all the camera builds:

https://drive.google.com/drive/folders/0B3woLhMB_tdqVkptS0hsTGNNRVk

I'll post more when I get an HDR script ready to test.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline c_joerg

  • *****
  • 1251
Re: Bracketing / HDR Script with continuous mode
« Reply #12 on: 23 / September / 2017, 03:32:45 »
I finished the modifications to CHDK that I'll need for my scripts. They should be backwards compatible, so you can install my CHDK builds on all your cameras if you want to test it out. Here's a link with all the camera builds:[/url]

I have download CHDK-g1x-101a-1.5.0-4917 and updated. But I don’t see correct version info. But ‘TestRwop’ works…
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 #13 on: 23 / September / 2017, 11:40:31 »
I have download CHDK-g1x-101a-1.5.0-4917 and updated. But I don’t see correct version info. But ‘TestRwop’ works…
From the July build date, it looks like you still have the first CHDK version I posted for you. Check the "modified" date of DISKBOOT.BIN on your SD card and make sure it is September. Try downloading the new CHDK version again. Google Drive is pretty confusing for just downloading something. There's a button at the upper right to switch to List view, which is a little easier to figure out.

I added a count of underexposed pictures to rawop.meter, and attached the new TestRwop.lua, and a CHDK version for your G1X if you have trouble with Google Drive. The new TestRwop will throw a "nil" error if you don't have the right CHDK version.

Here's what the new log file should look like:
Code: [Select]
TestRwop Sat Sep 23 08:22:43 2017
Camera:g1x f/w:100g platformID:12851 bit/pixel:14
version:CHDK 1.5.0 built on Sep 22 2017 14:15:04
Nshots=4
maxsteps=24000,px1=1,py1=1,px2=99,py2=99
x=151,y=108,w=4265,h=3199
x=171,y=132,xsteps=170,ysteps=127,step=25
nsteps=21590 white=16383
Shot#  Mean Pmax2 Pmax1  Wh% Wh# Dk% Dk#
    1  2583  4814  4817   0% 0 21% 4718
    2  2554  4766  4779   0% 0 21% 4730
    3  2553  4751  4787   0% 0 21% 4738
    4  2554  4772  4780   0% 0 22% 4783
« Last Edit: 23 / September / 2017, 11:42:05 by lapser »
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline c_joerg

  • *****
  • 1251
Re: Bracketing / HDR Script with continuous mode
« Reply #14 on: 23 / September / 2017, 12:06:31 »
From the July build date, it looks like you still have the first CHDK version I posted for you. Check the "modified" date of DISKBOOT.BIN on your SD card and make sure it is September.
The DISKBOOT.BIN has correct date and is from 20.09.2017.

Try downloading the new CHDK version again. Google Drive is pretty confusing for just downloading something. There's a button at the upper right to switch to List view, which is a little easier to figure out.
It take a long time until my browser was ready to show me all files…

I added a count of underexposed pictures to rawop.meter, and attached the new TestRwop.lua, and a CHDK version for your G1X if you have trouble with Google Drive. The new TestRwop will throw a "nil" error if you don't have the right CHDK version.
I don’t get a "nil" error and I still using the first download…


Update:
Also, your ZIP file gives me a wrong version string…
« Last Edit: 23 / September / 2017, 12:12:02 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 lapser

  • *****
  • 1093
Re: Bracketing / HDR Script with continuous mode
« Reply #15 on: 23 / September / 2017, 12:27:29 »
OK, thanks for checking that out. For some reason, the dates and version info is wrong on your camera, but since the script works, you must have the right CHDK build. Let's not worry about it for now. Thanks for testing.

A few years ago, Waterwingz showed me how to modify the splash screen to show "Lapser" instead of CHDK. That method doesn't seem to work any more. Is there a way to do that now?
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline c_joerg

  • *****
  • 1251
Re: Bracketing / HDR Script with continuous mode
« Reply #16 on: 23 / September / 2017, 12:49:19 »
OK, thanks for checking that out. For some reason, the dates and version info is wrong on your camera, but since the script works, you must have the right CHDK build.
Yes, sure….
Let's not worry about it for now.
But first version from EOS M3 which I had from you gives me the correct version string…

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 #17 on: 23 / September / 2017, 14:35:09 »
But first version from EOS M3 which I had from you gives me the correct version string…
You can try downloading the full CHDK version on a new SD card, and then adding my CHDK build over that. Maybe it's some of the other files on your card?
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline c_joerg

  • *****
  • 1251
Re: Bracketing / HDR Script with continuous mode
« Reply #18 on: 24 / September / 2017, 08:24:39 »
You can try downloading the full CHDK version on a new SD card, and then adding my CHDK build over that.
Same result. I still get the July build date. From which file comes the build string? Have you tried this?
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

 

Related Topics


SimplePortal © 2008-2014, SimplePortal