Automatic focusing method and system

An auto-focus and focus range technology, applied in the field of image processing, can solve problems such as increased return distance, prolonged focus time, and poor user experience, achieving fast focus, ensuring focus accuracy, and improving customer experience.

Active Publication Date: 2021-12-14
WUHAN GUIDE SENSMART TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. If the mountain-climbing search thinks that the sharpness ratio has decreased, it will cross the peak sharpness, easily fall into a local optimum, and have poor anti-interference;
[0005] 2. There are multiple reverse processes in the mountain climbing search, which increases the impact of the backhaul difference and prolongs the focusing time, resulting in poor user experience

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
  • Automatic focusing method and system
  • Automatic focusing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] This embodiment provides an autofocus method, such as figure 1 As shown, it includes the following steps:

[0057] S0. Initialize the parameters of the autofocus, which specifically includes the following steps:

[0058] Make the compressed image sharpness peak Kmax=1, the sharpness ratio Kmaxpre=0 of the previous frame image of the image corresponding to the sharpness peak value, and the sharpness ratio Kmaxnext of the next frame image of the image corresponding to the sharpness peak value Kmaxnext= 0, the image sharpness peak position maxId corresponding to the sharpness peak Kmax = 0, the number of consecutive unupdated frames Nmax = 0, the image sharpness compression base value BaseC = 0, the sharpness ratio of the previous frame image of the current frame image Kpre=0, the sharpness ratio of the previous frame image of the current frame image is the maximum value ifMaxpre=0 among the sharpness ratios of all remaining images except the current frame image.

[0059...

Embodiment 2

[0092] This embodiment provides an autofocus system that implements the autofocus method described in Embodiment 1, such as figure 2 shown, which includes:

[0093] A motor position acquisition unit 1, which is used to acquire the motor position; in this embodiment, the motor position acquisition unit 1 includes a position detection device such as a photoelectric sensor;

[0094] A parameter initialization unit 2, which is connected to the motor position acquisition unit 1, is used to determine the initial position of the motor during preliminary focusing and the farthest position that the motor can reach during preliminary focusing. The determination process is the same as step S12, and will not be described again;

[0095] Compression base value acquisition unit 3, which is connected to the parameter initialization unit 2, is used to use the sharpness ratio of a certain image as the image sharpness compression base value; The process of the motor starting position;

[009...

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 discloses an automatic focusing method and system. The automatic focusing method comprises the following steps: acquiring an image definition compression base value; completing preliminary focusing; obtaining a fine focusing range; and quickly driving a motor to rotate according to the fine focusing range, and traversing the definition ratio of each image in the fine focusing range until the image position with the maximum image definition ratio is determined, so as to complete automatic focusing. According to the invention, rapid focusing can be realized, the fine focusing range is small, the focusing precision is high, and the customer experience is good.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a fast autofocus method and system. Background technique [0002] At present, most image information-based contrast focusing methods complete focusing, which mainly includes the following steps: selecting a focus window, selecting a sharpness function, and searching for a focus position. [0003] Among them, the search strategy used to search for the focus position is a key factor affecting the focus accuracy and speed. Currently, the mountain-climbing search algorithm is often used to complete the search for the focus position, but it has the following problems: [0004] 1. If the mountain-climbing search thinks that the sharpness ratio has decreased, it will cross the peak sharpness, easily fall into a local optimum, and have poor anti-interference; [0005] 2. There are multiple reverse processes in the mountain climbing search, which increases the impact of the backhaul diffe...

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 Applications(China)
IPC IPC(8): H04N5/232G02B7/38
CPCG02B7/38H04N23/675
Inventor 周晴陈安松崔昌浩周汉林
Owner WUHAN GUIDE SENSMART 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