Electronic device and method for removing haze from image
AssigneeMobile Drive Technology Co., Ltd.
InventorsChun-Hsiang Huang, Ting-Hao Chung, Chun-Yi Wang, Yu-Feng Kuo
Life of this patent
Estimating the term…
Abstract
A method for removing haze from an image is provided. The image is converted to S(x) and V(x), the S(X) is saturation component of the image, and the V(x) is value component of the image. The S(x) is filtered to obtain S′(x), and the V(x) is filtered to obtain V′(x). A depth d(x) is estimated by calculating a difference between the S′(x) and V′(x). Once a transmission map t(x) is calculated based on the d(x), haze is removed from the image based on the transmission map t(x).
Claims15
A method for removing hazy from an image applied to an electronic device, the method comprising:
- converting the image to S(x) and V(x), wherein the S(x) is a saturation component of the image, and the V(x) is a value component of the image;
- filtering the S(x) to obtain S′(x), and filtering V(x) to obtain V′ (x);
- estimating a depth d(x) by calculating a difference between the S′(x) and V′(x);
- calculating a transmission map t(x) based on the d(x);
- and
- removing haze from the image based on the transmission map t(x) and obtaining a haze-free image J(x).
An electronic device comprising:
- a storage device;
- at least one processor;
- and
- the storage device storing one or more programs, which when executed by the at least one processor, cause the at least one processor to:
- convert the image to S(x) and V(x), wherein the S(x) is a saturation component of the image, and the V(x) is a value component of the image;
- filter the S(x) to obtain S′(x), and filter V(x) to obtain V′(x);
- estimate a depth d(x) by calculating a difference between the S′(x) and V′(x);
- calculate a transmission map t(x) based on the d(x);
- and
- remove haze from the image based on the transmission map t(x) and obtain a haze-free image J(x).
A non-transitory storage medium having instructions stored thereon, when the instructions are executed by a processor of an electronic device, the processor is configured to perform a method of removing haze from an image, wherein the method comprises:
- converting the image to S(x) and V(x), wherein the S(x) is a saturation component of the image, and the V(x) is a value component of the image;
- filtering the S(x) to obtain S′(x), and filtering V(x) to obtain V′(x);
- estimating a depth d(x) by calculating a difference between the S′(x) and V′(x);
- calculating a transmission map t(x) based on the d(x);
- and
- removing haze from the image based on the transmission map t(x) and obtaining a haze-free image J(x).
Dependencies are inferred from the claim text.