Landscape Focus Bracketing Script - page 8 - Completed and Working Scripts - CHDK Forum

Landscape Focus Bracketing Script

  • 247 Replies
  • 48406 Views
*

Offline c_joerg

  • *****
  • 1248
Re: Landscape Focus Bracketing Script
« Reply #70 on: 11 / April / 2019, 03:17:29 »
Advertisements
The new style script header makes Script really readable now ...

I'm not sure about the Overlap. CoC means I have the largest overlap and therefore a larger number of images?
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

Re: Landscape Focus Bracketing Script
« Reply #71 on: 11 / April / 2019, 07:11:38 »

@c_joerg


An 'overlap' at a blur of CoC means that the focus brackets touch at a blur of CoC.


An overlap ay a blur of 2CoC/3 means that the focus brackets touch at a blur of 2CoC/3 < CoC = more brackets, but higher 'focus quality' throughout the scene.


BTW I've already seen a few areas where I need to tidy up my coding: will this hell never end  ::)

*

Offline c_joerg

  • *****
  • 1248
Re: Landscape Focus Bracketing Script
« Reply #72 on: 11 / April / 2019, 11:37:22 »
An overlap ay a blur of 2CoC/3 means that the focus brackets touch at a blur of 2CoC/3 < CoC = more brackets, but higher 'focus quality' throughout the scene.

Thanks, i understand now...

I play a little bit with the script…

Why you removed the interesting log files?
I would also log TV, AV, ISO, focal length….


I don’t find a description what
Code: [Select]
# delx = 1 "Focus depth (mm)" [5 100]is doing and why the default is out of range?

Then I had a strange problem. I set manually in M Mode TV=1/10s and AV=5.6
The first picture where made with TV=1/40s and AV=2.8 (with correct exposure) and all the other pictures have TV=1/40s and AV=5.6. But the problem only happens on one of 3 tries.

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

Re: Landscape Focus Bracketing Script
« Reply #73 on: 11 / April / 2019, 13:15:49 »
@c_joerg  (sorry don't know your first name)

Many thanks for testing out the script: I really appreciate your time and feedback.

The delx menu was a typo: should have been
Quote
# delx = 10 "Focus depth (mm)" [5 100]

As for what is delX doing, have you looked at the updated words here: https://chdk.fandom.com/wiki/Landscape_Focus_Bracketing_:_perfect_near_to_far_focus_brackets

I added in a graphic that shows the various focusing strategies.

I've also tided up a few bits of code: https://gist.github.com/pigeonhill/3fe9e52621db7149eb3505bd60b395cb

As for your exposure variation, I can't see why that occurs? Maybe you can test with the latest release?

Also, I have noticed that the restore() function, which in Lua is meant to be triggered by an interrupt, eg a shutter press, doesn't always work. Maybe I've coded it incorrectly?

Finally, I will add back in the log file, just for you ;-)

Cheers

Garry
« Last Edit: 11 / April / 2019, 13:20:31 by pigeonhill »


*

Offline c_joerg

  • *****
  • 1248
Re: Landscape Focus Bracketing Script
« Reply #74 on: 11 / April / 2019, 13:35:53 »
(sorry don't know your first name)
Joerg
Many thanks for testing out the script: I really appreciate your time and feedback.
Thank you is on my side; I have already learned a lot...
Finally, I will add back in the log file, just for you ;-)
It’s not for me, the day will come where it helps you with the error search…
Here you can find a logfile from rawopint. The files were always a great help in the search for errors.
https://chdk.setepontos.com/index.php?topic=12761.msg137365#msg137365

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: Landscape Focus Bracketing Script
« Reply #75 on: 11 / April / 2019, 13:58:43 »
I can reproduce the problem:
First run was with f2.8 and TV=1/15s. Everything was OK

The I change to f5.6 an TV=1/5s
First shoot has f2.8 and TV=1/15s.
All other shoots have f5.6 and TV=1/15s.

May be the problem comes from av and tv setting in bookend()
There is no log file…
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

Re: Landscape Focus Bracketing Script
« Reply #76 on: 11 / April / 2019, 14:03:48 »
Strange, as the script grabs the shutter speed and aperture at the start, after locking the script into M mode.

BTW did you do the test with the latest versions?

*

Offline c_joerg

  • *****
  • 1248
Re: Landscape Focus Bracketing Script
« Reply #77 on: 11 / April / 2019, 14:27:53 »
BTW did you do the test with the latest versions?

Rev 1.32
If you can’t reproduce it, you should log everything with timestamp.
I would log also the version and all current settings.

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


Re: Landscape Focus Bracketing Script
« Reply #78 on: 11 / April / 2019, 14:42:40 »
@c_joerg


Just tried it out on my G7X and all ok.


BTW did you try a half shutter press after you changed the settings.


You shouldn’t have to as the script does this, but you never know.


Not sure what logging would do to help me sort things out, as I don’t see the problem  ;)

*

Offline c_joerg

  • *****
  • 1248
Re: Landscape Focus Bracketing Script
« Reply #79 on: 11 / April / 2019, 14:54:49 »
BTW did you try a half shutter press after you changed the settings.
Yes

Not sure what logging would do to help me sort things out, as I don’t see the problem  ;)
May be it depends on the settings….
I would log all values (AV,TV, Focus…) immediately after you read them and all values which you write (set_xxx) to the cam…
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