Skip to content

Instantly share code, notes, and snippets.

@pigeonhill
pigeonhill / DOFI.lua
Last active March 8, 2020 08:53
Depth of Field Info
--[[
DOFI
Depth of Feild Info script
This script dynamically displays (in the ML top bar) the current infinity defocus blur, diffraction blur and the total blur at infinity.
The script visually shows the overlap status to aid focus bracketing: green means a positive overlap and red a focus gap between the current focus and the last image taken.
Yellow means the current focus is the same as the last image captured.
Changing aperature or focal length will reset DOFI.
Also exposing the ML menu will reset DOFI.
Augmented reality option shows the hyperfocal position as well as the focus. Set tripod height.
@pigeonhill
pigeonhill / gtlapse.lua
Last active January 4, 2020 16:04
Garry's Version of Danne's Script
-- movie tlapse
--[[
Movie intervalometer
Garry's version of Danne's script ;-)
Rev 0.32
--]]
console.hide()
menu.close()
@pigeonhill
pigeonhill / LESMD.lua
Last active December 29, 2019 11:27
LE SIM (D)
--[[
LE Sim (D)
BACKGROUND INFO:
Remember the shutter speed you set to assit in checking ML fps-shutter settings under RAW video ;-)
Start in LV mode or not
Set duration of LE simulation in ML Bulb timer (note switched off)
Number of frames is calculated from the ML set shutter and the Bulb time
Start in photo mode, ie not video mode
Follow script's prompts as it leads you through the workflow
Script will provide the option of taking an(y number of) advanced bracket set(s) after the MLV is captured (ensure Advanced Bracketing is setup to your needs, but set OFF)
@pigeonhill
pigeonhill / LESM.lua
Last active December 18, 2019 20:49
LE Simulator
--[[
LE Sim
SET UP:
Set Canon movie mode to 1920; Set ML FPS overrride to 1 (adjust later); Remember the shutter speed you set
Start in LV mode or not
Set duration of LE simulation in ML Bulb timer (note switched off)
Start in photo mode, ie not video mode
Follow script's LV prompts
Script will provide the option of taking an advanced bracket set after the MLV is captured (ensure Advanced Bracketing is setup to your needs, but set OFF)
See additional notes below in the body of the script and at photography.grayheron.net
@pigeonhill
pigeonhill / TILT.LUA
Last active May 10, 2020 20:00
Tilter Scripr
--[[
Tilter
Release 0.86
May 2020
Copyleft: Garry George 2020
photography.grayheron.net
--]]
require("config")
@pigeonhill
pigeonhill / HHBS.lua
Last active October 8, 2019 20:07
Hand Held Bracketing Script
--[[
HHBS
Hand Held Bracketing Script for WA lenses
Version 1.365
Garry George Oct 2019
http://photography.grayheron.net/
--]]
CON = "ON"
@pigeonhill
pigeonhill / M3 Brackets.lua
Last active April 7, 2023 17:30
M3 Focus & Exposure Bracketing
--[[
@title LBS-M
@chdk_version 1.7
@subtitle Bracketing Options
#mode = 0 "Focus?" {Off X2INF Min2INF Manual Min2X SupRes}
#bracket = 0 "Exposure?" {Off 1(4Ev) 1(3Ev) 1(2Ev) 2(2Ev) 3(2Ev) ISO AutoX>H Wind3Ev Wind4Ev HandH AutoS>H}
#sky = 0 "Sky?" {Off 2Ev 3Ev 4Ev 5Ev 6Ev ETTR}
#ndf = 0 "ND?" [-5 30]
@pigeonhill
pigeonhill / BRAK.lua
Last active October 18, 2019 07:27
Bracketeer
--[[
Bracketeer
This script dynamically displays the current infinity defocus blur, diffraction blur and the total blur at infinity, which is useful when focusing beyond the hyperfocal.
It also visually shows the overlap status to aid focus bracketing: green means a positive overlap and red a focus gap.
In addition a traffic light feedback gives you infinity focus info.
The width of the DoF visualisation is the smallest near DoFs (current position and last image taken) and the hyperfocal distance, which is useful when bracketing less than the hyperfocal.
If both current and last far DoFs are less than the hyperfocal, then the right hand edge of the bar will be the longest far DoF.
The ML CoC (total blur) is used as the overlap criterion: on a full frame it is recommended this be 20 microns.
A thin lens model is assumed, with the lens principal plane positioned at f(1+m) from the sensor, ie magnification is estimated from the TL model: so don't use the script for macro.
@pigeonhill
pigeonhill / SGFB.lua
Last active May 3, 2019 19:42
Simple Get Focus Brackets (Version 2)
--[[
Get Focus Brackets
This is a Lua 'simple script' to capture 'perfect' focus brackets from the current focus position to a defocus blur defined infinity, as defined by the ML CoC.
I wrote it to cover Multi-Image, Deep Field photography needs.
This version assumes a thin lens model.
There is no menu: just run the script from the ML Scripts menu.
The UI is simple, but functional: just follow the on screen instructions. The script pauses to allow you to decide if you wish to complete, ie in case
there are too many brackets. During the pause you can refocus, change aperture and focal length, ie to change the number of brackets.
During the pause the SET key can be used, ie for ETTRing. A long half shutter will take the brackets, any other key, other than SET, will terminate the script.
A short half shutter press will terminate the script and leave the focus and exposure as is.
@pigeonhill
pigeonhill / 1GFB.lua
Created April 28, 2019 15:31
SGFB Helper Script
--[[
SGFB Helper
[RATE] = A hijacked button to access the ML Script Menu
Version 0.5
Garry George May 2019
http://photography.grayheron.net/
--]]
CON = {"ON","OFF"}