Image de-Fog algorithm

Source: Internet
Author: User

Preface:--first to explain the background, has been doing FPGA hardware, because the business needs to do image processing. Started by a small white, from Reading Gonzalez began the image processing road. In the middle also experienced a lot of bumpy twists and turns, not much to say the open picture.

Read some of the image to fog papers and materials, found that most of the "Dr. He Keming (Hong Kong University) proposed by the Dark channel transcendental theory to do research", I also wrote about Dr. Ho's article, really convinced of the feeling.

The paper is named "Single Image haze removal using dark channel prior"

In this paper, the parameters are explained as follows: I (x) is the fog image (the image to be fog), J (x) is a fog-free image that needs to be restored, a is the global atmospheric light composition, t (x) is the transmittance. Now the known condition is I (x), in order to be able to seek the target value J (x). The author puts forward the theory of dark channel transcendental-that is, the dark channel of normal non-fog natural landscape image is tending to all black, which should be the value of 0 per pixel.

The steps of the algorithm are:

1 Find the input fog image (each channel of the image participates in the operation, RGB) of the dark channel data.

2 Take A, (I chose the maximum in the Dark Channel as a)

3 drawn by 1 and 2 T (x)

4 fog-free diagram from 3

Here are a few comparison charts.

Write here today, follow up to perfect.

Image de-Fog algorithm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.