With traditional exposure bracketing it's likely that some parts of the image may still be clipped.
With this script you will have details on the entire image, no clipped regions. Prior to writing this script I've taken many HDR images but have been disappointed because quite often the image still has lots of clipped shadows and highlights because I did not use a wide enough range when taking the images.
This script solves this problem by first taking a normal exposure then taking brighter pictures until all pixels in the image meets a minimum threshold. The script then does the opposite for highlights.
Also it takes a dark frame after each picture which is very important for long exposures.
Also this script has the option to turn off the camera when it's done.
Testing results:
Camera Model | Results |
A1100 IS | Works great even for a 2048 second exposure. This camera has higher dark current than my A2200 but the final result seems a-bit cleaner. |
A2200 IS | It failed after taking a 2048 second exposure. The associated dark-frame for some reason had more time in the metadata and the RAW data was black but the JPEG looked correct. |
SX 150 IS | If the exposure is too long it will not take the dark frame, instead it will time out on the raw hook. |
SX 230 HS | It correctly did a 512 second exposure and the associated dark frame then after that it took the next exposure in the sequence but for some reason the dark frame after it had a longer exposure time then it failed after that. Also I used this on a bright day and it got stuck in the highlight loop because the camera did not support a higher shutter speed. |
There is still some area for improvement in this script. The main issue is that it fails on very long exposures.
Also while making this script I've used the wiki quite extensively. I've tried to cite where I got all my information from but if I missed anything I apologize.