Automatic focusing method and apparatus and mobile terminal

An automatic focus and focus value technology, applied in the field of photography, can solve problems such as out-of-focus, inaccurate focus, inaccurate focus points, etc., to reduce the probability of being misjudged as a point light source, ensure focus accuracy, and improve user experience. Effect

Inactive Publication Date: 2016-06-22
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the subject in the focus area is a point light source, the focus point determined by the above method is not accurate, resulting in out of focus, so when it is judged that the subject is a point light source, it is necessary to focus on the point The light source is processed to ensure accurate focus
[0004] When users use mobile terminals to take pictures, they often encounter the reflection of the subject. At this time, the subject is likely to be misidentified as a point light source
Especially when the user uses a mobile terminal to shoot down to a certain scene, the subject is likely to reflect light from light sources in other directions, and then be misidentified as a point light source. At this time, the mobile terminal will focus on the The reflective subject is subjected to point light source related processing, resulting in inaccurate focus (out of focus)

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a schematic flow chart of an autofocus method provided in Embodiment 1 of the present invention. The method can be executed by an autofocus device, wherein the device can be implemented by software and / or hardware, and can generally be integrated in a mobile terminal. like figure 1 As shown, the method includes:

[0025] Step 101 , when the focus event is triggered, if it is detected that the camera is at the first position, determine the first point light source determination condition.

[0026] Wherein, the first position is the position corresponding to when the surface of the camera faces downward and the included angle with the vertical plane exceeds a preset angle threshold, and the first point light source determination condition is stricter than the second point light source determination condition, The second point light source judging condition corresponds to a position where the camera is outside the first position.

[0027] Exemplarily, the...

Embodiment 2

[0039] Figure 4 It is a schematic flow chart of an autofocus method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments, and refines the determination conditions for the first point light source and the second point light source. like Figure 4 As shown, the method of the present embodiment includes the following steps:

[0040] Step 401: When the focus event is triggered, if it is detected that the camera is at the first position, then determine the first point light source determination condition as the maximum focus value and The focus value ratio of the minimum focus value is higher than the first preset threshold.

[0041] Wherein, the first position is the position corresponding to when the surface of the camera faces downward and the included angle with the vertical plane exceeds the preset angle threshold; the second point light source determination condition is the subject image obtained when the...

Embodiment 3

[0050] Figure 5 It is a schematic flowchart of an autofocus method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments, and the determination condition for determining the first point light source is refined. like Figure 5 As shown, the method of the present embodiment includes the following steps:

[0051] Step 501, when the focus event is triggered, if it is detected that the camera is in the first position, determine the first preset threshold according to the angle between the surface of the camera and the vertical plane, and determine the first point light source judgment condition as when the lens is in a different position The ratio of the focus value of the maximum focus value to the minimum focus value among the focus values ​​of the captured object image is higher than the first preset threshold.

[0052] Wherein, the first position is the position corresponding to when the surface of the camer...

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 discloses an automatic focusing method and apparatus and a mobile terminal. The method includes that when a focusing event is triggered, and determining a first spot light source determining condition if a camera is detected to be on a first position, wherein the first position is the corresponding position where the surface of the camera faces downwards and the and included angle between the surface of the camera and the vertical surface exceeds a preset angle threshold, the first spot light source determining condition is less restrict than a second spot light source determining condition, and the second spot light source is located at the position outside the first position with respect to the camera. The method further includes determining whether the current shot objected is a spot light source according to the first spot light source determining condition, and executing corresponding focusing operation according to the determining result. When the technical scheme is adopted, the determination process of the mobile terminal on whether a shot object is a spot light source in an automatic focusing process is optimized, focusing accuracy is ensured, defocusing phenomenon is prevented, and the user experience is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of photographing, and in particular to an autofocus method, device, and mobile terminal. Background technique [0002] With the rapid development of mobile terminal photography technology, users more and more frequently use mobile terminals to take pictures, so as to conveniently record the scenery and wonderful moments around them. [0003] At present, most of the cameras of mobile terminals support an auto-focus function, so that users can easily take clear photos. During the autofocus process, the motor in the camera will constantly change the lens position, and the image sensor will obtain the focus value (FocusValue, FV) of the subject image corresponding to different lens positions according to the collected information (which can be understood as contrast ), and the lens position when the focus value peaks corresponds to the final focus point. However, when the subject in the f...

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
IPC IPC(8): G02B7/28G03B13/36G03B30/00
CPCG02B7/28G03B13/36
Inventor 李小朋
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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