Autofocus algorithm
An automatic focusing and algorithm technology, applied in the field of image processing, can solve problems such as low focusing efficiency, reduce the number of searches, and improve focusing efficiency and accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] In order to make the technical means and effects realized by the present invention easy to understand, the present invention will be described in detail below in conjunction with the embodiments and accompanying drawings.
[0031] figure 1 is a flow chart of the autofocus algorithm in an embodiment of the present invention.
[0032] like figure 1 As shown, a kind of automatic focusing algorithm of the present embodiment comprises the following steps:
[0033] figure 2 is a schematic diagram of the curve fitting process in the embodiment of the present invention.
[0034] like figure 2 As shown, in step 1, two consecutive focus images of the target object are collected as the first focus image and the second focus image respectively, and the step size of the stepping motor is preset as SW 0 , the stroke is L, then use the sobel gradient function to calculate respectively the focus evaluation function value of the first focus image and the focus evaluation function...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


