I am looking for a script for focus stacking with Raynox DCR 250. There is already default script there but it is linear and that is better suited to stock lenses and, with the Raynox 250 attached, I think it needs to exponential focus. Can anyone help me find such script or may be some setting with that default stacking script? I am using a Canon SX40.
I have just written a focus-bracketing script for closeup lenses, including the Raynox 250. Here is a link to my article, which contains documentation of the script as well as the script itself: http://www.dpreview.com/articles/9780512447/focus-bracketing-scripts-for-macro-setting-and-for-closeup-lenses Here is another link to some outdoor stacked images made using the script http://www.dpreview.com/forums/thread/3508821
Really old thread. Anyway, it seems people confuse 'stacking' and 'bracketing'. Bracketing is used to capture a number of pictures of a scene while varying a parameter, exposure, focus, what have you. Stacking is a post processing technique for combining bracketed photos to create HDR or increased depth of field, for instance.
For the original posters question, long time back i loaded up my Canon A720IS with the hacked CHDK firmware which facilitates scripting and wrote a script based on the hyperfocal distances. It worked ok and stacking the focus bracketed shots did result in enhanced DOF.
Some google fu came up with https://chdk.fandom.com/wiki/UBASIC/Scripts/CanonA640:_Focus_Bracketing
I don't think you need to use a special "script". There are some softwares that do the trick and are easy to use.
If by any chance you're using photoshop, this guide will help you:
I was using it to stack 20 photos and it works great for me.