C++ code for the realization of the
4.0
Application background Homomorphic filtering to enhance the frequency filtering and gray-scale transformation is a combination of treatment methods. It is the image of the illumination reflection model as the basis of the frequency domain processing, the use of compressed gray range and enhanced contrast to improve the image processing technology. It is quite successful in the density field.An image f (x, y) can be considered as a combination of two components, i.e.F (x, y) =i (x, y).R (x, y)I (x, y) is the illumination component (the incident component), which is the light intensity of the incident to the scene;R (x, y) is the reflection component, which is reflected by the scenery.Specific steps are as follows:(1) at the same time, on the sides of the upper form, that is, theInf (x, y) =Ini (x, y) +Inr (x, y)(2) the upper and the two sides of the Fu Liye transform, theF (U, V) =I (U, V) +R (U, V)(3) F (U, V), (V,), can be obtained by using a frequency domain funct