just extending this conversation to others. i've been working on the night time lapse script and i've become curious about what it would take to create a script which does long exposure by examining the histogram.
from a private message with fudgey -
Quote from: mattkime on Today at 07:34:56
I'm curious what kind of algorithm you'd suggest for regular photography. while i'm fairly experienced as both a photographer and a programmer, the idea of judging proper exposure based on a histogram intimidates me.
Hmm... haven't thought about that... and haven't really dug into what sort of data that histogram dump gives us. This should be a public thread.
But if you can turn the histogram data into a measure of approximate underexposure in matter of exposure value, maybe it would suffice to do something like
1) use and automatic mode (Av or P in a570is) with flash disabled and half shoot. Read which Tv camera wants to use.
2) If Tv is less than 1 second, shoot, end. No need for any special tricks since Canon autoexposure is still working.
3) If Tv => 1 second (longest exposure Canon autoexposure can decide is 1s in all cameras AFAIK), enable histogram capture and shoot.
4) Check histogram. Determine how much it's underexposed, shoot with increased Tv.
5) Check histogram. If it's overexposed, adjust and reshoot. If it's underexposed more than a set threshold (such as 2 Ev; maybe the threshold should vary with length of exposure so that longest exposures are given some more slack since they take lots more time to repeat).
Very dark scenes will only have noise in the 1 second exposure. I don't know what sort of a histogram that results in. Needs a whole lot of experimenting.