WO2021170114A1 - Depth image obtaining method and device, and display device - Google Patents

Depth image obtaining method and device, and display device Download PDF

Info

Publication number
WO2021170114A1
WO2021170114A1 PCT/CN2021/078271 CN2021078271W WO2021170114A1 WO 2021170114 A1 WO2021170114 A1 WO 2021170114A1 CN 2021078271 W CN2021078271 W CN 2021078271W WO 2021170114 A1 WO2021170114 A1 WO 2021170114A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
output
depth
images
grayscale
Prior art date
Application number
PCT/CN2021/078271
Other languages
French (fr)
Chinese (zh)
Inventor
王鹏鹏
王海生
丁小梁
刘英明
刘静
王锐拓
陈蕾
Original Assignee
京东方科技集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京东方科技集团股份有限公司 filed Critical 京东方科技集团股份有限公司
Publication of WO2021170114A1 publication Critical patent/WO2021170114A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • G06T7/55Depth or shape recovery from multiple images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices

Definitions

  • the present disclosure relates to the field of display technology, and in particular to a method, device and display device for acquiring a depth image.
  • the depth camera can also obtain the depth information of the scene in the image (that is, the distance between the scene and the camera lens) while shooting the image. Because of this advantage, the depth camera can be used in gestures. It is widely used in technical fields such as interaction, stereo display, machine vision, and satellite remote sensing.
  • the present disclosure provides a method, device and display device for acquiring a depth image.
  • a method for acquiring a depth image for use in an image depth sensing component, wherein a filter layer is provided outside the image depth sensing component, and the method includes:
  • Emitting reference light with a preset phase to the filter layer Emitting reference light with a preset phase to the filter layer
  • the reflected light By receiving reflected light, at least four output images are acquired, and the received phases of the at least four output images and the preset phases have different phase differences, and the reflected light is the reference light after the filtering.
  • the method further includes:
  • the obtaining the filter parameters of the filter layer includes:
  • the undetermined filter parameter formula includes:
  • H is the transfer function matrix of the filter layer
  • H * is the adjoint matrix of the transfer function matrix H
  • H w is the undetermined filter parameter
  • is the undetermined coefficient
  • the at least four output images are respectively convolved with the pending filter parameters to obtain at least four grayscale images, and it is determined that the definition of the at least four grayscale images is the highest corresponding to at least four first pending coefficient;
  • the target coefficient is taken as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
  • the obtaining at least four grayscale images according to the filtering parameters and the at least four output images includes:
  • the at least four output images are respectively convolved with the filter parameter to obtain the at least four grayscale images.
  • the number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
  • the phase difference between the reception phase of the first output image and the preset phase is 0°
  • the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a first grayscale image corresponding to the third output image.
  • the three grayscale images and the fourth grayscale image corresponding to the fourth output image, the obtaining a depth image according to the at least four grayscale images includes:
  • the depth image is obtained according to the gray value of each pixel and the depth image formula, and the depth image formula includes:
  • a 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image
  • L is the depth of field parameter corresponding to each pixel in the depth image
  • is the phase difference corresponding to each pixel in the depth image
  • C is the speed of light
  • is the circumference of the circle
  • f is the The frequency of the reference light.
  • the method further includes:
  • the undetermined filter parameter formula includes:
  • H is the transfer function matrix of the filter layer
  • H * is the adjoint matrix of the transfer function matrix H
  • H w is the undetermined filter parameter
  • is the undetermined coefficient
  • the at least four output images are respectively convolved with the pending filter parameters to obtain at least four grayscale images, and it is determined that the definition of the at least four grayscale images is the highest corresponding to at least four first pending coefficient;
  • the obtaining at least four grayscale images according to the filtering parameters and the at least four output images includes:
  • the number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
  • the phase difference between the reception phase of the first output image and the preset phase is 0°
  • the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a third grayscale image corresponding to the third output image And a fourth grayscale image corresponding to the fourth output image, the obtaining a depth image according to the at least four grayscale images includes:
  • the depth image is obtained according to the gray value of each pixel and the depth image formula, and the depth image formula includes:
  • a 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image
  • L is the depth of field parameter corresponding to each pixel in the depth image
  • is the phase difference corresponding to each pixel in the depth image
  • C is the speed of light
  • is the circumference of the circle
  • f is the The frequency of the reference light.
  • a display device in another aspect, includes a display panel and an image depth sensing component, the display panel includes a filter layer, and the image depth sensing component is used to perform the above-mentioned depth image acquisition method.
  • the image depth sensing component is located outside the display panel.
  • the image depth sensing component is located inside the display panel.
  • the display panel includes a laminated transparent substrate, the filter layer, and a transparent packaging film layer, and the image depth sensing component is located on a side of the transparent substrate away from the transparent packaging film layer.
  • the filter layer includes a stacked light-emitting unit layer and a mask layer, and the mask layer is located on a side of the filter layer close to the image depth sensing component.
  • the material of the mask layer includes a molybdenum metal material.
  • the display panel further includes an anode conductive layer, and the anode conductive layer and the mask layer are an integral structure.
  • a depth image acquisition device which includes an image depth sensing component and a filter layer located outside the image depth sensing component;
  • the image depth sensing component is configured to emit reference light with a preset phase to the filter layer
  • the image depth sensing component is configured to obtain at least four output images by receiving reflected light, and the received phases of the at least four output images and the preset phases have different phase differences, and the reflection Light is the light reflected by the object after the reference light passes through the filter layer;
  • the image depth sensing component is configured to obtain at least four grayscale images according to the filter parameters of the filter layer and the at least four output images;
  • the image depth sensing component is used to obtain a depth image based on the at least four gray-scale images.
  • the image depth sensing component is used to obtain a undetermined filter parameter formula
  • the undetermined filter parameter formula includes:
  • H is the transfer function matrix of the filter layer
  • H * is the adjoint matrix of the transfer function matrix H
  • H w is the undetermined filter parameter
  • is the undetermined coefficient
  • the image depth sensing component is configured to convolve the at least four output images with the undetermined filter parameter to obtain at least four grayscale images, and determine that the definition of the at least four grayscale images is the highest At least four first undetermined coefficients corresponding to time;
  • the image depth sensing component is used to determine the average value of the at least four first undetermined coefficients as the target coefficient
  • the image depth sensing component is used to bring the target coefficient as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
  • the number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
  • the phase difference between the reception phase of the first output image and the preset phase is 0°
  • the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a first grayscale image corresponding to the third output image.
  • the image depth sensing component is used to obtain each of the first grayscale image, the second grayscale image, the third grayscale image, and the fourth grayscale image.
  • the image depth sensing component is configured to obtain the depth image according to the gray value of each pixel and a depth image formula, and the depth image formula includes:
  • a 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image
  • L is the depth of field parameter corresponding to each pixel in the depth image
  • is the phase difference corresponding to each pixel in the depth image
  • C is the speed of light
  • is the circumference of the circle
  • f is the The frequency of the reference light.
  • the image depth sensing component is configured to convolve the at least four output images with the filter parameters to obtain the at least four grayscale images.
  • FIG. 1 is a flowchart of a method for acquiring a depth image provided by an embodiment of the disclosure.
  • Fig. 2 is another flow chart of a method for acquiring a depth image provided by an embodiment of the disclosure.
  • FIG. 3 is a diagram of the main circuit composition of an image depth sensing component provided by an embodiment of the disclosure.
  • FIG. 4 is a waveform diagram of receiving pixels of an image depth sensing component provided by an embodiment of the disclosure.
  • Fig. 5 is a flow chart of obtaining filter parameters of a filter layer in the embodiment shown in Fig. 2.
  • FIG. 6 is a schematic diagram of a display device provided by an embodiment of the disclosure.
  • FIG. 7 is a top view of a pattern of a mask layer in a display device provided by an embodiment of the disclosure.
  • FIG. 1 it is a flowchart of a method for acquiring a depth image provided by an embodiment of the present disclosure, which is used in an image depth sensing component (the image depth sensing component may also be referred to as an image depth sensing device, or Image depth sensing structure, the embodiment of the present disclosure does not limit this)
  • the image depth sensing component may also be referred to as an image depth sensing device, or Image depth sensing structure, the embodiment of the present disclosure does not limit this
  • a filter layer is provided outside the image depth sensing component, and the method includes:
  • step 101 reference light of a preset phase is emitted to the filter layer.
  • the reference light is used to pass through the filter layer and be directed toward the object, and the object may be an object located on the side of the filter layer away from the image depth sensing component.
  • step 102 at least four output images are acquired by receiving the reflected light.
  • the reflected light is the light reflected by the object after the reference light passes through the filter layer, and the received phases and the preset phases of the at least four output images have different phase differences respectively.
  • step 103 at least four grayscale images are obtained according to the filter parameters of the filter layer and at least four output images.
  • step 104 a depth image is obtained based on at least four grayscale images.
  • the depth image acquisition method can emit reference light with a preset phase through the image depth sensor component, and receive the reflected light reflected by the reference light by the object, and obtain at least four received phase sums.
  • the output images with different preset phases of the reference light are restored, and at least four output images are restored according to the filter parameters of the filter layer to obtain at least four gray-scale images, and the depth image is obtained from the at least four gray-scale images. Since this method replaces the optical lens in the traditional depth camera with a filter layer, a complicated optical lens set is not needed, so that the method can obtain a depth image with a relatively simple structure.
  • the depth image acquisition method can be conveniently applied to the display device.
  • FIG. 2 is a flowchart of a method for acquiring a depth image provided by an embodiment of the present disclosure, which is used in an image depth sensing component, and a filter layer is provided outside the image depth sensing component, and the method includes:
  • step 201 the image depth sensing component emits reference light of a preset phase to the filter layer.
  • the reference light is used to pass through the filter layer and be directed toward the object, and the object may be an object located on the side of the filter layer away from the image depth sensing component.
  • the reference light is emitted by the image depth sensing component, which is a function of the image depth sensing component.
  • the preset phase can be determined in advance, and after the preset phase is determined, the reference light is phase modulated in advance to make it have the preset phase, which can facilitate the subsequent phase difference calculate.
  • the method provided by the embodiments of the present disclosure can be applied to a depth image acquisition device, which includes the above-mentioned image depth sensing component and a filter layer.
  • the object within the range that the reference light can irradiate can be the target object that is expected to obtain depth information.
  • the depth of a certain point of the object refers to the distance between the point and the depth image acquisition device, and the different depths of multiple points are analyzed ,
  • the posture of the object can be obtained, and the trend of the depth of multiple points over time can be analyzed, and the movement trend of the object can be obtained, so as to analyze the change of the overall state of the object.
  • the image depth sensing component acquires at least four output images by receiving the reflected light.
  • the reflected light is the light reflected by the object after the reference light passes through the filter layer, and the received phases of at least four output images and the preset phases of the reference light have different phase differences.
  • the preset phase refers to the specific phase obtained by modulating the reference light when the image depth sensing component emits the reference light, and is the phase of the reference light.
  • the reception phase refers to the specific phase of the light received by the image depth sensor component, and the image depth sensor component can be set to only receive light whose phase is the reception phase.
  • the reference light is reflected by the object and returned to the depth image acquisition device. After being filtered by the filter layer, the image depth sensor component receives and forms an output image. Theoretically, due to the difference in the receiving phase, the received output image can be countless Therefore, there is a different phase difference between the received phase of these output images and the preset phase of the reference light.
  • the number of acquired output images is less than four, only approximate calculations can be used to obtain grayscale images based on the output images and depth images based on the degree images, and the accuracy of the final acquired depth images is not high.
  • the method provided by the embodiment of the present disclosure selects to acquire at least four output images, and the received phases of the at least four output images and the preset phases of the reference light have different phase differences.
  • the different phase differences between the received phases of the at least four output images and the preset phases of the reference light need to meet a certain distribution law, so that a grayscale image can be obtained from the output image, and a depth image can be obtained from the grayscale image.
  • the number of at least four output images is four, and the four output images include the first output image, the second output image, the third output image, and the fourth output image, where:
  • phase difference is 0°.
  • the four output images are all grayscale images.
  • the step of acquiring the output image in step 202 may be completed by the photosensitive circuit in the image depth sensing component.
  • Each pixel of the image depth sensing component is equipped with a photosensitive circuit, and the photosensitive circuit is equipped with a capacitor.
  • the change of the capacitance value can reflect the change of the amplitude value of the light signal of each pixel, which is reflected in the grayscale image.
  • the gray value of each pixel is calculated.
  • the structure of the photosensitive circuit of the image depth sensing component may include the structure shown in FIG. 3, DM1 and DM2 are respectively two photoelectric switches arranged on one pixel in the image depth sensing component, which can sense light. Corresponding to switches DM1 and DM2 are capacitors Ca and Cb. When the gate voltage of DM1 is at the first level and the gate voltage of DM2 is at the second level (the first level is high relative to the second level), the switch of DM1 is turned on and DM2 is turned off, that is, the current direction Ca storage, and vice versa, storage to Cb. The voltage change generated on the capacitor Ca is a, and the voltage change generated on the capacitor Cb is b.
  • Vrst in Figure 3 is the reset voltage, and Mr1 and Mr2 are transistors used for voltage reset.
  • Fig. 3 also includes a constant current source CCS and a ground terminal GND.
  • the receiving pixel waveform diagram of the image depth sensor component is shown in Figure 4.
  • the measurement of the transmission and reception timing is divided into four types, namely: the transmission and reception are completely synchronized (that is, the phase difference is 0 degrees), and the difference between the transmission and reception is 90 degrees. Transmitting and receiving are 180 degrees apart, and transmitting and receiving are 270 degrees apart.
  • a0-b0 (VAa+VOa+VR-Ga*2cos(Trt/T))-(VAb+VOb+VR+Gb*2cos(Trt/T)).
  • a180-b180 (VAa+VOa+VR+Ga2cos(Trt/T))-(VAb+VOb+VR-Gb*2cos(Trt/T)).
  • a90-b90 (VAa+VOa+VR-Ga*2cos(Trt/T))-(VAb+VOb+VR+Gb*2cos(Trt/T)).
  • a270-b270 (VAa+VOa+VR+Ga2cos(Trt/T))-(VAb+VOb+VR-Gb*2cos(Trt/T)).
  • a0 is the voltage change generated on the capacitor Ca when the transmission and reception are 0 degrees apart
  • a90 is the voltage change generated on the capacitor Ca when the transmission and reception are 90 degrees apart
  • a180 is the voltage change generated on the capacitor Ca when the transmission and reception are 180 degrees apart
  • a270 is the voltage change generated on the capacitor Ca when the transmit and receive are 270 degrees different.
  • b 0 is the voltage change generated on the capacitor Cb when the transmitting and receiving are 0 degrees
  • b 90 is the voltage change generated on the capacitor Cb when the transmitting and receiving are 90 degrees
  • b 180 is the voltage change on the capacitor Cb when the transmitting and receiving are 180 degrees different.
  • the voltage change of b 270 is the voltage change generated on the capacitor Cb when the difference between transmitting and receiving is 270 degrees.
  • V Aa and ambient light variation V Ab, V 0a and V 0b initial bias, V R is the initial potential (equal to the value Vrst when the reset Vrst), Ga and Gb are signal gain, T rt after the light switch is turned on The time stored on the capacitor, T is the clk clock cycle.
  • a 0 -b 0 (V Aa +V Oa +V R )-(V Ab +V Ob +V R )-(Ga+Gb)*2cos(T rt /T)
  • a 180 -b 180 (V Aa +V Oa +V R )-(V Ab +V Ob +V R )+(Ga+Gb)*2cos(T rt /T)
  • a 90 -b 90 (V Aa +V Oa +V R )-(V Ab +V Ob +V R )-(Ga+Gb)*2sin(T rt /T)
  • a 270 -b 270 (V Aa +V Oa +V R )-(V Ab +V Ob +V R )+(Ga+Gb)*2sin(T rt /T)
  • a 0 -b 0 is the gray value of a certain pixel on the first output image when the difference between transmitting and receiving is 0 degrees, that is, A 1 .
  • a 90- b 90 is the gray value of a certain pixel on the second output image when the transmit and receive are 90 degrees apart, that is, A 2 .
  • a 180 -b 180 is the gray value of a certain pixel on the third output image when the transmission and reception differ by 180 degrees, that is, A 3 .
  • a 270- b 270 is the gray value of a certain pixel on the fourth output image when the difference between the emission and the reception is 270 degrees, that is, A 4 .
  • the gray value of each pixel in each output image can be obtained through the photosensitive circuit in each pixel.
  • step 203 the image depth sensing component obtains the filter parameters of the filter layer.
  • obtaining the filter parameters of the image of the object by the filter layer in step 203 includes:
  • Step 2031 The image depth sensing component obtains the undetermined filter parameter formula.
  • the undetermined filter parameter formula includes:
  • H is the transfer function matrix of the filter layer
  • H * is the adjoint matrix of the transfer function matrix H
  • H w is the undetermined filter parameter
  • is the undetermined coefficient.
  • the transfer function matrix H in the undetermined filter parameter formula is obtained by actually measuring the filter layer after the filter layer in the depth image acquisition device is set.
  • the undetermined filter parameter formula The transfer function matrix H in is a known quantity.
  • the transfer function matrix H after the matrix H * is also accompanied by the transfer function matrix H can be calculated accordingly, and thus determined filter parameters in the transfer function matrix equation adjoint matrix H * H is a known quantity.
  • 2 in the undetermined filter parameter formula is also a known quantity. Therefore, the unknown quantity is the undetermined coefficient ⁇ and the undetermined filter parameter H w , and the undetermined filter parameter is expressed by the undetermined coefficient ⁇ and multiple known quantities using the above-mentioned undetermined filter parameter formula.
  • the image depth sensing component convolves at least four output images with undetermined filter parameters to obtain at least four grayscale images, and determines that the resolution of the at least four grayscale images is at least the fourth corresponding to the highest resolution. A coefficient to be determined.
  • the undetermined coefficient ⁇ can be assigned by an iterative method first, and the corresponding coefficient ⁇ after the assignment is used to represent the undetermined filter parameter, and it is convolved with at least four output images to obtain at least four Create a grayscale image and calculate the sharpness of the grayscale image corresponding to each assignment.
  • the sharpness can be calculated using a gradient algorithm.
  • the value of the coefficient ⁇ is different, and the definition of the corresponding gray image obtained after convolution is also different.
  • the corresponding at least four coefficients are the first undetermined coefficients. It can be understood that the number of the first undetermined coefficients is the same as the number of output images.
  • Step 2033 The image depth sensing component determines the average value of the at least four first undetermined coefficients as the target coefficient.
  • the average value may be an arithmetic average or geometric average of at least four first undetermined coefficients.
  • step 2034 the image depth sensing component brings the target coefficient into the undetermined filter parameter formula to obtain the filter parameter.
  • the clearest grayscale image is obtained through the first undetermined coefficient, it is equivalent to proper sharpening of the output image, for example, proper sharpening of the edge of the output image. Therefore, the most The clear grayscale image may have some distortion compared with the real image.
  • the clearest grayscale image may not be the most suitable for analysis and obtain the depth image. Therefore, at least four first undetermined coefficients can be averaged Value processing is used to obtain the final target coefficient, and the target coefficient is used as the coefficient in the undetermined filter parameter formula, which can ensure the accuracy of the depth image while ensuring the definition of the gray image.
  • the image depth sensing component obtains at least four grayscale images according to the filter parameters and at least four output images.
  • obtaining at least four grayscale images according to the filter parameters and at least four output images includes:
  • At least four output images are convolved with the filter parameters to obtain at least four grayscale images.
  • D represents the output image
  • Hw represents the filter parameter
  • S represents the grayscale image
  • the embodiment of the present disclosure uses a filter layer to replace the traditional optical lens set. Therefore, the light reflected from the actual scene passes through the filter layer to obtain the resulting image.
  • the above formula indicates that the filter parameter H w of the filter layer is used to In the process of restoring the resulting output image D and obtaining the grayscale image S, it can be understood that the filter parameter H w of the filter layer is actually equivalent to the inverse transfer function of the filter layer.
  • the image restoration process in step 204 can be completed by using a processor integrated in the image depth sensing component without using other optical elements for optical transformation.
  • the grayscale value of each pixel in each grayscale image is also obtained at the same time, so that these grayscale values can be used to calculate the depth value to obtain the depth image.
  • the image depth sensing component obtains a depth image based on at least four grayscale images.
  • the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a third grayscale image corresponding to the third output image.
  • the image and the fourth grayscale image corresponding to the fourth output image, obtaining a depth image based on at least four grayscale images includes:
  • the depth image is obtained according to the gray value of each pixel and the depth image formula.
  • the depth image formula includes:
  • is the intermediate quantity
  • a 1 , A 2 , A 3 and A 4 are the values of pixels at the same position in the first, second, third, and fourth grayscale images, respectively.
  • Gray value L is the depth of field parameter corresponding to each pixel in the depth image
  • is the phase difference corresponding to each pixel in the depth image
  • C is the speed of light
  • is the circumference of the circle
  • f is the frequency of the reference light.
  • step 205 is also a calculation step implemented by the processor in the image depth sensing component, and the photosensitive circuit in the image depth sensing component does not need to be used.
  • the photosensitive circuit in the image depth sensing component can be Play a role in step 202.
  • the display device includes a display panel
  • the depth sensing component and the display panel can be powered by two separate driving power sources.
  • the depth sensing component and the display panel may also share the same driving power supply, and the depth sensing component and the display panel may respectively correspond to two different power supply modules in the same driving power supply.
  • the depth image acquisition method can emit reference light with a preset phase through the image depth sensor component, and receive the reflected light reflected by the reference light by the object, and obtain at least four received phase sums.
  • the output images with different preset phases of the reference light are restored, and at least four output images are restored according to the filter parameters of the filter layer to obtain at least four gray-scale images, and the depth image is obtained from the at least four gray-scale images. Since this method replaces the optical lens in the traditional depth camera with a filter layer, a complicated optical lens set is not needed, so that the method can obtain a depth image with a relatively simple structure.
  • the depth image acquisition method can be conveniently applied to the display device.
  • FIG. 6 it is a structural diagram of a display device provided by an embodiment of the present disclosure.
  • the display device includes a display panel 31 and an image depth sensing component 32.
  • the display panel 31 includes a filter layer 311 and an image depth sensing component. 32 is used to perform the depth image acquisition method.
  • the image depth sensing component 32 is located outside the display panel 31.
  • the image depth sensing component 32 can be directly arranged inside the display panel 31 and integrated with the display panel 31.
  • the display panel 31 includes a transparent substrate 312, a filter layer 311 and a transparent packaging film layer 313 which are stacked, and the image depth sensor component 32 is located on the side of the transparent substrate 312 away from the transparent packaging film layer 313.
  • the depth sensing component 32 and the display panel 31 may be powered by two separate driving power sources.
  • the depth sensing component 32 may also share the same driving power source with the display panel 31, and the depth sensing component 32 and the display panel 31 respectively correspond to two different power modules in the same driving power source.
  • the filter layer 311 includes a stacked light-emitting unit layer 3111 and a mask layer 3112, and the mask layer 3112 is located on the side of the filter layer 311 close to the image depth sensing component 32. Disposing the mask layer 3112 on the side of the filter layer 311 close to the image depth sensor component 32 can increase the light output rate of the display device and prevent the mask layer 3112 from blocking the light emitted from the light emitting unit layer 3111 to the light emitting side of the display panel 31.
  • the transparent substrate 312 and the transparent encapsulation film layer 313 in the display panel 31 are made of transparent materials, the light transmittance is improved, so that the light reflected from the object can be irradiated to the image depth sensing component 32 more effectively.
  • the material of the mask layer 3112 includes a molybdenum metal material.
  • the specific pattern of the mask layer 3112 is shown in FIG. 7, and FIG. 7 is a top view of the mask layer 3112.
  • the black area in FIG. 7 is a blocking area, which can block light
  • the white area is a hollow area, which can transmit light. Since the mask layer 3112 has a pattern as shown in FIG. 7, the mask layer 3112 has a light filtering effect. Encode the transmitted light.
  • the specific pattern can be set according to actual filtering and coding requirements, so that the mask layer 3112 has a specific coding function.
  • the light-emitting unit layer 3111 may include at least one organic light-emitting diode (OLED) 31111, and the light-emitting unit layer 3111 is used to emit red light, green light, or blue light.
  • OLED organic light-emitting diode
  • the number of image depth sensors included in the image depth sensing assembly 32 is the same as the number of organic light emitting diodes 31111.
  • the filter layer 311 is an incompletely transparent hierarchical structure in the display panel and has a filtering effect. After the light reflected from the object enters the display panel, it first passes through the light emitting unit layer 3111, the light is encoded once, and then passes through the mask layer 3112, the light is encoded a second time, and all the light reflected from the object is After encoding twice, the output image can be obtained. Suitable light-emitting unit layer 3111 and mask layer 3112 can be selected according to actual imaging requirements, so that the combination of light-emitting unit layer 3111 and mask layer 3112 has filter coding characteristics suitable for imaging and has sufficient coding capability.
  • the single light-emitting unit layer 3111 since the shape of the organic light-emitting diode 31111 is relatively fixed, the single light-emitting unit layer 3111 only has a certain passive encoding capability. Based on this, a mask layer 3112 is also provided in the embodiment of the present disclosure to cooperate with the light-emitting unit layer 3111 , To effectively and controllably encode the light.
  • the light reflected by the object is generally divergent and chaotic, and it is not possible to directly use photosensitive equipment for effective collection. Therefore, a set of optical lenses is set in a traditional camera to converge and converge the divergent and chaotic light reflected by the object. Encoding, and then restore the image obtained after passing through the optical lens to obtain the desired image.
  • the filter layer 311 can also encode chaotic light, which is a good substitute for the optical lens in a traditional camera, so that the display device can have a higher degree of integration and a smaller volume.
  • the encoding characteristics of the filter layer 311 are expressed by a transfer function matrix when performing image restoration. Different filter layers 311 can have different transfer function matrices. In an optional manner, you can select according to actual imaging requirements. A filter layer 311 with a corresponding transfer function matrix.
  • the display panel further includes an anode conductive layer, and the anode conductive layer and the mask layer 3112 are an integrated structure, that is, the anode conductive layer and the mask layer 3112 may have the same structure, or the anode conductive layer may be an anode conductive layer.
  • the layer and the mask layer 3112 may be two connected structures.
  • anode conductive layer directly as the mask layer 3112 can reduce the number of layers of the display device, simplify the structure, and reduce the cost.
  • the working process of the display device may include:
  • the image depth sensor component 32 emits reference light, passes through the display panel 31, illuminates the object and returns.
  • the returned light passes through the display panel 31 and is collected by the image depth sensor component 32.
  • the filter layer 3111 replaces the optical lens in the traditional camera, so that the display device can have a higher integration level and a smaller volume.
  • the photosensitive circuit of the image depth sensing component 32 can only obtain unreduced output images, but the image depth sensing component 32 also has the function of restoring the image, and the image depth sensing component 32 further performs the output
  • the image is restored to obtain a grayscale image, and the depth information is determined according to the grayscale image. That is, although the image depth sensing component 32 has collected the output image, the final depth information is determined based on the restored grayscale image.
  • the two steps of restoring the image and obtaining the grayscale image are both completed by the processor integrated in the image depth sensing component 32.
  • the display device provided by the present disclosure includes a display panel 31 and an image depth sensing component 32, the display panel 31 includes a filter layer 311, and the image depth sensing component 32 is used to implement a depth image acquisition method. Since the filter layer 311 is used to replace the optical lens in the traditional depth camera, there is no need to set up a complicated optical lens group, so that the filter layer and the image depth sensing component can be well integrated in the display device, so that the display device can be used to obtain the depth image .
  • embodiments of the present disclosure also provide a depth image acquisition device, including an image depth sensing component and a filter layer located outside the image depth sensing component; the depth image acquisition device can be used to implement the depth image acquisition device provided in the above embodiments The method of obtaining the depth image.
  • the image depth sensing component is used to emit reference light with a preset phase to the filter layer
  • the image depth sensing component is used to obtain at least four output images by receiving the reflected light.
  • the received phase and the preset phase of the at least four output images have different phase differences, respectively, and the reflected light is the reference light after passing through the filter layer.
  • the image depth sensing component is used to obtain at least four grayscale images according to the filter parameters of the filter layer and at least four output images;
  • the image depth sensing component is used to obtain a depth image based on at least four gray-scale images.
  • the image depth sensing component is used to obtain the undetermined filter parameter formula
  • the undetermined filter parameter formula includes:
  • H is the transfer function matrix of the filter layer
  • H * is the adjoint matrix of the transfer function matrix H
  • H w is the undetermined filter parameter
  • is the undetermined coefficient
  • the image depth sensing component is used to convolve at least four output images with undetermined filter parameters to obtain at least four grayscale images, and determine that the resolution of the at least four grayscale images is at least the fourth corresponding to the highest resolution A undetermined coefficient;
  • the image depth sensing component is used to determine the average value of at least four first undetermined coefficients as the target coefficient
  • the image depth sensing component is used to bring the target coefficient as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
  • the number of at least four output images is four, and the four output images include the first output image, the second output image, the third output image, and the fourth output image, where:
  • the phase difference between the received phase of the first output image and the preset phase is 0°
  • the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, a third grayscale image corresponding to the third output image, and a fourth output image.
  • the fourth grayscale image corresponding to the image is a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, a third grayscale image corresponding to the third output image, and a fourth output image.
  • the image depth sensing component is used to obtain the gray value of each pixel in each gray image in the first gray image, the second gray image, the third gray image, and the fourth gray image;
  • the image depth sensing component is used to obtain the depth image according to the gray value of each pixel and the depth image formula.
  • the depth image formula includes:
  • a 1 , A 2 , A 3 and A 4 are respectively the gray scales of the pixels at the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image
  • L Is the depth of field parameter corresponding to each pixel in the depth image
  • is the phase difference corresponding to each pixel in the depth image
  • C is the speed of light
  • is the circumference of the circle
  • f is the frequency of the reference light.
  • the image depth sensing component is used to convolve at least four output images with filter parameters to obtain at least four grayscale images.
  • an embodiment of the present disclosure also provides a computer storage medium, the computer storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set consists of
  • the processor loads and executes some steps of the depth image acquisition method provided in the above-mentioned embodiment, for example, step 103 to step 104 in the embodiment shown in FIG. 1 and step 203 to step in the embodiment shown in FIG. 2 205.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The present disclosure provides a depth image obtaining method and device, and a display device, for use in an image depth sensing assembly. A filtering layer is provided on the outer part of the image depth sensing assembly. The method comprises: transmitting reference light having a preset phase to the filtering layer; obtaining at least four output images by receiving reflected light reflected by the reference light by means of an object; obtaining at least four grayscale images according to filtering parameters and the at least four output images; and obtaining a depth image according to the at least four grayscale images.

