LE Simulation.lua
--[[ |
LE simulation via Bracketing, using shutterless, Full Res Silent Picture |
Creates brackets for post processing a simulated LE exposure |
User must set FRSP mode, ie DNG or MLV and also wheather to use Dual-ISO |
Exposure Sim should be on |
Should be in LV |
MUST set Canon review to OFF |
Base exposure should be between 0.25-14 secs |
Version 0.8: Requires the Lua Fix |
******************************************************************************************************* |
* * |
* If you reference this script, please consider acknowledging me: http://photography.grayheron.net/ * |
* * |
******************************************************************************************************* |
--]] |
FRSP_brackets =0 |
functionmy_shoot() -- to grab an image |
camera.shoot(false) |
end |
functioncheck_bookend() -- adds an over exposed FRSP frame |
if LEmenu.submenu['Bookends?'].value'yes' |
then |
local iso = camera.iso.apex |
local av = camera.aperture.apex |
camera.iso.apex=10 |
camera.aperture.apex= camera.aperture.min.apex |
my_shoot() |
camera.iso.apex= iso |
camera.aperture.apex= av |
end |
end |
functiongo() -- and run the script |
menu.close() |
local LE_count =0 |
if camera.shutter.value<0.25or camera.shutter.value>14then-- not fit for FRSP use |
menu.set('Shoot','Silent Picture',0) |
beep (3, 200 , 500) -- display warning message |
display.notify_box('Adjust your shutter time: 0.25-14 secs', 5000) |
lv.resume() |
else-- alright to use FRSP |
menu.set('Shoot','Silent Picture',1) |
msleep(LEmenu.submenu['Delay'].value*1000) |
check_bookend() |
repeat |
LE_count = LE_count +1 |
my_shoot() |
until LE_count FRSP_brackets |
check_bookend() |
menu.set('Shoot','Silent Picture',0) |
lv.resume() |
beep (3, 200 , 1000) -- display warning message |
display.notify_box('Script Finished Running', 5000) |
FRSP_brackets =0 |
end |
end |
LEmenu = menu.new |
{ |
parent ='Shoot', |
name ='LE Simulator', |
help ='Only uses FRSP', |
depends_on = DEPENDS_ON.LIVEVIEW, |
submenu = |
{ |
{ |
name ='Run Script', |
help ='Does what it says after pressing SET', |
depends_on = DEPENDS_ON.LIVEVIEW, |
select =function(this) if FRSP_brackets ~=0and lv.enabledthen task.create(go) end |
end, |
}, |
{ |
name ='LE Time?', |
help ='Simulated LE time in seconds', |
min =0, |
max =600, |
icon_type = ICON_TYPE.BOOL, |
select =function(this,delta) |
this.value= this.value+ delta |
if this.value> this.maxthen |
this.value= this.min |
elseif this.value< this.minthen |
this.value= this.max |
end |
end, |
warning =function(this) |
if LEmenu.submenu['LE Time?'].value~=0then |
FRSP_brackets =math.ceil(LEmenu.submenu['LE Time?'].value/camera.shutter.value) |
else |
FRSP_brackets =0 |
end |
if FRSP_brackets 0then |
return'LE bracket taking switched off' |
else |
return'Note: '..tostring(FRSP_brackets)..' brackets will be taken' |
end |
end |
}, |
{ |
name ='Delay', |
help ='Delays script start by stated number of secs', |
min =0, |
max =5, |
icon_type = ICON_TYPE.BOOL, |
select =function(this,delta) |
this.value= this.value+ delta |
if this.value> this.maxthen |
this.value= this.min |
elseif this.value< this.minthen |
this.value= this.max |
end |
end, |
},{ |
name ='Bookends?', |
help ='Places an overexposed frame at start and end of FRSP bracket set', |
choices = {'no','yes'}, |
} |
} |
} |
Pidgin To Da Max Download
Eh, who wen cockaroach all da manapua? The ultimate pidgin phrase. Can mean virtually anything. 1)Eh, you get any da kine? 2)Ho, brah, dat’s da kine. 3) She wen da kine foa get da kine foa da kine. Oh how precious! Did you see Pua’s new keiki? For, used in place of “to”. Easy foa say, hahd foa.
Pigeon To Da Max Download Pubg Mobile
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment