Automatic focusing algorithm
An autofocus and algorithm technology, applied in the field of image analysis, to achieve the effect of increasing search speed, improving focus accuracy and stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] The present invention will be described in detail below in conjunction with accompanying drawing and specific embodiment:
[0045] Such as image 3 As shown, a kind of automatic focusing algorithm of the present invention is characterized in that, comprises the following steps:
[0046] L1: The focus motor of the camera moves down 80 steps, and executes step L2;
[0047] L2: determine whether the traversal is completed, if the traversal is not completed, then execute step L3; if the traversal is completed, then execute step L4;
[0048] L3: Calculate the sharpness of the image, and judge the sharpness and the set threshold. If the sharpness is less than or equal to 1 / 2 of the set threshold, the focus motor will move up 12 steps. If the sharpness is less than or equal to 2 of the set threshold / 3 and greater than 1 / 2 of the set threshold, the focus motor moves up 8 steps, if the sharpness is greater than 2 / 3 of the set threshold, the focus motor moves up 4 steps; and e...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


