Phase focusing method and device thereof

A phase focus and phase difference technology, applied in the field of image processing, can solve problems such as relatively high light intensity requirements, reduced focus time and precision, and inaccurate phase values, achieving the effect of improving focus accuracy and shortening focus time

Active Publication Date: 2018-07-27
ZTE CORP
View PDF15 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it is precisely because of the need to use the shaded pixels on the CMOS to perform phase detection, so phase focusing requires relatively high light intensity, and all pixels with PD information are easily affected by noise and focusing images. Therefore, through this The phase value calculated by the method is not accurate, which reduces the focusing time and accuracy

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
  • Phase focusing method and device thereof
  • Phase focusing method and device thereof
  • Phase focusing method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0059] see image 3 , is a flowchart of a specific embodiment of a phase focusing method of the present invention, in this embodiment, the phase focusing method includes steps:

[0060] S301, turn on the device. In a specific embodiment, the device is an electronic terminal device that can take pictures or photographs, such as a smart phone or a camera, and the electronic terminal device is also provided with a PD sensor, which collects an image through the image sensor, and the image is the terminal device After the camera or shooting module on the device is started, the image previewed on the display screen.

[0061] S302. Extract preview image information.

[0062] S303. Divide the focus area in the preview image into M*N sub-areas: Region 0,0 、Region 0,1 、Region 0,2 ... Region M-1,N-1 .

[0063] S304. Calculate the phase difference and reliability of each sub-region respectively.

[0064] In this embodiment, after dividing the focus area into M*N sub-areas, it is a...

Embodiment 3

[0089] Corresponding to the above-mentioned phase focusing method, the present invention also provides a phase focusing device, which will be described in detail below with reference to specific embodiments and drawings.

[0090] see Figure 4 , is a functional block diagram of an embodiment of a phase focusing device of the present invention. In this embodiment, the phase focusing device includes:

[0091] The data processing module 21 is used to divide the focus area into a plurality of sub-areas, and calculate the respective phase difference and reliability of each sub-area; in this embodiment, the focus area refers to the image to be processed selected from the image to be processed area, during specific implementation, the data processing module 21 first obtains the focus area information from the terminal device, then divides the focus area into M*N sub-areas, and then calculates the phase difference and possible Reliability;

[0092] The matching module 22 is used to ...

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 discloses a phase focusing method and device thereof. The method comprises the following steps: dividing a focusing region into multiple sub-regions, and respectively computing the phasedifference and credibility of each sub-region; and dynamically matching a corresponding weight table according to the phase difference and credibility of each sub-region, and obtaining the corresponding weight value through table look-up; and finally, computing the phase difference and the credibility of the focusing region by combining the weight value obtained through table look-up, and then controlling a motor to perform automatic focusing according to the computed phase difference and credibility of the focusing region. In the method disclosed by the invention, the focusing region is divided into multiple sub-regions, the phase difference and the credibility of each sub-region are respectively computed, and the phase difference and credibility of the focusing region are obtained by performing weight summing in combination with the weight value, and the appropriate weight value can be selected according to different depths of field, thereby effectively utilizing the information with high credibility, effectively improving the focusing precision and shortening the focusing time.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a phase focusing method and a device thereof. Background technique [0002] With the popularity of smart phones, consumers have more and more opportunities to use smart phones to take pictures, and the quality requirements for photos are also getting higher and higher. Focusing is a crucial part of the camera taking pictures. Faster focusing speed and more precise focusing accuracy are beneficial to improve user experience and product competitiveness. [0003] The current automatic focusing methods of electronic devices include phase focusing and contrast focusing, wherein, compared with contrast focusing, phase focusing has faster travel shortening speed. The current principle of phase focusing is to reserve some shaded pixels on the photosensitive element for phase detection, and determine the offset value of the focus through the distance between pixels and its changes to ach...

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/232G03B13/36
CPCG03B13/36H04N23/67G02B7/34H04N23/672H04N23/663
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