APPARATUS AND METHOD FOR GENERATING THREE-DIMENSIONAL IMAGE
20220007003 · 2022-01-06
Assignee
Inventors
Cpc classification
G01S17/894
PHYSICS
H04N13/254
ELECTRICITY
H04N13/271
ELECTRICITY
G01B11/25
PHYSICS
International classification
H04N13/271
ELECTRICITY
Abstract
The present invention can provide a depth image generation apparatus comprising: a light source for generating light to be emitted toward an object in order to solve an SNR problem caused by resolution degradation and an insufficient amount of received light, while not increasing a light-emitting amount when photographing a remote object; a first optical system for emitting, as a dot pattern, at the object, the light generated by the light source; an image sensor for receiving light reflected from the object and converting same into an electrical signal; an image processor for acquiring depth data through the electrical signal; and a control unit connected to the light source, the first optical system, the image sensor and the image processor, wherein the control unit controls the first optical system so as to scan the object by moving the dot pattern in a preset pattern.
Claims
1-17. (canceled)
18. A depth image generating apparatus comprising: a plurality of light sources configured to emit light toward an object; a first optical system configured to direct the emitted light toward the object in a dot pattern; an image sensor configured to receive light reflected from the object and convert the received light to an electrical signal; an image processor configured to acquire depth data based on the electrical signal; and a controller operably coupled to the plurality of light sources, the first optical system, the image sensor, and the image processor, wherein the controller is configured to control the plurality of light sources to scan the object by controlling the dot pattern.
19. The depth image generating apparatus of claim 18, wherein the plurality of light sources are configured to emit light independently.
20. The depth image generating apparatus of claim 19, wherein the dot pattern comprises divided areas respectively corresponding one-to-one to a plurality of receiving elements of the image sensor.
21. The depth image generating apparatus of claim 20, wherein each divided area is sub-divided into sub-areas respectively corresponding to the plurality of light sources, and the dot pattern generated from each of the plurality of light sources is irradiated to a corresponding sub-divided sub-area.
22. The depth image generating apparatus of claim 21, wherein a size of each sub-divided sub-area is proportional to a maximum amount of light emitted from a corresponding light source.
23. The depth image generating apparatus of claim 21, wherein the controller is further configured to control the plurality of light sources to emit light in due order for one frame, and control the image processor to combine depth data respectively acquired for the one frame using position information of each sub-divided sub-area.
24. The depth image generating apparatus of claim 23, wherein the controller is further configured to control the amount of light emitted from the plurality of light sources based on at least one of a distance to the object or a detected signal to noise ratio (SNR).
25. The depth image generating apparatus of claim 21, wherein the controller is further configured to control a number of light sources among the plurality of light sources emitting light at the same time for one frame based on at least one of a distance to the object or a detected signal to noise ratio (SNR).
26. The depth image generating apparatus of claim 25, wherein the controller is further configured to control the image processor to increase a frame rate based on all of the plurality of light sources emitting light at the same time.
27. The depth image generating apparatus of claim 21, wherein the controller is further configured to control the plurality of light sources to emit light twice for one frame and control the image processor to generate a depth image using High Dynamic Range (HDR) based on the acquired depth data.
28. The depth image generating apparatus of claim 21, wherein the controller is further configured to control the plurality of light sources to emit light at different levels between two consecutive frames and control the image processor to generate a depth image using HDR based on the acquired depth data.
29. The depth image generating apparatus of claim 18, wherein the first optical system comprises: a collimator lens configured to condense light emitted from the plurality of light sources into parallel light; and a diffractive optical element configured to direct the parallel light toward the object in the dot pattern.
30. The depth image generating apparatus of claim 18, wherein the image sensor comprises multiple array receiving elements of a single photon avalanche diode (SPAD) array type corresponding to the dot pattern.
31. The depth image generating apparatus of claim 30, further comprising a second optical system configured to direct light reflected from the object in the dot pattern to correspondingly be received by the multiple array receiving elements.
32. The depth image generating apparatus of claim 31, wherein each of the plurality of light sources is a vertical cavity surface emitting laser (VCSEL).
33. A method for controlling a depth image generating apparatus, the method comprising: directing light emitted by a plurality of light sources toward an object in a dot pattern; acquiring primary depth data of the object based on light reflected from the object; acquiring a photographing environment and distance information of the object based on the primary depth data; setting a light emitting pattern of the plurality of light sources based on the acquired photographing environment and distance information; and acquiring secondary depth data based on the light emitting pattern.
34. The method of claim 33, further comprising changing the light emitting pattern based on the acquired secondary depth data.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
DETAILED DESCRIPTION OF THE INVENTION
[0050] Reference will now be made in detail to the preferred embodiments of the present specification, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. The suffixes “module” and “unit” for the elements used in the following description are given or used in common by considering facilitation in writing this disclosure only but fail to have meanings or roles discriminated from each other. Also, in description of the embodiments disclosed in this specification, if detailed description of the disclosure known in respect of the present disclosure is determined to make the subject matter of the embodiments disclosed in this specification obscure, the detailed description will be omitted. Also, the accompanying drawings are only intended to facilitate understanding of the embodiments disclosed in this specification, and it is to be understood that technical spirits disclosed in this specification are not limited by the accompanying drawings and the accompanying drawings include all modifications, equivalents or replacements included in technical spirits and technical scope of the present disclosure.
[0051] Although the terms such as “first” and/or “second” may be used to describe various elements, it is to be understood that the elements are not limited by such terms. The terms may only be used to identify one element from another element.
[0052] The expression that an element is “connected” or “coupled” to another element should be understood that the element may directly be connected or coupled to another element, a third element may be interposed between the corresponding elements, or the corresponding elements may be connected or coupled to each other through a third element. On the other hand, the expression that an element is “directly connected” or “directly coupled” to another element” means that no third element exists therebetween.
[0053] It is to be understood that the singular expression includes the plural expression unless defined differently on the context.
[0054] In this application, it is to be understood that the terms such as “include” and “has” are intended to designate that features, numbers, steps, operations, elements, parts, or their combination, which are disclosed in the specification, exist, and are intended not to previously exclude the presence or optional possibility of one or more other features, numbers, steps, operations, elements, parts, or their combinations.
[0055]
[0056] The present disclosure relates to a TOF camera that acquires depth data of an object 300 by using a distance difference of light irradiated from a light transmitter 210, reflected in the object 300 and then received in a light receiver 220.
[0057] The light transmitter 210 may include a light source 211 generating light irradiated toward the object 300, and first optical systems 212 and 213 irradiating the light generated from the light source 211 to a dot pattern 214 of the object.
[0058] The light source 211 may be a vertical cavity surface emitting laser (VCSEL). The VCSEL is a laser for emitting light to a surface of an EPI wafer in a vertical direction unlike a general lateral light emitting laser. The VCSEL may include a plurality of cavities through which light emits, and therefore, may be favorable in irradiating light in a dot pattern. Also, the VCSEL has strong linearity of light, which is irradiated, and light irradiated through one cavity may have an emitting angle of 10° to 20° . Also, the VCSEL may generate and irradiate light of a wavelength of 905 nm to 960 nm to acquire three-dimensional data.
[0059] Also, the light source 211 may include a plurality of light sources independently emitting light, and the respective light sources may irradiate light in a dot pattern so as not to overlap each other. A structure of the light source 211 and irradiation light of a dot pattern, which is irradiated from the light source, will be described in detail with reference to
[0060] The first optical systems 212 and 213 may include a collimator lens 212 condensing light irradiated from the light source 211 into parallel light, and a diffractive optical element (DOE) 213 irradiating the parallel light toward the object 300 in a dot pattern 214.
[0061] The collimator lens 212 may condense light emitted from each cavity of the VCSEL to make the parallel light.
[0062] The diffractive optical element 213 may irradiate the parallel light emitted from the collimator lens 212 toward the object 300 in the dot pattern 214 through diffractive property and interference of light based on a nano pattern. The nano pattern of the diffractive optical element 213 may be made of a UV resin having a period pattern of a nano structure on a glass substrate.
[0063] The light irradiated from the light transmitter 210 is reflected in the object 300 and then enters the light receiver 220, and the light receiver 220 may include an Rx lens 221 guiding the light reflected in the object 300 to an image sensor 222, the image sensor 222 converting the received light into an electrical signal, and an image processor 223 generating a depth image through the electrical signal of the image sensor 222. As the case may be, the light receiver 220 may further include a filter that passes through only a specific wavelength.
[0064] VGA grade (480x640) or more may be used as the image sensor 222, and the image sensor 222 may include multiple array receiving elements of a single photon avalanche diode (SPAD) array type, or a CMOS image sensor may be used as the image sensor 222. Each receiving element of the image sensor may include an in phase receptor receiving in phase light from the light reflected in an object and an out phase receptor receiving out phase light. The image processor 223 may measure a phase difference between the light irradiated through the light received by the in phase receptor and the out phase receptor and the light reflected in the object and acquire depth information of the object through the measured phase difference.
[0065] The image sensor 222 may include a plurality of receiving elements, and irradiation light of each of dot patterns 214a to 214d respectively irradiated from the plurality of light sources 211 may correspond to the respective receiving elements one-to-one. That is, the number of dot patterns 214a to 214d respectively irradiated from the plurality of light sources 211 may be more than resolution of the image sensor 222. In detail, the plurality of light sources 211 may respectively irradiate the dot patterns 214a to 214d to an irradiation area 310, wherein dots may enter divided areas 311 respectively corresponding to the receiving elements one by one. Regarding this, a detailed description will be given through
[0066] The irradiation light of the dot patterns 214a to 214d respectively irradiated from the plurality of light sources 211 may enter a receiving element corresponding to a second optical system 221 (Rx lens).
[0067] The present disclosure may include a controller for controlling the light transmitter 210 and the light receiver 220, and the controller may control the light sources 211 to scan the object 300 by controlling a light emitting pattern of the plurality of light sources.
[0068] The present disclosure is intended to solve the above problem that may occur by irradiating light to a surface light source like the TOF camera 100 of the related art described in
[0069] In order to solve the above problems, the present disclosure adopts technical spirits for condensing and irradiating light generated from a plurality of light sources in and to the dot pattern 214 and controlling a light emitting pattern of the light sources to scan an object.
[0070]
[0071] The light source 211 of the present disclosure may include a plurality of light sources 211a and 211b independently emitting light. Each of the light sources 211a and 211d may be VSCEL independently emitting light. In detail,
[0072] The light generated from one light source (one of 211a and 211d) may be irradiated in a dot pattern to correspond to the divided areas 311 one-to-one. Also, the divided areas 311 may correspond to respective receiving elements 2221 of the image sensor 222 one-to-one. That is, the number of dot patterns generated by one light source (one of 211a and 211d) may be the same resolution of the image sensor 222.
[0073] The dot patterns irradiated from the respective light sources 211a and 211b may have different positions in the divided areas 311 constituting the irradiation area 310 by passing through the diffractive optical element 213. In detail,
[0074] That is, the present disclosure includes a plurality of light sources 211a and 211b, each of which generates irradiation light of a dot pattern, and the irradiation light may be irradiated to different positions of the divided areas 311.
[0075]
[0076] The irradiation area 310 is an area to which the dot patterns generated from the light sources 211a and 211b (see
[0077] The irradiation area 310 may include divided areas 311 corresponding to receiving elements 2221 (see
[0078] The divided areas 311 may be divided into sub-divided areas 312a to 312d depending on a position to which the irradiation light of the dot patterns generated from the respective light sources 211a and 211d is irradiated. The dot pattern generated from the first light source 211a may be irradiated to the first sub-divided area 312a of the divided areas 311, the dot pattern generated from the second light source 211b may be irradiated to the second sub-divided area 312b of the divided areas 311, the dot pattern generated from the third light source 211c may be irradiated to the third sub-divided area 312c of the divided areas 311, and the dot pattern generated from the fourth light source 211d may be irradiated to the fourth sub-divided area 312d of the divided areas 311. That is, the dot patterns generated from the respective light sources 211a and 211d may correspond to the divided areas 311 one-to-one, and all the dot patterns generated from the plurality of light sources 211a and 211d may correspond to the sub-divided areas 312a to 312d, respectively.
[0079] Since the plurality of light sources 211a and 211d emit light independently, the dot patterns generated from the respective light sources 211a and 211d may be flickered independently.
[0080]
[0081] Although
[0082] In detail,
[0083] The size of the sub-divided areas 312a to 312d may be controlled by the nano pattern of the diffractive optical element 213. Alternatively, the size of the sub-divided areas 312a to 312d may be controlled by an irradiation angle of the light irradiated from each of the plurality of light sources 211a to 211d.
[0084] The size of the sub-divided areas 312a to 312d may correspond to the amount of light generated from the plurality of light sources 211a to 211d to the maximum. That is, the first light source 211a corresponding to a wide sub-divided area 312a (
[0085] Although resolution of a depth image is generally determined by the image sensor 222 (see
[0086]
[0087] In the present disclosure, the plurality of light sources 211a to 211d sequentially emit light for one frame for taking an object, and depth data respectively acquired from the light sources 211a to 211d may be combined to enhance resolution. For example, when the number of the plurality of light sources 211a to 211d is four, depth data may be acquired with resolution corresponding to maximum four times of resolution of the image sensor 222 (see
[0088] In detail,
[0089]
[0090] The area 310 to which the light sources 211a to 211d are irradiated may be divided into the divided areas 311 to correspond to the receiving elements of the image sensor 222. When a surface light source irradiates light to the irradiation area 310 like the existing TOF camera, a depth image corresponding to resolution of the image sensor 222 may be acquired. However, in the present disclosure, light may be irradiated such that the dot patterns 214a to 214d respectively generated by the light sources 211a to 211d may correspond to the sub-divided areas 312a to 312d of the divided area 311 one-to-one, whereby resolution may be enhanced to a multiple as much as the number of the sub-divided areas 312a to 312d.
[0091] When the light sources 211a to 211d emit light in due order, the controller of the present disclosure may recognize corresponding coordinate information of the sub-divided areas 312a to 312d from the light sources 211a to 211d emitting light. The controller of the present disclosure may increase resolution by combining the respectively acquired depth data through the coordinate information of the sub-divided areas 312a to 312d. For example, when the first light source 221a emits light, the controller may recognize depth data acquired from the image processor 223 (see
[0092] In the present disclosure, a depth image may be acquired by adjusting a power of a light source. Regarding this, a description will be given with reference to
[0093]
[0094] When a distant object is photographed, a power of each light source may be subjected to a maximum range for sequential photographing, whereby a depth image of high resolution may be acquired and an SNR problem may be avoided.
[0095] However, when a close object is photographed, the SNR problem may be avoided even though a power of each light source is weak. Also, it is advantageous in that power consumption may be reduced in addition to the SNR problem.
[0096] Therefore, when a close object is photographed at high resolution, the light sources 211a to 211d emit light in due order. However, even though the amount of light emitted from each of the light sources 211a to 211d is reduced, a depth image may be acquired at a low SNR.
[0097] In detail,
[0098] However, when a distance of an object is distant or an SNR is high due to external light, the method of
[0099]
[0100] The light emitting pattern described in
[0101] When a distance of an object is distant or an SNR is high due to external light, it may be preferable to enhance the maximum amount of light emission. In order to increase the amount of light emission, the controller of the present disclosure may allow at least two of the plurality of light sources 211a to 211d to emit light at the same time for one frame. In detail,
[0102] The number of light sources emitting light at the same time may be varied to correspond to at least one of the distance of the object and the SNR. This may enhance the amount of light emission when all of the plurality of light sources emit light but may damage eyes when light is irradiated toward the eyes and cause power consumption more than needs. Therefore, the number of light sources emitting light at the same time for next frame may be controlled based on the distance of the object and SNR information, which are acquired for one frame. In detail,
[0103] When the plurality of light sources 211a to 211d emit light at the same time, it is difficult to acquire resolution gain but acquire gain at a frame rate. Regarding this, a description will be given with reference to
[0104]
[0105] The frame rate means a rate of a speed for photographing or reproducing continuous images, and the higher the frame rate is, the faster depth data acquired per second may be.
[0106] It is difficult for the light emitting pattern for resolution gain to enhance the frame rate because of the time required to emit (flicker) light from the plurality of light sources 211a to 211d in due order.
[0107] However, if resolution gain is abandoned, since the plurality of light sources 211a to 211d emit light (flicker) at the same time, the frame rate may be enhanced.
[0108] In detail,
[0109]
[0110] A Dynamic Range (DR) means a range from the brightest portion to the darkest portion. The DR perceived by a person's eyes is about 10,000 nits, and an image input to the existing general display is a Low Dynamic Range (LDR) or Standard Dynamic Range (SDR) of about 100 nits and has a limitation in implementing a realistic image quality. The HDR enhances a contrast ratio (difference between the brightest portion and the darkest portion) of an image by more extending the existing DR, and expresses various kinds of brightness existing in reality, from intense light of sun to starlight of a dark night sky, thereby realistically transferring the image.
[0111] An HDR technique is an abbreviation of High Dynamic Range, and means a technique for combining photos of various gray scales into one. The HDR technique may be applied to the present disclosure. That is, in the present disclosure, a depth image of an object may be acquired by combining depth images acquired by varying the amount of light emission.
[0112] To this end, the controller of the present disclosure divisionally controls the plurality of light sources 211a to 211d to emit light twice for one frame, and controls the image processor 223 (see
[0113] However, the plurality of light sources 211a to 211d may be required to emit light at the same time to use the maximum amount of light emission. In this case, the depth data acquired by varying frame may be combined to implement an HDR. In detail,
[0114]
[0115] In the present disclosure, the controller may need previous information for setting the light emitting pattern of the light sources 211a to 211d. The previous information may include information as to distant photographing or close photographing, information as to whether an SNR is high, information as to whether resolution is proper, and information as to whether a higher frame rate is required.
[0116] In the present disclosure, the light emitting pattern may be set after primary photographing to acquire the previous information, and secondary photographing may be performed based on the set light emitting pattern.
[0117] In detail, in the present disclosure, if a depth image processor is powered on (S201), primary photographing may be performed to acquire the previous information (S202). The primary photographing may acquire depth data for at least one frame. The primary photographing is a step of setting a proper photographing mode for acquiring depth data for an object, and may be a step of acquiring primary depth data by varying the light emitting pattern of the light sources 211a to 211d.
[0118] A photographing environment and distance information of an object, which correspond to the previous information, may be acquired through the primary photographing (S203), and a light emitting pattern of the plurality of light sources corresponding to the acquired information may be set (S204). However, as the case may be, the light emitting pattern of the plurality of light sources may be changed by a user's selection.
[0119] If the light emitting pattern of the plurality of light sources is set, the secondary photographing may be performed based on the set light emitting pattern (S205), and secondary depth data may be acquired to correspond to the secondary photographing. The acquired secondary depth data may be transmitted to a display and provided as a preview screen or stored in a memory (S206). The secondary depth data may be used to change the set light emitting pattern. That is, if the photographing environment or the distance information of the object is varied through the secondary depth data, the light emitting pattern may be varied correspondingly and then photographing may be performed.
[0120] Afterwards, if the depth image processor is powered off by a user's selection (S207), the set light emitting pattern may be stored in the memory and then primary photographing may be performed based on the light emitting pattern. The proper light emitting pattern may be set and used to reduce the number of frames required to perform secondary photographing. However, as the case may be, the primary photographing may be step of performing photographing through a preset light emitting pattern.
[0121] The above detailed description should be considered in all respects as illustrative and not restrictive. The scope of the present disclosure should be determined by reasonable interpretation of the appended claims and all change which comes within the equivalent scope of the present disclosure are included in the scope of the present disclosure.