Autofocus method and autofocus device

An automatic focus and target position technology, applied in the field of image processing, can solve the problem of slow automatic focus, and achieve the effect of reducing the search range, improving the user experience, and reducing the number of searches.

Active Publication Date: 2018-03-02
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Take the hill-climbing search algorithm with variable step size as an example. When focusing starts, set the focus direction and larger step size, and calculate the focus evaluation function value while acquiring images. When the evaluation value of the latest acquired image is smaller than the evaluation value of the previous image , change the focusing direction; when crossing the peak again, reduce the step size, and finally find the best lens position, which makes the autofocusing speed slower in the traditional self-focusing method

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Autofocus method and autofocus device
  • Autofocus method and autofocus device
  • Autofocus method and autofocus device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0032] In order to better introduce the autofocus method of the embodiment of the present invention, the following combines figure 1 An autofocus device implementing an embodiment of the present invention is introduced.

[0033] Such as figure 1 As shown, the autofocus device 100 may include a lens 110 , a stepping motor 120 of the lens, a calculation module 130 and a control module 140 .

[0034] The lens 110 may be an optical component for generati...

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 provides an automatic focusing method and an automatic focusing device. The automatic focusing device includes a lens, a stepping motor, a calculation module and a control module. The autofocus method includes: the control module determines the movement interval L of the stepping motor; the lens acquires an image P1 when the stepping motor is located at the first end point of the two endpoints of L; The image P2 is acquired at the inner point; the lens acquires the image P3 when the stepping motor is located at the second inner point in L; the calculation module calculates the sharpness evaluation values ​​M1, M2 and M3 of P1, P2 and P3; the control module determines that L is greater than the first When a threshold value is reached, determine the new movement interval of the stepper motor according to M1, M2 and M3, and repeat the above steps; when the control module determines that L is less than or equal to the first threshold value, determine the target position of the stepper motor according to M1, M2 and M3 . The technical solution of the present invention can complete auto-focusing faster.

Description

technical field [0001] The invention relates to the field of image processing. In particular, it relates to an automatic focusing method and an automatic focusing device. Background technique [0002] With the rapid development of digital image and multimedia technology, more and more people pay attention to the automatic focus method based on image processing. The auto-focus method mainly includes the following three aspects: the selection of the focus window, the selection of the focus evaluation function, and the selection of the focus search strategy. The autofocus method is to obtain the sharpness characteristic value of the image according to a certain focusing evaluation function, and control the stepping motor according to the sharpness characteristic value to drive the lens or the image sensor to continuously search for a new position in a certain interval, and then The sharpness characteristic value of the image is reacquired at the new position until the sharpne...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G02B7/09G02B7/36G03B13/36
CPCG02B7/09G02B7/36G03B13/36
Inventor 陈敏周承涛王烨茹冯华君
Owner HUAWEI TECH CO LTD
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