Automatic focusing method and device, and mobile terminal

An automatic focus and focus area technology, applied in the field of communication, can solve problems such as inaccurate focus and blurred photos, so as to prevent out-of-focus phenomena, ensure focus accuracy, and improve the shooting experience

Inactive Publication Date: 2018-01-30
ZTE CORP
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main technical problem to be solved by the embodiments of the present invention is to provide an autofocus method, device and mobile terminal to solve the problem of inaccurate focus and blurred photographs when photographing a point light source in a dark environment in the prior art. question

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 device, and mobile terminal
  • Automatic focusing method and device, and mobile terminal
  • Automatic focusing method and device, and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] In a dark environment, in order to ensure the accuracy of focusing and prevent out-of-focus phenomena when taking pictures of point light sources, this embodiment provides an automatic focusing method. Please refer to figure 2 , including the following steps:

[0022] S101: In a dark light and point light source environment, obtain the number of effective white points in the focus area corresponding to different focal lengths, and the pixel brightness value of the effective white point is greater than or equal to a preset brightness threshold.

[0023] In order to avoid misjudgment and ensure accuracy, the scattered white points in the focus area are excluded, and the scattered white points are not effective white points; the criteria for judging effective white points include: each white point is within its m * The number of white dots in the neighborhood of n pixels is greater than or equal to a first preset number threshold.

[0024] Wherein, the first preset quant...

Embodiment 2

[0044] In a dark environment, when taking pictures of point light sources, in order to ensure the accuracy of focusing and prevent out-of-focus phenomena, this embodiment provides an automatic focusing device. Please refer to Figure 4 ,include:

[0045] The obtaining module 201 is used to obtain the number of effective white points in the focus area corresponding to different focal lengths in the dark light and point light source environment, and the pixel brightness value of the effective white point is greater than or equal to the preset brightness threshold.

[0046] The selection module 202 is configured to select, from different focal lengths, the focal length corresponding to the focal area with the smallest number of effective white points as the target focal length.

[0047] In order to avoid misjudgment and ensure accuracy, the scattered white points in the focus area are excluded, and the scattered white points are not effective white points; the criteria for judgin...

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 embodiment of the invention provides an automatic focusing method and device, and a mobile terminal. The method comprises: obtaining number of valid white spots in a focusing area corresponding todifferent focal lengths under a dark light and point light source environment, wherein pixel brightness values of the effective white spots are larger than or equal to a preset brightness threshold;and selecting a focal length corresponding to a focusing area with the least number of valid white spots in different focal lengths as a target focal length. Through adoption of the scheme, in a darklight environment, a focal length corresponding to a focusing area with the least number of valid white spots in different focal lengths as a target focal length, and a focal length corresponding to afocusing area with the least number of valid white spots is namely a spot focusing as clearly as possible, so that focusing accuracy is ensured, an out-of-focus phenomenon is avoided, and user shooting experience is improved.

Description

technical field [0001] The present invention relates to the communication field, in particular to an automatic focusing method, device and mobile terminal. Background technique [0002] In a dark environment, when taking pictures of point light sources such as candles and neon lights, refer to figure 1 , the existing focus method is to take the contrast of the input image as the sharpness value, create a focus curve with the sharpness value as the vertical coordinate, and the focal length as the horizontal coordinate, and take the maximum point on the focus curve as the focus point, which is a pseudo focus point Focus, due to the halo of the point light source in the dark light environment, the point with the clearest focus is not at the maximum value of the focus curve, and if you continue to use the maximum point on the focus curve as the focus point, the focus will be inaccurate , The problem of blurred photos affects the user's shooting experience. [0003] In view of ...

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): G02B7/28G03B13/36H04N5/232G03B30/00
Inventor 陆勇李飞
Owner ZTE CORP
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