Skip to content

Instantly share code, notes, and snippets.

View QDFS.lua
--[[
@title QDFS
@chdk_version 1.7
#coc = 15 "CoC (um)" [5 30]
#brak = 0 "X bracket mode?" {ISO Tv}
#isoval = 0 "X Bracketing Value" {Canon ETR+1Ev ETR+2Ev ETR+3Ev ETR+4Ev ETR+5Ev}
#sleep_time = 0 "Delay (s)" [0 10]
#dis = 1 "Display" {#Bracks Focus}
#lensmag = 0 "Get Mag" {Off On Dynamic}
View FBTL.lua
--[[
@title FBTL
@chdk_version 1.6
#overlap = 15 "Overlap Blur (um)" [5 30]
#help = 0 "Console" {Off On}
Notes:
* This test script only runs on the M3, M10 or M100 with the XIMR version of CHDK. But note, not tested on the M100.
* Go to https://drive.google.com/drive/folders/1drk1xi6kMMIeF5xSqXgnpjGCffF8CVkd?usp=sharing for XIMR builds
@pigeonhill
pigeonhill / TLFF.lua
Last active Jul 15, 2022
Thin Lens Functionalised Focus
View TLFF.lua
--[[
@title TLFF
@chdk_version 1.6
#log = 0 "Log?" {Off On}
Notes:
* This test script only runs on the M3, M10 or M100 with the XIMR version of CHDK. But note, not tested on the M100.
* Go to https://drive.google.com/drive/folders/1drk1xi6kMMIeF5xSqXgnpjGCffF8CVkd?usp=sharing for XIMR builds
*
View LBS-M(Rev2)
--[[
@title LBS-M(Rev2)
@chdk_version 1.6
@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 / Brackets (M3).lua
Last active May 1, 2021
fmath version of M3 Bracketing
View Brackets (M3).lua
--[[
@title Brackets (M3)
@chdk_version 1.5
@subtitle Bracketing Options
#mode = 0 "Focus bracket?" {Off X2INF Min2INF}
#bracket = 0 "Exposure bracket?" {Off +4Ev +3Ev +2Ev 2(+2Ev) 3(+2Ev) ISO1600 auto}
#sky = 0 "Sky Bracket?" {Off Sky+2Ev Sky+3Ev Sky+4Ev Sky+5Ev Sky+6Ev}
@subtitle Bracketing Settings
@pigeonhill
pigeonhill / MUSIC.lua
Last active Feb 7, 2021
MUlti Shot Image Capture script
View MUSIC.lua
--[[
MUSIC
(MUlti Shot Image Capture)
MUSIC helps you quickly create bracket sets for various use cases, eg: noise reduction (NR); super resolution (SR);
people removal; ND simulation; Hand-held (HH) bracketing; FRSP and Zero Noise bracketing.
MUSIC works by taking the requested number of images according to the needs of the use case. Simply toggle through the various use cases until you find the one that fits your needs.
SR and HH use cases assume you are handholding to create the bracket set. Most other use cases will normally be triggered from a tripod (but it's your choice).
@pigeonhill
pigeonhill / DOFIS.lua
Last active Mar 26, 2021
Depth Of Field Info (Split lens version)
View DOFIS.lua
--[[
DOFIS
Depth of Field Info Script
NOTE: This script assumes you are running the Lua fix from the experimental area or have the Lua fix module in your build, ie Latest Lua fix Build (2020-12-28)
In LV this script dynamically displays (in the ML top bar) the enhanced focus information: in non-LV mode, the Canon 'Shooting Settings' screen provides focus bracketing feedback.
In LV, if the display option is set to DoFs, then if you are focused less than H, DOFI will show the relative (R), either side of the point of focus,
or absolute (A) DoFs, relative to the sensor, plus show the blurs when focus is greater than H.
@pigeonhill
pigeonhill / DOFIC.lua
Last active Jan 27, 2020
Depth Of Field Info script Chdk version
View DOFIC.lua
--[[
@DOFIC
Rev 0.835
Garry George
@chdk_version 1.5
# show_DOFIC = 1 "Display DOFIC?" {No Yes}
# show_coc = 0 "Show Inf focus blurs?" {No Yes}
# time_2_show = 5 "Display timeout (s)" [3 30]
# pos = 1 "Vertical position" [0 14]
--]]
@pigeonhill
pigeonhill / gfbs2.lua
Last active Jan 13, 2020
CHDK Get Focus Script Rev 2
View gfbs2.lua
--[[
@title Get Brackets
Capture 'Perfect' focus brackets, with focus overlap defined in terms of defocus (CHDK Circle of Confusion (CoC)) blur
Plus option of additional exposure brackets at each focus step, using various logic: 1Ev, 2Ev or 3Ev using -/+ or -/-- or +/++; one iso-invariant at
ISO at 800 or 1600; or one (Zero Noise) exposure at 4Ev, 3Ev or 2Ev
Focus bracketing strategies are: current position to blur-defined infinity (X2Inf); min camera focus to current position (Min2X), min camera focus to blur-defined infinity (Min2Inf);
current position to a delta x ahead of the current position (X2DelX); from a delta x in front of the current position to the current position (-DelX2X);
from a delta x in front of the current position to a delta x ahead of the current position (-D2+D).
None means that requested exposures will only be captured at the current focus point
Overlap, ie bracket to bracket focus insurance, is definded in terms of the defocus (CoC) blur, eg CoC/2 means focus brackets 'touch' at a b
@pigeonhill
pigeonhill / DOFI.lua
Last active Mar 8, 2020
Depth of Field Info
View DOFI.lua
--[[
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.