CN117014589A - Projection method, projection device, electronic equipment and storage medium - Google Patents

Projection method, projection device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117014589A
CN117014589A CN202311263877.5A CN202311263877A CN117014589A CN 117014589 A CN117014589 A CN 117014589A CN 202311263877 A CN202311263877 A CN 202311263877A CN 117014589 A CN117014589 A CN 117014589A
Authority
CN
China
Prior art keywords
projection
coordinates
point
projector
distortion
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
CN202311263877.5A
Other languages
Chinese (zh)
Other versions
CN117014589B (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.)
Beijing Kaishida Technology Co ltd
Original Assignee
Beijing Kaishida 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 Beijing Kaishida Technology Co ltd filed Critical Beijing Kaishida Technology Co ltd
Priority to CN202311263877.5A priority Critical patent/CN117014589B/en
Publication of CN117014589A publication Critical patent/CN117014589A/en
Application granted granted Critical
Publication of CN117014589B publication Critical patent/CN117014589B/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/3179Video signal processing therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Projection Apparatus (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The disclosure relates to a projection method, a projection device, an electronic device and a storage medium, and relates to the technical field of projection, wherein the projection method comprises the following steps: and adjusting the first projection area corresponding to the original projection according to the first projection transformation relation corresponding to the original projection to obtain a second projection area, determining a plurality of first mark points based on the second projection area, performing de-distortion transformation on first coordinates of the plurality of first mark points in a camera according to distortion model parameters corresponding to the projector to obtain undistorted coordinates, obtaining a second projection transformation relation according to the undistorted coordinates and second coordinates of the first mark points in the projector, and finally adjusting the second projection area according to the second projection transformation relation to obtain a target projection result. Through the adjustment twice, the influence of the lens distortion of the projector on the projection is removed, so that a projection picture can be accurately projected onto a projection curtain.

Description

Projection method, projection device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of projection technologies, and in particular, to a projection method, apparatus, electronic device, and storage medium.
Background
Because the position deviation that the projecting apparatus was put, when the projecting apparatus projection was to the curtain, projection picture and projection curtain generally can not perfect laminating, need the user to utilize the four-point correction function of projecting apparatus, zoom the projection picture in the curtain, and the operation is inconvenient, and is more loaded down with trivial details.
Disclosure of Invention
The present disclosure provides a projection method, apparatus, electronic device, and storage medium, where after a first projection area corresponding to an original projection is adjusted, distortion removal is performed on a plurality of first mark points based on the plurality of first mark points, and a second projection transformation relationship is obtained, so that a second projection area is adjusted, so that a projection screen can be accurately projected onto a projection curtain.
According to a first aspect of embodiments of the present disclosure, there is provided a projection method, including:
according to a first projection transformation relation corresponding to the original projection, a first projection area corresponding to the original projection is adjusted, and a second projection area is obtained;
determining a plurality of first marker points based on the second projection region;
performing de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to distortion model parameters corresponding to the projector to obtain undistorted coordinates;
obtaining a second projection transformation relation according to the undistorted coordinates and the second coordinates of the first mark point in the projector;
and adjusting the second projection area according to the second projection transformation relation to obtain a target projection result.
Optionally, the method further comprises:
acquiring the original projection, wherein the original projection comprises a plurality of second mark points;
and determining the first projection transformation relation corresponding to the original projection according to the third coordinate of the second mark point in the camera and the fourth coordinate of the second mark point in the projector.
Optionally, the adjusting the first projection area corresponding to the original projection according to the first projection transformation relation corresponding to the original projection to obtain a second projection area includes:
determining a first angular point coordinate of an angular point of a projection curtain in the camera and a second angular point coordinate of the first projection area in the projector;
determining projection coordinates of the corner points of the projection curtain in the projector according to the first projection transformation relation and the first corner coordinates corresponding to the original projection;
and adjusting the first projection area according to the second angular point coordinates and the projection coordinates to obtain the second projection area.
Optionally, the method further comprises:
determining a curtain image of the projection curtain in the camera;
identifying the curtain image to obtain a plurality of edges of the projection curtain;
and determining the intersection point of the edges of the projection curtain as the corner point of the projection curtain.
Optionally, the distortion model parameters include projection parameters and distortion parameters;
the de-distortion transformation is performed on the first coordinates of the plurality of first mark points in the camera according to the distortion model parameters corresponding to the projector, so as to obtain undistorted coordinates, including:
determining the projection parameters according to the type of the projector;
determining the distortion parameters according to the distortion form of the projection of the projector;
and performing de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to the distortion parameters and the projection parameters to obtain the undistorted coordinates.
Optionally, the first marker point is a point in a first marker point picture in the second projection region, the first marker point picture being at least one of a checkerboard picture, an origin picture, and an identification code picture;
the second marker point is a point in a second marker point picture in the first projection region, the first marker point picture is larger than the second marker point picture, and the second marker point picture is at least one of a checkerboard picture, an origin picture and an identification code picture.
According to a second aspect of embodiments of the present disclosure, there is provided a projection apparatus including:
the first adjusting module is configured to adjust a first projection area corresponding to the original projection according to a first projection transformation relation corresponding to the original projection to obtain a second projection area;
a first determination module configured to determine a plurality of first marker points based on the second projection region;
the first obtaining module is configured to carry out de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to distortion model parameters corresponding to the projector to obtain undistorted coordinates;
the second obtaining module is configured to obtain a second projection transformation relation according to the undistorted coordinates and the second coordinates of the first mark point in the projector;
and the second adjusting module is configured to adjust the second projection area according to the second projection transformation relation to obtain a target projection result.
Optionally, the apparatus further comprises:
a projection module configured to acquire the original projection, the original projection including a plurality of second marker points;
and the second determining module is configured to determine the first projection transformation relation corresponding to the original projection according to a third coordinate of the second mark point in the camera and a fourth coordinate of the second mark point in the projector.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the projection method provided by the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the projection method provided in the first aspect of the present disclosure.
According to the technical scheme, the first projection area corresponding to the original projection is adjusted according to the first projection transformation relation corresponding to the original projection to obtain a second projection area, a plurality of first mark points are determined based on the second projection area, then the first coordinates of the first mark points in the camera are subjected to de-distortion transformation according to the distortion model parameters corresponding to the projector to obtain undistorted coordinates, the second projection transformation relation is obtained according to the undistorted coordinates and the second coordinates of the first mark points in the projector, and finally the second projection area is adjusted according to the second projection transformation relation to obtain a target projection result. After the first projection area corresponding to the original projection is adjusted according to the first projection transformation relation, the first mark points are subjected to de-distortion transformation based on the first mark points, and a second projection transformation relation is obtained, so that the second projection area is adjusted. Through the adjustment twice, the influence of the lens distortion of the projector on the projection is removed, so that a projection picture can be accurately projected onto a projection curtain.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
fig. 1 is a flow chart illustrating a projection method according to an exemplary embodiment.
FIG. 2 is a flowchart illustrating a method of determining a first projective transformation relationship, according to an example embodiment.
FIG. 3 is a schematic diagram of an original projection shown according to an exemplary embodiment.
Fig. 4 is a schematic diagram of a second mark point picture according to an exemplary embodiment.
Fig. 5 is a schematic diagram of a first mark point picture according to an exemplary embodiment.
Fig. 6 is a flow chart illustrating a method of first adjustment according to an exemplary embodiment.
Fig. 7 is a flow chart illustrating a method of de-distortion transformation according to an exemplary embodiment.
Fig. 8 is a block diagram of a projection device, according to an example embodiment.
Fig. 9 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
FIG. 1 is a flow chart of a projection method, as shown in FIG. 1, that may be used in a projection device, according to an exemplary embodiment, and may include the steps of:
in step S101, according to the first projective transformation relationship corresponding to the original projection, the first projection area corresponding to the original projection is adjusted, so as to obtain the second projection area.
In the present embodiment, the first projection, that is, the original projection is performed in advance, so that the first projection conversion relationship corresponding to the original projection is determined, the first projection conversion relationship being a conversion relationship between the coordinates in the camera of each point of the projection screen in the original projection and the coordinates in the projector. Based on the conversion relation, the primary projection adjustment is performed on the original projection for the first time so that the projection screen can be kept as much as possible within the projection screen.
In step S102, a plurality of first marker points are determined based on the second projection region.
In this embodiment, the first adjusted projection mode is kept unchanged, that is, the first mark points are determined based on the first adjusted projection mode, and the first mark points are projected onto the projection screen by the first adjusted projection mode, so that the first mark points are projected in the second projection area.
Optionally, a first marker picture may be projected in the second projection area based on the first adjusted projection mode, where the first marker picture may be at least one of a checkerboard picture, an origin picture, and an identification code picture.
In step S103, the first coordinates of the plurality of first marker points in the camera are subjected to de-distortion transformation according to the distortion model parameters corresponding to the projector, so as to obtain undistorted coordinates.
In this embodiment, in consideration of the influence of the distortion of the projector lens of the projector on the projection, the distortion model parameters corresponding to the projector are obtained, and the first coordinates of the plurality of first marker points in the camera are subjected to de-distortion transformation to obtain undistorted coordinates, so that more accurate camera coordinates can be obtained.
In step S104, a second projective transformation relationship is obtained based on the undistorted coordinates and the second coordinates of the first marker point in the projector.
In the present embodiment, the second projective transformation relationship is a transformation relationship between the undistorted coordinates of the first marker point and the second coordinates in the projector. I.e. the transformation between the camera coordinates of the first marker point and the projector coordinates.
In step S105, the second projection area is adjusted according to the second projective transformation relationship, and the target projection result is obtained.
In the present embodiment, after the second projective transformation relation is obtained, the second projection area may be adjusted again according to the second projective transformation relation so that the projection screen may be accurately projected onto the projection screen.
In this embodiment, after the first projection area corresponding to the original projection is adjusted according to the first projective transformation relationship, the distortion removal transformation is performed on the plurality of first mark points based on the plurality of first mark points, and a second projective transformation relationship is obtained, so that the second projection area is adjusted. Through the adjustment twice, the influence of the lens distortion of the projector on the projection is removed, so that a projection picture can be accurately projected onto a projection curtain.
Fig. 2 is a flowchart of a method of determining a first projective transformation relationship according to an exemplary embodiment, fig. 3 is a schematic diagram of an original projection according to an exemplary embodiment, fig. 4 is a schematic diagram of a second marker point picture according to an exemplary embodiment, fig. 5 is a schematic diagram of a first marker point picture according to an exemplary embodiment, as shown in fig. 1 to 5, in one possible implementation, the method of determining a first projective transformation relationship may comprise the steps of:
in step S201, an original projection is acquired, the original projection including a plurality of second marker points.
In this embodiment, the original projection, that is, the first projection, is performed first, and as shown in fig. 3, an area surrounded by four corner points P1, P2, P3, and P4 is a first projection area, and an area surrounded by four corner points S1, S2, S3, and S4 is an area of a projection curtain. And the first projection may project a second marker picture in the first projection region, the second marker picture may include a plurality of second markers, and the second marker picture may be at least one of a checkerboard picture, an origin picture, and an identification code picture. In the first projection, the second mark point picture is smaller because of inaccurate projection, so as to avoid the projection of the second mark point picture to the external area of the projection curtain. That is, the second mark point and the second mark point picture are both inside the projection curtain. After the first adjustment, the second projection area is mostly in the projection curtain, so that the first mark point picture is larger, the projected first mark point picture and the first mark point picture can be ensured to be in the projection curtain, and the larger the first mark point picture is, the more the first mark points are, and the more accurate the obtained second projection transformation relation is.
In step S202, a first projective transformation relationship corresponding to the original projection is determined according to a third coordinate of the second marker in the camera and a fourth coordinate of the second marker in the projector.
In this embodiment, the first projective transformation relationship may beThe relationship of the coordinates S in the camera and the coordinates P in the projector may be:
wherein,、/>for the third coordinate of the second marker point in the camera,>、/>fourth coordinate in projector for second marker point, +.>And the parameter matrix is a parameter matrix corresponding to the first projective transformation relation.
FIG. 6 is a flowchart illustrating a method of first adjustment according to an exemplary embodiment, as shown in FIG. 6, in a possible implementation, according to a first projective transformation relationship corresponding to an original projection, adjusting a first projection area corresponding to the original projection to obtain a second projection area, including the following steps:
in step S601, first corner coordinates of a corner point of the projection curtain in the camera and second corner coordinates of the first projection area in the projector are determined.
Optionally, the method for determining the corner point of the projection curtain may be: determining a curtain image of a projection curtain in a camera; identifying the curtain image to obtain a plurality of edges of the projection curtain; and determining the intersection point of the edges of the projection curtain as the corner point of the projection curtain.
In this embodiment, the curtain image in the camera is identified to determine the corner point of the projection curtain. And the curtain image can be identified through a pre-trained corner identification model, so that the corner of the projection curtain can be obtained. The corner recognition model can be obtained through a plurality of sample curtain images and a corresponding real corner training basic network of the projection curtain. The corner recognition model takes a curtain image as input and outputs corners of a projection curtain.
After the corner point of the projection curtain is obtained, the coordinate of the corner point in the camera can be determined, so that the first corner point coordinate of the corner point of the projection curtain in the camera is obtained.
In step S602, projection coordinates of the corner point of the projection curtain in the projector are determined according to the first projection transformation relationship and the first corner point coordinates corresponding to the original projection.
In this embodiment, after the first projective transformation relationship is obtained, the first projective transformation relationship is a transformation relationship between coordinates of each point of the projection screen in the original projection in the camera and coordinates in the projector. Based on the first angle coordinates, the projection coordinates of the angle points of the projection curtain in the projector can be determined through the first projection transformation relation.
In step S603, the first projection area is adjusted according to the second corner coordinates and the projection coordinates, so as to obtain a second projection area.
In this embodiment, the second angular point coordinates are adjusted to the projection coordinates, and the entire first projection area is adjusted according to the adjustment method, so that the second projection area can be obtained.
Fig. 7 is a flowchart of a method for performing a de-distortion transformation according to an exemplary embodiment, as shown in fig. 7, in a possible implementation, the distortion model parameters include a projection parameter and a distortion parameter, and performing the de-distortion transformation on first coordinates of a plurality of first mark points in a camera according to the distortion model parameters corresponding to the projector to obtain undistorted coordinates, which may include the following steps:
in step S701, projection parameters are determined according to the type of projector.
In this embodiment, when each projector is produced, the projection parameters corresponding to the projector can be calibrated, and the projection parameters corresponding to the projector can be obtained through the identification of the projector.
In step S702, distortion parameters are determined from the distortion form of the projection of the projector.
In this embodiment, different projectors may correspond to different projection distortion forms, for example, the distortion forms may be 1 st order radial distortion, 3 rd order radial distortion, 6 th order radial distortion, tangential distortion, thin prism distortion, and the like. The distortion form of the projection of the projector can be determined according to the identification of the projector, and the distortion parameter corresponding to the projector can be determined according to the distortion form corresponding to the projector.
In step S703, the first coordinates of the plurality of first marker points in the camera are subjected to de-distortion transformation according to the distortion parameters and the projection parameters, so as to obtain undistorted coordinates.
In the present embodiment, the first coordinates of the plurality of first marker points in the camera are subjected to the de-distortion transformation based on the de-distortion map based on the distortion parameters and the projection parameters, to obtain the undistorted coordinates. Wherein the de-distortion mapCalculate the distortionless marker +.>Due to->Contains nonlinear terms, the resolved form of which cannot be obtained directly, but by +.>Inverse mapping +.>And (5) performing iterative calculation. The calculation formula is as follows:. Taking 1-order radial distortion as an example, the specific calculation process is as follows:
wherein the method comprises the steps of、/>、/>And->For the projection parameters of the projector, < >>Distortion parameter, which is the 1 st order radial distortion of the projector,>is a distortion-free coordinate>For the first coordinate of the first marker point in the camera,>、/>、/>、/>and->Are all intermediate parameters in the calculation process.
In one possible implementation manner, the method for adjusting the second projection area according to the second projective transformation relationship to obtain the target projection result may be: determining a third corner coordinate of a corner point of the projection curtain in the camera and a fourth corner coordinate of a second projection area in the projector; determining second projection coordinates of the corner points of the projection curtain in the projector according to the second projection transformation relation and the third corner point coordinates; and adjusting the second projection area according to the fourth angle point coordinates and the second projection coordinates to obtain a target projection result. The specific explanation can refer to the explanation of step S601 to step S603, and will not be described herein.
Fig. 8 is a block diagram of a projection device, according to an example embodiment. Referring to fig. 8, the projection apparatus 800 includes a first adjustment module 801, a first determination module 802, a first obtaining module 803, a second obtaining module 804, and a second adjustment module 805.
The first adjustment module 801 is configured to adjust a first projection area corresponding to an original projection according to a first projection transformation relationship corresponding to the original projection, so as to obtain a second projection area;
the first determining module 802 is configured to determine a plurality of first marker points based on the second projection area;
the first obtaining module 803 is configured to perform de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to distortion model parameters corresponding to the projector, so as to obtain undistorted coordinates;
the second obtaining module 804 is configured to obtain a second projective transformation relationship according to the undistorted coordinates and the second coordinates of the first marker point in the projector;
the second adjusting module 805 is configured to adjust the second projection area according to the second projective transformation relationship, so as to obtain a target projection result.
Optionally, the projection device 800 further includes:
a projection module configured to acquire the original projection, the original projection including a plurality of second marker points;
and the second determining module is configured to determine the first projection transformation relation corresponding to the original projection according to a third coordinate of the second mark point in the camera and a fourth coordinate of the second mark point in the projector.
Optionally, the first adjusting module 801 includes:
a first determining submodule configured to determine first corner coordinates of a corner point of a projection curtain in the camera and second corner coordinates of the first projection area in the projector;
the second determining submodule is configured to determine projection coordinates of the corner points of the projection curtain in the projector according to the first projection transformation relation and the first corner coordinates corresponding to the original projection;
the first obtaining submodule is configured to adjust the first projection area according to the second angular point coordinates and the projection coordinates to obtain the second projection area.
Optionally, the projection device 800 further includes:
a third determination module configured to determine a curtain image of the projection curtain in the camera;
the third obtaining module is configured to identify the curtain image to obtain a plurality of edges of the projection curtain;
and the third determining module is configured to determine the intersection point of the edges of the projection curtain as the corner point of the projection curtain.
Optionally, the distortion model parameters include projection parameters and distortion parameters;
the first obtaining module includes:
a third determination sub-module configured to determine the projection parameters according to the type of projector;
a fourth determination sub-module configured to determine the distortion parameter from a distortion form of the projection of the projector;
the second obtaining submodule is configured to carry out de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to the distortion parameters and the projection parameters to obtain the undistorted coordinates.
Optionally, the first marker point is a point in a first marker point picture in the second projection region, the first marker point picture being at least one of a checkerboard picture, an origin picture, and an identification code picture;
the second marker point is a point in a second marker point picture in the first projection region, the first marker point picture is larger than the second marker point picture, and the second marker point picture is at least one of a checkerboard picture, an origin picture and an identification code picture.
With respect to the projection apparatus 800 in the above embodiment, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment regarding the method, and will not be described in detail herein.
Fig. 9 is a block diagram of an electronic device, according to an example embodiment. As shown in fig. 9, the electronic device 900 may include: processor 901, memory 902. The electronic device 900 may also include one or more of a multimedia component 903, an input/output (I/O) interface 904, and a communication component 905.
The processor 901 is configured to control the overall operation of the electronic device 900 to perform all or part of the steps in the projection method described above. The memory 902 is used to store various types of data to support operations at the electronic device 900, which may include, for example, instructions for any application or method operating on the electronic device 900, as well as application-related data, such as contact data, transceived messages, pictures, audio, video, and so forth. The Memory 902 may be implemented by any type or combination of volatile or nonvolatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 903 may include a screen and audio components. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 902 or transmitted through the communication component 905. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 904 provides an interface between the processor 901 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 905 is used for wired or wireless communication between the electronic device 900 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of more of them, is not limited herein. The corresponding communication component 905 may thus comprise: wi-Fi module, bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic device 900 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), digital signal processors (Digital Signal Processor, abbreviated as DSP), digital signal processing devices (Digital Signal Processing Device, abbreviated as DSPD), programmable logic devices (Programmable Logic Device, abbreviated as PLD), field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described projection methods.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the projection method described above. For example, the computer readable storage medium may be the memory 902 including program instructions described above, which are executable by the processor 901 of the electronic device 900 to perform the projection method described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described projection method when being executed by the programmable apparatus.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.

