Image white balance processing method, device and camera
A white balance and image technology, applied in the field of image processing, can solve the problems of poor effect and low user experience, and achieve the effect of small calculation amount and accurate channel gain.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0147] Assume that the number of initial particles corresponding to each frame image is two, such as Image 6 As shown, for the first frame image captured by the camera, perform the following steps:
[0148] Step 601, calculate g / r and g / b corresponding to each pixel in the first frame image.
[0149] Step 602, respectively calculate the average value d1 of g / r and the average value d2 of g / b in the first frame image.
[0150] In step 603, the vector composed of d1 and d2 is used as the first frame image corresponding to the first initial particle.
[0151] Step 604, use the vector composed of d1-l and d2 as the first frame image corresponding to the second initial particle.
[0152] Step 605, using the first initial mass point and the second initial mass point corresponding to the first frame image as the initial mass point of the K-means clustering algorithm, and after executing the K-means algorithm, two actual mass points corresponding to the first frame image are obtain...
Embodiment 2
[0161] On the basis of Example 1, as Figure 7 As shown, for the first frame image captured by the camera, perform the following steps:
[0162] Step 701, use the two actual particles corresponding to the first frame image as the two initial particles corresponding to the second frame image, and according to the two initial particles corresponding to the second frame image and the K-means clustering algorithm, get The two actual particles corresponding to the second frame image.
[0163] Step 702, for each actual mass point, calculate the actual mass point in log 2 (g / r) is the abscissa, in log 2 (g / b) is a corresponding coordinate point in the coordinate system of the ordinate, and the color temperature zone to which the coordinate point belongs is determined.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


