CN117579798A - Projection equipment calibration method and device and electronic equipment - Google Patents

Projection equipment calibration method and device and electronic equipment Download PDF

Info

Publication number
CN117579798A
CN117579798A CN202410053839.5A CN202410053839A CN117579798A CN 117579798 A CN117579798 A CN 117579798A CN 202410053839 A CN202410053839 A CN 202410053839A CN 117579798 A CN117579798 A CN 117579798A
Authority
CN
China
Prior art keywords
current
spad
projection
initial
angle
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.)
Granted
Application number
CN202410053839.5A
Other languages
Chinese (zh)
Other versions
CN117579798B (en
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.)
Shenzhen Chengzi Digital Technology Co ltd
Original Assignee
Shenzhen Chengzi Digital Technology Co 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 Shenzhen Chengzi Digital Technology Co ltd filed Critical Shenzhen Chengzi Digital Technology Co ltd
Priority to CN202410053839.5A priority Critical patent/CN117579798B/en
Publication of CN117579798A publication Critical patent/CN117579798A/en
Application granted granted Critical
Publication of CN117579798B publication Critical patent/CN117579798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3191Testing thereof
    • H04N9/3194Testing thereof including sensor feedback

Abstract

The application discloses a projection equipment calibration method, a projection equipment calibration device and electronic equipment, wherein the method comprises the following steps: initializing the current posture of the projection equipment to enable the projection equipment to be opposite to a projection surface; measuring a current projection picture, and dividing a corresponding current SPAD region into a plurality of SPAD subregions; obtaining measurement distance data of a current SPAD area according to the DTOF module; obtaining actual distance data according to the measured distance data and preset calibration data; processing actual distance data according to a preset angle model to obtain a current cruising angle; the current cruise angle is transmitted such that the projection device corrects to align the coordinate systems of the projection device and the projection surface based on the current cruise angle. According to the invention, the cruising angle obtained by the distance between the left SPAD area and the right SPAD area of the DTOF module is continuously close to the cruising angle of the whole projector, so that the coordinate systems of the projection equipment and the projection surface are aligned, the noninductive trapezium is more accurate, and the projection effect is improved.

Description