Claims (10)

1. A projection method, comprising:
according to a first projection transformation relation corresponding to the original projection, a first projection area corresponding to the original projection is adjusted, and a second projection area is obtained;
determining a plurality of first marker points based on the second projection region;
performing de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to distortion model parameters corresponding to the projector to obtain undistorted coordinates;
obtaining a second projection transformation relation according to the undistorted coordinates and the second coordinates of the first mark point in the projector;
and adjusting the second projection area according to the second projection transformation relation to obtain a target projection result.
2. The projection method of claim 1, further comprising:
acquiring the original projection, wherein the original projection comprises a plurality of second mark points;
and determining the first projection transformation relation corresponding to the original projection according to the third coordinate of the second mark point in the camera and the fourth coordinate of the second mark point in the projector.
3. The projection method of claim 1, wherein,
the adjusting the first projection area corresponding to the original projection according to the first projection transformation relation corresponding to the original projection to obtain a second projection area comprises the following steps:
determining a first angular point coordinate of an angular point of a projection curtain in the camera and a second angular point coordinate of the first projection area in the projector;
determining projection coordinates of the corner points of the projection curtain in the projector according to the first projection transformation relation and the first corner coordinates corresponding to the original projection;
and adjusting the first projection area according to the second angular point coordinates and the projection coordinates to obtain the second projection area.
4. A projection method according to claim 3, characterized in that the method further comprises:
determining a curtain image of the projection curtain in the camera;
identifying the curtain image to obtain a plurality of edges of the projection curtain;
and determining the intersection point of the edges of the projection curtain as the corner point of the projection curtain.
5. The projection method according to any one of claims 1 to 4, wherein the distortion model parameters include projection parameters and distortion parameters;
the de-distortion transformation is performed on the first coordinates of the plurality of first mark points in the camera according to the distortion model parameters corresponding to the projector, so as to obtain undistorted coordinates, including:
determining the projection parameters according to the type of the projector;
determining the distortion parameters according to the distortion form of the projection of the projector;
and performing de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to the distortion parameters and the projection parameters to obtain the undistorted coordinates.
6. The projection method of claim 2, wherein,
the first mark point is a point in a first mark point picture in the second projection area, and the first mark point picture is at least one of a checkerboard picture, an origin picture and an identification code picture;
the second marker point is a point in a second marker point picture in the first projection region, the first marker point picture is larger than the second marker point picture, and the second marker point picture is at least one of a checkerboard picture, an origin picture and an identification code picture.
7. A projection apparatus, comprising:
the first adjusting module is configured to adjust a first projection area corresponding to the original projection according to a first projection transformation relation corresponding to the original projection to obtain a second projection area;
a first determination module configured to determine a plurality of first marker points based on the second projection region;
the first obtaining module is configured to carry out de-distortion transformation on first coordinates of the plurality of first mark points in the camera according to distortion model parameters corresponding to the projector to obtain undistorted coordinates;
the second obtaining module is configured to obtain a second projection transformation relation according to the undistorted coordinates and the second coordinates of the first mark point in the projector;
and the second adjusting module is configured to adjust the second projection area according to the second projection transformation relation to obtain a target projection result.
8. The projection device of claim 7, wherein the device further comprises:
a projection module configured to acquire the original projection, the original projection including a plurality of second marker points;
and the second determining module is configured to determine the first projection transformation relation corresponding to the original projection according to a third coordinate of the second mark point in the camera and a fourth coordinate of the second mark point in the projector.
9. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor implements the steps of the projection method according to any of claims 1-6.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the projection method of any one of claims 1-6.
CN202311263877.5A 2023-09-27 2023-09-27 Projection method, projection device, electronic equipment and storage medium Active CN117014589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311263877.5A CN117014589B (en) 2023-09-27 2023-09-27 Projection method, projection device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311263877.5A CN117014589B (en) 2023-09-27 2023-09-27 Projection method, projection device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117014589A true CN117014589A (en) 2023-11-07
CN117014589B CN117014589B (en) 2023-12-19

