A method is disclosed for achieving correct exposure, focus, or both in a
panoramic photograph that is stitched together from component
photographs. In one example embodiment, a camera user sweeps the camera
across the scene to be photographed, at least two measurements of scene
portion brightness are made during the sweep, the brightness measurements
are combined, and camera exposure settings are chosen based on the
combination.