Description

深度图像的获取方法、装置及显示装置Method, device and display device for acquiring depth image
本申请要求于2020年2月27日提交的申请号为202010124155.1、申请名称为“深度图像的获取方法及显示装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010124155.1 filed on February 27, 2020, and the application title is "Method for Obtaining Depth Image and Display Device", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本公开涉及显示技术领域,特别涉及一种深度图像的获取方法、装置及显示装置。The present disclosure relates to the field of display technology, and in particular to a method, device and display device for acquiring a depth image.
背景技术Background technique
和传统的普通相机相比,深度相机在拍摄图像的同时还能够获取到图像中景物的深度信息(即景物和相机镜头之间的距离),因其具有的这一优势,使得深度相机在手势交互、立体显示、机器视觉以及卫星遥感等技术领域中被广泛使用。Compared with the traditional ordinary camera, the depth camera can also obtain the depth information of the scene in the image (that is, the distance between the scene and the camera lens) while shooting the image. Because of this advantage, the depth camera can be used in gestures. It is widely used in technical fields such as interaction, stereo display, machine vision, and satellite remote sensing.
在相关技术中,利用普通摄像头进行深度提取的方案主要有双目视觉以及结构光两种。In related technologies, there are mainly two solutions for depth extraction using ordinary cameras: binocular vision and structured light.
发明内容Summary of the invention
本公开提供一种深度图像的获取方法、装置及显示装置。The present disclosure provides a method, device and display device for acquiring a depth image.
一方面,提供一种深度图像的获取方法,用于图像深度传感组件中,所述图像深度传感组件的外部设置有滤波层,所述方法包括:In one aspect, a method for acquiring a depth image is provided for use in an image depth sensing component, wherein a filter layer is provided outside the image depth sensing component, and the method includes:
向所述滤波层发射预设相位的参考光;Emitting reference light with a preset phase to the filter layer;
通过接收反射光,获取至少四张输出图像,所述至少四张输出图像的接收相位和所述预设相位之间分别具有不同的相位差,所述反射光是所述参考光经所述滤波层后由物体反射的光;By receiving reflected light, at least four output images are acquired, and the received phases of the at least four output images and the preset phases have different phase differences, and the reflected light is the reference light after the filtering. The light reflected by the object behind the layer;
根据所述滤波层的滤波参数以及所述至少四张输出图像,得到至少四张灰度图像;Obtaining at least four grayscale images according to the filter parameters of the filter layer and the at least four output images;
根据所述至少四张灰度图像得到深度图像。Obtain a depth image according to the at least four grayscale images.
可选地,所述根据所述滤波层的滤波参数以及所述至少四张输出图像,得 到至少四张灰度图像之前,所述方法还包括:Optionally, before obtaining at least four grayscale images according to the filtering parameters of the filter layer and the at least four output images, the method further includes:
获取所述滤波层的滤波参数。Obtain the filter parameters of the filter layer.
可选地,所述获取所述滤波层的滤波参数,包括:Optionally, the obtaining the filter parameters of the filter layer includes:
获取待定滤波参数公式,所述待定滤波参数公式包括:Obtain the undetermined filter parameter formula, the undetermined filter parameter formula includes:
Figure PCTCN2021078271-appb-000001
Figure PCTCN2021078271-appb-000001
其中,H为所述滤波层的传递函数矩阵,H *是所述传递函数矩阵H的伴随矩阵,H w为所述待定滤波参数,ε为待定系数; Where H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient;
将所述至少四张输出图像分别与所述待定滤波参数卷积得到至少四张灰度图像,确定所述至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数;The at least four output images are respectively convolved with the pending filter parameters to obtain at least four grayscale images, and it is determined that the definition of the at least four grayscale images is the highest corresponding to at least four first pending coefficient;
将所述至少四个第一待定系数的平均值确定为目标系数;Determining an average value of the at least four first undetermined coefficients as the target coefficient;
将所述目标系数作为所述待定系数带入所述待定滤波参数公式,得到所述滤波参数。The target coefficient is taken as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
可选地,所述根据所述滤波参数以及所述至少四张输出图像,得到至少四张灰度图像,包括:Optionally, the obtaining at least four grayscale images according to the filtering parameters and the at least four output images includes:
将所述至少四张输出图像分别与所述滤波参数卷积得到所述至少四张灰度图像。The at least four output images are respectively convolved with the filter parameter to obtain the at least four grayscale images.
可选地,所述至少四张输出图像的接收相位和所述预设相位之间具有的不同的相位差呈差值为x的等差数列,其中,x×n=360°,所述n为所述输出图像的总数。Optionally, the different phase differences between the received phases of the at least four output images and the preset phases are an arithmetic sequence with a difference of x, where x×n=360°, and the n Is the total number of output images.
可选地,所述至少四张输出图像的数量为四,四张所述输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:Optionally, the number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
所述第一输出图像的接收相位和所述预设相位之间的相位差为0°,The phase difference between the reception phase of the first output image and the preset phase is 0°,
所述第二输出图像的接收相位和所述预设相位之间具有90°的相位差,There is a 90° phase difference between the reception phase of the second output image and the preset phase,
所述第三输出图像的接收相位和所述预设相位之间具有180°的相位差,There is a phase difference of 180° between the reception phase of the third output image and the preset phase,
所述第四输出图像的接收相位和所述预设相位之间具有270°的相位差。There is a phase difference of 270° between the reception phase of the fourth output image and the preset phase.
可选地,所述至少四张灰度图像为所述第一输出图像对应的第一灰度图像、所述第二输出图像对应的第二灰度图像、所述第三输出图像对应的第三灰度图像以及所述第四输出图像对应的第四灰度图像,所述根据所述至少四张灰度图像得到深度图像,包括:Optionally, the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a first grayscale image corresponding to the third output image. The three grayscale images and the fourth grayscale image corresponding to the fourth output image, the obtaining a depth image according to the at least four grayscale images includes:
获取所述第一灰度图像、所述第二灰度图像、所述第三灰度图像以及所述 第四灰度图像中每张灰度图像中每个像素点的灰度值;Acquiring the gray value of each pixel in each gray image in the first gray image, the second gray image, the third gray image, and the fourth gray image;
根据所述每个像素点的灰度值以及深度图像公式得到所述深度图像,所述深度图像公式包括:The depth image is obtained according to the gray value of each pixel and the depth image formula, and the depth image formula includes:
Figure PCTCN2021078271-appb-000002
Figure PCTCN2021078271-appb-000002
Figure PCTCN2021078271-appb-000003
Figure PCTCN2021078271-appb-000003
其中,Α 1、Α 2、Α 3和Α 4依次分别为所述第一灰度图像、所述第二灰度图像、所述第三灰度图像和所述第四灰度图像中相同位置的像素点的灰度,L为所述深度图像中每个像素点对应的景深参数,φ为所述深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为所述参考光的频率。 Wherein, A 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image , L is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the The frequency of the reference light.
可选地,所述根据所述滤波层的滤波参数以及所述至少四张输出图像,得到至少四张灰度图像之前,所述方法还包括:Optionally, before obtaining at least four grayscale images according to the filtering parameters of the filter layer and the at least four output images, the method further includes:
获取待定滤波参数公式,所述待定滤波参数公式包括:Obtain the undetermined filter parameter formula, the undetermined filter parameter formula includes:
Figure PCTCN2021078271-appb-000004
Figure PCTCN2021078271-appb-000004
其中,H为所述滤波层的传递函数矩阵,H *是所述传递函数矩阵H的伴随矩阵,H w为所述待定滤波参数,ε为待定系数; Where H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient;
将所述至少四张输出图像分别与所述待定滤波参数卷积得到至少四张灰度图像,确定所述至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数;The at least four output images are respectively convolved with the pending filter parameters to obtain at least four grayscale images, and it is determined that the definition of the at least four grayscale images is the highest corresponding to at least four first pending coefficient;
将所述至少四个第一待定系数的平均值确定为目标系数;Determining an average value of the at least four first undetermined coefficients as the target coefficient;
将所述目标系数作为所述待定系数带入所述待定滤波参数公式,得到所述滤波参数;Bringing the target coefficient as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter;
所述根据所述滤波参数以及所述至少四张输出图像,得到至少四张灰度图像,包括:The obtaining at least four grayscale images according to the filtering parameters and the at least four output images includes:
将所述至少四张输出图像分别与所述滤波参数卷积得到所述至少四张灰度图像;Convolve the at least four output images with the filter parameters to obtain the at least four grayscale images;
所述至少四张输出图像的数量为四,四张所述输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:The number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
所述第一输出图像的接收相位和所述预设相位之间的相位差为0°,The phase difference between the reception phase of the first output image and the preset phase is 0°,
所述第二输出图像的接收相位和所述预设相位之间具有90°的相位差,There is a 90° phase difference between the reception phase of the second output image and the preset phase,
所述第三输出图像的接收相位和所述预设相位之间具有180°的相位差,There is a phase difference of 180° between the reception phase of the third output image and the preset phase,
所述第四输出图像的接收相位和所述预设相位之间具有270°的相位差;A phase difference of 270° between the reception phase of the fourth output image and the preset phase;
所述至少四张灰度图像为所述第一输出图像对应的第一灰度图像、所述第二输出图像对应的第二灰度图像、所述第三输出图像对应的第三灰度图像以及所述第四输出图像对应的第四灰度图像,所述根据所述至少四张灰度图像得到深度图像,包括:The at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a third grayscale image corresponding to the third output image And a fourth grayscale image corresponding to the fourth output image, the obtaining a depth image according to the at least four grayscale images includes:
获取所述第一灰度图像、所述第二灰度图像、所述第三灰度图像以及所述第四灰度图像中每张灰度图像中每个像素点的灰度值;Acquiring the gray value of each pixel in each gray image in the first gray image, the second gray image, the third gray image, and the fourth gray image;
根据所述每个像素点的灰度值以及深度图像公式得到所述深度图像,所述深度图像公式包括:The depth image is obtained according to the gray value of each pixel and the depth image formula, and the depth image formula includes:
Figure PCTCN2021078271-appb-000005
Figure PCTCN2021078271-appb-000005
Figure PCTCN2021078271-appb-000006
Figure PCTCN2021078271-appb-000006
其中,Α 1、Α 2、Α 3和Α 4依次分别为所述第一灰度图像、所述第二灰度图像、所述第三灰度图像和所述第四灰度图像中相同位置的像素点的灰度,L为所述深度图像中每个像素点对应的景深参数,φ为所述深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为所述参考光的频率。 Wherein, A 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image , L is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the The frequency of the reference light.
另一方面,提供一种显示装置,所述显示装置包括显示面板以及图像深度传感组件,所述显示面板包括滤波层,所述图像深度传感组件用于执行上述的深度图像的获取方法。In another aspect, a display device is provided. The display device includes a display panel and an image depth sensing component, the display panel includes a filter layer, and the image depth sensing component is used to perform the above-mentioned depth image acquisition method.
可选地,所述图像深度传感组件位于所述显示面板的外部。Optionally, the image depth sensing component is located outside the display panel.
可选地,所述图像深度传感组件位于所述显示面板的内部。Optionally, the image depth sensing component is located inside the display panel.
可选地,所述显示面板包括层叠的透明基板、所述滤波层以及透明封装膜层,所述图像深度传感组件位于所述透明基板远离所述透明封装膜层一侧。Optionally, the display panel includes a laminated transparent substrate, the filter layer, and a transparent packaging film layer, and the image depth sensing component is located on a side of the transparent substrate away from the transparent packaging film layer.
可选地,所述滤波层包括叠置的发光单元层和掩膜层,所述掩膜层位于所述滤波层靠近所述图像深度传感组件的一侧。Optionally, the filter layer includes a stacked light-emitting unit layer and a mask layer, and the mask layer is located on a side of the filter layer close to the image depth sensing component.
可选地,所述掩膜层的材料包括钼金属材料。Optionally, the material of the mask layer includes a molybdenum metal material.
可选地,所述显示面板还包括阳极导电层,所述阳极导电层与所述掩膜层为一体结构。Optionally, the display panel further includes an anode conductive layer, and the anode conductive layer and the mask layer are an integral structure.
另一方面,提供一种深度图像的获取装置,包括图像深度传感组件以及位于所述图像深度传感组件的外部的滤波层;In another aspect, a depth image acquisition device is provided, which includes an image depth sensing component and a filter layer located outside the image depth sensing component;
所述图像深度传感组件,用于向所述滤波层发射预设相位的参考光;The image depth sensing component is configured to emit reference light with a preset phase to the filter layer;
所述图像深度传感组件,用于通过接收反射光,获取至少四张输出图像,所述至少四张输出图像的接收相位和所述预设相位之间分别具有不同的相位差, 所述反射光是所述参考光经所述滤波层后由物体反射的光;The image depth sensing component is configured to obtain at least four output images by receiving reflected light, and the received phases of the at least four output images and the preset phases have different phase differences, and the reflection Light is the light reflected by the object after the reference light passes through the filter layer;
所述图像深度传感组件,用于根据所述滤波层的滤波参数以及所述至少四张输出图像,得到至少四张灰度图像;The image depth sensing component is configured to obtain at least four grayscale images according to the filter parameters of the filter layer and the at least four output images;
所述图像深度传感组件,用于根据所述至少四张灰度图像得到深度图像。The image depth sensing component is used to obtain a depth image based on the at least four gray-scale images.
可选地,所述图像深度传感组件,用于获取待定滤波参数公式,所述待定滤波参数公式包括:Optionally, the image depth sensing component is used to obtain a undetermined filter parameter formula, and the undetermined filter parameter formula includes:
Figure PCTCN2021078271-appb-000007
Figure PCTCN2021078271-appb-000007
其中,H为所述滤波层的传递函数矩阵,H *是所述传递函数矩阵H的伴随矩阵,H w为所述待定滤波参数,ε为待定系数; Where H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient;
所述图像深度传感组件,用于将所述至少四张输出图像分别与所述待定滤波参数卷积得到至少四张灰度图像,确定所述至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数;The image depth sensing component is configured to convolve the at least four output images with the undetermined filter parameter to obtain at least four grayscale images, and determine that the definition of the at least four grayscale images is the highest At least four first undetermined coefficients corresponding to time;
所述图像深度传感组件,用于将所述至少四个第一待定系数的平均值确定为目标系数;The image depth sensing component is used to determine the average value of the at least four first undetermined coefficients as the target coefficient;
所述图像深度传感组件,用于将所述目标系数作为所述待定系数带入所述待定滤波参数公式,得到所述滤波参数。The image depth sensing component is used to bring the target coefficient as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
可选地,所述至少四张输出图像的数量为四,四张所述输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:Optionally, the number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
所述第一输出图像的接收相位和所述预设相位之间的相位差为0°,The phase difference between the reception phase of the first output image and the preset phase is 0°,
所述第二输出图像的接收相位和所述预设相位之间具有90°的相位差,There is a 90° phase difference between the reception phase of the second output image and the preset phase,
所述第三输出图像的接收相位和所述预设相位之间具有180°的相位差,There is a phase difference of 180° between the reception phase of the third output image and the preset phase,
所述第四输出图像的接收相位和所述预设相位之间具有270°的相位差。There is a phase difference of 270° between the reception phase of the fourth output image and the preset phase.
可选地,所述至少四张灰度图像为所述第一输出图像对应的第一灰度图像、所述第二输出图像对应的第二灰度图像、所述第三输出图像对应的第三灰度图像以及所述第四输出图像对应的第四灰度图像,Optionally, the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a first grayscale image corresponding to the third output image. A three grayscale image and a fourth grayscale image corresponding to the fourth output image,
所述图像深度传感组件,用于获取所述第一灰度图像、所述第二灰度图像、所述第三灰度图像以及所述第四灰度图像中每张灰度图像中每个像素点的灰度值;The image depth sensing component is used to obtain each of the first grayscale image, the second grayscale image, the third grayscale image, and the fourth grayscale image. The gray value of each pixel;
所述图像深度传感组件,用于根据所述每个像素点的灰度值以及深度图像公式得到所述深度图像,所述深度图像公式包括:The image depth sensing component is configured to obtain the depth image according to the gray value of each pixel and a depth image formula, and the depth image formula includes:
Figure PCTCN2021078271-appb-000008
Figure PCTCN2021078271-appb-000008
Figure PCTCN2021078271-appb-000009
Figure PCTCN2021078271-appb-000009
其中,Α 1、Α 2、Α 3和Α 4依次分别为所述第一灰度图像、所述第二灰度图像、所述第三灰度图像和所述第四灰度图像中相同位置的像素点的灰度,L为所述深度图像中每个像素点对应的景深参数,φ为所述深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为所述参考光的频率。 Wherein, A 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image , L is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the The frequency of the reference light.
可选地,所述图像深度传感组件,用于将所述至少四张输出图像分别与所述滤波参数卷积得到所述至少四张灰度图像。Optionally, the image depth sensing component is configured to convolve the at least four output images with the filter parameters to obtain the at least four grayscale images.
附图说明Description of the drawings
图1为本公开实施例提供的深度图像的获取方法的一种流程图。FIG. 1 is a flowchart of a method for acquiring a depth image provided by an embodiment of the disclosure.
图2为本公开实施例提供的深度图像的获取方法的另一种流程图。Fig. 2 is another flow chart of a method for acquiring a depth image provided by an embodiment of the disclosure.
图3为本公开实施例提供的图像深度传感组件的主要电路组成图。FIG. 3 is a diagram of the main circuit composition of an image depth sensing component provided by an embodiment of the disclosure.
图4为本公开实施例提供的图像深度传感组件的接收像素波形图。FIG. 4 is a waveform diagram of receiving pixels of an image depth sensing component provided by an embodiment of the disclosure.
图5是图2所示实施例中一种获取滤波层的滤波参数的流程图。Fig. 5 is a flow chart of obtaining filter parameters of a filter layer in the embodiment shown in Fig. 2.
图6为本公开实施例提供的一种显示装置的示意图。FIG. 6 is a schematic diagram of a display device provided by an embodiment of the disclosure.
图7为本公开实施例提供的一种显示装置中的掩膜层的图样俯视图。FIG. 7 is a top view of a pattern of a mask layer in a display device provided by an embodiment of the disclosure.
具体实施方式Detailed ways
为使本公开的和优点更加清楚,下面将结合附图对本公开实施方式进行详细描述。To make the advantages and advantages of the present disclosure clearer, the following describes the embodiments of the present disclosure in detail with reference to the accompanying drawings.
如图1所示,其为本公开实施例提供的一种深度图像的获取方法的流程图,用于图像深度传感组件(该图像深度传感组件也可以称为图像深度传感装置,或图像深度传感结构,本公开实施例对此不进行限定)中,图像深度传感组件的外部设置有滤波层,该方法包括:As shown in FIG. 1, it is a flowchart of a method for acquiring a depth image provided by an embodiment of the present disclosure, which is used in an image depth sensing component (the image depth sensing component may also be referred to as an image depth sensing device, or Image depth sensing structure, the embodiment of the present disclosure does not limit this) In the image depth sensing component, a filter layer is provided outside the image depth sensing component, and the method includes:
在步骤101中,向滤波层发射预设相位的参考光。In step 101, reference light of a preset phase is emitted to the filter layer.
其中,参考光用于透过滤波层并射向物体,该物体可以是位于滤波层远离图像深度传感组件一侧的物体。Wherein, the reference light is used to pass through the filter layer and be directed toward the object, and the object may be an object located on the side of the filter layer away from the image depth sensing component.
在步骤102中,通过接收反射光,获取至少四张输出图像。In step 102, at least four output images are acquired by receiving the reflected light.
其中,反射光是参考光经滤波层后由物体反射的光,该至少四张输出图像的接收相位和预设相位之间分别具有不同的相位差。Wherein, the reflected light is the light reflected by the object after the reference light passes through the filter layer, and the received phases and the preset phases of the at least four output images have different phase differences respectively.
在步骤103中,根据滤波层的滤波参数以及至少四张输出图像,得到至少 四张灰度图像。In step 103, at least four grayscale images are obtained according to the filter parameters of the filter layer and at least four output images.
在步骤104中,根据至少四张灰度图像得到深度图像。In step 104, a depth image is obtained based on at least four grayscale images.
综上所述,本公开实施例提供的深度图像的获取方法,可以通过图像深度传感组件发射预设相位的参考光,并接收参考光经物体反射的反射光,获取至少四张接收相位和参考光的预设相位不同的输出图像,并根据滤波层的滤波参数对至少四张输出图像进行还原,得到至少四张灰度图像,并根据至少四张灰度图像得到深度图像。由于该方法通过滤波层代替了传统深度相机中的光学镜头,因而可以无需复杂的光学镜头组,使得该方法可以通过较为简单的结构来获取深度图像。In summary, the depth image acquisition method provided by the embodiments of the present disclosure can emit reference light with a preset phase through the image depth sensor component, and receive the reflected light reflected by the reference light by the object, and obtain at least four received phase sums. The output images with different preset phases of the reference light are restored, and at least four output images are restored according to the filter parameters of the filter layer to obtain at least four gray-scale images, and the depth image is obtained from the at least four gray-scale images. Since this method replaces the optical lens in the traditional depth camera with a filter layer, a complicated optical lens set is not needed, so that the method can obtain a depth image with a relatively simple structure.
在此基础上,该深度图像的获取方法,可以方便的应用于显示装置中。On this basis, the depth image acquisition method can be conveniently applied to the display device.
如图2所示,其为本公开实施例提供的一种深度图像的获取方法的流程图,用于图像深度传感组件中,图像深度传感组件的外部设置有滤波层,该方法包括:As shown in FIG. 2, which is a flowchart of a method for acquiring a depth image provided by an embodiment of the present disclosure, which is used in an image depth sensing component, and a filter layer is provided outside the image depth sensing component, and the method includes:
在步骤201中,图像深度传感组件向滤波层发射预设相位的参考光。In step 201, the image depth sensing component emits reference light of a preset phase to the filter layer.
其中,参考光用于透过滤波层并射向物体,该物体可以是位于滤波层远离图像深度传感组件一侧的物体。Wherein, the reference light is used to pass through the filter layer and be directed toward the object, and the object may be an object located on the side of the filter layer away from the image depth sensing component.
可以理解的是,参考光是图像深度传感组件发出的,这是图像深度传感组件的一种功能。It can be understood that the reference light is emitted by the image depth sensing component, which is a function of the image depth sensing component.
在一种可选的方式中,预设相位可以预先进行确定,并在确定好预设相位后,对参考光预先进行相位调制,以使其具有预设相位,如此可以方便进行后续的相位差计算。In an optional manner, the preset phase can be determined in advance, and after the preset phase is determined, the reference light is phase modulated in advance to make it have the preset phase, which can facilitate the subsequent phase difference calculate.
本公开实施例提供的方法可以应用于深度图像的获取装置中,该深度图像的获取装置包括上述图像深度传感组件以及滤波层。The method provided by the embodiments of the present disclosure can be applied to a depth image acquisition device, which includes the above-mentioned image depth sensing component and a filter layer.
处于参考光能够照射到的范围内的物体可以是期望获取深度信息的目标物体,物体某一点的深度是指该点与深度图像的获取装置之间的距离,对多个点的不同深度加以分析,就能够得到物体的姿态,对多个点的深度随时间变化的趋势进行分析,就能够得到物体的运动趋势,从而分析出物体整体状态的变化。The object within the range that the reference light can irradiate can be the target object that is expected to obtain depth information. The depth of a certain point of the object refers to the distance between the point and the depth image acquisition device, and the different depths of multiple points are analyzed , The posture of the object can be obtained, and the trend of the depth of multiple points over time can be analyzed, and the movement trend of the object can be obtained, so as to analyze the change of the overall state of the object.
在步骤202中,图像深度传感组件通过接收反射光,获取至少四张输出图像。In step 202, the image depth sensing component acquires at least four output images by receiving the reflected light.
其中,该反射光是参考光经滤波层后由物体反射的光,至少四张输出图像 的接收相位和参考光的预设相位之间分别具有不同的相位差。Wherein, the reflected light is the light reflected by the object after the reference light passes through the filter layer, and the received phases of at least four output images and the preset phases of the reference light have different phase differences.
可以理解的是,预设相位指的是图像深度传感组件发射参考光时对参考光进行调制后所得到的特定的相位,是参考光所具有的相位。It can be understood that the preset phase refers to the specific phase obtained by modulating the reference light when the image depth sensing component emits the reference light, and is the phase of the reference light.
接收相位指的是图像深度传感组件所接收的光所具有的特定相位,图像深度传感组件可以被设置为只接收相位是该接收相位的光。The reception phase refers to the specific phase of the light received by the image depth sensor component, and the image depth sensor component can be set to only receive light whose phase is the reception phase.
参考光经物体反射后返回深度图像的获取装置中,经滤波层滤波后,由图像深度传感组件接收并形成了输出图像,理论上,由于接收相位的不同,接收到的输出图像可以有无数个,这些输出图像的接收相位和参考光的预设相位之间具有不同的相位差。获取的输出图像数量少于四个时,根据输出图像得到灰度图像并根据度图像得到深度图像时只能采用近似计算,最终获取的深度图像的精度不高。为了提高精度,本公开实施例提供的方法选择获取至少四张输出图像,至少四张输出图像的接收相位和参考光的预设相位之间分别具有不同的相位差。The reference light is reflected by the object and returned to the depth image acquisition device. After being filtered by the filter layer, the image depth sensor component receives and forms an output image. Theoretically, due to the difference in the receiving phase, the received output image can be countless Therefore, there is a different phase difference between the received phase of these output images and the preset phase of the reference light. When the number of acquired output images is less than four, only approximate calculations can be used to obtain grayscale images based on the output images and depth images based on the degree images, and the accuracy of the final acquired depth images is not high. In order to improve accuracy, the method provided by the embodiment of the present disclosure selects to acquire at least four output images, and the received phases of the at least four output images and the preset phases of the reference light have different phase differences.
至少四张输出图像的接收相位和参考光的预设相位之间具有的不同的相位差需要满足一定分布规律,如此可以根据输出图像得到灰度图像,并根据灰度图像得到深度图像。The different phase differences between the received phases of the at least four output images and the preset phases of the reference light need to meet a certain distribution law, so that a grayscale image can be obtained from the output image, and a depth image can be obtained from the grayscale image.
在一种可选的方式中,该至少四张输出图像的接收相位和参考光的预设相位之间具有的不同的相位差将360°均分。也即是该至少四张输出图像的接收相位和预设相位之间具有的不同的相位差呈差值为x的等差数列,其中,x×n=360°,n为输出图像的总数。In an optional manner, the different phase differences between the received phases of the at least four output images and the preset phases of the reference light are equally divided by 360°. That is, the different phase differences between the received phase and the preset phase of the at least four output images are an arithmetic sequence with a difference of x, where x×n=360°, and n is the total number of output images.
在一种可选的方式中,至少四张输出图像的数量为四,四张输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:In an optional manner, the number of at least four output images is four, and the four output images include the first output image, the second output image, the third output image, and the fourth output image, where:
第一输出图像的接收相位和参考光的预设相位之间无相位差,即相位差为0°。There is no phase difference between the received phase of the first output image and the preset phase of the reference light, that is, the phase difference is 0°.
第二输出图像的接收相位和参考光的预设相位之间具有90°的相位差。There is a 90° phase difference between the reception phase of the second output image and the preset phase of the reference light.
第三输出图像的接收相位和参考光的预设相位之间具有180°的相位差。There is a phase difference of 180° between the reception phase of the third output image and the preset phase of the reference light.
第四输出图像的接收相位和参考光的预设相位之间具有270°的相位差。There is a phase difference of 270° between the reception phase of the fourth output image and the preset phase of the reference light.
可以理解的是,四张输出图像都是灰度图。It is understandable that the four output images are all grayscale images.
可选地,步骤202获取输出图像这一步可以是通过图像深度传感组件中的感光电路完成的。图像深度传感组件的每个像素点上均设置感光电路,感光电路中设置有电容,电容值的变化可以体现了每个像素点的光信号的幅度值变化, 对于灰度图像来说即反映了每个像素点的灰度值。Optionally, the step of acquiring the output image in step 202 may be completed by the photosensitive circuit in the image depth sensing component. Each pixel of the image depth sensing component is equipped with a photosensitive circuit, and the photosensitive circuit is equipped with a capacitor. The change of the capacitance value can reflect the change of the amplitude value of the light signal of each pixel, which is reflected in the grayscale image. The gray value of each pixel is calculated.
下面对图像深度传感组件的原理进行具体介绍:The following is a detailed introduction to the principle of the image depth sensing component:
图像深度传感组件的感光电路的结构可以包括图3所示,DM1和DM2分别为图像深度传感组件中一个像素上设置的两个光电开关,可以感知光照。与开关DM1和DM2相对应的是电容Ca和Cb。当DM1的栅极电压为第一电平,且DM2的栅极电压为第二电平时(第一电平相对于第二电平为高电平),DM1开关打开且DM2关闭,即电流向Ca存储,反之则向Cb存储。在电容Ca上产生的电压变化为a,在电容Cb上产生的电压变化为b。除上述以外,图3中的Vrst是重置电压,Mr1和Mr2是用于电压重置的三极管。除此之外,图3中还包括恒流源CCS和接地端GND。The structure of the photosensitive circuit of the image depth sensing component may include the structure shown in FIG. 3, DM1 and DM2 are respectively two photoelectric switches arranged on one pixel in the image depth sensing component, which can sense light. Corresponding to switches DM1 and DM2 are capacitors Ca and Cb. When the gate voltage of DM1 is at the first level and the gate voltage of DM2 is at the second level (the first level is high relative to the second level), the switch of DM1 is turned on and DM2 is turned off, that is, the current direction Ca storage, and vice versa, storage to Cb. The voltage change generated on the capacitor Ca is a, and the voltage change generated on the capacitor Cb is b. In addition to the above, Vrst in Figure 3 is the reset voltage, and Mr1 and Mr2 are transistors used for voltage reset. In addition, Fig. 3 also includes a constant current source CCS and a ground terminal GND.
图像深度传感组件的接收像素波形图如图4所示,发射和接收时序的测量分为四种,即:发射和接收完全同步(即相位差为0度),发射和接收相差90度,发射和接收相差180度以及发射和接收相差270度这四种。The receiving pixel waveform diagram of the image depth sensor component is shown in Figure 4. The measurement of the transmission and reception timing is divided into four types, namely: the transmission and reception are completely synchronized (that is, the phase difference is 0 degrees), and the difference between the transmission and reception is 90 degrees. Transmitting and receiving are 180 degrees apart, and transmitting and receiving are 270 degrees apart.
分别采集在这四种情况下的输出图像,共有四张,分别是第一输出图像、第二输出图像、第三输出图像和第四输出图像;图4中clk为时钟信号,U1M为发射波形,高电平为发射超声波的阶段,DM1和DM2分别为两个开关的关断时序。由图4可以看出,图4中的左上方的图中,发射和接收相位同步,即为0度接收,然后左下方的图是相位差为90度的情况,右上方是相位差为180度的情况,右下方是相位差为270度的情况。由图3所示的电路以及图4所示的像素波形图可以得到以下公式:Collect the output images under these four conditions respectively. There are four images, namely the first output image, the second output image, the third output image and the fourth output image. In Figure 4, clk is the clock signal, and U1M is the emission waveform. , The high level is the stage of transmitting the ultrasonic wave, and DM1 and DM2 are the turn-off timings of the two switches respectively. It can be seen from Figure 4 that in the upper left picture in Fig. 4, the transmit and receive phases are synchronized, that is, 0 degree reception, and then the lower left picture shows the phase difference of 90 degrees, and the upper right shows the phase difference of 180. In the case of degrees, the lower right is the case where the phase difference is 270 degrees. From the circuit shown in Figure 3 and the pixel waveform diagram shown in Figure 4, the following formula can be obtained:
a0-b0=(VAa+VOa+VR-Ga*2cos(Trt/T))-(VAb+VOb+VR+Gb*2cos(Trt/T))。a0-b0=(VAa+VOa+VR-Ga*2cos(Trt/T))-(VAb+VOb+VR+Gb*2cos(Trt/T)).
a180-b180=(VAa+VOa+VR+Ga2cos(Trt/T))-(VAb+VOb+VR-Gb*2cos(Trt/T))。a180-b180=(VAa+VOa+VR+Ga2cos(Trt/T))-(VAb+VOb+VR-Gb*2cos(Trt/T)).
a90-b90=(VAa+VOa+VR-Ga*2cos(Trt/T))-(VAb+VOb+VR+Gb*2cos(Trt/T))。a90-b90=(VAa+VOa+VR-Ga*2cos(Trt/T))-(VAb+VOb+VR+Gb*2cos(Trt/T)).
a270-b270=(VAa+VOa+VR+Ga2cos(Trt/T))-(VAb+VOb+VR-Gb*2cos(Trt/T))。a270-b270=(VAa+VOa+VR+Ga2cos(Trt/T))-(VAb+VOb+VR-Gb*2cos(Trt/T)).
其中,a0是发射和接收相差0度时电容Ca上产生的电压变化,a90是发射和接收相差90度时电容Ca上产生的电压变化,a180是发射和接收相差180度时电容Ca上产生的电压变化,a270是发射和接收相差270度时电容Ca上产生 的电压变化。Among them, a0 is the voltage change generated on the capacitor Ca when the transmission and reception are 0 degrees apart, a90 is the voltage change generated on the capacitor Ca when the transmission and reception are 90 degrees apart, and a180 is the voltage change generated on the capacitor Ca when the transmission and reception are 180 degrees apart The voltage change, a270 is the voltage change generated on the capacitor Ca when the transmit and receive are 270 degrees different.
b 0是发射和接收相差0度时电容Cb上产生的电压变化,b 90是发射和接收相差90度时电容Cb上产生的电压变化,b 180是发射和接收相差180度时电容Cb上产生的电压变化,b 270是发射和接收相差270度时电容Cb上产生的电压变化。 b 0 is the voltage change generated on the capacitor Cb when the transmitting and receiving are 0 degrees, b 90 is the voltage change generated on the capacitor Cb when the transmitting and receiving are 90 degrees, and b 180 is the voltage change on the capacitor Cb when the transmitting and receiving are 180 degrees different. The voltage change of b 270 is the voltage change generated on the capacitor Cb when the difference between transmitting and receiving is 270 degrees.
V Aa和V Ab是环境光偏差,V 0a和V 0b是初始偏差,V R是初始电位(在Vrst重置时等于Vrst的值),Ga和Gb是信号增益,T rt是开关打开后光存储到电容上的时间,T是clk时钟周期。 V Aa and ambient light variation V Ab, V 0a and V 0b initial bias, V R is the initial potential (equal to the value Vrst when the reset Vrst), Ga and Gb are signal gain, T rt after the light switch is turned on The time stored on the capacitor, T is the clk clock cycle.
对上述四个公式进行简化合并,则能得到以下公式:Simplifying and combining the above four formulas, the following formula can be obtained:
a 0-b 0=(V Aa+V Oa+V R)-(V Ab+V Ob+V R)-(Ga+Gb)*2cos(T rt/T) a 0 -b 0 =(V Aa +V Oa +V R )-(V Ab +V Ob +V R )-(Ga+Gb)*2cos(T rt /T)
a 180-b 180=(V Aa+V Oa+V R)-(V Ab+V Ob+V R)+(Ga+Gb)*2cos(T rt/T) a 180 -b 180 =(V Aa +V Oa +V R )-(V Ab +V Ob +V R )+(Ga+Gb)*2cos(T rt /T)
a 90-b 90=(V Aa+V Oa+V R)-(V Ab+V Ob+V R)-(Ga+Gb)*2sin(T rt/T) a 90 -b 90 =(V Aa +V Oa +V R )-(V Ab +V Ob +V R )-(Ga+Gb)*2sin(T rt /T)
a 270-b 270=(V Aa+V Oa+V R)-(V Ab+V Ob+V R)+(Ga+Gb)*2sin(T rt/T) a 270 -b 270 = (V Aa +V Oa +V R )-(V Ab +V Ob +V R )+(Ga+Gb)*2sin(T rt /T)
其中,a 0-b 0是发射和接收相差0度时,第一输出图像上某一像素的灰度值,即Α 1Among them, a 0 -b 0 is the gray value of a certain pixel on the first output image when the difference between transmitting and receiving is 0 degrees, that is, A 1 .
a 90-b 90是发射和接收相差90度时,第二输出图像上某一像素的灰度值,即Α 2a 90- b 90 is the gray value of a certain pixel on the second output image when the transmit and receive are 90 degrees apart, that is, A 2 .
a 180-b 180是发射和接收相差180度时,第三输出图像上某一像素的灰度值,即Α 3a 180 -b 180 is the gray value of a certain pixel on the third output image when the transmission and reception differ by 180 degrees, that is, A 3 .
a 270-b 270是发射和接收相差270度时,第四输出图像上某一像素的灰度值,即Α 4a 270- b 270 is the gray value of a certain pixel on the fourth output image when the difference between the emission and the reception is 270 degrees, that is, A 4 .
如此便可以通过每个像素中的感光电路获取每个输出图像中每个像素的灰度值。In this way, the gray value of each pixel in each output image can be obtained through the photosensitive circuit in each pixel.
在步骤203中,图像深度传感组件获取滤波层的滤波参数。In step 203, the image depth sensing component obtains the filter parameters of the filter layer.
在一种可选的方式中,如图5所示,步骤203中获取滤波层对物体的图像的滤波参数,包括:In an optional manner, as shown in FIG. 5, obtaining the filter parameters of the image of the object by the filter layer in step 203 includes:
步骤2031,图像深度传感组件获取待定滤波参数公式。Step 2031: The image depth sensing component obtains the undetermined filter parameter formula.
其中,待定滤波参数公式包括:Among them, the undetermined filter parameter formula includes:
Figure PCTCN2021078271-appb-000010
Figure PCTCN2021078271-appb-000010
其中,H为滤波层的传递函数矩阵,H *是传递函数矩阵H的伴随矩阵,H w为待定滤波参数,ε为待定系数。 Among them, H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient.
可以理解的是,待定滤波参数公式中的传递函数矩阵H是在深度图像的获取装置中的滤波层设置完成后,通过对滤波层进行实际测量得到的,当滤波层确定后,待定滤波参数公式中的传递函数矩阵H是一个已知量。It can be understood that the transfer function matrix H in the undetermined filter parameter formula is obtained by actually measuring the filter layer after the filter layer in the depth image acquisition device is set. When the filter layer is determined, the undetermined filter parameter formula The transfer function matrix H in is a known quantity.
相应的,传递函数矩阵H的伴随矩阵H *也是对传递函数矩阵H进行相应的计算后可以得到的,因此待定滤波参数公式中传递函数矩阵H的伴随矩阵H *也是已知量。同理,待定滤波参数公式中的|H| 2也是已知量。因此未知量为待定系数ε和待定滤波参数H w,待定滤波参数由待定系数ε和多个已知量利用上述待定滤波参数公式表示。 Accordingly, the transfer function matrix H after the matrix H * is also accompanied by the transfer function matrix H can be calculated accordingly, and thus determined filter parameters in the transfer function matrix equation adjoint matrix H * H is a known quantity. In the same way, |H| 2 in the undetermined filter parameter formula is also a known quantity. Therefore, the unknown quantity is the undetermined coefficient ε and the undetermined filter parameter H w , and the undetermined filter parameter is expressed by the undetermined coefficient ε and multiple known quantities using the above-mentioned undetermined filter parameter formula.
步骤2032,图像深度传感组件将至少四张输出图像分别与待定滤波参数卷积得到至少四张灰度图像,确定至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数。In step 2032, the image depth sensing component convolves at least four output images with undetermined filter parameters to obtain at least four grayscale images, and determines that the resolution of the at least four grayscale images is at least the fourth corresponding to the highest resolution. A coefficient to be determined.
在将至少四个输出图像分别与待定滤波参数卷积得到至少四张灰度图像的过程中,由于待定滤波参数是由待定系数ε和多个已知量通过上述待定滤波参数公式表示的,因此待定滤波参数中存在一个待定的未知量,即待定系数ε。In the process of convolving at least four output images with undetermined filter parameters to obtain at least four grayscale images, since the undetermined filter parameters are expressed by the undetermined coefficient ε and multiple known quantities through the above-mentioned undetermined filter parameter formula, There is a undetermined unknown quantity in the undetermined filter parameters, namely the undetermined coefficient ε.
在一种可选的方式中,可以先通过迭代法对待定系数ε进行赋值,利用赋值后的相应的系数ε值来表示待定滤波参数,并与至少四张输出图像进行卷积,得到至少四张灰度图像,并计算与每个赋值对应的灰度图像的清晰度。In an optional way, the undetermined coefficient ε can be assigned by an iterative method first, and the corresponding coefficient ε after the assignment is used to represent the undetermined filter parameter, and it is convolved with at least four output images to obtain at least four Create a grayscale image and calculate the sharpness of the grayscale image corresponding to each assignment.
可选地,清晰度可以利用梯度算法计算得到。对系数ε的赋值不同,卷积后得到的相应的灰度图像的清晰度也不同,至少四张输出图像分别进行卷积后一定分别存在至少四张清晰度最高的灰度图像,能使至少四张灰度图像的清晰度均为最高时所对应的至少四个系数则为第一待定系数,可以理解的是,第一待定系数的数量和输出图像的数量相同。Optionally, the sharpness can be calculated using a gradient algorithm. The value of the coefficient ε is different, and the definition of the corresponding gray image obtained after convolution is also different. After at least four output images are respectively convolved, there must be at least four gray images with the highest definition respectively, which can make at least When the definitions of the four grayscale images are all the highest, the corresponding at least four coefficients are the first undetermined coefficients. It can be understood that the number of the first undetermined coefficients is the same as the number of output images.
步骤2033,图像深度传感组件将至少四个第一待定系数的平均值确定为目标系数。Step 2033: The image depth sensing component determines the average value of the at least four first undetermined coefficients as the target coefficient.
在一种可选的方式中,平均值可以是至少四个第一待定系数的算术平均值或者几何平均值。In an optional manner, the average value may be an arithmetic average or geometric average of at least four first undetermined coefficients.
步骤2034,图像深度传感组件将目标系数带入待定滤波参数公式,得到滤波参数。In step 2034, the image depth sensing component brings the target coefficient into the undetermined filter parameter formula to obtain the filter parameter.
可以理解的是,在通过第一待定系数得到最清晰的灰度图像时,相当于对输出图像进行了适当的清晰化处理,例如对输出图像的景物边缘进行适当的锐化处理,因此,最清晰的灰度图像与真实图像相比可能会存在一定的失真,最 清晰的灰度图像并不一定是最适宜进行分析并得到深度图像的,因此可以对至少四个第一待定系数进行取平均值处理以得到最终的目标系数,将目标系数作为待定滤波参数公式中的系数,可以在保证灰度图像清晰度的同时保证深度图像的准确性。It is understandable that when the clearest grayscale image is obtained through the first undetermined coefficient, it is equivalent to proper sharpening of the output image, for example, proper sharpening of the edge of the output image. Therefore, the most The clear grayscale image may have some distortion compared with the real image. The clearest grayscale image may not be the most suitable for analysis and obtain the depth image. Therefore, at least four first undetermined coefficients can be averaged Value processing is used to obtain the final target coefficient, and the target coefficient is used as the coefficient in the undetermined filter parameter formula, which can ensure the accuracy of the depth image while ensuring the definition of the gray image.
在步骤204中,图像深度传感组件根据滤波参数以及至少四张输出图像,得到至少四张灰度图像。In step 204, the image depth sensing component obtains at least four grayscale images according to the filter parameters and at least four output images.
在一种可选的方式中,根据滤波参数以及至少四张输出图像,得到至少四张灰度图像,包括:In an optional manner, obtaining at least four grayscale images according to the filter parameters and at least four output images includes:
将至少四张输出图像分别与滤波参数卷积得到至少四张灰度图像。At least four output images are convolved with the filter parameters to obtain at least four grayscale images.
具体卷积公式如下:The specific convolution formula is as follows:
S=D*H w S=D*H w
其中,D表示输出图像,H w表示滤波参数,S表示灰度图像。 Among them, D represents the output image, Hw represents the filter parameter, and S represents the grayscale image.
由于传统的深度相机是利用光学镜头组进行光学变换的,实际的景物反射回的光线透过光学镜头组后得到所成的像。而本公开实施例利用滤波层代替传统的光学镜头组,因此实际的景物反射回的光线是透过滤波层后得到所成的像的,上述公式则表示了利用滤波层的滤波参数H w将所成的输出图像D进行还原并得到灰度图像S的过程,可以理解的是,滤波层的滤波参数H w实际就相当于滤波层的逆传递函数。 Since the traditional depth camera uses an optical lens group for optical transformation, the light reflected from the actual scene passes through the optical lens group to obtain the resulting image. However, the embodiment of the present disclosure uses a filter layer to replace the traditional optical lens set. Therefore, the light reflected from the actual scene passes through the filter layer to obtain the resulting image. The above formula indicates that the filter parameter H w of the filter layer is used to In the process of restoring the resulting output image D and obtaining the grayscale image S, it can be understood that the filter parameter H w of the filter layer is actually equivalent to the inverse transfer function of the filter layer.
可选地,步骤204中的图像还原过程可以利用集成在图像深度传感组件中的处理器来完成,而无需利用其他光学元件进行光学变换。经过步骤204得到了还原后的灰度图像后,每张灰度图像中每个像素点的灰度值也就同时得到了,从而可以利用这些灰度值来计算深度值,以得到深度图像。Optionally, the image restoration process in step 204 can be completed by using a processor integrated in the image depth sensing component without using other optical elements for optical transformation. After the restored grayscale image is obtained through step 204, the grayscale value of each pixel in each grayscale image is also obtained at the same time, so that these grayscale values can be used to calculate the depth value to obtain the depth image.
在步骤205中,图像深度传感组件根据至少四张灰度图像得到深度图像。In step 205, the image depth sensing component obtains a depth image based on at least four grayscale images.
在一种可选的方式中,至少四张灰度图像为第一输出图像对应的第一灰度图像、第二输出图像对应的第二灰度图像、第三输出图像对应的第三灰度图像以及第四输出图像对应的第四灰度图像,根据至少四张灰度图像得到深度图像包括:In an optional manner, the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a third grayscale image corresponding to the third output image. The image and the fourth grayscale image corresponding to the fourth output image, obtaining a depth image based on at least four grayscale images includes:
获取第一灰度图像、第二灰度图像、第三灰度图像以及第四灰度图像中每张灰度图像中每个像素点的灰度值。Obtain the grayscale value of each pixel in each grayscale image in the first grayscale image, the second grayscale image, the third grayscale image, and the fourth grayscale image.
根据每个像素点的灰度值以及深度图像公式得到深度图像,深度图像公式包括:The depth image is obtained according to the gray value of each pixel and the depth image formula. The depth image formula includes:
Figure PCTCN2021078271-appb-000011
Figure PCTCN2021078271-appb-000011
Figure PCTCN2021078271-appb-000012
Figure PCTCN2021078271-appb-000012
其中,φ为中间量,Α 1、Α 2、A 3和A 4分别为第一灰度图像、第二灰度图像、第三灰度图像和第四灰度图像中相同位置的像素点的灰度值,L为深度图像中每个像素点对应的景深参数,φ为深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为参考光的频率。 Among them, φ is the intermediate quantity, and A 1 , A 2 , A 3 and A 4 are the values of pixels at the same position in the first, second, third, and fourth grayscale images, respectively. Gray value, L is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the frequency of the reference light.
可以理解的是,步骤205也是利用图像深度传感组件中的处理器来实现的一个计算步骤,可以无需利用到图像深度传感组件中的感光电路,图像深度传感组件中的感光电路可以在步骤202中发挥作用。It is understandable that step 205 is also a calculation step implemented by the processor in the image depth sensing component, and the photosensitive circuit in the image depth sensing component does not need to be used. The photosensitive circuit in the image depth sensing component can be Play a role in step 202.
在该深度图像的获取方法应用于显示装置(该显示装置包括显示面板)中时:When the depth image acquisition method is applied to a display device (the display device includes a display panel):
在一种可选的方式中,深度传感组件和显示面板可以由两个单独的驱动电源供电。In an optional manner, the depth sensing component and the display panel can be powered by two separate driving power sources.
在一种可选的方式中,深度传感组件还可以与显示面板共用同一驱动电源,深度传感组件与显示面板可以分别对应于同一驱动电源中的两个不同的电源模块。In an optional manner, the depth sensing component and the display panel may also share the same driving power supply, and the depth sensing component and the display panel may respectively correspond to two different power supply modules in the same driving power supply.
综上所述,本公开实施例提供的深度图像的获取方法,可以通过图像深度传感组件发射预设相位的参考光,并接收参考光经物体反射的反射光,获取至少四张接收相位和参考光的预设相位不同的输出图像,并根据滤波层的滤波参数对至少四张输出图像进行还原,得到至少四张灰度图像,并根据至少四张灰度图像得到深度图像。由于该方法通过滤波层代替了传统深度相机中的光学镜头,因而可以无需复杂的光学镜头组,使得该方法可以通过较为简单的结构来获取深度图像。In summary, the depth image acquisition method provided by the embodiments of the present disclosure can emit reference light with a preset phase through the image depth sensor component, and receive the reflected light reflected by the reference light by the object, and obtain at least four received phase sums. The output images with different preset phases of the reference light are restored, and at least four output images are restored according to the filter parameters of the filter layer to obtain at least four gray-scale images, and the depth image is obtained from the at least four gray-scale images. Since this method replaces the optical lens in the traditional depth camera with a filter layer, a complicated optical lens set is not needed, so that the method can obtain a depth image with a relatively simple structure.
在此基础上,该深度图像的获取方法,可以方便的应用于显示装置中。On this basis, the depth image acquisition method can be conveniently applied to the display device.
如图6所示,其为本公开实施例提供的一种显示装置的结构图,该显示装置包括显示面板31以及图像深度传感组件32,显示面板31包括滤波层311,图像深度传感组件32用于执行深度图像的获取方法。As shown in FIG. 6, it is a structural diagram of a display device provided by an embodiment of the present disclosure. The display device includes a display panel 31 and an image depth sensing component 32. The display panel 31 includes a filter layer 311 and an image depth sensing component. 32 is used to perform the depth image acquisition method.
在一种可选的方式中,图像深度传感组件32位于显示面板31的外部。In an optional manner, the image depth sensing component 32 is located outside the display panel 31.
在一种可选的方式中,如果图像深度传感组件32是采用硅基工艺制成的,图像深度传感组件32则可以直接设置在显示面板31内部,与显示面板31设置 成一体结构。In an optional manner, if the image depth sensing component 32 is made by using a silicon-based process, the image depth sensing component 32 can be directly arranged inside the display panel 31 and integrated with the display panel 31.
在一种可选的方式中,显示面板31包括层叠设置的透明基板312、滤波层311以及透明封装膜层313,图像深度传感组件32位于透明基板312远离透明封装膜层313一侧。In an optional manner, the display panel 31 includes a transparent substrate 312, a filter layer 311 and a transparent packaging film layer 313 which are stacked, and the image depth sensor component 32 is located on the side of the transparent substrate 312 away from the transparent packaging film layer 313.
在一种可选的方式中,深度传感组件32和显示面板31可以由两个单独的驱动电源供电。In an optional manner, the depth sensing component 32 and the display panel 31 may be powered by two separate driving power sources.
在一种可选的方式中,深度传感组件32还可以与显示面板31共用同一驱动电源,深度传感组件32与显示面板31分别对应于同一驱动电源中的两个不同的电源模块。In an optional manner, the depth sensing component 32 may also share the same driving power source with the display panel 31, and the depth sensing component 32 and the display panel 31 respectively correspond to two different power modules in the same driving power source.
在一种可选的方式中,滤波层311包括叠置的发光单元层3111和掩膜层3112,掩膜层3112位于滤波层311中靠近图像深度传感组件32的一侧。将掩膜层3112设置在滤波层311中靠近图像深度传感组件32的一侧,可以提高显示装置的出光率,避免掩膜层3112阻挡发光单元层3111向显示面板31出光侧发出的光。In an optional manner, the filter layer 311 includes a stacked light-emitting unit layer 3111 and a mask layer 3112, and the mask layer 3112 is located on the side of the filter layer 311 close to the image depth sensing component 32. Disposing the mask layer 3112 on the side of the filter layer 311 close to the image depth sensor component 32 can increase the light output rate of the display device and prevent the mask layer 3112 from blocking the light emitted from the light emitting unit layer 3111 to the light emitting side of the display panel 31.
由于将显示面板31中的透明基板312以及透明封装膜层313均为透明材质,提高了光透过率,使得从物体反射回的光线能够更有效地照射至图像深度传感组件32。Since the transparent substrate 312 and the transparent encapsulation film layer 313 in the display panel 31 are made of transparent materials, the light transmittance is improved, so that the light reflected from the object can be irradiated to the image depth sensing component 32 more effectively.
在一种可选的方式中,掩膜层3112的材料包括钼金属材料。In an optional manner, the material of the mask layer 3112 includes a molybdenum metal material.
在一种可选的方式中,掩膜层3112的具体图样如图7所示,图7是掩膜层3112的俯视图。图7中的黑色区域是遮挡区域,可遮挡光线,白色区域是镂空区域,可透过光线,由于掩膜层3112具有如图7所示的图案,使得掩膜层3112具有滤光作用,可以对透过的光线进行编码。具体图案可以根据实际的滤波编码需求进行设置,使得掩膜层3112具有特定的编码功能。发光单元层3111可以包括至少一个有机发光二极管(Organic Light-Emitting Diode,OLED)31111,发光单元层3111用于发出红光、绿光或蓝光。In an optional manner, the specific pattern of the mask layer 3112 is shown in FIG. 7, and FIG. 7 is a top view of the mask layer 3112. The black area in FIG. 7 is a blocking area, which can block light, and the white area is a hollow area, which can transmit light. Since the mask layer 3112 has a pattern as shown in FIG. 7, the mask layer 3112 has a light filtering effect. Encode the transmitted light. The specific pattern can be set according to actual filtering and coding requirements, so that the mask layer 3112 has a specific coding function. The light-emitting unit layer 3111 may include at least one organic light-emitting diode (OLED) 31111, and the light-emitting unit layer 3111 is used to emit red light, green light, or blue light.
图像深度传感组件32中包括的图像深度传感器的数量和有机发光二极管31111的数量相同。The number of image depth sensors included in the image depth sensing assembly 32 is the same as the number of organic light emitting diodes 31111.
可以理解的是,由于有机发光二极管31111并不是完全透明的,因此发光单元层3111也不是完全透明的,会起到一定的被动滤波作用。而发光单元层3111与掩膜层3112叠置,又共同构成了滤波层311,因此滤波层311是显示面板中不完全透明的层级结构,具有滤波作用。从物体反射回的光线射入显示面板后, 先透过发光单元层3111,光线被进行一次编码,然后再透过掩膜层3112,光线被进行第二次编码,从物体反射回的所有光线经过两次编码后,即可得到输出图像。可以根据实际的成像需求,选取适宜的发光单元层3111和掩膜层3112,使得发光单元层3111和掩膜层3112相组合后所具有的滤波编码特性适合成像,具有足够的编码能力。It can be understood that since the organic light emitting diode 31111 is not completely transparent, the light-emitting unit layer 3111 is not completely transparent, and will play a certain passive filtering role. The light-emitting unit layer 3111 and the mask layer 3112 are stacked to form the filter layer 311. Therefore, the filter layer 311 is an incompletely transparent hierarchical structure in the display panel and has a filtering effect. After the light reflected from the object enters the display panel, it first passes through the light emitting unit layer 3111, the light is encoded once, and then passes through the mask layer 3112, the light is encoded a second time, and all the light reflected from the object is After encoding twice, the output image can be obtained. Suitable light-emitting unit layer 3111 and mask layer 3112 can be selected according to actual imaging requirements, so that the combination of light-emitting unit layer 3111 and mask layer 3112 has filter coding characteristics suitable for imaging and has sufficient coding capability.
由于有机发光二极管31111的形状是比较固定的,因此单独的发光单元层3111只具有一定的被动编码能力,基于此,本公开实施例中还设置了掩膜层3112,与发光单元层3111共同作用,对光线进行有效且可控地编码。Since the shape of the organic light-emitting diode 31111 is relatively fixed, the single light-emitting unit layer 3111 only has a certain passive encoding capability. Based on this, a mask layer 3112 is also provided in the embodiment of the present disclosure to cooperate with the light-emitting unit layer 3111 , To effectively and controllably encode the light.
物体反射回的光线一般是发散且混乱的,不能够直接利用感光设备进行有效的采集,因此在传统相机中会设置一套光学镜头,用于对物体反射回的发散且混乱的光线进行汇聚和编码,后续再对通过光学镜头后得到的图像进行还原,得到需要的图像。The light reflected by the object is generally divergent and chaotic, and it is not possible to directly use photosensitive equipment for effective collection. Therefore, a set of optical lenses is set in a traditional camera to converge and converge the divergent and chaotic light reflected by the object. Encoding, and then restore the image obtained after passing through the optical lens to obtain the desired image.
而采用本公开实施例提供的上述设置方式,通过滤波层311对物体反射回的混乱光线进行编码后,后续也以通过还原算法得到灰度图像。也就是说,滤波层311也能够对混乱光线进行编码,很好地替代了传统相机中的光学镜头,使得该显示装置能够具有更高的集成度和更小的体积。By adopting the above-mentioned setting method provided by the embodiment of the present disclosure, after the chaotic light reflected by the object is encoded by the filter layer 311, the gray-scale image is also obtained by the restoration algorithm in the subsequent steps. That is to say, the filter layer 311 can also encode chaotic light, which is a good substitute for the optical lens in a traditional camera, so that the display device can have a higher degree of integration and a smaller volume.
滤波层311的编码特性在进行图像还原时是利用传递函数矩阵来表示的,不同的滤波层311可以具有不同的传递函数矩阵,在一种可选的方式中,可以根据实际的成像需求,选择具有相应传递函数矩阵的滤波层311。The encoding characteristics of the filter layer 311 are expressed by a transfer function matrix when performing image restoration. Different filter layers 311 can have different transfer function matrices. In an optional manner, you can select according to actual imaging requirements. A filter layer 311 with a corresponding transfer function matrix.
在一种可选的方式中,显示面板还包括阳极导电层,该阳极导电层与掩膜层3112为一体结构,也即是阳极导电层与掩膜层3112可以为同一个结构,或者阳极导电层与掩膜层3112可以为连接着的两个结构。In an optional manner, the display panel further includes an anode conductive layer, and the anode conductive layer and the mask layer 3112 are an integrated structure, that is, the anode conductive layer and the mask layer 3112 may have the same structure, or the anode conductive layer may be an anode conductive layer. The layer and the mask layer 3112 may be two connected structures.
直接利用阳极导电层作为掩膜层3112,可以减少显示装置的层数,简化结构,降低成本。Using the anode conductive layer directly as the mask layer 3112 can reduce the number of layers of the display device, simplify the structure, and reduce the cost.
结合图6来看,本公开提供的显示装置的工作过程可以包括:In conjunction with FIG. 6, the working process of the display device provided by the present disclosure may include:
图像深度传感组件32发出参考光,透过显示面板31,照射到物体上返回,返回的光透过显示面板31,被图像深度传感组件32采集,图像深度传感组件32从采集到的多张输出图像中获取四张特定相位的输出图像,并对这四张输出图像进行图像还原,得到四张灰度图,之后根据还原出的这四张灰度图像得到深度图像。The image depth sensor component 32 emits reference light, passes through the display panel 31, illuminates the object and returns. The returned light passes through the display panel 31 and is collected by the image depth sensor component 32. Obtain four output images with specific phases from the multiple output images, and perform image restoration on these four output images to obtain four grayscale images, and then obtain a depth image based on the restored four grayscale images.
采用上述设置方式,通过滤波层311对物体反射回的混乱光线进行编码后, 后续也以通过还原算法得到最终的灰度图像。滤波层311替代了传统相机中的光学镜头,使得显示装置能够具有更高的集成度和更小的体积。With the above-mentioned setting method, after the chaotic light reflected by the object is coded by the filter layer 311, the final gray-scale image is also subsequently obtained by the restoration algorithm. The filter layer 311 replaces the optical lens in the traditional camera, so that the display device can have a higher integration level and a smaller volume.
可以理解的是,图像深度传感组件32的感光电路采集得到的只有未经还原的输出图像,但图像深度传感组件32还具有还原图像的功能,图像深度传感组件32还进一步地对输出图像进行还原,得到灰度图像,并根据灰度图像确定深度信息。即,图像深度传感组件32虽采集到了输出图像,最终的深度信息是依据还原后的灰度图像来确定的。图像还原以及得到灰度图像的这两步均利用图像深度传感组件32中集成的处理器来完成。It is understandable that the photosensitive circuit of the image depth sensing component 32 can only obtain unreduced output images, but the image depth sensing component 32 also has the function of restoring the image, and the image depth sensing component 32 further performs the output The image is restored to obtain a grayscale image, and the depth information is determined according to the grayscale image. That is, although the image depth sensing component 32 has collected the output image, the final depth information is determined based on the restored grayscale image. The two steps of restoring the image and obtaining the grayscale image are both completed by the processor integrated in the image depth sensing component 32.
本公开提供的技术方案所带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the present disclosure include at least:
本公开提供的显示装置,显示装置包括显示面板31以及图像深度传感组件32,显示面板31包括滤波层311,图像深度传感组件32用于执行深度图像的获取方法。由于利用滤波层311代替了传统深度相机中的光学镜头,无需设置复杂的光学镜头组,使得该滤波层和图像深度传感组件能够很好地集成在显示装置中,从而利用显示装置获取深度图像。The display device provided by the present disclosure includes a display panel 31 and an image depth sensing component 32, the display panel 31 includes a filter layer 311, and the image depth sensing component 32 is used to implement a depth image acquisition method. Since the filter layer 311 is used to replace the optical lens in the traditional depth camera, there is no need to set up a complicated optical lens group, so that the filter layer and the image depth sensing component can be well integrated in the display device, so that the display device can be used to obtain the depth image .
此外,本公开实施例还提供一种深度图像的获取装置,包括图像深度传感组件以及位于图像深度传感组件的外部的滤波层;该深度图像的获取装置可以用于执行上述实施例中提供的深度图像的获取方法。In addition, embodiments of the present disclosure also provide a depth image acquisition device, including an image depth sensing component and a filter layer located outside the image depth sensing component; the depth image acquisition device can be used to implement the depth image acquisition device provided in the above embodiments The method of obtaining the depth image.
图像深度传感组件,用于向滤波层发射预设相位的参考光;The image depth sensing component is used to emit reference light with a preset phase to the filter layer;
图像深度传感组件,用于通过接收反射光,获取至少四张输出图像,至少四张输出图像的接收相位和预设相位之间分别具有不同的相位差,反射光是参考光经滤波层后由物体反射的光;The image depth sensing component is used to obtain at least four output images by receiving the reflected light. The received phase and the preset phase of the at least four output images have different phase differences, respectively, and the reflected light is the reference light after passing through the filter layer. Light reflected by an object;
图像深度传感组件,用于根据滤波层的滤波参数以及至少四张输出图像,得到至少四张灰度图像;The image depth sensing component is used to obtain at least four grayscale images according to the filter parameters of the filter layer and at least four output images;
图像深度传感组件,用于根据至少四张灰度图像得到深度图像。The image depth sensing component is used to obtain a depth image based on at least four gray-scale images.
可选地,图像深度传感组件,用于获取待定滤波参数公式,待定滤波参数公式包括:Optionally, the image depth sensing component is used to obtain the undetermined filter parameter formula, and the undetermined filter parameter formula includes:
Figure PCTCN2021078271-appb-000013
Figure PCTCN2021078271-appb-000013
其中,H为滤波层的传递函数矩阵,H *是传递函数矩阵H的伴随矩阵,H w为待定滤波参数,ε为待定系数; Among them, H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient;
图像深度传感组件,用于将至少四张输出图像分别与待定滤波参数卷积得 到至少四张灰度图像,确定至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数;The image depth sensing component is used to convolve at least four output images with undetermined filter parameters to obtain at least four grayscale images, and determine that the resolution of the at least four grayscale images is at least the fourth corresponding to the highest resolution A undetermined coefficient;
图像深度传感组件,用于将至少四个第一待定系数的平均值确定为目标系数;The image depth sensing component is used to determine the average value of at least four first undetermined coefficients as the target coefficient;
图像深度传感组件,用于将目标系数作为待定系数带入待定滤波参数公式,得到滤波参数。The image depth sensing component is used to bring the target coefficient as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
可选地,至少四张输出图像的数量为四,四张输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:Optionally, the number of at least four output images is four, and the four output images include the first output image, the second output image, the third output image, and the fourth output image, where:
第一输出图像的接收相位和预设相位之间的相位差为0°,The phase difference between the received phase of the first output image and the preset phase is 0°,
第二输出图像的接收相位和预设相位之间具有90°的相位差,There is a 90° phase difference between the reception phase of the second output image and the preset phase,
第三输出图像的接收相位和预设相位之间具有180°的相位差,There is a phase difference of 180° between the reception phase of the third output image and the preset phase,
第四输出图像的接收相位和预设相位之间具有270°的相位差。There is a phase difference of 270° between the reception phase of the fourth output image and the preset phase.
可选地,至少四张灰度图像为第一输出图像对应的第一灰度图像、第二输出图像对应的第二灰度图像、第三输出图像对应的第三灰度图像以及第四输出图像对应的第四灰度图像,Optionally, the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, a third grayscale image corresponding to the third output image, and a fourth output image. The fourth grayscale image corresponding to the image,
图像深度传感组件,用于获取第一灰度图像、第二灰度图像、第三灰度图像以及第四灰度图像中每张灰度图像中每个像素点的灰度值;The image depth sensing component is used to obtain the gray value of each pixel in each gray image in the first gray image, the second gray image, the third gray image, and the fourth gray image;
图像深度传感组件,用于根据每个像素点的灰度值以及深度图像公式得到深度图像,深度图像公式包括:The image depth sensing component is used to obtain the depth image according to the gray value of each pixel and the depth image formula. The depth image formula includes:
Figure PCTCN2021078271-appb-000014
Figure PCTCN2021078271-appb-000014
Figure PCTCN2021078271-appb-000015
Figure PCTCN2021078271-appb-000015
其中,Α 1、Α 2、Α 3和Α 4依次分别为第一灰度图像、第二灰度图像、第三灰度图像和第四灰度图像中相同位置的像素点的灰度,L为深度图像中每个像素点对应的景深参数,φ为深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为参考光的频率。 Among them, A 1 , A 2 , A 3 and A 4 are respectively the gray scales of the pixels at the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image, L Is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the frequency of the reference light.
可选地,图像深度传感组件,用于将至少四张输出图像分别与滤波参数卷积得到至少四张灰度图像。Optionally, the image depth sensing component is used to convolve at least four output images with filter parameters to obtain at least four grayscale images.
此外,本公开实施例还提供一种计算机存储介质,该计算机存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,该至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现如上述实施例提供的深 度图像的获取方法的一些步骤,例如图1所示实施例中的步骤103至步骤104,以及图2所示实施例中的步骤203至步骤205。In addition, an embodiment of the present disclosure also provides a computer storage medium, the computer storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set consists of The processor loads and executes some steps of the depth image acquisition method provided in the above-mentioned embodiment, for example, step 103 to step 104 in the embodiment shown in FIG. 1 and step 203 to step in the embodiment shown in FIG. 2 205.
以上所述仅为本公开的可选实施例,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开说明书所附权利要求限定的保护范围之内。The above are only optional embodiments of the present disclosure and are not intended to limit the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the specification of the present disclosure. Within the scope of protection defined by the appended claims.

