Realization of Ray compensation algorithm

Source: Internet
Author: User

Recently ba la some of the implementation of the Ray compensation algorithm, it may be that the ability is relatively limited, see mostly is based on the face of detection in color images is the implementation of this paper.
From the effect point of view, it does have a bright, whitening effect. But from the point of view of the code itself, the final result is a controlled stretching of each channel separately. But this stretch of elasticity is "adaptive", Here I wonder: This will be able to remove the effect of the audio-visual? Or the so-called light compensation is not intended to achieve such an effect.

#include "stdafx.h" #include <cv.h> #include <cxcore.h> #include 

  

In
Mentioned in this paragraph


The first half of it looks much like this histogram method, but the latter section is very NB to point out "simulating the visual acuity of human vision curve", and gives the calculation formula. So this approach is ultimately a retinal enhancement algorithm, and of course it contains parts that compress too small areas.

Realization of Ray compensation 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.