Focusing method and terminal

A focusing method and terminal technology, applied in the field of information processing, can solve problems such as inability to focus

Inactive Publication Date: 2016-10-26
NUBIA TECHNOLOGY CO LTD
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, no matter which focusing method is used, the range of the target focus position must be fixed

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
  • Focusing method and terminal
  • Focusing method and terminal
  • Focusing method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] An embodiment of the present invention provides a focusing method, such as image 3 As shown, the method may include:

[0088] S101. Collect a first image by using an image sensor, and use an initial ROI area to perform initial focusing on the first image.

[0089] It should be noted that the focusing method provided by the embodiment of the present invention is implemented in a scene where a photo is taken on a terminal.

[0090] Focusing refers to adjusting the focal distance when using a camera. Focusing is also called focusing on light and focusing. Focusing is the process of changing the distance and the distance between animals by using the focusing mechanism on the camera or the camera on the terminal to make the image of the subject clear.

[0091] Wherein, the phase focus realizes the automatic focus by detecting the phase shift of the image. A grid plate composed of parallel lines is placed at the position of the light-sensitive image sensor, and the lines ...

Embodiment 2

[0118] An embodiment of the present invention provides a focusing method, such as Figure 7 As shown, the method may include:

[0119] S201. Collect a first image by using an image sensor, and use an initial ROI area to perform initial focusing on the first image.

[0120] The description of the detailed process of this step is consistent with the description process of S101 in the previous embodiment, and will not be repeated here.

[0121] S202. Calculate an initial reliability value corresponding to the initial ROI area.

[0122] S203. Determine the validity of the first ROI target image corresponding to the initial ROI region by judging the value of the initial reliability value and the preset threshold, and the first ROI target image is a partial image of the first image.

[0123] After the terminal uses the initial ROI area to initially focus on the first image, in order to ensure the clarity of the photo, the terminal will judge the validity of the first ROI target im...

Embodiment 3

[0145] Such as Figure 8 As shown, the embodiment of the present invention provides a terminal 1, the terminal 1 may include:

[0146] The acquisition unit 10 is configured to acquire a first image through an image sensor.

[0147] The focusing unit 11 is configured to initially focus on the first image using an initial region of interest (ROI).

[0148] The judging unit 12 is configured to judge the validity of a first ROI target image corresponding to the initial ROI area, where the first ROI target image is a partial image of the first image.

[0149] The determining unit 13 is configured to determine a first ROI area from n preset ROI areas according to preset priorities if it is determined that the first ROI target image is invalid, and the first ROI area corresponding to the first ROI area Two ROI target images are valid, the second ROI target image is a partial image of the first image, the first ROI target image is not exactly the same as the second ROI target image,...

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 a focusing method and a terminal, which can improve focusing efficiency on the basis of ensuring accurate focusing of different sizes of objects. The method comprises the steps of collecting a first image via an image sensor, and adopting an initial region of interest (ROI) to initially focus on and aim at the first image; judging validity of a first ROI target image corresponding to the initial ROI, wherein the first ROI target image is a part of the first image; if the first ROI target image is invalid is determined, determining a first ROI from n preset ROIs according to preset priorities, wherein a second ROI target image corresponding to the first ROI is valid, the second ROI target image is a part of the first image, the first ROI target image is not completely the same as the second ROI target image, and n is a preset number and more than and equal to 1; and determining a current phase difference of the first ROI, and achieving focusing according to the current phase difference.

Description

technical field [0001] The present invention relates to image processing technology in the field of information processing, in particular to a focusing method and a terminal. Background technique [0002] With the rapid development and gradual popularization of mobile terminals, mobile terminals have become one of the indispensable tools in people's daily life, and mobile terminals with camera devices are widely favored by users. In order to obtain a better shooting experience, people have higher and higher requirements for the camera function of the mobile terminal, which not only require the pixel of the camera device to be improved, but also require the camera device to increase the shooting speed. Among them, the shooting speed is mainly determined by the focusing method. [0003] At present, most of the mobile terminals on the market adopt a contrast focusing method or a phase focusing method, and the target focusing position is accurately found by driving the lens to ...

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): H04N5/232H04M1/02
CPCH04M1/0202H04N23/67H04N23/672H04M1/02
Inventor 王乔明
Owner NUBIA TECHNOLOGY 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