Claims (20)

  1. 一种深度图像的获取方法,用于图像深度传感组件中,所述图像深度传感组件的外部设置有滤波层,所述方法包括:A method for acquiring a depth image is used in an image depth sensing component, and a filter layer is provided outside the image depth sensing component, and the method includes:
    向所述滤波层发射预设相位的参考光;Emitting reference light with a preset phase to the filter layer;
    通过接收反射光,获取至少四张输出图像,所述至少四张输出图像的接收相位和所述预设相位之间分别具有不同的相位差,所述反射光是所述参考光经所述滤波层后由物体反射的光;By receiving reflected light, at least four output images are acquired, and the received phases of the at least four output images and the preset phases have different phase differences, and the reflected light is the reference light after the filtering. The light reflected by the object behind the layer;
    根据所述滤波层的滤波参数以及所述至少四张输出图像,得到至少四张灰度图像;Obtaining at least four grayscale images according to the filter parameters of the filter layer and the at least four output images;
    根据所述至少四张灰度图像得到深度图像。Obtain a depth image according to the at least four grayscale images.
  2. 根据权利要求1所述的方法,所述根据所述滤波层的滤波参数以及所述至少四张输出图像,得到至少四张灰度图像之前,所述方法还包括:The method according to claim 1, before obtaining at least four grayscale images according to the filtering parameters of the filter layer and the at least four output images, the method further comprises:
    获取所述滤波层的滤波参数。Obtain the filter parameters of the filter layer.
  3. 根据权利要求2所述的方法,所述获取所述滤波层的滤波参数,包括:The method according to claim 2, wherein said obtaining the filter parameters of the filter layer comprises:
    获取待定滤波参数公式,所述待定滤波参数公式包括:Obtain the undetermined filter parameter formula, the undetermined filter parameter formula includes:
    Figure PCTCN2021078271-appb-100001
    Figure PCTCN2021078271-appb-100001
    其中,H为所述滤波层的传递函数矩阵,H *是所述传递函数矩阵H的伴随矩阵,H w为所述待定滤波参数,ε为待定系数; Where H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient;
    将所述至少四张输出图像分别与所述待定滤波参数卷积得到至少四张灰度图像,确定所述至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数;The at least four output images are respectively convolved with the pending filter parameters to obtain at least four grayscale images, and it is determined that the definition of the at least four grayscale images is the highest corresponding to at least four first pending coefficient;
    将所述至少四个第一待定系数的平均值确定为目标系数;Determining an average value of the at least four first undetermined coefficients as the target coefficient;
    将所述目标系数作为所述待定系数带入所述待定滤波参数公式,得到所述滤波参数。The target coefficient is taken as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
  4. 根据权利要求1-3任一所述的方法,所述根据所述滤波参数以及所述至少四张输出图像,得到至少四张灰度图像,包括:The method according to any one of claims 1 to 3, wherein the obtaining at least four grayscale images according to the filtering parameters and the at least four output images includes:
    将所述至少四张输出图像分别与所述滤波参数卷积得到所述至少四张灰度图像。The at least four output images are respectively convolved with the filter parameter to obtain the at least four grayscale images.
  5. 根据权利要求1-4任一所述的方法,所述至少四张输出图像的接收相位和所述预设相位之间具有的不同的相位差呈差值为x的等差数列,其中,x×n=360°,所述n为所述输出图像的总数。The method according to any one of claims 1 to 4, wherein the different phase differences between the received phases of the at least four output images and the preset phases are an arithmetic sequence with a difference of x, where x ×n=360°, the n is the total number of output images.
  6. 根据权利要求5所述的方法,所述至少四张输出图像的数量为四,四张所述输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:The method according to claim 5, wherein the number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
    所述第一输出图像的接收相位和所述预设相位之间的相位差为0°,The phase difference between the reception phase of the first output image and the preset phase is 0°,
    所述第二输出图像的接收相位和所述预设相位之间具有90°的相位差,There is a 90° phase difference between the reception phase of the second output image and the preset phase,
    所述第三输出图像的接收相位和所述预设相位之间具有180°的相位差,There is a phase difference of 180° between the reception phase of the third output image and the preset phase,
    所述第四输出图像的接收相位和所述预设相位之间具有270°的相位差。There is a phase difference of 270° between the reception phase of the fourth output image and the preset phase.
  7. 根据权利要求6所述的方法,所述至少四张灰度图像为所述第一输出图像对应的第一灰度图像、所述第二输出图像对应的第二灰度图像、所述第三输出图像对应的第三灰度图像以及所述第四输出图像对应的第四灰度图像,所述根据所述至少四张灰度图像得到深度图像,包括:The method according to claim 6, wherein the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and the third grayscale image. The third grayscale image corresponding to the output image and the fourth grayscale image corresponding to the fourth output image, the obtaining a depth image according to the at least four grayscale images includes:
    获取所述第一灰度图像、所述第二灰度图像、所述第三灰度图像以及所述第四灰度图像中每张灰度图像中每个像素点的灰度值;Acquiring the gray value of each pixel in each gray image in the first gray image, the second gray image, the third gray image, and the fourth gray image;
    根据所述每个像素点的灰度值以及深度图像公式得到所述深度图像,所述深度图像公式包括:The depth image is obtained according to the gray value of each pixel and the depth image formula, and the depth image formula includes:
    Figure PCTCN2021078271-appb-100002
    Figure PCTCN2021078271-appb-100002
    Figure PCTCN2021078271-appb-100003
    Figure PCTCN2021078271-appb-100003
    其中,Α 1、Α 2、Α 3和Α 4依次分别为所述第一灰度图像、所述第二灰度图像、所述第三灰度图像和所述第四灰度图像中相同位置的像素点的灰度,L为所述深度图像中每个像素点对应的景深参数,φ为所述深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为所述参考光的频率。 Wherein, A 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image , L is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the The frequency of the reference light.
  8. 根据权利要求1所述的方法,所述根据所述滤波层的滤波参数以及所述至少四张输出图像,得到至少四张灰度图像之前,所述方法还包括:The method according to claim 1, before obtaining at least four grayscale images according to the filtering parameters of the filter layer and the at least four output images, the method further comprises:
    获取待定滤波参数公式,所述待定滤波参数公式包括:Obtain the undetermined filter parameter formula, the undetermined filter parameter formula includes:
    Figure PCTCN2021078271-appb-100004
    Figure PCTCN2021078271-appb-100004
    其中,H为所述滤波层的传递函数矩阵,H *是所述传递函数矩阵H的伴随矩阵,H w为所述待定滤波参数,ε为待定系数; Where H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient;
    将所述至少四张输出图像分别与所述待定滤波参数卷积得到至少四张灰度图像,确定所述至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数;The at least four output images are respectively convolved with the pending filter parameters to obtain at least four grayscale images, and it is determined that the definition of the at least four grayscale images is the highest corresponding to at least four first pending coefficient;
    将所述至少四个第一待定系数的平均值确定为目标系数;Determining an average value of the at least four first undetermined coefficients as the target coefficient;
    将所述目标系数作为所述待定系数带入所述待定滤波参数公式,得到所述滤波参数;Bringing the target coefficient as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter;
    所述根据所述滤波参数以及所述至少四张输出图像,得到至少四张灰度图像,包括:The obtaining at least four grayscale images according to the filtering parameters and the at least four output images includes:
    将所述至少四张输出图像分别与所述滤波参数卷积得到所述至少四张灰度图像;Convolve the at least four output images with the filter parameters to obtain the at least four grayscale images;
    所述至少四张输出图像的数量为四,四张所述输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:The number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output image, wherein:
    所述第一输出图像的接收相位和所述预设相位之间的相位差为0°,The phase difference between the reception phase of the first output image and the preset phase is 0°,
    所述第二输出图像的接收相位和所述预设相位之间具有90°的相位差,There is a 90° phase difference between the reception phase of the second output image and the preset phase,
    所述第三输出图像的接收相位和所述预设相位之间具有180°的相位差,There is a phase difference of 180° between the reception phase of the third output image and the preset phase,
    所述第四输出图像的接收相位和所述预设相位之间具有270°的相位差;A phase difference of 270° between the reception phase of the fourth output image and the preset phase;
    所述至少四张灰度图像为所述第一输出图像对应的第一灰度图像、所述第二输出图像对应的第二灰度图像、所述第三输出图像对应的第三灰度图像以及所述第四输出图像对应的第四灰度图像,所述根据所述至少四张灰度图像得到深度图像,包括:The at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, and a third grayscale image corresponding to the third output image And a fourth grayscale image corresponding to the fourth output image, the obtaining a depth image according to the at least four grayscale images includes:
    获取所述第一灰度图像、所述第二灰度图像、所述第三灰度图像以及所述第四灰度图像中每张灰度图像中每个像素点的灰度值;Acquiring the gray value of each pixel in each gray image in the first gray image, the second gray image, the third gray image, and the fourth gray image;
    根据所述每个像素点的灰度值以及深度图像公式得到所述深度图像,所述深度图像公式包括:The depth image is obtained according to the gray value of each pixel and the depth image formula, and the depth image formula includes:
    Figure PCTCN2021078271-appb-100005
    Figure PCTCN2021078271-appb-100005
    Figure PCTCN2021078271-appb-100006
    Figure PCTCN2021078271-appb-100006
    其中,Α 1、Α 2、Α 3和Α 4依次分别为所述第一灰度图像、所述第二灰度图像、所述第三灰度图像和所述第四灰度图像中相同位置的像素点的灰度,L为所述深度图像中每个像素点对应的景深参数,φ为所述深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为所述参考光的频率。 Wherein, A 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image , L is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the The frequency of the reference light.
  9. 一种显示装置,所述显示装置包括显示面板以及图像深度传感组件,所述显示面板包括滤波层,所述图像深度传感组件用于执行权利要求1-8任一所述的深度图像的获取方法。A display device, the display device comprising a display panel and an image depth sensing component, the display panel comprising a filter layer, and the image depth sensing component is used to perform the depth image processing of any one of claims 1-8 Obtaining method.
  10. 根据权利要求9所述的显示装置,所述图像深度传感组件位于所述显示面板的外部。9. The display device of claim 9, wherein the image depth sensing component is located outside the display panel.
  11. 根据权利要求9所述的显示装置,所述图像深度传感组件位于所述显示面板的内部。9. The display device of claim 9, wherein the image depth sensing component is located inside the display panel.
  12. 根据权利要求10所述的显示装置,所述显示面板包括层叠的透明基板、所述滤波层以及透明封装膜层,所述图像深度传感组件位于所述透明基板远离所述透明封装膜层一侧。The display device according to claim 10, wherein the display panel comprises a laminated transparent substrate, the filter layer and a transparent packaging film layer, and the image depth sensing component is located on the transparent substrate far away from the transparent packaging film layer. side.
  13. 根据权利要求12所述的显示装置,所述滤波层包括叠置的发光单元层和掩膜层,所述掩膜层位于所述滤波层靠近所述图像深度传感组件的一侧。12. The display device of claim 12, the filter layer comprises a stacked light-emitting unit layer and a mask layer, and the mask layer is located on a side of the filter layer close to the image depth sensing component.
  14. 根据权利要求12所述的显示装置,所述掩膜层的材料包括钼金属材料。The display device according to claim 12, wherein the material of the mask layer includes a molybdenum metal material.
  15. 根据权利要求13所述的显示装置,所述显示面板还包括阳极导电层,所述阳极导电层与所述掩膜层为一体结构。13. The display device according to claim 13, wherein the display panel further comprises an anode conductive layer, and the anode conductive layer and the mask layer are an integral structure.
  16. 一种深度图像的获取装置,包括图像深度传感组件以及位于所述图像深 度传感组件的外部的滤波层;A depth image acquisition device, comprising an image depth sensing component and a filter layer located outside the image depth sensing component;
    所述图像深度传感组件,用于向所述滤波层发射预设相位的参考光;The image depth sensing component is configured to emit reference light with a preset phase to the filter layer;
    所述图像深度传感组件,用于通过接收反射光,获取至少四张输出图像,所述至少四张输出图像的接收相位和所述预设相位之间分别具有不同的相位差,所述反射光是所述参考光经所述滤波层后由物体反射的光;The image depth sensing component is configured to obtain at least four output images by receiving reflected light, and the received phases of the at least four output images and the preset phases have different phase differences. Light is the light reflected by the object after the reference light passes through the filter layer;
    所述图像深度传感组件,用于根据所述滤波层的滤波参数以及所述至少四张输出图像,得到至少四张灰度图像;The image depth sensing component is configured to obtain at least four grayscale images according to the filter parameters of the filter layer and the at least four output images;
    所述图像深度传感组件,用于根据所述至少四张灰度图像得到深度图像。The image depth sensing component is used to obtain a depth image based on the at least four gray-scale images.
  17. 根据权利要求16所述的深度图像的获取装置,所述图像深度传感组件,用于获取待定滤波参数公式,所述待定滤波参数公式包括:The depth image acquiring device according to claim 16, wherein the image depth sensing component is used to acquire a undetermined filter parameter formula, the undetermined filter parameter formula comprising:
    Figure PCTCN2021078271-appb-100007
    Figure PCTCN2021078271-appb-100007
    其中,H为所述滤波层的传递函数矩阵,H *是所述传递函数矩阵H的伴随矩阵,H w为所述待定滤波参数,ε为待定系数; Where H is the transfer function matrix of the filter layer, H * is the adjoint matrix of the transfer function matrix H, H w is the undetermined filter parameter, and ε is the undetermined coefficient;
    所述图像深度传感组件,用于将所述至少四张输出图像分别与所述待定滤波参数卷积得到至少四张灰度图像,确定所述至少四张灰度图像的清晰度均为最高时所对应的至少四个第一待定系数;The image depth sensing component is configured to convolve the at least four output images with the undetermined filter parameter to obtain at least four grayscale images, and determine that the definition of the at least four grayscale images is the highest At least four first undetermined coefficients corresponding to time;
    所述图像深度传感组件,用于将所述至少四个第一待定系数的平均值确定为目标系数;The image depth sensing component is used to determine the average value of the at least four first undetermined coefficients as the target coefficient;
    所述图像深度传感组件,用于将所述目标系数作为所述待定系数带入所述待定滤波参数公式,得到所述滤波参数。The image depth sensing component is used to bring the target coefficient as the undetermined coefficient into the undetermined filter parameter formula to obtain the filter parameter.
  18. 根据权利要求17所述的深度图像的获取装置,所述至少四张输出图像的数量为四,四张所述输出图像包括第一输出图像、第二输出图像、第三输出图像和第四输出图像,其中:The depth image acquisition device according to claim 17, wherein the number of the at least four output images is four, and the four output images include a first output image, a second output image, a third output image, and a fourth output Image, where:
    所述第一输出图像的接收相位和所述预设相位之间的相位差为0°,The phase difference between the reception phase of the first output image and the preset phase is 0°,
    所述第二输出图像的接收相位和所述预设相位之间具有90°的相位差,There is a 90° phase difference between the reception phase of the second output image and the preset phase,
    所述第三输出图像的接收相位和所述预设相位之间具有180°的相位差,There is a phase difference of 180° between the reception phase of the third output image and the preset phase,
    所述第四输出图像的接收相位和所述预设相位之间具有270°的相位差。There is a phase difference of 270° between the reception phase of the fourth output image and the preset phase.
  19. 根据权利要求18所述的深度图像的获取装置,所述至少四张灰度图像为所述第一输出图像对应的第一灰度图像、所述第二输出图像对应的第二灰度图像、所述第三输出图像对应的第三灰度图像以及所述第四输出图像对应的第四灰度图像,The depth image acquisition device according to claim 18, wherein the at least four grayscale images are a first grayscale image corresponding to the first output image, a second grayscale image corresponding to the second output image, A third grayscale image corresponding to the third output image and a fourth grayscale image corresponding to the fourth output image,
    所述图像深度传感组件,用于获取所述第一灰度图像、所述第二灰度图像、所述第三灰度图像以及所述第四灰度图像中每张灰度图像中每个像素点的灰度值;The image depth sensing component is used to obtain each of the first grayscale image, the second grayscale image, the third grayscale image, and the fourth grayscale image. The gray value of each pixel;
    所述图像深度传感组件,用于根据所述每个像素点的灰度值以及深度图像公式得到所述深度图像,所述深度图像公式包括:The image depth sensing component is configured to obtain the depth image according to the gray value of each pixel and a depth image formula, and the depth image formula includes:
    Figure PCTCN2021078271-appb-100008
    Figure PCTCN2021078271-appb-100008
    Figure PCTCN2021078271-appb-100009
    Figure PCTCN2021078271-appb-100009
    其中,Α 1、Α 2、Α 3和Α 4依次分别为所述第一灰度图像、所述第二灰度图像、所述第三灰度图像和所述第四灰度图像中相同位置的像素点的灰度,L为所述深度图像中每个像素点对应的景深参数,φ为所述深度图像中每个像素点对应的相位差,C为光速,π为圆周率,f为所述参考光的频率。 Wherein, A 1 , A 2 , A 3 and A 4 are respectively the same position in the first gray scale image, the second gray scale image, the third gray scale image, and the fourth gray scale image , L is the depth of field parameter corresponding to each pixel in the depth image, φ is the phase difference corresponding to each pixel in the depth image, C is the speed of light, π is the circumference of the circle, and f is the The frequency of the reference light.
  20. 根据权利要求16-19任一所述的深度图像的获取装置,所述图像深度传感组件,用于将所述至少四张输出图像分别与所述滤波参数卷积得到所述至少四张灰度图像。The depth image acquisition device according to any one of claims 16-19, wherein the image depth sensing component is configured to convolve the at least four output images with the filter parameters to obtain the at least four gray images. Degree image.
