Color image automatic focusing method
A color image, automatic focusing technology, applied in the field of image processing, can solve the problems of loss of color information, loss of color information, unable to obtain the best focus position, etc., to achieve the effect of accurate evaluation results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
[0029] Step 1, calculate the red-green antagonism graph and the blue-yellow antagonism graph:
[0030] (1.1) input the original image of RGB mode, its width is counted as W, and its height is recorded as H; the original image is decomposed into three color channel images of red (R), green (G) and blue (B);
[0031] (1.2) Utilize two color channel images of red and green to obtain a yellow (Y) channel image;
[0032] Y=(R+G) / 2
[0033] (1.3) Use R, G, B, Y to calculate the red-green antagonism map I rg and blue-yellow antagonism Figure I by ;
[0034] I rg =R-G
[0035] I by =B-Y
[0036] Step 2: Sampling the pixel positions of the same size as the original image, respectively constructing a linked list of sampling points L rg and the sampl...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


