Claims
- 1. A method of compensating for non-uniform lighting in digital imaging comprising:
capturing a reference image under given lighting conditions; calculating a measure of the non-uniformity in lighting over said reference image; saving said measure over said reference image as a lighting calibration file; capturing an actual image of an object substantially under said given lighting conditions, and modifying said actual image by reference to said lighting calibration file.
- 2. The method of claim 1 further comprising displaying a visualization of said reference image.
- 3. The method of claim 2 wherein said visualization comprises exaggerating respective bright and dark regions within said reference image.
- 4. The method of claim 3 wherein said exaggerating said bright and dark regions of said reference image comprises normalizing data points with respect to a maximum tolerable deviation in lighting.
- 5. The method of claim 3 wherein said exaggerating respective bright and dark regions comprises utilizing a function of an approximate measure of perceived luminance.
- 6. The method of claim 2 wherein said visualization comprises carrying out an encoding utilizing the CIELAB system.
- 7. The method of claim 1 wherein said measure of the non-uniformity in lighting over said reference image comprises an approximate measure of light intensity.
- 8. The method of claim 7 wherein said approximate measure of light intensity comprises an average of red, green and blue pixel brightness levels for respective image pixels.
- 9. The method of claim 7 wherein said approximate measure of light intensity comprises data smoothed by a spatial convolution with a circularly symmetric, uniform or Gaussian kernel.
- 10. The method of claim 1 wherein said reference image and said actual image are captured by a digital camera.
- 11. The method of claim 1 wherein said reference image and said actual image are captured by a color filter array.
- 12. An apparatus for digital imaging which compensates for non-uniform lighting, comprising:
an image capture device; and a processor connected with said image capture device; said processor comprising:
a) image visualization functionality, associated with said image capture device, for generating a visualization of a reference image; and b) image processing functionality, associated with said image visualization functionality for:
measuring deviations in lighting levels over said visualization, using said measured deviations to form a lighting calibration file, and modifying brightness levels of further images captured by said image capture device, using said lighting calibration file.
- 13. The apparatus of claim 12 wherein said visualization comprises exaggerating brightness levels in respective bright and dark regions of said reference image.
- 14. The apparatus of claim 13 wherein said exaggerating comprises normalizing data by a maximum tolerable deviation in lighting.
- 15. The apparatus of claim 13 wherein said exaggerating comprises using a function of an approximate measure of perceived luminance.
- 16. The apparatus of claim 12 wherein said visualization comprises using an encoding utilizing the CIELAB system.
- 17. The apparatus of claim 12 wherein said measuring deviations comprises using an approximate measure of light intensity.
- 18. The apparatus of claim 17 wherein said approximate measure of light intensity comprises the average of red, green and blue pixel brightness levels.
- 19. The apparatus of claim 17 wherein said approximate measure of light intensity comprises measuring brightness using data smoothed by a spatial convolution with a circularly symmetric, uniform or Gaussian kernel.
- 20. The apparatus of claim 12 wherein said image capture device comprises a digital camera.
- 21. The apparatus of claim 12 wherein said image capture device comprises a digital color array.
- 22. Apparatus for compensating for non-uniform lighting in digital imaging comprising:
an image capture device for capturing a reference image under given lighting conditions; a brightness calculating unit for calculating measures of non-uniformity in lighting over said reference image; memory, associated with said brightness calculating unit, for saving said measure over said reference image as a lighting calibration file; said image capture device further being operable to capture an actual image substantially under said given lighting conditions, wherein said apparatus comprises an image modifier, associated with said memory, for modifying said actual image by reference to said lighting calibration file.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] The present application claims the benefit of the filing date of co-pending U.S. provisional application, Ser. No. 60/365,050 filed Mar. 14, 2002, entitled “METHOD AND APPARATUS FOR COMPOSING FLAT LIGHTING AND CORRECTING FOR LIGHTING NON-UNIFORMITY”.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60365050 |
Mar 2002 |
US |