Automatic exposure control method and device based on red component feature detection
An automatic exposure and feature detection technology, applied in the field of image processing, can solve problems such as unfavorable video effect presentation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as figure 2 shown, since color drawings cannot be used, the figure 2 What is displayed is a grayscale image, in which the dark color area is actually the red area in the color image, that is, the area with rich red components;
[0046] figure 2 The image on the left is the image effect of the commonly used median exposure, the red median value is 205, the green median value is 80, and the blue median value is 65. The overall median value of the three channels of the image is 105. Because the red component of the figure is very different from other components. Therefore, based on the overall exposure of the image, the overall image appears red.
[0047] Adopt the method of the present invention to carry out exposure control, the target value of image exposure is set as 105, and concrete process is as follows:
[0048] Define H[256] as an array with a length of 256, and initialize all values to 0;
[0049] Define the pixel value of the red channel as R, th...
Embodiment 2
[0056] Embodiment 2 specifically proposes the device required to complete the automatic exposure control method based on red component feature detection in the present invention, and the device mainly includes the following modules:
[0057] 1. The array H definition module is used to define an array H[256], and set the initial value of each element in the array to zero;
[0058] 2. The R value obtaining module is used to obtain the value of the red channel pixel value R of each pixel of the image;
[0059] 3. The array H assignment module is used for: if the value of the red channel pixel value R of a certain pixel is v, then make H[v]= H[v]+1 in the array; calculate accordingly for each pixel of the image The formula is executed once; the finally generated array H is the histogram of the image;
[0060] 4. Array C definition module, used to define another array C[256], the value of each element in the array is C[x] = H[0] + H[1] + ... + H[x-1], x =0,1,...,255; The generate...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

