摘要 |
PROBLEM TO BE SOLVED: To provide an image processing method and device that uses an upsilon filter so as to properly extract borders of illuminations even when a plurality of the different illuminations exist and suppresses production of an unnatural image pattern thereby realizing subjectively preferable compression of the dynamic range. SOLUTION: The image processing method and device calculates the edge strength G (x, y) for each position on an input image, and a threshold E (x, y) of the upsilon filter 12 is controlled on the basis of the edge strength G (x, y). The upsilon filter 12 applies filter processing to the input image on the basis of the controlled threshold E (x, y). Since the threshold E of the upsilon filter 12 is adaptively changed in response to a local gradient of a pixel I (x, y), the image processing method and device can more accurately extract the illuminance borders than in the case with using a linear low-pass filter or an upsilon filter whose threshold is fixed. |