Exposure determination for high dynamic range imaging