Family

ID=88576505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311263877.5A Active CN117014589B (en) 2023-09-27 2023-09-27 Projection method, projection device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117014589B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299218A (en) * 2013-07-17 2015-01-21 南京邮电大学 Projector calibration method based on lens distortion rule
US20180061021A1 (en) * 2016-08-23 2018-03-01 National Taiwan University Of Science And Technology Image correction method of projector and image correction system
CN108876725A (en) * 2017-05-12 2018-11-23 深圳市魔眼科技有限公司 A kind of virtual image distortion correction method and system
CN113489961A (en) * 2021-09-08 2021-10-08 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and projection equipment
CN113689339A (en) * 2021-09-08 2021-11-23 北京经纬恒润科技股份有限公司 Image splicing method and device
CN115147286A (en) * 2021-03-30 2022-10-04 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and readable storage medium
CN115965697A (en) * 2022-12-31 2023-04-14 梅卡曼德(北京)机器人科技有限公司 Projector calibration method, calibration system and device based on Samm's law
CN116128744A (en) * 2022-11-23 2023-05-16 长城汽车股份有限公司 Method for eliminating image distortion, electronic device, storage medium and vehicle

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299218A (en) * 2013-07-17 2015-01-21 南京邮电大学 Projector calibration method based on lens distortion rule
US20180061021A1 (en) * 2016-08-23 2018-03-01 National Taiwan University Of Science And Technology Image correction method of projector and image correction system
CN108876725A (en) * 2017-05-12 2018-11-23 深圳市魔眼科技有限公司 A kind of virtual image distortion correction method and system
CN115147286A (en) * 2021-03-30 2022-10-04 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and readable storage medium
CN113489961A (en) * 2021-09-08 2021-10-08 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and projection equipment
CN113689339A (en) * 2021-09-08 2021-11-23 北京经纬恒润科技股份有限公司 Image splicing method and device
CN116128744A (en) * 2022-11-23 2023-05-16 长城汽车股份有限公司 Method for eliminating image distortion, electronic device, storage medium and vehicle
CN115965697A (en) * 2022-12-31 2023-04-14 梅卡曼德(北京)机器人科技有限公司 Projector calibration method, calibration system and device based on Samm's law

