Unlock instant, AI-driven research and patent intelligence for your innovation.

Lens focusing method, system, equipment and medium

A focusing and lens technology, applied in the field of cameras, can solve the problems of inability to meet high-definition image acquisition, long focusing time, etc., and achieve the effect of improving convenience, good quality, and improving accuracy

Pending Publication Date: 2022-07-15
上海千映智能科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The software judges to calculate the black and white contrast of a value box line or square according to the algorithm to determine whether the focus is qualified. Commonly used charts are CTF line pair charts and checkerboard SFR charts, but the focal length judgment of this method is still not satisfactory. The acquisition of high-definition images takes a long time to adjust the focus, so a lens focusing method is required

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
  • Lens focusing method, system, equipment and medium
  • Lens focusing method, system, equipment and medium
  • Lens focusing method, system, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] see figure 1 , a lens focusing method provided by the embodiment of the application, in order to improve the focusing accuracy of the camera, so as to make the quality of image shooting better, the design adopts the entropy function based on statistical features to calculate the image sharpness, and uses the depth Learning and calculating the focal length and the actual distance, so that while improving the image quality, there is no need for continuous calculation when the motor is mobilized, so that the focal length can be directly adjusted, and the convenience is improved.

[0034] S1: Use the camera to capture multiple images with different distances of the subject reaching the preset definition, and record the focal length of any image and the actual distance between the camera and the subject, and save it to the database;

[0035] Before deep learning, it is necessary to collect a large number of subject distances and images with corresponding sharpness as training ...

Embodiment 2

[0062] see Figure 4 , which is a lens focusing system provided by the present invention, including a preset module 1, which is used for using a camera to collect a plurality of images of objects at different distances reaching a preset definition, and to record the focal length of any image and the camera The actual distance to the subject is saved to the database; the imaging formula of the camera is established according to the focal length and actual distance in the database;

[0063] The image acquisition module 2 is used to obtain an initial frame image, scan the initial frame image point by point, obtain an image matrix, and transmit it to the image processing device;

[0064] The sharpness calculation module 3 is used for the image processing device to use the entropy function based on statistical features to calculate the image sharpness; if the sharpness calculation result meets the preset threshold, the focusing operation is not performed; if the sharpness calculati...

Embodiment 3

[0068] see Figure 5 , an electronic device provided by the present invention, comprising at least one processor 6, at least one memory 7 and a data bus 8; wherein: the processor 6 and the memory 7 complete mutual communication through the data bus 8; The program instructions are executed by the processor 6, and the processor 6 invokes the program instructions to execute a lens focusing method. For example to implement:

[0069] Use the camera to collect multiple images of subjects at different distances to reach the preset definition, and record the focal length of any image and the actual distance between the camera and the subject, and save it to the database; According to the focal length in the database and the actual The imaging formula of the camera is established by the distance; the initial frame image is obtained, and the initial frame image is scanned point by point to obtain an image matrix, which is transmitted to the image processing device; the image processing...

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 a lens focusing method, system and device and a medium, and relates to the technical field of cameras. Comprising the steps of collecting images of a plurality of shot objects reaching a preset definition at different distances by using a camera, and storing the images in a database; establishing an imaging formula according to the database; obtaining an initial frame image, performing point-by-point scanning to obtain an image matrix, and transmitting the image matrix to an image processing device; carrying out image definition calculation; if the definition calculation result does not meet the preset threshold value, carrying out distance measurement on the shot object to obtain an actual distance of the shot object, and substituting the actual distance into an imaging formula to obtain a real-time focal length; driving the motor to change the focusing point along the axis pointing to the shot object to enable the focal length to be equal to the real-time focal length; in the focus changing process, continuously obtaining a new frame image and a corresponding focus position at a preset distance from the real-time focal length, and performing definition calculation at the same time; and the focusing is completed until the motor position with the highest definition is found. The shooting quality can be improved, and the focusing time is shortened.

Description

technical field [0001] The present invention relates to the technical field of cameras, and in particular, to a lens focusing method, system, device and medium. Background technique [0002] The lens focusing process is to adjust the distance between the lens and the SENSOR (sensor), so that the imaging object is focused on the SENSOR to achieve a clear image, and then the glue is cured. [0003] At present, there are two types of lens focusing, manual focusing and automatic focusing. There are also two types of focusing judgment methods, one is human eye judgment and the other is software judgment. The human eye judges whether the focusing is qualified according to the clarity of the subjective image card seen by the human eye. Commonly used subjective image cards include Newton's rings, sun maps, and line-to-image cards marked with numbers. Such image cards are convenient for human eyes to observe and image. There is a clear difference between blur and clarity. The soft...

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/232G06K9/62G06N20/10
CPCG06N20/10H04N23/671H04N23/67H04N23/667G06F18/2411
Inventor 马忻妍王鑫徐锬范增沈华东郭干城
Owner 上海千映智能科技有限公司