By request in another thread and by personal message, 'tgran' has asked me to post a build for the A570 101a that supports the new 'motion stillness' commands.
He has also requested detailed information regarding what else is included.
You can download the ZIP file here
http://www.zshare.net/download/68382044f3d61d4e/There are two new commands 'shoot_when_camera_steady' and 'shoot_when_no_movement_for'
The first detects minimum camera movement and then takes a photo.
Useful when camera is on a monopod in a dull environment or when hand-holding at telephoto setting.
It requires just two parameters, a sensitivity setting and a parameter for success/time-out return value.
Time-out is fixed at ten seconds.
Motion detection is checked three times over 700 msec.
If the difference between both the first two readings and the last two are less than calculated value photo will be taken and value '1' returned.
If no photo taken within ten seconds, command ends and returns '0'.
To help indicate camera-shake, the inner 77 of the 96 luminance sample-points are displayed as small,rectangular boxes.
You can concentrate on the contents of one of the boxes and try to keep it as steady as possible.
It is not yet known if this command or 'shoot_when_no_movement_for' will be more suitable for KAP.
Here is a simple test script :-
@title Camera-shake test
@param a sensitivity
@default a 128
sync_off
:md_loop
rem the larger the sensitivity value, the more difficult to hold steady enough
rem 'b' returns '0' if timeout, '1' if success
b=0
print "About to shoot"
shoot_when_camera_steady a, b
print N," ", b
N = N + 1
sleep_for_seconds 5
goto "md_loop"
end
The 'shoot_when_no_movement_for' command operates over a longer time-scale.
It could be useful for microscopy (protists ?), nature photography or possibly KAP.
It has two mandatory parameters, the length of time (in seconds) that there must be no movement for and a return parameter for success/time-out indication.
The default time-out is ten seconds and sensitivity is 128.
Both those values can be parameters three and four.
Motion is checked-for at the start, middle and end of the 'no motion' time.
Here is a simple script :-
@title No-movement test
@param a time still
@default a 5
@param c sensitivity
@default c 128
@param d timeout
@default d 10
sync_off
:md_loop
b=0
print "About to shoot"
shoot_when_no_movement_for a, b, c, d
print N," ", b
N = N + 1
sleep_for_seconds 5
goto "md_loop"
end
There is also a new 'get_luminance' command that returns the average luminance value of 96 samples taken from a 24x16 pixel area in the middle of the screen.
It acts as a spotmeter, but how that relates to scene brightness is unknown.
@title Spot meter
N=1
:test_md_loop
get_luminance a
print N," Luminance ", a
N = N+1
goto "test_md_loop"
Fudgey's MDFB-080914 now has an option to display the luminance sample-point locations with or without the grid.
A modified version of the script is in the ZIP file.
Finally, two commands for making the entry of aperture or shutter-speed overrides easier:
shutter_speed 1/5000
aperture 5.6
(those are the commands and that is how the values are entered)
This build is for testing only.
David