Also Published As

Publication number Publication date
CN117014589B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN109166156B (en) Camera calibration image generation method, mobile terminal and storage medium
WO2022179108A1 (en) Projection correction method and apparatus, storage medium, and electronic device
KR101498442B1 (en) Image capture device having tilt or perspective correction
KR102010712B1 (en) Distortion Correction Method and Terminal
KR101678483B1 (en) Auto-focusing method, auto-focusing device, program and recording medium
US20190068877A1 (en) Mobile terminal image synthesis method, mobile terminal image synthesis apparatus and mobile terminal
CN110809781B (en) Image processing method, control terminal and storage medium
US11151746B2 (en) Image processing devices that utilize built-in dynamic camera models to support rapid determination of camera intrinsics and methods of operating same
CN109658346B (en) Image restoration method and device, computer-readable storage medium and electronic equipment
CN108040210A (en) A kind of bearing calibration of local distortion and mobile terminal and related media production
US9615040B2 (en) Determining a maximum inscribed size of a rectangle
CN110930336B (en) Image processing method and device, electronic equipment and storage medium
CN110177269B (en) Method and device for synchronously correcting exposure of double-shooting module
WO2019076027A1 (en) White balance information synchronization method and device, and computer readable medium
JP2014531860A (en) Method and apparatus for conditional display of stereoscopic image pairs
JP2017083550A (en) Information processing apparatus, image projection system, and program
US20120098978A1 (en) Portable communication terminal, upload control program, and upload control method
CN114125411B (en) Projection device correction method, projection device correction device, storage medium and projection device
CN110874809A (en) Image processing method and device, electronic equipment and storage medium
CN117014589B (en) Projection method, projection device, electronic equipment and storage medium
CN114339179B (en) Projection correction method, apparatus, storage medium and projection device
US11792518B2 (en) Method and apparatus for processing image
CN115439550A (en) Camera calibration method, distance measurement method, equipment and storage medium
WO2021226780A1 (en) Live-action map generation method, apparatus and device, and readable storage medium
CN112927301A (en) Camera calibration method and device, computing equipment and readable storage medium

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