CN110324602A - A kind of generation method and device, terminal, storage medium of 3-D image - Google Patents

A kind of generation method and device, terminal, storage medium of 3-D image Download PDF

Info

Publication number
CN110324602A
CN110324602A CN201910523186.1A CN201910523186A CN110324602A CN 110324602 A CN110324602 A CN 110324602A CN 201910523186 A CN201910523186 A CN 201910523186A CN 110324602 A CN110324602 A CN 110324602A
Authority
CN
China
Prior art keywords
optical power
power value
current
target object
image
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910523186.1A
Other languages
Chinese (zh)
Inventor
吕向楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910523186.1A priority Critical patent/CN110324602A/en
Publication of CN110324602A publication Critical patent/CN110324602A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/271Image signal generators wherein the generated image signals comprise depth maps or disparity maps

Abstract

The embodiment of the present application discloses a kind of generation method of 3-D image, comprising: receives open command, the open command is used to open the project structured light component of the three-dimensional structure of building target object;Determine the current optical power value of the project structured light component;Based on default optical power value, the current optical power value is adjusted;When the current optical power value reaches default optical power value, the target object is acquired, the 3-D image of the target object is generated.The application also while providing a kind of terminal and computer storage medium.

Description

A kind of generation method and device, terminal, storage medium of 3-D image
Technical field
This application involves 3-D image processing technology fields, relate to, but are not limited to the generation method and dress of a kind of 3-D image It sets, terminal, storage medium.
Background technique
Three-dimensional structure light technology has more and more been applied in the mobile devices such as mobile phone, is unlocked and is paid for face. But structure light module internal luminescent device vertical cavity surface emitting laser (Vertical Cavity Surface Emitting Laser, VCEL) it is to be worked it out by wafer.Due to the originals such as process variations in wafer difference itself and VCEL production process Cause will cause under same current, and the optical power of different VCEL has very big difference, in turn result in different mobile phone operating distances not Together, consistent sexual deviation is serious, influences user experience.
Summary of the invention
In view of this, the embodiment of the present application is to solve the problems, such as present in the relevant technologies at least one and provide a kind of three-dimensional The generation method and device of image, terminal, storage medium.
The technical solution of the embodiment of the present application is achieved in that
The embodiment of the present application provides a kind of generation method of 3-D image, comprising:
Open command is received, the open command is used to open the project structured light group of the three-dimensional structure of building target object Part;
Determine the current optical power value of the project structured light component;
Based on default optical power value, the current optical power value is adjusted;
When the current optical power value reaches default optical power value, the target object is acquired, described in generation The 3-D image of target object.
The embodiment of the present application provides a kind of generating means of 3-D image, and described device includes: the first receiving module, first Determining module, the first adjustment module and the first generation module, in which:
First receiving module, for receiving open command, the open command is used to open building target object The project structured light component of three-dimensional structure;
First determining module, for determining the current optical power value of the project structured light component;
The first adjustment module, for being adjusted to the current optical power value based on default optical power value;
First generation module, for when the current optical power value reaches default optical power value, to the target Object is acquired, and generates the 3-D image of the target object.
Accordingly, the application provides a kind of terminal, including memory and processor, and the memory, which is stored with, to be handled The computer program run on device, the processor realize the step in the generation method of above-mentioned 3-D image when executing described program Suddenly.
The application provides a kind of computer readable storage medium, is stored thereon with computer program, the computer program quilt Processor realizes the step in the generation method of above-mentioned 3-D image when executing.
The embodiment of the present application provides the generation method and device, terminal, storage medium of a kind of 3-D image, wherein firstly, Open command is received, open command is used to open the project structured light component of the three-dimensional structure of building target object;Then, it is determined that The current optical power value of project structured light component;Based on default optical power value, current optical power value is adjusted;Finally, working as When preceding optical power value reaches default optical power value, institute's target object is acquired, the 3-D image of target object is generated;Such as This makes current optical power value be maintained at default optical power value by adjusting the current optical power value of project structured light component, guarantees The consistency of performance of different project structured light component saves power consumption to improve the consistency of product.
Detailed description of the invention
Fig. 1 is the generation method implementation process schematic diagram of the embodiment of the present application 3-D image;
Fig. 2 is the another implementation process schematic diagram of generation method of the embodiment of the present application 3-D image;
Fig. 3 A is another implementation process schematic diagram of the generation method of the embodiment of the present application 3-D image;
Fig. 3 B is the hot spot figure of the embodiment of the present application target object;
Fig. 4 is the application scenario diagram of the generation method of the embodiment of the present application 3-D image;
Fig. 5 is the composed structure schematic diagram of the generating means of the embodiment of the present application 3-D image;
Fig. 6 is a kind of terminal hardware entity schematic diagram of the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
The embodiment of the present application proposes that a kind of generation method of 3-D image, this method are applied to the movement with camera function Terminal, the mobile terminal can be implemented in a variety of manners.For example, mobile terminal described in the embodiment of the present application can be with Including mobile phone, tablet computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA) etc..Separately Outside, the function that this method is realized can realize by the processor caller code in mobile terminal, certain program generation Code can be stored in computer storage medium, it is seen then that the mobile terminal includes at least pocessor and storage media.
Fig. 1 is the generation method implementation process schematic diagram of the embodiment of the present application 3-D image, and this method is applied to have three The terminal for tieing up imaging function carries out following explanation in conjunction with Fig. 1:
Step S101 receives open command.
Here, open command is used to open the project structured light component of the three-dimensional structure of building target object.When receiving When open command, the mode of laser group triggered in the project structured light component projects speckle point to the target object.The knot Structure light projection component includes at least: mode of laser group (for example, internal illumination device be VCEL laser dot-matrix transmitter) and comprising The camera etc. of infrared camera;Wherein, VCEL can be used as the light source of structure light, for launching speckle laser, for example, using 940 nanometers (nm) of near-infrared VCSEL light source, the light source as structure light.It, will using mode of laser group in a specific example Lasing fluorescence point spreads angled spot pattern, projects on target object, to form hot spot figure.
Step S102 determines the current optical power value of the project structured light component.
Here, the current optical power value of the mode of laser group in project structured light component is determined.After receiving open command, Mode of laser group projects speckle point to target object, determines the current optical power value of the mode of laser group.
Step S103 is adjusted the current optical power value based on default optical power value.
Here, which is compared with default optical power value, if current optical power value is not equal to pre- If optical power value, current optical power value is adjusted, so that current optical power value is equal to default optical power value.
Step S104 is acquired the target object when the current optical power value reaches default optical power value, Generate the 3-D image of the target object.
Here, when current optical power value is equal to default optical power value, firstly, using infrared in the project structured light component Camera, acquisition mode of laser group project speckle point to the target object, obtain spot figure;Then, based on the spot figure and in advance If standard hot spot transmitting position and to the gauged distance between projective object, determine the depth map of the target object, finally, Using the depth map, the 3-D image of the target object is generated.
In the embodiment of the present application, by adjusting the current optical power value of project structured light component, make working as mode of laser group Preceding optical power value is maintained at default optical power value, ensure that the consistency of performance of different project structured light components, to guarantee The consistency of product promotes user experience.
The embodiment of the present application provides a kind of generation method of 3-D image, and Fig. 2 is the life of the embodiment of the present application 3-D image At the another implementation process schematic diagram of method, following explanation is carried out in conjunction with Fig. 2:
Step S201 receives the open command, to trigger the mode of laser group in the project structured light component to described Target object projects speckle point.
Here, after receiving open command, the internal illumination device (for example, VCEL) in mode of laser group is triggered to target Object projects speckle point.
Step S202 determines the current optical power value of the mode of laser group in the project structured light component.
Here, if projecting spot to target object using the VCEL in mode of laser group, current optical power value is The optical power value of VCEL projection spot.
Step S203 is determined when the current optical power value is not equal to default optical power value for being the structure light Project the present current value of the mode of laser group power supply in component.
Here, the process of default optical power value is determined are as follows:
The first step generates M 3-D images for sample object.
In a specific example, sample image is thrown using the mode of laser group with different optical power values first It penetrates, obtains multiple spot figures, then, transmitting position based on preset standard hot spot and to the gauged distance between projective object With the hot spot figure, the depth map of the sample image is determined, to generate the 3-D image of sample image based on the depth map.
Second step determines N 3-D images for meeting preset condition in the M 3-D images.
In a specific example, the preset condition includes at least following one: the accuracy of the 3-D image of generation Meet default accuracy threshold value, the picture quality of 3-D image meet predetermined quality threshold (for example, image definition, brightness or Contrast etc.) or the distortion factor of 3-D image etc..
Third step, by the smallest optical power value in the N corresponding N number of optical power values of 3-D image, as described pre- If optical power value.
In a specific example, by optical power value the smallest in N number of optical power value, as default optical power value, so that The terminal of bearing structure light projection component reaches default optical power value by reducing electric current, so that the power consumption of the terminal is saved, But also improve eye-safe surplus.
Step S204 determines the ratio between the present current value and the current optical power value of the project structured light component Example.
Here, the current value of mode of laser group optical power value corresponding with the current value is directly proportional, and step S204 can be with It is the ratio for determining any current value and the corresponding optical power value of the current value.
Step S205 is based on the ratio and the default optical power value, adjusts the present current value, described in changing Current power value.
Here, since the current value of mode of laser group optical power value corresponding with the current value is directly proportional, so based on electricity The ratio of flow valuve and the corresponding optical power value of the current value, that is, can determine current value corresponding to default optical power value, be based on this, Present current value is adjusted to current value corresponding to default optical power value, so that current power value is adjusted to default optical power Value.For example, optical power of the VCEL in 1A is 1000 milliwatts (mW), then current value optical power value corresponding with the current value Ratio is (1A ÷ 1000mW).
Above-mentioned steps S202 to step S205 gives realization " based on default optical power value, to the current optical power value Be adjusted " process, in this process, by the smallest smooth function in the corresponding optical power value of 3-D image for meeting preset condition Rate value is as default optical power value, then by adjusting the current value of mode of laser group, so that the current value of the mode of laser group reaches Default optical power value also reduces end to not only ensure that consistency of performance when different terminals carry out 3-D image generation The power consumption at end.
Step S206, when the current optical power value reaches default optical power value, using the mode of laser group to described Target object projected spot.
Here, when current optical power value is adjusted to default optical power value, using the VCEL in mode of laser group to target object Project speckle.
Step S207 acquires the hot spot on the target object, obtains hot spot figure.
Here, using the hot spot on the infrared camera acquisition target object equal with the wavelength of the mode of laser group, thus Hot spot figure is obtained, as shown in figure 4, hot spot Figure 42 is to be acquired to obtain to the hot spot on target object 43 using infrared camera 's.
Step S208, transmitting position based on preset standard hot spot and to gauged distance between projective object and described Hot spot figure determines the depth map of the target object.
Here, the step S208 can be realized by following procedure: firstly, determining target object in the hot spot figure The hot spot set that the changed region of appearance includes;Then, be based on the hot spot set and the gauged distance, determine described in The target range of the transmitting position and the target object of each hot spot in hot spot figure;Finally, being based on the target range, obtain The depth map of the target object.As shown in figure 4, with reference to contained in Figure 41 the transmitting position of preset standard hot spot with wait throw The gauged distance between object is penetrated, then with reference on the basis of Figure 41 the corresponding depth map 43 of hot spot Figure 42 will can determine.
Step S209 is based on the depth map, generates the 3-D image of the target object.
Here, the depth map, it can be understood as the point on target object in reality scene, depth camera is scanned To each frame data not only include the point in scene colored RGB (Red Green Blue, RGB) image, further include Distance value of each point to the vertical plane where depth camera.This distance value is referred to as depth value, these depth values are common Constitute the depth map of this frame.That is, depth map can regard a secondary gray level image as, wherein each point in image Gray value represents the depth value of this point, i.e., the actual distance of vertical plane where position to camera of this in reality. Then, for example, for the point M on target object in reality scene, depth camera can obtain imaging of the point M in RGB image The distance of vertical plane (i.e. X, Y plane) where point XM, and point M to camera, this distance is the depth value of M.With phase Seat in the plane is set to origin, and camera institute is Z axis towards direction, and two axial directions of the vertical plane of camera are X, Y-axis, can establish camera Partial 3 d coordinate system;There is corresponding three-dimensional coordinate hence for the every bit in depth map, then sitting based on these three-dimensionals Mark, can construct the three-dimensional structure of target object, to obtain the 3-D image of the target object.
Above-mentioned steps S206 to step S209 gives a kind of realize " when the current optical power value reaches default optical power When value, the target object is acquired, generates the 3-D image of the target object " mode will swash in this approach The current power value of optical mode group is adjusted to default optical power value, by reference to standard hot spot preset in figure transmitting position with to Gauged distance between projective object calculates the transmitting position of each hot spot in glossing up figure at a distance from target object, thus Depth map, and then the three-dimensional structure based on depth map building target object are obtained, the low-power consumption of terminal is not only ensure that, also protects The picture quality of obtained 3-D image is demonstrate,proved.
In the embodiment of the present application, based on different optical power values, multiple 3-D images of sample are constructed, then, from more The 3-D image for meeting preset condition is filtered out in a 3-D image, finally, the 3-D image for meeting preset condition is corresponding The smallest optical power value in multiple optical power values, as default optical power value, by adjusting current system, by working as mode of laser group Preceding optical power value is all adjusted to default optical power value, this way it is ensured that the consistency of optical power, the speckle point energy of different terminals Density is identical, so that different terminals, there is identical performance;And default optical power value is in entire optical power limit on the lower side Position saves the power consumption of terminal, the user experience is improved so terminal is to reach default optical power by reducing electric current Sense.
The embodiment of the present application for ease of understanding carries out following say to the process for generating 3-D image using structure optical assembly It is bright:
Firstly, by near infrared laser, it will be on the dot projection to target object with certain structure feature;Secondly, It is acquired by infrared camera identical with the wavelength of the near infrared laser, the hot spot on target object obtains hot spot figure;Again Secondary, since the depth of extraterrestrial target object is different, the collected hot spot structure of infrared camera can change, therefore pass through mesh Each point in target object can be obtained using triangle principle in position and deformation degree of the mark object in the image that capture obtains Depth information to get arrive target object depth map;Finally, being based on the depth map, the three-dimensional knot of target object can be constructed Structure obtains 3-D image.As shown in Figure 3A, firstly, the infrared transmitter 31 in mode of laser group passes through Speckle Grating 32 to mesh Mark object 33 shows projected spot, and infrared camera 34 acquires the hot spot on target object 33, obtains the hot spot figure of black and white, such as Shown in Fig. 3 B, hot spot Figure 35 is that infrared camera 34 acquires what the hot spot on target object 33 obtained;Then, based on for showing The transmitting position of preset standard hot spot and to the gauged distance between projective object with reference to figure and the speckle pattern, determine target The depth map of object, to obtain the 3-D image of the target object.
In the related art, mode of laser group internal illumination device is VCEL, and VCEL is worked it out by wafer.Due to crystalline substance The reasons such as process variations, will cause under same current, the optical power meeting of different VCEL in difference of circle itself and VCEL production process There is very big difference.For example, the luminous power variation range of VCEL is 625mW to 1125mW, least work under identical 1 peace (A) electric current Difference is very big between rate and maximum power;The consistent sex differernce of optical power caused by sample is big, will cause the speckle point of different mobile phones Energy density is different, in turn results in different mobile phone operating distances differences, consistent sexual deviation is serious, influences user experience.If logical It crosses and selects to realize optical power consistency, the bad VCEL of a large amount of quality can be generated, and VCEL price can rise at double, lead Cause increased costs too many.By the wafer for selecting consistency good, optical power consistency can also be promoted, but equally to be increased into This.
Based on this, the embodiment of the present application provides a kind of generation method of 3-D image, by adjusting project structured light component The present current value of power supply, with lift structure optical property consistency.In the embodiment of the present application, experiment is first passed through, not shadow is obtained Optical power value is all adjusted to by the optical power value rung under the 3-D image behavior pattern generated then by adjusting current system The optical power value;To ensure that homogeneity of product, so that all project structured light components, there is identical performance.
The embodiment of the present application is as follows by electric current adjustment optical power process:
The first step, Unclosing structure light projection component.
Current optical power value A is tested or read to second step.
Here, due to the characteristic of VCEL, the optical power of VCEL is directly proportional to electric current, thus only it is to be understood that any one The corresponding optical power value of electric current, so that it may determine the corresponding optical power value of another electric current.For example, optical power of the VCEL in 1A 500mW ÷ 1000mW × 1A=0.5A is set by electric current if default optical power value is 500mW for 1000mW.
Third step adjusts current value based on default optical power value and above-mentioned ratio, so that current optical power value reaches default Optical power value.
Here, firstly, testing whether current optical power value has reached default optical power value, if not up to, led to Adjustment current value is crossed, to change current optical power value.For presetting the setting of optical power value, need through a large number of experiments, to survey Hot spot figure and the depth map under different optical power values are tried, to obtain multiple 3-D images under different optical power values, will be met The smallest optical power value in corresponding optical power value in the 3-D image of preset condition (for example, meeting recognition result accuracy), It is determined as default optical power value.
In the embodiment of the present application, in this way using optical power value the smallest in the multiple optical power values for meeting preset condition as Default optical power value, so that most of terminal is all to reach default optical power value by reducing electric current, to not only save end The power consumption at end also improves eye-safe surplus.
The embodiment of the present application provides a kind of generation method device of 3-D image, the device include included each module, And each unit included by each module, it can be realized by the processor in computer equipment;It certainly can also be by specific Logic circuit realize;In the process of implementation, processor can be central processing unit (CPU), microprocessor (MPU), number Signal processor (DSP) or field programmable gate array (FPGA) etc..
Fig. 5 is the composed structure schematic diagram of the generating means of the embodiment of the present application 3-D image, as shown in figure 5, the dress Setting 50 includes: the first receiving module 51, the first determining module 52, the first adjustment module 53 and the first generation module 54, in which:
First receiving module 51, for receiving open command, the open command is for opening building target object Three-dimensional structure project structured light component;
First determining module 52, for determining the current optical power value of the project structured light component;
The first adjustment module 53, for being adjusted to the current optical power value based on default optical power value;
First generation module 54, for when the current optical power value reaches default optical power value, to the mesh Mark object is acquired, and generates the 3-D image of the target object.
In above-mentioned apparatus, first receiving module 51, comprising:
First receiving submodule, for receiving the open command, to trigger the laser in the project structured light component Mould group projects speckle point to the target object.
In above-mentioned apparatus, described device further include:
Second determining module, for being determined as the present current value of the project structured light assembly power supply;
Third determining module, for determining the current optical power value of the present current value Yu the project structured light component Between ratio;
Accordingly, the first adjustment module 53, comprising:
The first adjustment submodule, for adjusting the present current value based on the ratio and the default optical power value, To change the current power value.
In above-mentioned apparatus, first determining module 52, comprising:
First determines submodule, for determining the current optical power value of the mode of laser group in the project structured light component.
Accordingly, second determining module, comprising:
Second determines submodule, for when the current optical power value is not equal to default optical power value, determine for for The present current value of mode of laser group power supply in the project structured light component.
In above-mentioned apparatus, the mode of laser group is in the default corresponding current value of optical power value, as the laser The maximum current value of mould group.
In above-mentioned apparatus, first generation module 54, comprising:
First projection submodule, for when the current optical power value reaches default optical power value, using the laser Mould group is to the target object projected spot;
First acquisition submodule obtains hot spot figure for acquiring the hot spot on the target object;
Third determines submodule, for the transmitting position based on preset standard hot spot and to the standard between projective object Distance and the hot spot figure, determine the depth map of the target object;
First generates submodule, for being based on the depth map, generates the 3-D image of the target object.
In above-mentioned apparatus, described device further include:
Second generation module generates M 3-D images for being directed to sample object;
4th determining module, for determining N 3-D images for meeting preset condition in the M 3-D images;
5th determining module, for the N to be opened the smallest optical power value in the corresponding N number of optical power values of 3-D image, As the default optical power value.
The description of apparatus above embodiment, be with the description of above method embodiment it is similar, have same embodiment of the method Similar beneficial effect.For undisclosed technical detail in the application Installation practice, the application embodiment of the method is please referred to Description and understand.
It should be noted that in the embodiment of the present application, if realizing above-mentioned three-dimensional figure in the form of software function module The generation method of picture, and when sold or used as an independent product, it also can store and be situated between in a computer-readable storage In matter.Based on this understanding, the portion that the technical solution of the embodiment of the present application substantially in other words contributes to the relevant technologies Dividing can be embodied in the form of software products, which is stored in a storage medium, including several Instruction is used so that a computer equipment (can be personal computer or server etc.) executes each embodiment of the application The all or part of the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only Memory, ROM), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present application does not limit It is combined in any specific hardware and software.
Fig. 6 is a kind of terminal hardware entity schematic diagram of the embodiment of the present application, as shown in fig. 6, the embodiment of the present application provides A kind of terminal 600, comprising:
Processor 61 and the storage medium 62 for being stored with 61 executable instruction of processor, the storage medium 62 are logical It crosses communication bus 63 and relies on the processor 61 and execute operation, when described instruction is executed by the processor 61, execute above-mentioned Notification method described in embodiment one.
It should be noted that the various components in terminal are coupled by communication bus 63 when practical application.It can manage Solution, communication bus 63 is for realizing the connection communication between these components.Communication bus 63 also wraps in addition to including data/address bus Include power bus, control bus and status signal bus in addition.But for the sake of clear explanation, various buses are all marked in Fig. 6 For communication bus 63.
Here, it should be noted that the terminal is usually to have preposition double take the photograph or the mobile end of the double camera shooting functions of postposition End, the mobile terminal can be implemented in a variety of manners.For example, mobile terminal described in the embodiment of the present application can wrap Include mobile phone, tablet computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA) etc..
Accordingly, the embodiment of the present application provides a kind of computer readable storage medium, is stored thereon with computer program, should Step in the generation method of the 3-D image provided in above-described embodiment is provided when computer program is executed by processor.
It need to be noted that: the description of medium stored above and apparatus embodiments, with retouching for above method embodiment It is similar for stating, and has with embodiment of the method similar beneficial effect.For in the application storage medium and apparatus embodiments not The technical detail of disclosure please refers to the description of the application embodiment of the method and understands.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic includes at least one embodiment of the application.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.It should be understood that in the various implementations of the application In example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, the execution sequence Ying Yiqi function of each process It can be determined with internal logic, the implementation process without coping with the embodiment of the present application constitutes any restriction.Above-mentioned the embodiment of the present application Serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to realize the purpose of the embodiment of the present application scheme according to the actual needs.
In addition, each functional unit in each embodiment of the application can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the application is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the application is implemented The technical solution of example substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, The computer software product is stored in a storage medium, including some instructions are with so that terminal executes each reality of the application Apply all or part of the method.And storage medium above-mentioned includes: movable storage device, ROM, magnetic or disk etc. The various media that can store program code.
The above, only presently filed embodiment, but the protection scope of the application is not limited thereto, it is any to be familiar with Those skilled in the art within the technical scope of the present application, can easily think of the change or the replacement, and should all cover Within the protection scope of the application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of generation method of 3-D image, which is characterized in that the described method includes:
Open command is received, the open command is used to open the project structured light component of the three-dimensional structure of building target object;
Determine the current optical power value of the project structured light component;
Based on default optical power value, the current optical power value is adjusted;
When the current optical power value reaches default optical power value, the target object is acquired, the target is generated The 3-D image of object.
2. the method according to claim 1, wherein the reception open command, comprising:
The open command is received, is dissipated with triggering the mode of laser group in the project structured light component to target object projection Spot.
3. the method according to claim 1, wherein in the current light of the determination project structured light component After performance number, the method also includes:
It is determined as the present current value of the project structured light assembly power supply;
Determine the ratio between the present current value and the current optical power value of the project structured light component;
Accordingly, described based on default optical power value, the current optical power value is adjusted, comprising:
Based on the ratio and the default optical power value, the present current value is adjusted, to change the current power value.
4. method according to claim 1 or 2, which is characterized in that the determination project structured light component it is current Optical power value, comprising:
Determine the current optical power value of the mode of laser group in the project structured light component.
Accordingly, the present current value for being determined as the project structured light assembly power supply, comprising:
When the current optical power value is not equal to default optical power value, determine for being swashing in the project structured light component The present current value of optical mode group power supply.
5. method according to any one of claims 1 to 3, which is characterized in that the mode of laser group is in default light function Rate is worth corresponding current value, the maximum current value as the mode of laser group.
6. the method according to claim 1, wherein described when the current optical power value reaches default optical power When value, the target object is acquired, generates the 3-D image of the target object, comprising:
When the current optical power value reaches default optical power value, using the mode of laser group to the target object projection light Spot;
The hot spot on the target object is acquired, hot spot figure is obtained;
Transmitting position based on preset standard hot spot and to the gauged distance and the hot spot figure between projective object, determines institute State the depth map of target object;
Based on the depth map, the 3-D image of the target object is generated.
7. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
For sample object, M 3-D images are generated;
Determine N 3-D images for meeting preset condition in the M 3-D images;
By the smallest optical power value in the N corresponding N number of optical power values of 3-D image, as the default optical power value.
8. a kind of generating means of 3-D image, which is characterized in that described device includes: the first receiving module, the first determining mould Block, the first adjustment module and the first generation module, in which:
First receiving module, for receiving open command, the open command is used to open the three-dimensional of building target object The project structured light component of structure;
First determining module, for determining the current optical power value of the project structured light component;
The first adjustment module, for being adjusted to the current optical power value based on default optical power value;
First generation module, for when the current optical power value reaches default optical power value, to the target object It is acquired, generates the 3-D image of the target object.
9. a kind of terminal, including memory and processor, the memory is stored with the computer journey that can be run on a processor Sequence, which is characterized in that the processor realizes the life of any one of claim 1 to 7 3-D image when executing described program At the step in method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step in any one of claim 1 to 7 the method is realized when processor executes.
CN201910523186.1A 2019-06-17 2019-06-17 A kind of generation method and device, terminal, storage medium of 3-D image Pending CN110324602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910523186.1A CN110324602A (en) 2019-06-17 2019-06-17 A kind of generation method and device, terminal, storage medium of 3-D image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910523186.1A CN110324602A (en) 2019-06-17 2019-06-17 A kind of generation method and device, terminal, storage medium of 3-D image

