Automatic focusing searching algorithm

An automatic focus search and algorithm technology, applied in the field of image processing, can solve the problems of long time consumption, low algorithm accuracy, low focusing efficiency, etc., to achieve the effect of improving accuracy and avoiding the influence of local peaks

Inactive Publication Date: 2017-12-22
UNIV OF SHANGHAI FOR SCI & TECH
View PDF2 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional focus search algorithm needs to collect a large number of images for processing, which takes a long time and has low focus efficiency; and because the sampling rate and sampling starting point are different,...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Combining the hill-climbing search method and the function approximation method for auto-focusing, the hill-climbing search method of this algorithm is a two-stage algorithm combining roughness and fineness: when rough focusing, the large step distance uses a faster gray variance function; when fine focusing , the small step distance uses the Laplacian function to determine the search direction by comparing 3 images and continuously narrows the focus range until the focus range is less than or equal to the set threshold. In the determined small interval, the function approximation method is used to fit and analyze the best focus position.

[0016] The specific steps of the autofocus search algorithm are as follows:

[0017] 1) At any position, with a fixed step size m 1 Continuously collect three images, and calculate the corresponding focus evaluation function values ​​of the three images (in the case of rough focusing, the gray variance evaluation function is used; i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an automatic focusing searching algorithm, which combines a Hill Climbing searching method and a function approaching method. In the algorithm, the Hill Climbing searching method adopts a two-stage algorithm combining coarse and fine focusing: in the coarse focusing, a long pace selects a gradation variance function to fast approach to a focusing position considering the rapidity of the algorithm; and in the fine focusing, a shorter pace adopts a Laplacian function to accurately focus the position considering the sensitivity of the algorithm. A focusing interval is narrowed by comparing three images and an optimal focusing position is fitted using the function approaching method in small intervals. By using the method, image acquisition and assessment times are reduced, an automatic focusing duration of a system is shortened and the searching efficiency of the algorithm is improved; and the influence of a local peak can also be avoided by comparing evaluation function value of the three continuous images. An extreme point is provided by fitting analysis, which makes the extreme point more close to the position of the optimal focusing point, thus algorithm precision is improved significantly.

Description

technical field [0001] The invention relates to an image processing technology, in particular to an automatic focus search algorithm combining a hill-climbing search method and a function approximation method. Background technique [0002] The autofocus method based on the depth of focus method is easy to implement, and the search algorithm is the key technology of the depth of focus method. The traditional focus search algorithm needs to collect a large number of images for processing, which takes a long time and has low focus efficiency; and because the sampling rate and sampling starting point are different, the traditional search algorithm is likely to cause the obtained position with the global maximum focus evaluation function to be incorrect. The accuracy of the algorithm is relatively low for the problem of the best focus position. Contents of the invention [0003] The invention aims at the problems existing in the traditional auto-focus search algorithm, and pro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N5/232
CPCH04N23/67
Inventor 江旻珊张楠楠张学典
Owner UNIV OF SHANGHAI FOR SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products