Patent Document ID: 9262690
Application ID: 14010561
Patent Status: 1

Claim One:
1. A method for detecting glare pixels of an image comprising an object, adapted for an electronic device, comprising: processing the image to remove overexposed pixels from the image to generate a first image; processing the first image to remove non-object pixels from the first image to generate an object pixel image; and detecting the glare pixels from the object pixel image according to a saturation distribution threshold and an intensity distribution threshold, wherein the saturation distribution threshold and the intensity distribution threshold are dynamically adjustable non-zero integers in a Hue-Saturation-Intensity (HSI) color space domain, wherein each pixel in the object pixel image comprises a corresponding HSI pixel value in the HSI color space domain, each of the HSI pixel values comprises a H component value, a S component value, and an I component value, wherein the saturation distribution threshold is determined according to a statistical distribution of the S component values of the pixels in the object pixel image, and wherein the intensity distribution threshold is determined according to a statistical distribution of the I component values of the pixels in the object pixel image.