Publications (1)

Publication Number Publication Date
CN110324602A true CN110324602A (en) 2019-10-11

Family

ID=68120963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910523186.1A Pending CN110324602A (en) 2019-06-17 2019-06-17 A kind of generation method and device, terminal, storage medium of 3-D image

Country Status (1)

Country Link
CN (1) CN110324602A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111882596A (en) * 2020-03-27 2020-11-03 浙江水晶光电科技股份有限公司 Structured light module three-dimensional imaging method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6005645A (en) * 1995-09-14 1999-12-21 Semiconductor Energy Laboratory Co., Ltd. Stereoscopic display device having particular circuits
CN103791452A (en) * 2014-02-21 2014-05-14 中国人民银行印制科学技术研究所 Light source system
CN204479965U (en) * 2015-01-22 2015-07-15 北京奥普维尔科技有限公司 A kind of power invariability system of laser instrument
CN104956666A (en) * 2013-03-04 2015-09-30 英特尔公司 Content adaptive power management of projector systems
CN106233089A (en) * 2014-02-08 2016-12-14 微软技术许可有限责任公司 Active illumination for the condition depended of Stereo matching
CN206211259U (en) * 2016-11-18 2017-05-31 深圳市飞思卓科技有限公司 Optical module and optical-electrical converter
CN107167996A (en) * 2017-06-05 2017-09-15 深圳奥比中光科技有限公司 The laser projection module and depth camera adaptively adjusted
CN107910742A (en) * 2017-11-22 2018-04-13 青岛海信宽带多媒体技术有限公司 Optical module optical power adjustment method and device
CN108769509A (en) * 2018-04-28 2018-11-06 Oppo广东移动通信有限公司 Control method, apparatus, electronic equipment and the storage medium of camera
CN109076145A (en) * 2015-12-21 2018-12-21 英特尔公司 Automatic range for active illumination depth camera controls
CN109217102A (en) * 2018-11-05 2019-01-15 广东水利电力职业技术学院(广东省水利电力技工学校) A kind of laser power monitor system and monitoring method
CN109612404A (en) * 2012-11-14 2019-04-12 高通股份有限公司 The dynamic of light source power is adjusted in structure light active depth sense system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6005645A (en) * 1995-09-14 1999-12-21 Semiconductor Energy Laboratory Co., Ltd. Stereoscopic display device having particular circuits
CN109612404A (en) * 2012-11-14 2019-04-12 高通股份有限公司 The dynamic of light source power is adjusted in structure light active depth sense system
CN104956666A (en) * 2013-03-04 2015-09-30 英特尔公司 Content adaptive power management of projector systems
CN106233089A (en) * 2014-02-08 2016-12-14 微软技术许可有限责任公司 Active illumination for the condition depended of Stereo matching
CN103791452A (en) * 2014-02-21 2014-05-14 中国人民银行印制科学技术研究所 Light source system
CN204479965U (en) * 2015-01-22 2015-07-15 北京奥普维尔科技有限公司 A kind of power invariability system of laser instrument
CN109076145A (en) * 2015-12-21 2018-12-21 英特尔公司 Automatic range for active illumination depth camera controls
CN206211259U (en) * 2016-11-18 2017-05-31 深圳市飞思卓科技有限公司 Optical module and optical-electrical converter
CN107167996A (en) * 2017-06-05 2017-09-15 深圳奥比中光科技有限公司 The laser projection module and depth camera adaptively adjusted
CN107910742A (en) * 2017-11-22 2018-04-13 青岛海信宽带多媒体技术有限公司 Optical module optical power adjustment method and device
CN108769509A (en) * 2018-04-28 2018-11-06 Oppo广东移动通信有限公司 Control method, apparatus, electronic equipment and the storage medium of camera
CN109217102A (en) * 2018-11-05 2019-01-15 广东水利电力职业技术学院(广东省水利电力技工学校) A kind of laser power monitor system and monitoring method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111882596A (en) * 2020-03-27 2020-11-03 浙江水晶光电科技股份有限公司 Structured light module three-dimensional imaging method and device, electronic equipment and storage medium
CN111882596B (en) * 2020-03-27 2024-03-22 东莞埃科思科技有限公司 Three-dimensional imaging method and device for structured light module, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11115633B2 (en) Method and system for projector calibration
US11120567B2 (en) Depth map generation device for merging multiple depth maps
JP6864449B2 (en) Methods and devices for adjusting the brightness of the image
KR102099635B1 (en) Method for providing guide of camera and electronic device
TW201832547A (en) Image device for generating panorama depth images, related method, and related image device
EP3410391A1 (en) Image blurring method, electronic device and computer readable storage medium
CN108765542A (en) Image rendering method, electronic equipment and computer readable storage medium
CN104508553B (en) The method of the infrared illumination bundle that there is variable illumination pattern for generating and device
WO2019184183A1 (en) Target image acquisition system and method
CN107205126B (en) Control method and processing device
US20160277656A1 (en) Device having camera function and method of image capture
CN108600630A (en) Photographic method, device and terminal device
CN110324602A (en) A kind of generation method and device, terminal, storage medium of 3-D image
CN108279496B (en) Eyeball tracking module and method of video glasses and video glasses
US11350040B2 (en) Electronic device for controlling camera on basis of external light, and control method therefor
US20180188641A1 (en) Microarray led flash
CN110086987A (en) A kind of camera visual angle method of cutting out, device and storage medium
JP5359930B2 (en) Imaging apparatus, display method, and program
CN106559621B (en) The calculation method of picture brightness
CN115407308A (en) 3D sensing module, 3D sensing method and electronic equipment
CN114500965A (en) Projection equipment control method and device, readable storage medium and projection equipment
CN113286078A (en) Image processing method and device, terminal and computer readable storage medium
CN108267909A (en) Light emitting diode miniature array flash lamp
CN105141856A (en) Illumination control method and device
CN111505836A (en) Electronic equipment of three-dimensional formation of image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011

RJ01 Rejection of invention patent application after publication