if u == 1 or u == 2 then -- change focus to min focus set_focus((4*fl)/10) press("shoot_half") repeat x = get_focus() sleep(100) -- seems to work on G7X & G1X, may need changing on other cams until x == get_focus() release("shoot_half")end
set_focus ((4 * fl) / 10)
set_focus (0)
There is still a little confusion in my mind regarding where is zero for CHDK focus reporting
the sensor plane or at some position within the lens.
The 4*Fl is often reported as the min focus of a generic lens relative to the sensor.
Yes I did play around with making it work in all modes, ie other than M, but I’m an M shooter so I decided to satisfy myself first ;-)
Have you gone into each layer and corrected the blur? That is manually adjust the masks that PS creates for each layer.
BTW I use Helicon Focus, which allows you to choose different algorithms.
X2Inf Mac2Inf Mac2X X2delX
In macro mode, eg using Macro2X or X2DelX, the script will take as many images as required, ie without warning how many! In order to cover various needs, the user can select from the following focusing scenarios: From the current focus to the blur-defined Infinity From the minimum focus to the current focus From current focus to a specified number of mm beyond the current position From the minimum focus to the blur-defined Infinity
Started by SkyWalker9 Script Writing
Started by SkyWalker9 « 1 2 » Completed and Working Scripts
Started by kidtree Completed and Working Scripts
Started by genosmm General Help and Assistance on using CHDK stable releases
Started by pigeonhill « 1 2 3 » Creative Uses of CHDK