Method and device for determining focusing position of camera

A determination method and camera technology, which can be used in color TV parts, TV system parts, TV and other directions, can solve the problem of difficulty in determining the focus position of the camera, and achieve the goal of reducing the difficulty of determination, increasing the difference, and being easy to identify. Effect

Pending Publication Date: 2022-06-07
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for determining the focus position of a camera, aiming to solve the problem that the focus position of a camera is difficult to determine

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
  • Method and device for determining focusing position of camera
  • Method and device for determining focusing position of camera
  • Method and device for determining focusing position of camera

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0050] refer to figure 2 , figure 2 It is the first embodiment of the method for determining the in-focus position of the camera of the present invention, and the method for determining the in-focus position of the camera includes the following steps:

[0051] Step S10, when the camera is in focus, acquire images imaged by moving the lens to each position in the camera, and determine the first contrast value of each pixel in the statistical area of ​​each image.

[0052] In this embodiment, when the camera is focusing, the motor drives the lens to move. Every time the lens moves to a position, the camera generates an image, and the camera associates the image with the position of the lens when the image was generated. After the lens is moved, the camera can acquire the images imaged by moving the lens to each position at one time, and then determine the contrast value of each pixel in the statistical area of ​​each image. The statistical region refers to a region of interes...

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 method and device for determining the focusing position of a camera, and the method comprises the steps: obtaining images formed by moving a lens in the camera to each position when the camera is focused, and determining a first contrast value of each pixel in a statistical region of each image; reducing the first contrast value smaller than a first threshold value to obtain each second contrast value of each statistical region; determining a third contrast value of the image where each statistical region is located according to each second contrast value of each statistical region, and determining a contrast curve according to each third contrast value; and determining the wave crest of the contrast curve, and determining the imaging position of the image corresponding to the third contrast value of the wave crest as the focusing position of the camera. According to the invention, the smaller contrast value in each pixel of the image is reduced, the difference of the contrast values of different images is increased, the steepness of the contrast curve is further increased, the wave crest of the contrast curve is easy to identify, and the difficulty in determining the focusing position of the camera is reduced.

Description

technical field [0001] The invention relates to camera focusing technology, in particular to a method and device for determining a focusing position of a camera. Background technique [0002] With the rapid development of mobile phones, the camera function of mobile phones has become more and more powerful, but the photos taken by mobile phones are still not comparable to those taken by cameras. [0003] The camera needs to focus before taking pictures to determine the focus position of the camera, so that the pictures taken by the camera are clearer. At present, the commonly used focusing method is contrast focusing. When a camera using contrast focusing is used for focusing, the motor in the lens module in the camera will drive the lens to move gradually from the bottom to the top. The contrast value corresponding to each image is used to form a contrast curve through the contrast value of each image. As the lens in the camera approaches or moves away from the actual foc...

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/232
CPCH04N23/67
Inventor 温瑞丹汪涛姬弘桢严敬仁
Owner SPREADTRUM COMM (SHANGHAI) 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