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