PCT/CN2021/078271 2020-02-27 2021-02-26 Depth image obtaining method and device, and display device WO2021170114A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010124155.1 2020-02-27
CN202010124155.1A CN111464721B (en) 2020-02-27 2020-02-27 Depth image acquisition method and display device

Publications (1)

Publication Number Publication Date
WO2021170114A1 true WO2021170114A1 (en) 2021-09-02

Family

ID=71679999

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078271 WO2021170114A1 (en) 2020-02-27 2021-02-26 Depth image obtaining method and device, and display device

Country Status (2)

Country Link
CN (1) CN111464721B (en)
WO (1) WO2021170114A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464721B (en) * 2020-02-27 2022-02-08 京东方科技集团股份有限公司 Depth image acquisition method and display device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160078628A1 (en) * 2012-01-03 2016-03-17 Samsung Electronics Co., Ltd. Display apparatus and method for estimating depth
CN108616735A (en) * 2016-12-02 2018-10-02 北京三星通信技术研究有限公司 Device and method for the three dimensional depth image for obtaining object
CN109215604A (en) * 2018-11-07 2019-01-15 京东方科技集团股份有限公司 Display device and its lines recognition methods, product, the lines recognition means of realizing this method
CN109508683A (en) * 2018-11-21 2019-03-22 京东方科技集团股份有限公司 For the lines recognition methods of display device, lines detection chip and display device
CN111464721A (en) * 2020-02-27 2020-07-28 京东方科技集团股份有限公司 Depth image acquisition method and display device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566290B (en) * 2010-12-22 2014-06-18 上海微电子装备有限公司 Projection ramp exposure photoetching machine device and method
JP5414752B2 (en) * 2011-08-08 2014-02-12 キヤノン株式会社 Image processing method, image processing apparatus, imaging apparatus, and image processing program
CN102679950B (en) * 2012-05-18 2014-06-18 中国航空工业集团公司北京长城计量测试技术研究所 Distance measuring device and method based on three-wavelength femtosecond laser
CN103370112A (en) * 2012-12-24 2013-10-23 华为技术有限公司 Laser light source output apparatus and laser output system
US9584790B2 (en) * 2013-06-03 2017-02-28 Microsoft Technology Licensing, Llc Edge preserving depth filtering
KR20170098089A (en) * 2016-02-19 2017-08-29 삼성전자주식회사 Electronic apparatus and operating method thereof
CN107068886B (en) * 2017-05-12 2019-01-25 京东方科技集团股份有限公司 Organic electroluminescence device and preparation method thereof, light emitting device
CN109962091B (en) * 2019-03-29 2021-01-26 京东方科技集团股份有限公司 Electroluminescent display panel and display device
CN110780282B (en) * 2019-10-25 2020-10-09 深圳煜炜光学科技有限公司 Multi-line laser radar with synchronous parallel scanning function and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160078628A1 (en) * 2012-01-03 2016-03-17 Samsung Electronics Co., Ltd. Display apparatus and method for estimating depth
CN108616735A (en) * 2016-12-02 2018-10-02 北京三星通信技术研究有限公司 Device and method for the three dimensional depth image for obtaining object
CN109215604A (en) * 2018-11-07 2019-01-15 京东方科技集团股份有限公司 Display device and its lines recognition methods, product, the lines recognition means of realizing this method
CN109508683A (en) * 2018-11-21 2019-03-22 京东方科技集团股份有限公司 For the lines recognition methods of display device, lines detection chip and display device
CN111464721A (en) * 2020-02-27 2020-07-28 京东方科技集团股份有限公司 Depth image acquisition method and display device

