Method and apparatus for detecting fog from image
AssigneeHanwha Techwin Co., Ltd.
InventorsYoung Hyun Lee, Yil Kwon Chang
Life of this patent
Estimating the term…
Abstract
Provided is a method for detecting fog from an image, the method including: generating a histogram based on a luminance signal of the image; calculating a histogram width from the histogram; calculating a color contrast value based on color signals of the image; and detecting a fog level of the image based on the histogram width and the color contrast value.
Claims20
A method of detecting fog from an image, the method comprising:
- determining a color domain of the image;
- converting the determined color domain of the image to obtain a luminance signal of the image and RGB values of pixels of the image;
- generating a histogram based on the luminance signal of the image;
- calculating a histogram width from the histogram;
- calculating a color contrast value based on the RGB values of pixels of the image;
- and
- detecting a fog level of the image based on the histogram width and the color contrast value.
An apparatus for detecting fog from an image, the apparatus comprising at least one processor to implement:
- a detector configured to determine a color domain of the image, convert the determined color domain of the image to obtain a luminance signal of the image and RGB values of pixels of the image, generate a histogram based on the luminance signal of the image, calculate a histogram width from the histogram, calculate a color contrast value based on the RGB values of pixels of the image, and detect a fog level of the image based on the histogram width and the color contrast value.
An apparatus for detecting fog from an image, the apparatus comprising at least one processor to implement:
- a detector configured to generate a histogram based on a luminance signal of the image, calculate a histogram width from the histogram, calculate a color contrast value based on color signals of the image, and detect a fog level of the image based on the histogram width and the color contrast value,
- wherein the detector is further configured to detect the fog level by using an exponential function of a linear combination of the histogram width and the color contrast value.
Dependencies are inferred from the claim text.