Projection equipment calibration method and device and electronic equipment
Technical Field
The present invention relates to the field of projection devices, and in particular, to a method and an apparatus for calibrating a projection device, and an electronic device.
Background
Currently, in order to realize trapezoidal correction, in the prior art, a multipoint DTOF sensor is installed on a projector, a cruising angle is obtained through the distance between left and right SPAD areas returned by the sensor, and a pitch angle (pitch) and a roll angle (roll) are calculated by combining an acceleration sensor (acc) in a six-axis IMU at rest, so that trapezoidal correction is realized through the three angles. However, when the projector is opposite to the projection surface, due to the reasons of process and installation errors, the DTOF chip module and the projection surface of the whole projector cannot be guaranteed to be completely parallel, so that assembly errors of the DTOF chip module are caused, when the whole projector is pitching or rolling due to assembly errors, the cruising angle obtained by the DTOF chip module through the distance between the left SPAD area and the right SPAD area is non-zero and continuously changes, and when the whole projector rotates at a horizontal cruising angle, a large error exists between the cruising angle obtained by the DTOF chip module through the distance between the left SPAD area and the right SPAD area and the cruising angle which is actually rotated, and finally the projection effect of the projector is affected.
Therefore, how to design a projection alignment calibration method for eliminating assembly errors is a technical problem to be solved.
Disclosure of Invention
Based on the above, it is necessary to provide a projection device calibration method, a device and an electronic device for solving the existing problems.
In a first aspect, an embodiment of the present application provides a method for calibrating a projection device, including the following steps:
initializing the current gesture of the projection equipment to be detected, so that the projection equipment is opposite to a projection surface;
measuring a current projection picture according to a DTOF module, and dividing a current SPAD region corresponding to the current projection picture intoThe current SPAD subregion, the->The current SPAD subregions are respectively the current SPAD region 1, the current SPAD region 2 and … … and the current SPAD region +.>
Obtaining measurement distance data of the current SPAD region according to a DTOF module, wherein the measurement distance data comprises the following steps ofProjection surfaces of corresponding angles of the current SPAD subareas are respectively toOptical axis center of dodging lens +.>Distance of measurement->、/>……/>
Obtaining actual distance data of the current SPAD region according to the measured distance data and preset calibration data, wherein the preset calibration data is corresponding to the current SPAD region, and comprises the following steps ofDistance of measurement->、/>……/>Corresponding->The calibration coefficient->、/>……/>Said actual distance data comprises said +.>Projection surfaces of angles corresponding to the current SPAD subareas are respectively arranged at the center of the optical axis of the dodging lensActual distance->、/>……/>
Processing the actual distance data according to a preset angle model to obtain a current cruising angle of the projection equipment;
the current cruise angle is transmitted to the projection device such that the projection device corrects to align a coordinate system of the projection device with a coordinate system of the projection surface based on the current cruise angle.
Preferably, the DTOF module comprises a plurality of DTOF units.
Preferably, the method comprises the steps of,is an odd number greater than 1.
Preferably, the preset calibration data is pre-stored in the projection device.
Preferably, the preset calibration data is obtained by:
initializing the current gesture of the projection equipment to be detected, so that the projection equipment is opposite to a projection surface;
measuring an initial projection picture according to a DTOF module, and dividing an initial SPAD region corresponding to the initial projection picture intoAn initial SPAD subregion, said->The initial SPAD subregions are respectively an initial SPAD region 1, an initial SPAD region 2 and … … initial SPAD region +.>
Obtaining initial measurement distance data of the initial SPAD region according to a DTOF module, wherein the initial measurement distance data comprises the following steps ofProjection surfaces of angles corresponding to the initial SPAD subareas are respectively arranged at the center of the optical axis of the dodging lensInitial measurement distance->、/>……/>
Obtaining accurate distance data of the initial SPAD region according to the initial measurement distance data and the similar triangle principle, wherein the accurate distance data comprises the following components of the initial SPAD regionProjection surfaces of the corresponding angles of the initial SPAD subareas are respectively arranged at the optical axis center of the dodging lens>Distance of accuracy->、/>……/>
The saidInitial measurement distance->、/>……/>And said->Accurate distance of、/>……/>Respectively substituting formula (1) to obtain the +.>The calibration coefficient->、/>……/>
Wherein, the formula (1) is:
wherein-> (1)。
Preferably, obtaining accurate distance data of the initial SPAD area according to the initial measured distance data and the similar triangle principle includes:
(1) When (when)When the accurate distanceRepresented by the following manner:
if it isWhen it is odd, then
If it isIs an even number and->When the number is odd, then->
If it isIs an even number and->If the number is even, then ∈>
(2) When (when)When, then the exact distance +.>
(3) When (when)When, then the exact distance +.>
Wherein,for the focal length of the dodging lens, +.>For the x-axis length of a single SPAD cell,is the y-axis directional length of a single SPAD cell.
Preferably, the saidThe actual distance is represented by equation (2):
wherein-> (2)。
Preferably, processing the actual distance data according to a preset angle model to obtain a current cruising angle of the projection device includes:
the current SPAD area is [ ]Is>And the current SPAD region->Is>Inputting a preset angle processing model to obtain a current cruising angle yaw;
wherein the preset angle processing model is represented by formulas (3), (4), (5) and (6):
(3);
(4);
(5);
(6)。
in a second aspect, an embodiment of the present application provides a calibration device for a projection apparatus, including:
the initialization unit is used for initializing the current gesture of the projection equipment to be tested, so that the projection equipment is opposite to the projection surface;
the region dividing unit is used for measuring a current projection picture according to the DTOF module and dividing a current SPAD region corresponding to the current projection picture intoThe current SPAD subregion, the->The current SPAD subregions are respectively the current SPAD region 1, the current SPAD region 2 and … … and the current SPAD region +.>
A measurement distance obtaining unit, configured to obtain measurement distance data of the current SPAD area according to a DTOF module, where the measurement distance data includes the following stepsProjection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Distance of measurement->、/>……/>
The actual distance determining unit is configured to obtain actual distance data of the current SPAD area according to the measured distance data and preset calibration data, where the preset calibration data is calibration data corresponding to the current SPAD area, and the preset calibration data includesDistance of measurement->、/>……/>Corresponding->The calibration coefficient->、/>……Said actual distance data comprises said +.>Projection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Actual distance->、/>……/>
The angle determining unit is used for processing the actual distance data according to a preset angle model to obtain the current cruising angle of the projection equipment;
and the angle adjustment unit is used for sending the current cruising angle to the projection device, so that the projection device corrects the coordinate system of the projection device and the coordinate system of the projection surface based on the current cruising angle.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the method steps described above.
Compared with the prior art, the invention has the following advantages: before the projection equipment leaves the factory, the DTOF module is aligned and calibrated, the cruising angle obtained through the distance between the left SPAD area and the right SPAD area of the DTOF chip module is continuously close to the cruising angle of the whole projector, so that the coordinate system of the projection equipment is aligned with the coordinate system of the projection surface, the alignment and calibration of the projection equipment are completed, the noninductive trapezia of the projection equipment is more accurate, and the projection effect is improved.
Drawings
Exemplary embodiments of the present invention may be more fully understood by reference to the following drawings. The accompanying drawings are included to provide a further understanding of embodiments of the application and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the application, and not constitute a limitation of the invention. In the drawings, like reference numerals generally refer to like parts or steps.
FIG. 1 is a flow chart of a method for calibrating a projection device according to an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of a SPAD array imaging system provided according to an example embodiment of the present application;
FIG. 3 is a schematic diagram of an optical system of a SPAD array imaging system provided in accordance with an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a calibration device of a projection device according to an exemplary embodiment of the present application;
fig. 5 shows a schematic diagram of an electronic device according to an exemplary embodiment of the present application.
Reference numerals
1-SPAD arrays; 2-a dodging lens; 3-the optical axis center of the dodging lens; a 4-SPAD unit; 5-focal plane.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
An embodiment of the present application provides a calibration method for a projection device, and the method is described below with reference to the accompanying drawings.
Referring to fig. 1, a method for calibrating a projection device according to some embodiments of the present application is shown, including the following steps:
s101: initializing the current gesture of the projection equipment to be detected, so that the projection equipment is opposite to the projection surface;
specifically, before the projection device is calibrated, the posture of the projection device to be measured needs to be adjusted so that the projection device is opposite to the projection.
S102: measuring a current projection picture according to the DTOF module, and dividing a current SPAD region corresponding to the current projection picture intoCurrent SPAD subregion->The current SPAD subregions are respectively the current SPAD region 1, the current SPAD region 2 and … … and the current SPAD region +.>
In some embodiments, the image of the projector screen in the actual use situation of the user can be acquired through a camera, and the camera can be arranged inside the projector or independent of the outside of the projector.
DTOF is a sub-division of TOF technology, referred to as "direct flight", as the name implies, the emission of light pulses directly to a measurement object, followed by the measurement of the time interval between the reflected light pulses and the emitted light pulses, resulting in the time of flight of the light. The accuracy of DTOF depends on the duration of the pulse, so the measurement accuracy and the anti-interference capability are not obviously reduced along with the increase of the distance, the errors at different distances are more stable relative to most schemes, and the depth information with relatively high accuracy, low noise and high reliability can be captured at a long distance.
While SPAD (Single Photon Avalanche Diode ) is a common detection unit for DTOF sensors. SPAD is a pixel structure that can detect weak light, i.e., amplify electrons generated from a single incident photon using the avalanche multiplication effect, thereby detecting weak light. By using the SPAD as a detection unit in the laser radar DTOF sensor, the depth measurement with long distance and high precision can be realized.
In this embodiment, detection is achieved through the SPAD array imaging system, and the performance of different sub-areas is detected by dividing the SPAD array area into sub-areas, so that a data base is provided for alignment calibration of the projection equipment.
S103: obtaining measurement distance data of the current SPAD region according to the DTOF module, wherein the measurement distance data comprisesProjection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Distance of measurement->、/>……/>
Specifically, the DTOF module includes a plurality of DTOF units, referring to fig. 2, in this embodimentThe value of (2) is 3, namely the current projection pictureThe current SPAD area corresponding to the surface is divided into 3*3 sub-SPAD areas which are respectively a current SPAD area 1, a current SPAD area 2 … … and a current SPAD area +.>. In other preferred embodiments, +.>Other suitable values are also possible.
In the present embodiment of the present invention,the value of (2) is 3, the measured distance data comprises 9 distances, which are respectively +.>、/>……
S104: obtaining actual distance data of a current SPAD region according to the measured distance data and preset calibration data, wherein the preset calibration data is corresponding to the current SPAD region, and comprises the following steps ofDistance of measurement->、/>……/>Corresponding->The calibration coefficient->、/>……/>The actual distance data comprises->Projection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Actual distance->、/>……
In this embodiment, the preset calibration data is stored in the projection device in advance, and is obtained by the following steps:
s1041: initializing the current gesture of the projection equipment to be detected, so that the projection equipment is opposite to the projection surface;
s1042: according to the DTOF module, measuring an initial projection picture, and dividing an initial SPAD region corresponding to the initial projection picture intoAn initial SPAD subregion,>the initial SPAD subregions are respectively an initial SPAD region 1, an initial SPAD region 2 and … … initial SPAD region +.>
S1043: obtaining initial measurement distance data of an initial SPAD region according to a DTOF module, wherein the initial measurement distance data comprisesProjection surfaces of the corresponding angles of the initial SPAD subareas are respectively arranged at the optical axis center of the dodging lens>Initial measurement distance->、/>……/>
S1044: obtaining accurate distance data of the initial SPAD region according to the initial measurement distance data and the similar triangle principle, wherein the accurate distance data comprisesProjection surfaces of the corresponding angles of the initial SPAD subareas are respectively arranged at the optical axis center of the dodging lens>Distance of accuracy->、/>……/>
S1045: will beInitial measurement distance->、/>……/>And->Distance of accuracy->……/>Respectively substituting formula (1) to obtain +.>The calibration coefficient->、/>……/>
Wherein, formula (1) is:
wherein-> (1)。
Preferably, obtaining accurate distance data of the initial SPAD area according to the initial measured distance data and the similar triangle principle includes:
(1) When (when)The exact distance is then represented by:
if it isWhen it is odd, then
If it isIs an even number and->When the number is odd, then->
If it isIs an even number and->If the number is even, then ∈>
(2) When (when)When in use, the accurate distance +.>
(3) When (when)When in use, the accurate distance +.>
Wherein,for the focal length of the dodging lens, +.>For the x-axis length of a single SPAD cell,is the y-axis directional length of a single SPAD cell.
After the preset calibration data is read, the preset calibration data and the obtained measurement distance data are processed according to the formula (2) to obtainProjection surfaces of the corresponding angles of the SPAD subregions are respectively arranged at the optical axis center of the dodging lens>Actual distance->、/>……/>
Wherein-> (2)。
S105: processing actual distance data according to a preset angle model to obtain a current cruising angle of the projection equipment;
referring to fig. 3, which shows a schematic view of the optical system of the whole SPAD array imaging system, the illustration is a schematic view of SPAD array area 1 in the X direction of the Z direction section, the surface of several SPAD units is arranged towards one side of the lens to form focal plane 5, and the distance from the focal plane 5 to the optical axis center 3 of the dodging lens 2 forms focal length. Specifically, the FOV of each SPAD unit 4 and the FOV of each SPAD region can be obtained by adding and subtracting right triangle after angle calculation, and the distance from the center point of each SPAD region to the dodging lens 2 can also be obtained by the focal length +.>And the physical dimensions of the SPAD regions. Next, according to the rules of design, the pitch angle is obtained by the angle of SPAD zone 2 and SPAD zone 8, the cruise angle is obtained by the angle of SPAD zone 4 and SPAD zone 6, and can be calculated from the right triangle arctangent by figure 2 and similar Y-patterns.
In a preferred embodiment, the physical dimensions of the individual SPAD cells are: the x-axis dimension is 16.8 microns, the y-axis dimension: 38.8 microns. The focal length of the integrator lens 2 may be 400 microns.
In this embodiment, processing actual distance data according to a preset angle model to obtain a current cruising angle of the projection device includes:
the current SPAD area is [ ]Is>And the current SPAD region->Is>Inputting a preset angle processing model to obtain a current cruising angle yaw;
wherein the preset angle processing model is represented by formulas (3), (4), (5) and (6):
(3);
(4);
(5);
(6)。
s106: the current cruise angle is transmitted to the projection device such that the projection device corrects to align the coordinate system of the projection device with the coordinate system of the projection surface based on the current cruise angle.
Compared with the prior art, the invention has the following advantages: before the projection equipment leaves the factory, the DTOF module is aligned and calibrated, the cruising angle obtained through the distance between the left SPAD area and the right SPAD area of the DTOF chip module is continuously close to the cruising angle of the whole projector, so that the coordinate system of the projection equipment is aligned with the coordinate system of the projection surface, the alignment and calibration of the projection equipment are completed, the noninductive trapezia of the projection equipment is more accurate, and the projection effect is improved.
In the above embodiment, a method is provided, and corresponding apparatus is also provided. The device provided by the embodiment of the application can implement the method, and the device can be implemented by software, hardware or a combination of software and hardware. For example, the apparatus may comprise integrated or separate functional modules or units to perform the corresponding steps in the methods described above.
The apparatus 20 provided by the embodiments of the present application in some implementations of the embodiments of the present application have the same beneficial effects as the methods provided by the foregoing embodiments of the present application for the same inventive concept.
As shown in fig. 4, the apparatus 40 may include:
an initializing unit 401, configured to initialize a current posture of a projection device to be tested, so that the projection device faces a projection surface;
the region dividing unit 402 is configured to measure a current projection image according to the DTOF module, and divide a current SPAD region corresponding to the current projection image intoCurrent SPAD subregion->The current SPAD subregions are respectively the current SPAD region 1, the current SPAD region 2 and … … and the current SPAD region +.>
A measurement distance obtaining unit 403, configured to obtain measurement distance data of the current SPAD area according to the DTOF module, where the measurement distance data includesProjection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Distance of measurement->、/>……/>
An actual distance determining unit 404, configured to obtain actual distance data of the current SPAD area according to the measured distance data and preset calibration data, where the preset calibration data is calibration data corresponding to the current SPAD area, and the current preset calibration data includesDistance of measurement->、/>……/>Corresponding->The calibration coefficient->、/>……/>The actual distance data comprises->Projection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Actual distance->、/>……/>
An angle determining unit 405, configured to process the actual distance data according to a preset angle model, and obtain a current cruising angle of the projection device;
an angle adjustment unit 406 for transmitting the current cruising angle to the projection device, so that the projection device corrects to align the coordinate system of the projection device with the coordinate system of the projection surface based on the current cruising angle.
The specific principle of this embodiment is the same as that of the foregoing embodiment, and this embodiment is not described herein.
The embodiment of the application also provides an electronic device corresponding to the method provided by the previous embodiment, wherein the electronic device can be an electronic device for a server, such as a server, including an independent server and a distributed server cluster, so as to execute the method; the electronic device may also be an electronic device for a client, such as a mobile phone, a notebook computer, a tablet computer, a desktop computer, etc., to perform the above method.
Referring to fig. 5, a schematic diagram of an electronic device according to some embodiments of the present application is shown. As shown in fig. 5, the electronic device 50 includes: a processor 500, a memory 601, a bus 502 and a communication interface 503, the processor 500, the communication interface 503 and the memory 501 being connected by the bus 502; the memory 501 stores a computer program executable on the processor 500, and the processor 500 executes the method described above when executing the computer program.
The memory 501 may include a high-speed random access memory (RAM: random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 503 (which may be wired or wireless), the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
Bus 502 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. The memory 501 is configured to store a program, and the processor 500 executes the program after receiving an execution instruction, and the method disclosed in any of the foregoing embodiments of the present application may be applied to the processor 500 or implemented by the processor 500.
The processor 500 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 500. The processor 500 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501, and in combination with its hardware, performs the steps of the method described above.
The electronic device provided by the embodiment of the application and the method provided by the embodiment of the application are the same in the invention conception, and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
It is noted that the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the embodiments, and are intended to be included within the scope of the claims and description.

Claims (10)

1. The projection equipment calibration method is characterized by comprising the following steps of:
initializing the current gesture of the projection equipment to be detected, so that the projection equipment is opposite to a projection surface;
measuring a current projection picture according to a DTOF module, and dividing a current SPAD region corresponding to the current projection picture intoThe current SPAD subregion, the->The current SPAD subregions are respectively the current SPAD region 1, the current SPAD region 2 and … … and the current SPAD region +.>
Obtaining measurement distance data of the current SPAD region according to a DTOF module, wherein the measurement distance data comprises the following steps ofProjection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Distance of measurement->、/>……/>
Obtaining actual distance data of the current SPAD region according to the measured distance data and preset calibration data, wherein the preset calibration data is corresponding to the current SPAD region, and comprises the following steps ofDistance of measurement->、/>……/>Corresponding->The calibration coefficient->、/>……/>Said actual distance data comprises said +.>Projection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Actual distance->、/>……/>
Processing the actual distance data according to a preset angle model to obtain a current cruising angle of the projection equipment;
the current cruise angle is transmitted to the projection device such that the projection device corrects to align a coordinate system of the projection device with a coordinate system of the projection surface based on the current cruise angle.
2. The method of claim 1, wherein the DTOF module comprises a plurality of DTOF units.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,is an odd number greater than 1.
4. A method according to claim 3, wherein the preset calibration data is pre-stored in the projection device.
5. The method according to claim 4, wherein the preset calibration data is obtained by:
initializing the current gesture of the projection equipment to be detected, so that the projection equipment is opposite to a projection surface;
measuring an initial projection picture according to a DTOF module, and dividing an initial SPAD region corresponding to the initial projection picture intoAn initial SPAD subregion, said->The initial SPAD subregions are respectively an initial SPAD region 1, an initial SPAD region 2 and … … initial SPAD region +.>
Obtaining initial measurement distance data of the initial SPAD region according to a DTOF module, wherein the initial measurement distance data comprises the following steps ofProjection surfaces of the corresponding angles of the initial SPAD subareas are respectively arranged at the optical axis center of the dodging lens>Initial measurement distance->、/>……/>
Obtaining accurate distance data of the initial SPAD region according to the initial measurement distance data and the similar triangle principle, wherein the accurate distance data comprises the following components of the initial SPAD regionProjection surfaces of the corresponding angles of the initial SPAD subareas are respectively arranged at the optical axis center of the dodging lens>Distance of accuracy->、/>……/>
The saidInitial measurement distance->、/>……/>And said->Distance of accuracy->……/>Respectively substituting formula (1) to obtain the +.>The calibration coefficient->……/>
Wherein, the formula (1) is:
wherein-> (1)。
6. The method of claim 5, wherein obtaining accurate distance data for the initial SPAD zone based on the initial measured distance data and a similar triangle principle, comprises:
(1) When (when)The exact distance is then represented by:
if it isWhen the number is odd, then->
If it isIs an even number and->When the number is odd, then->
If it isIs an even number and->If the number is even, then ∈>
(2) When (when)When, then the exact distance +.>
(3) When (when)When, then the exact distance +.>
Wherein,for the focal length of the dodging lens, +.>For the x-axis length of a single SPAD cell>Is the y-axis directional length of a single SPAD cell.
7. The method of claim 1, wherein theThe actual distance is represented by equation (2):
wherein-> (2)。
8. The method of claim 7, wherein processing the actual distance data according to a preset angle model to obtain a current cruising angle of the projection device comprises:
the current SPAD area is [ ]Is>And the current SPAD region->Is>Inputting a preset angle processing model to obtain a current cruising angle yaw;
wherein the preset angle processing model is represented by formulas (3), (4), (5) and (6):
(3);
(4);
(5);
(6)。
9. a projection device calibration apparatus, comprising:
the initialization unit is used for initializing the current gesture of the projection equipment to be tested, so that the projection equipment is opposite to the projection surface;
the region dividing unit is used for measuring a current projection picture according to the DTOF module and dividing a current SPAD region corresponding to the current projection picture intoThe current SPAD subregion, the->The current SPAD subregions are respectively the current SPAD region 1, the current SPAD region 2 and … … and the current SPAD region +.>
A measurement distance obtaining unit, configured to obtain measurement distance data of the current SPAD area according to a DTOF module, where the measurement distance data includes the following stepsProjection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Distance of measurement->、/>……/>
Actual distance determinationThe calibration unit is used for obtaining the actual distance data of the current SPAD area according to the measured distance data and preset calibration data, wherein the preset calibration data is the calibration data corresponding to the current SPAD area, and the preset calibration data comprisesDistance of measurement->、/>……/>Corresponding->The calibration coefficient->、/>……/>Said actual distance data comprises said +.>Projection surfaces of corresponding angles of the current SPAD subareas are respectively arranged at the optical axis center of the dodging lens +.>Actual distance->、/>……/>
The angle determining unit is used for processing the actual distance data according to a preset angle model to obtain the current cruising angle of the projection equipment;
and the angle adjustment unit is used for sending the current cruising angle to the projection device, so that the projection device corrects the coordinate system of the projection device and the coordinate system of the projection surface based on the current cruising angle.
10. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor being configured to read the executable instructions from the memory and execute the executable instructions to implement the method of any one of the preceding claims 1 to 8.
CN202410053839.5A 2024-01-15 2024-01-15 Projection equipment calibration method and device and electronic equipment Active CN117579798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410053839.5A CN117579798B (en) 2024-01-15 2024-01-15 Projection equipment calibration method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410053839.5A CN117579798B (en) 2024-01-15 2024-01-15 Projection equipment calibration method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN117579798A true CN117579798A (en) 2024-02-20
CN117579798B CN117579798B (en) 2024-04-19

Family

ID=89862778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410053839.5A Active CN117579798B (en) 2024-01-15 2024-01-15 Projection equipment calibration method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117579798B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100123878A1 (en) * 2008-11-17 2010-05-20 Seiko Epson Corporation Method of measuring zoom ratio of projection optical system, method of correcting projection image using the method, and projector executing the correction method
CN112422939A (en) * 2021-01-25 2021-02-26 深圳市橙子数字科技有限公司 Trapezoidal correction method and device for projection equipment, projection equipment and medium
CN113824942A (en) * 2021-10-25 2021-12-21 河南中光学集团有限公司 Trapezoidal correction method, trapezoidal correction device, projector and computer readable storage medium
WO2022134938A1 (en) * 2020-12-24 2022-06-30 上海智能制造功能平台有限公司 Binocular sensor visual measurement probe and binocular sensor
CN117288151A (en) * 2023-11-21 2023-12-26 深圳市橙子数字科技有限公司 Three-dimensional attitude determination method and device of projection equipment and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100123878A1 (en) * 2008-11-17 2010-05-20 Seiko Epson Corporation Method of measuring zoom ratio of projection optical system, method of correcting projection image using the method, and projector executing the correction method
WO2022134938A1 (en) * 2020-12-24 2022-06-30 上海智能制造功能平台有限公司 Binocular sensor visual measurement probe and binocular sensor
CN112422939A (en) * 2021-01-25 2021-02-26 深圳市橙子数字科技有限公司 Trapezoidal correction method and device for projection equipment, projection equipment and medium
CN113824942A (en) * 2021-10-25 2021-12-21 河南中光学集团有限公司 Trapezoidal correction method, trapezoidal correction device, projector and computer readable storage medium
CN117288151A (en) * 2023-11-21 2023-12-26 深圳市橙子数字科技有限公司 Three-dimensional attitude determination method and device of projection equipment and electronic equipment

Also Published As

Publication number Publication date
CN117579798B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US10972716B2 (en) Calibration method and measurement tool
US10764487B2 (en) Distance image acquisition apparatus and application thereof
CN111742241B (en) Optical distance measuring device
CN108111828B (en) Projection equipment correction method and device and projection equipment
CN109855568B (en) Method and device for detecting automatic driving sensor, electronic equipment and storage medium
US10209091B2 (en) Measurement tool, calibration method, calibration apparatus, and computer-readable recording medium
WO2022227844A1 (en) Laser radar correction apparatus and method
US10708520B2 (en) Calibration method of an image device and related image device and operational device thereof
WO2021098439A1 (en) Sensor calibration method and apparatus, and storage medium, calibration system and program product
CN113034612B (en) Calibration device, method and depth camera
CN110940312A (en) Monocular camera ranging method and system combined with laser equipment
CN117288151B (en) Three-dimensional attitude determination method and device of projection equipment and electronic equipment
JP6791341B2 (en) Calibration method, calibration equipment, and program
US20230351635A1 (en) Optical axis calibration method and apparatus of optical axis detection system, terminal, system, and medium
WO2023103198A1 (en) Method and device for calculating relative extrinsic parameters of ranging system, and storage medium
JP2017032280A (en) Angle calculation system, angle calculation device, program, and angle calculation method
CN117579798B (en) Projection equipment calibration method and device and electronic equipment
CN108603752B (en) Deflection angle detection method and device and jitter compensation method and device for camera module of terminal
US11486692B2 (en) Signal source space sensing method and apparatus, and active sensing system
GB2555643A (en) Determining an intersection location of an optical axis of a lens with a camera sensor
CN113219441B (en) Precision verification method and device for calibration angle, equipment and storage medium
CN115471678A (en) Method, device, equipment, medium and vehicle for aligning point cloud data and image
CN114814865A (en) Method and system for vehicle ranging, vehicle and program product
WO2021068723A1 (en) Sensor calibration method and sensor calibration apparatus
JP2021012136A (en) Three-dimensional information acquisition device and three-dimensional information acquisition method

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
GR01 Patent grant
GR01 Patent grant