Also Published As

Publication number Publication date
CN111464721A (en) 2020-07-28
CN111464721B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CA3157194C (en) Systems and methods for augmentation of sensor systems and imaging systems with polarization
KR102456875B1 (en) Depth imaging device, method and application
JP7208156B2 (en) Pixel-wise imaging method and system
KR102497704B1 (en) Optical detector
Heredia Conde Compressive sensing for the photonic mixer device
US20090268045A1 (en) Apparatus and methods for configuration and optimization of image sensors for gaze tracking applications
CN111727602B (en) Single chip RGB-D camera
JP4900723B2 (en) Image processing apparatus, image processing program, and display apparatus
EP3918415B1 (en) Apparatus integrated with display panel for tof 3d spatial positioning
JP2010071976A (en) Distance estimation device, distance estimation method, program, integrated circuit, and camera
US9131221B2 (en) Stereoscopic image capturing method, system and camera
JP2016529491A (en) Time-of-flight camera system
JP2016510396A (en) Method and apparatus for merging depth images generated using different depth imaging techniques
CN108921781A (en) A kind of light field joining method based on depth
KR20170094968A (en) Member for measuring depth between camera module, and object and camera module having the same
US20210310803A1 (en) Sensing element having pixels exposed by aperture increasing along predetermined direction
WO2021170114A1 (en) Depth image obtaining method and device, and display device
CN115170810B (en) Visible light infrared image fusion target detection example segmentation method
Skinner et al. Underwater image dehazing with a light field camera
CN109788216A (en) For the anti-interference method of TOF, device and TOF sensor chip
CN111678457A (en) ToF device under OLED transparent screen and distance measuring method
CN111654626A (en) High-resolution camera containing depth information
US20220295038A1 (en) Multi-modal and multi-spectral stereo camera arrays
Conde et al. Low-light image enhancement for multiaperture and multitap systems
US11610339B2 (en) Imaging processing apparatus and method extracting a second RGB ToF feature points having a correlation between the first RGB and TOF feature points

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21761181

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21761181

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21761181

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12/04/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21761181

Country of ref document: EP

Kind code of ref document: A1