Patent ID: 8009978

Claim:
A handheld electronic device comprising: an input apparatus comprising a camera apparatus and being structured to provide input to a processor apparatus; an output apparatus structured to receive output signals from the processor apparatus and to provide output; the camera apparatus comprising a camera and a flash; the camera comprising a sensor, a camera lens, and a processor system having a lens shading routine executable thereon; the flash comprising a light source and a flash lens; the lens shading routine being structured to employ compensation parameters stored in a plurality of storage registers in performing a processing operation on an image signal from the sensor, the lens shading routine being further structured to be executable on the processor system to cause the camera apparatus to perform operations comprising: storing compensation parameters for processing a non-flash image in the storage registers of the camera; overwriting at least a portion of the storage registers to provide compensation parameters for processing a flash image; processing a flash image signal in accordance with the compensation parameters for processing a flash image; and overwriting the storage registers to restore the compensation parameters for processing a non-flash image when processing of the flash image signal is completed.