CN111061421A - Picture projection method and device and computer storage medium - Google Patents

Picture projection method and device and computer storage medium Download PDF

Info

Publication number
CN111061421A
CN111061421A CN201911315755.XA CN201911315755A CN111061421A CN 111061421 A CN111061421 A CN 111061421A CN 201911315755 A CN201911315755 A CN 201911315755A CN 111061421 A CN111061421 A CN 111061421A
Authority
CN
China
Prior art keywords
virtual
picture
projection
projector
projected
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
CN201911315755.XA
Other languages
Chinese (zh)
Other versions
CN111061421B (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 Lan Jing Technology Co Ltd
Original Assignee
Beijing Lan Jing 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 Lan Jing Technology Co Ltd filed Critical Beijing Lan Jing Technology Co Ltd
Priority to CN201911315755.XA priority Critical patent/CN111061421B/en
Publication of CN111061421A publication Critical patent/CN111061421A/en
Application granted granted Critical
Publication of CN111061421B publication Critical patent/CN111061421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a picture projection method, a picture projection device and a computer storage medium. The method comprises the following steps: acquiring a picture to be projected of a physical projector installed on site, and displaying the picture to be projected in a virtual projection model in a three-dimensional simulation scene; marking a picture to be projected and displaying a plurality of mark points; receiving the moving operation of a user on a plurality of marking points; adjusting projection parameters of the virtual projector according to the position information of the moved mark points; and continuing to project the picture by using the adjusted virtual projector, and sending the picture projected into the virtual projection model to the physical projector. The method of the invention obtains the adjusted picture by moving the mark points of the projection picture in the virtual model, and sends the adjusted picture to the physical machine, thereby improving the speed and accuracy of the projection picture of the on-site physical projector.

Description

Picture projection method and device and computer storage medium
Technical Field
The present invention relates to communications technologies, and in particular, to a method and an apparatus for image projection, and a computer storage medium.
Background
In recent years, projection technology has been known to the public for a long time in real life, and a projector is generally used in combination with a screen, and when the projector projects a picture on the screen, if a slight deviation of a position of a body, a projection angle and a projection ratio causes a deviation of the picture projected on the screen.
In the prior art, after a 3D picture is designed by software, a virtual projector is arranged in the 3D picture, the virtual projector is associated with a physical projector installed on site, and the purpose of controlling a picture transmitted on the physical projector is achieved by controlling the virtual projector. Since the position of the virtual projector may not coincide with the position of the physical projector, there may be a deviation, such as a positional deviation, a sharpness deviation, etc., of a picture output by the virtual projector controlling the physical projector. In the prior art, the position of each physical projector is measured, and the position of the virtual projector is adjusted according to the position of the physical projector, so that the positions of the virtual projector and the physical projector are finally ensured to be the same.
However, such a method of screen projection in the related art requires a lot of time to measure the position of the physical projector, affects the design progress of the 3D screen, and the measured position of the physical projector may be inaccurate, thereby causing poor projection effect.
Disclosure of Invention
The invention provides a picture projection method, a picture projection device and a computer storage medium, which are used for solving the problem of poor 3D picture projection effect in the prior art.
In one aspect, the present invention provides a method for projecting a picture, including:
the method comprises the steps of obtaining a picture to be projected of a physical projector installed on site, and displaying the picture to be projected in a virtual projection model in a three-dimensional simulation scene, wherein the three-dimensional simulation scene comprises the virtual projection model and a virtual projector, the virtual projector is used for projecting the picture into the virtual projection model, the virtual projector is used for simulating the physical projector, and the virtual projection model is used for simulating a physical projection model in the site;
marking the picture to be projected, and displaying a plurality of mark points of the picture to be projected;
receiving the moving operation of the user on all or part of the plurality of marking points;
adjusting projection parameters of the virtual projector according to the position information of the moved mark point, wherein the projection parameters of the virtual projector comprise the position, the inclination angle and the projection ratio of the virtual projector;
and continuing to project pictures by using the adjusted virtual projector, and sending the pictures projected into the virtual projection model to the physical projector.
Optionally, the marking the picture to be projected includes:
receiving click operation input by a user in the picture to be projected;
and generating a marking point according to the position of the clicking operation.
Optionally, the plurality of marker points are located at edge positions of the virtual projection model.
Optionally, the adjusted projection parameters of the virtual projector are the same as the projection parameters of the physical projector.
Optionally, the adjusting the projection parameters of the virtual projector according to the position information after the movement of the mark point, where the projection parameters of the virtual projector include a position, an inclination angle, and a projection ratio of the virtual projector, includes:
determining target projection parameters of the virtual projector according to the position information of the moved mark points;
and adjusting the current projection parameters of the virtual projector according to the target projection parameters.
In a second aspect, the present invention provides a projection apparatus, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a picture to be projected of a physical projector installed on site and displaying the picture to be projected in a virtual projection model in a three-dimensional simulation scene, the three-dimensional simulation scene comprises the virtual projection model and a virtual projector, the virtual projector is used for projecting the picture into the virtual projection model, the virtual projector is used for simulating the physical projector, and the virtual projection model is used for simulating a physical projection model in the site;
the processing module is used for marking the picture to be projected and displaying a plurality of marking points of the picture to be projected;
the receiving module is used for receiving the moving operation of all or part of the plurality of marking points by a user;
the processing module is further configured to adjust projection parameters of the virtual projector according to the position information of the moved mark point, where the projection parameters of the virtual projector include a position, an inclination angle, and a projection ratio of the virtual projector;
and the output module is used for continuously projecting pictures by using the adjusted virtual projector and sending the pictures projected into the virtual projection model to the physical projector.
Optionally, the projection apparatus further comprises a determination module,
the acquisition module is further used for receiving click operation input by a user in the picture to be projected;
and the determining module is used for generating a marking point according to the position of the clicking operation.
Optionally, in the projection apparatus, the projection unit,
the determining module is further used for determining target projection parameters of the virtual projector according to the position information of the moved mark points;
the processing module is further configured to adjust the current projection parameters of the virtual projector according to the target projection parameters.
In a third aspect, the present invention provides an electronic device, comprising: comprising a processor, a memory for storing instructions and a transceiver for communicating with other devices, the processor being configured to execute the instructions stored in the memory to cause the apparatus to perform the picture projection method as defined in any of the preceding first aspects.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored therein computer-executable instructions, which, when executed, cause a computer to execute the picture projection method according to any one of the preceding first aspects.
According to the picture projection method provided by the invention, a user marks a picture to be projected displayed in a virtual projection model in a three-dimensional simulation scene, a plurality of mark points of the picture to be projected are displayed in the virtual projection model, if the position of the picture to be projected is deviated, the user drags the mark points on the picture to be projected so as to adjust the position of the picture to be projected on the virtual projection model, the projection parameters of a virtual machine are adjusted according to the adjustment adaptability of the picture to be projected, the adjusted virtual projector is used for projecting the picture, and the picture projected in the virtual projection model is sent to a physical projector.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic view of an application scenario of the image projection method provided by the present invention;
fig. 2 is a schematic flowchart of a method for projecting a picture according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another image projection method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of adjusting a projection image according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a projection apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms to which the present invention relates will be explained first:
a projector: the projector is a device which can project images or videos onto a curtain and can be connected with a computer, a game machine and the like through different interfaces to play corresponding video signals.
The projection ratio refers to the ratio of the projection distance to the width of the screen, and the smaller the ratio, the larger the width of the projected screen is for the same projection distance.
Curtain: the screen is used for displaying projection pictures, and the screen and the projector are reasonably matched, so that a high-quality projection picture effect can be obtained.
Fig. 1 is a schematic view of a suitable scene of the image projection method provided by the present invention, as shown in fig. 1, the scene includes an electronic device 1, a projector 2, and a physical projection model 3 (the physical projection model may be the above-mentioned curtain).
The electronic device 1 is connected with the projector 2 in a wired or wireless mode, and the electronic device 1 and the projector 2 can exchange data; the electronic device 1 is provided with a virtual projector, the virtual projector is correspondingly provided with a virtual projection model, and the virtual projection model is consistent with the physical projection model 3.
In the prior art, when a projector projects a picture, a three-dimensional simulation scene is constructed in electronic equipment, the three-dimensional simulation scene includes a virtual projector and a virtual projection model, the virtual projector is used for projecting the picture into the virtual projection model, and the virtual projection model can be a virtual canvas, a virtual electronic screen or other equipment with similar functions. Because the position of the virtual projector set in the three-dimensional simulation scene may not be consistent with the position of the physical projector actually installed on site, a deviation may exist in a picture output by the physical projector controlled by a projection picture in the three-dimensional simulation scene. Such as positional deviation, sharpness deviation, etc. Therefore, in the prior art, the position of each physical projector actually installed on site needs to be measured, and then the position of the virtual projector in the electronic device needs to be adjusted based on the position information of the physical projector; however, this method of the related art requires a lot of time to measure the position data of the physical projector, and tends to delay the progress of designing the 3D picture in the three-dimensional simulation scene.
The invention provides a data transmission method, which aims to solve the technical problems in the prior art. According to the scheme of the invention, the position of a physical projector is not required to be obtained, a picture to be projected is marked by a user, the picture to be projected with the marked points marked by the user is projected on a virtual projection model through the virtual projector, if the position deviation of the picture to be projected on the virtual projection model is detected, the user drags the marked points on the picture to be projected so as to adjust the position of the picture to be projected on the virtual projection model, the projection parameters of the virtual projector are adjusted adaptively according to the adjustment of the picture to be projected, the adjusted picture is projected by the virtual projector, and the picture projected in the virtual projection model is sent to the physical projector.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
An embodiment of the present invention provides a picture projection method, which is applied to an electronic device, where the electronic device may be a computer, a notebook computer, a tablet computer, a personal digital assistant (PDA for short), and the like, and as shown in fig. 2, the method includes the following steps:
step 101, obtaining a to-be-projected picture of a physical projector installed on site, and displaying the to-be-projected picture in a virtual projection model in a three-dimensional simulation scene.
In the embodiment of the invention, the three-dimensional simulation scene comprises a virtual projection model and a virtual projector, wherein the virtual projector is used for projecting a picture into the virtual projection model, the virtual projector is used for simulating a physical projector, and the virtual projection model is used for simulating a physical projection model in a field.
In the embodiment of the invention, the field-mounted physical projector is a device for projecting a picture to be projected on a field physical projection model, so that a viewer sees the projection picture on the field physical projection model; the electronic equipment is provided with a virtual projector, and the virtual projector is used for projecting a picture to be projected into a virtual projection model; the electronic equipment can acquire a to-be-projected picture of a physical projector installed on site, and further project the acquired to-be-projected picture of the physical projector into a virtual projection model in real time through a virtual projector of the electronic equipment; that is, the projection screen of the virtual projector is synchronized with the projection screen of the physical projector.
And 102, marking the picture to be projected, and displaying a plurality of mark points of the picture to be projected.
In the embodiment of the invention, after the virtual projector arranged in the electronic equipment acquires the picture to be projected, the mark point is added in the picture to be projected. In one implementation, a user marks a picture to be projected by clicking a mouse, or the user marks the picture to be projected by using a finger or a touch pen of an electronic device having a touch screen. The click position of the mouse, the touch position of the finger of the user or the touch position of the touch pen is the position of the mark point.
In another mode, the mark points are automatically generated in the picture to be projected without user operation, for example, the electronic device may automatically detect the outline of the main body in the picture to be projected, and generate a plurality of mark points at intervals on the outline of the main body in the picture to be projected. The subject may be a person, an object, an animal, etc., and there may be a plurality of subjects in the picture to be projected.
The mark point can be at any position of the picture to be projected, and optionally, the mark point is in the edge area of the main body in the picture to be projected; and marking the to-be-projected picture by a user at multiple points, and displaying the to-be-projected picture with the marked points in the virtual projection model after marking is finished.
Optionally, the picture to be projected may be a 3D picture or a video image, after receiving the 3D picture or the video image to be projected, the electronic device performs a decoding operation on the received 3D picture data or the video image data to be projected, and the user marks the decoded picture to be projected, and displays a plurality of mark points of the picture to be projected after the marking is completed.
In this embodiment, after the to-be-projected picture is projected onto the virtual projection model, an editing control may be displayed on the user interface, if the user needs to adjust the position of the to-be-projected picture, the user clicks the editing control to enter an editing mode, and after entering the editing mode, the user may mark the to-be-projected picture. Optionally, the user interface does not display the editing control, and the default to-be-projected picture is projected to the back of the virtual projector. Of course, the user may also perform the editing mode in other manners, which is not limited in this embodiment.
And 103, receiving the moving operation of the user on all or part of the plurality of marking points.
In the embodiment of the invention, the all-movement operation refers to that a user selects all mark points in the picture to be projected, and the picture to be projected is integrally moved, so that all mark points of the picture to be projected are projected into the virtual projection model; and the part of the movement operation refers to that a user moves some mark points which are not projected into the virtual projection model in the picture to be projected, so that all the mark points of the moved picture to be projected are projected into the virtual projection model.
Optionally, the moving operation is a dragging operation of the user on the mark point, and the user drags the mark point to a required position by dragging the mark point.
For example, as shown in fig. 3, the picture to be projected includes a car, the car needs to be completely projected onto the virtual projection model, as can be seen from fig. 3a, part of the marked points of the car exceed the maximum projectable area of the virtual projection model, and at this time, the position of the car projected in the virtual model needs to be adjusted. Optionally, the user selects two marker points: and M points and N points, wherein the M points are moved to the M position, and the N points are moved to the N position, so that all mark points of the adjusted vehicle are displayed in the virtual projection model. As shown in fig. 3b, when adjusting the to-be-projected picture, the user may move the position of the whole to-be-projected picture with respect to a part of the mark points, or drag all the mark points, so as to perform a moving operation of projecting all the mark points of the to-be-projected picture into the virtual projection model.
And 104, adjusting the projection parameters of the virtual projector according to the position information of the moved mark points.
The projection parameters of the virtual projector include the position, the tilt angle and the projection ratio of the virtual projector, but are not limited to the above parameters.
In the embodiment of the invention, the projection parameters of the projector determine the projection effect of the projection picture, and all mark points of the picture to be projected can be projected into the virtual projection model by adjusting the projection parameters of the projector. The electronic equipment acquires the position information of the mark points of the picture to be projected after the user moves, substitutes the position parameters of the picture to be projected after the movement into a preset calculation model, and calculates the projection parameters of the position of the picture to be projected after the movement. Based on the projection parameters, the position, the inclination angle and the projection ratio of the current virtual projector are respectively adjusted.
And 105, continuing to project the picture by using the adjusted virtual projector, and sending the picture projected into the virtual projection model to the physical projector.
In the embodiment of the invention, the electronic equipment continuously projects the picture to be projected in the virtual projection model according to the adjusted projection parameters, and simultaneously, the electronic equipment sends the picture information projected in the virtual projection model to the physical projector installed on site, so that the physical projector displays the adjusted picture to be projected in the physical projection model. The projection effect in the physical projection model is consistent with the projection effect in the virtual projection model, and the embodiment adjusts the projection effect in the virtual projection model to achieve the adjustment of the projection effect in the physical projection model.
It should be noted that, in the actual projection process, the user may need to adjust many times to completely project the to-be-projected picture into the virtual projection model, so as to achieve an ideal projection effect.
According to the picture projection method provided by the invention, a user marks a picture to be projected displayed in a virtual projection model in a three-dimensional simulation scene, a plurality of mark points of the picture to be projected are displayed in the virtual projection model, if the position of the picture to be projected is deviated, the user drags the mark points on the picture to be projected so as to adjust the position of the picture to be projected on the virtual projection model, the projection parameters of a virtual machine are adjusted according to the adjustment adaptability of the picture to be projected, the adjusted virtual projector is used for projecting the picture, and the picture projected in the virtual projection model is sent to a physical projector.
Based on the foregoing embodiments, an embodiment of the present invention provides a picture projection method applied to an electronic device, and as shown in fig. 4, the method includes the following steps:
step 201, obtaining a to-be-projected picture of a physical projector installed on site, and displaying the to-be-projected picture in a virtual projection model in a three-dimensional simulation scene, wherein the three-dimensional simulation scene comprises the virtual projection model and the virtual projector, the virtual projector is used for projecting the picture into the virtual projection model, the virtual projector is used for simulating the physical projector, and the virtual projection model is used for simulating the physical projection model in the site.
Step 202, receiving a click operation input by a user in a picture to be projected.
In the embodiment of the invention, a user clicks a picture to be projected through a mouse, or the user directly clicks the picture to be projected through manual touch operation, or the user determines the position of a mark point of the picture to be projected through the touch position of a touch pen.
And step 203, generating a mark point according to the position of the clicking operation.
Optionally, the electronic device receives an operation of clicking the picture to be projected by the user, determines a position point clicked by the user in the picture to be projected based on the clicking operation, and determines the clicked position points as mark points of the picture to be projected.
And step 204, displaying a plurality of mark points of the picture to be projected.
And step 205, receiving the moving operation of the user on all or part of the plurality of marked points.
And step 206, determining target projection parameters of the virtual projector according to the position information of the moved mark points.
The target projection parameters refer to projection parameters corresponding to the virtual projector determined according to the position information of the picture to be projected, which is obtained by projecting all the mark points in the picture to be projected after adjustment into the virtual projection model.
In the embodiment of the invention, the electronic equipment acquires the position information of the mark points of the picture to be projected after the movement and all the mark points are projected to the virtual projection model, inputs the position information of the mark points into the preset calculation model and determines the target projection parameters of the virtual projector.
And step 207, adjusting the current projection parameters of the virtual projector according to the target projection parameters.
In the embodiment of the present invention, the current projection parameter refers to a projection parameter of the virtual projector, which is obtained by the electronic device before the virtual projector is not adjusted.
Optionally, based on the visual discovery of the user, projecting all the mark points of the moved picture to be projected into the virtual projection model, at this time, determining projection parameters corresponding to the virtual projector based on the plurality of moved mark points, and taking the projection parameters of the virtual projector determined at this time as target projection parameters; optionally, the electronic device detects that the projection parameters of the adjusted virtual projector are the same as the projection parameters of the physical projector actually installed on site, and determines the projection parameters of the adjusted virtual projector as target projection parameters; and after the electronic equipment determines the target parameters, further adjusting the position, the inclination angle and the transmittance of the virtual projector according to the target parameters, and adjusting the current projection parameters of the virtual projector to the target projection parameters.
And step 208, continuing to project the picture by using the adjusted virtual projector, and sending the picture projected into the virtual projection model to the physical projector.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
According to the picture projection method provided by the invention, a user marks a picture to be projected displayed in a virtual projection model in a three-dimensional simulation scene, a plurality of mark points of the picture to be projected are displayed in the virtual projection model, if the position of the picture to be projected is deviated, the user drags the mark points on the picture to be projected so as to adjust the position of the picture to be projected on the virtual projection model, the projection parameters of a virtual machine are adjusted according to the adjustment adaptability of the picture to be projected, the adjusted virtual projector is used for projecting the picture, and the picture projected in the virtual projection model is sent to a physical projector.
Based on the foregoing embodiments, an embodiment of the invention provides a projection apparatus, and as shown in fig. 5, the projection apparatus 3 includes: an obtaining module 31, a processing module 32, a receiving module 33, and an outputting module 34, wherein:
the acquiring module 31 is configured to acquire a to-be-projected picture of a physical projector installed in a field, and display the to-be-projected picture in a virtual projection model in a three-dimensional simulation scene, where the three-dimensional simulation scene includes the virtual projection model and a virtual projector, the virtual projector is configured to project the picture into the virtual projection model, the virtual projector is configured to simulate the physical projector, and the virtual projection model is configured to simulate the physical projection model in the field;
the obtaining module 31 is further configured to obtain key points of a face in the current image;
the processing module 32 is configured to mark a picture to be projected and display a plurality of mark points of the picture to be projected;
a receiving module 33, configured to receive a moving operation of all or part of the plurality of mark points by the user;
the processing module 32 is further configured to adjust projection parameters of the virtual projector according to the position information after the movement of the mark point, where the projection parameters of the virtual projector include a position, an inclination angle, and a projection ratio of the virtual projector;
and the output module 34 is used for continuing to project the picture by using the adjusted virtual projector and sending the picture projected into the virtual projection model to the physical projector.
In other embodiments, the projection apparatus 3 further comprises a determination module, wherein:
the receiving module 33 is configured to receive a click operation input by a user in a to-be-projected picture;
and the determining module is used for generating a marking point according to the position of the clicking operation.
In other embodiments, the processing module 32 in the projection apparatus 3 is further configured to: determining target projection parameters of the virtual projector according to the position information of the moved mark points;
and the determining module is also used for adjusting the current projection parameters of the virtual projector according to the target projection parameters.
According to the projection device provided by the invention, a user marks a picture to be projected displayed in a virtual projection model in a three-dimensional simulation scene, a plurality of mark points of the picture to be projected are displayed in the virtual projection model, if the position of the picture to be projected is deviated, the user drags the mark points on the picture to be projected so as to adjust the position of the picture to be projected on the virtual projection model, the projection parameters of a virtual machine are adjusted according to the adjustment adaptability of the picture to be projected, the adjusted virtual projector is used for projecting the picture, and the picture projected in the virtual projection model is sent to a physical projector.
The electronic device 4 provided by the embodiment of the present invention, where the electronic device 4 may be applied to a picture projection method provided by the embodiment corresponding to fig. 1-2, and as shown in fig. 6, the electronic device 4 may include: a processor 41, a memory 42, a transceiver 43, and a communication bus 44, wherein:
the memory 42 is used for storing instructions of a picture projection method; the transceiver 43 is used for communication with other devices; the processor 41 is configured to execute the instructions stored in the memory 42 to enable the electronic device to execute the picture projection method as in any one of the above embodiments 1 to 2.
Based on the foregoing embodiments, an embodiment of the present invention provides a computer storage medium storing computer instructions that, when executed, cause a computer to perform the steps of:
the method comprises the steps of obtaining a picture to be projected of a physical projector installed on site, and displaying the picture to be projected in a virtual projection model in a three-dimensional simulation scene, wherein the three-dimensional simulation scene comprises a virtual projection model and a virtual projector, the virtual projector is used for projecting the picture into the virtual projection model, the virtual projector is used for simulating the physical projector, and the virtual projection model is used for simulating the physical projection model in the site;
marking the picture to be projected, and displaying a plurality of mark points of the picture to be projected;
receiving the moving operation of a user on all or part of the plurality of marking points;
adjusting projection parameters of the virtual projector according to the position information of the moved mark points, wherein the projection parameters of the virtual projector comprise the position, the inclination angle and the projection ratio of the virtual projector;
and continuing to project the picture by using the adjusted virtual projector, and sending the picture projected into the virtual projection model to the physical projector.
In other embodiments, the one or more programs may be executable by the one or more processors to perform the steps of:
receiving click operation input by a user in a picture to be projected;
and generating a marking point according to the position of the clicking operation.
In other embodiments, the one or more programs may be executable by the one or more processors to perform the steps of:
determining target projection parameters of the virtual projector according to the position information of the moved mark points;
and adjusting the current projection parameters of the virtual projector according to the target projection parameters.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for projecting a picture, the method comprising:
the method comprises the steps of obtaining a picture to be projected of a physical projector installed on site, and displaying the picture to be projected in a virtual projection model in a three-dimensional simulation scene, wherein the three-dimensional simulation scene comprises the virtual projection model and a virtual projector, the virtual projector is used for projecting the picture into the virtual projection model, the virtual projector is used for simulating the physical projector, and the virtual projection model is used for simulating a physical projection model in the site;
marking the picture to be projected, and displaying a plurality of mark points of the picture to be projected;
receiving the moving operation of the user on all or part of the plurality of marking points;
adjusting projection parameters of the virtual projector according to the position information of the moved mark point, wherein the projection parameters of the virtual projector comprise the position, the inclination angle and the projection ratio of the virtual projector;
and continuing to project pictures by using the adjusted virtual projector, and sending the pictures projected into the virtual projection model to the physical projector.
2. The method according to claim 1, wherein the marking the picture to be projected comprises:
receiving click operation input by a user in the picture to be projected;
and generating a marking point according to the position of the clicking operation.
3. The method of claim 1 or 2, wherein the plurality of marker points are located at edge positions of the virtual projection model.
4. The method of claim 1 or 2, wherein the adjusted projection parameters of the virtual projector are the same as the projection parameters of the physical projector.
5. The method according to claim 1 or 2, wherein the adjusting the projection parameters of the virtual projector according to the position information after the movement of the marker point, the projection parameters of the virtual projector including the position, the inclination angle and the projection ratio of the virtual projector, comprises:
determining target projection parameters of the virtual projector according to the position information of the moved mark points;
and adjusting the current projection parameters of the virtual projector according to the target projection parameters.
6. A projection device, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a picture to be projected of a physical projector installed on site and displaying the picture to be projected in a virtual projection model in a three-dimensional simulation scene, the three-dimensional simulation scene comprises the virtual projection model and a virtual projector, the virtual projector is used for projecting the picture into the virtual projection model, the virtual projector is used for simulating the physical projector, and the virtual projection model is used for simulating a physical projection model in the site;
the processing module is used for marking the picture to be projected and displaying a plurality of marking points of the picture to be projected;
the receiving module is used for receiving the moving operation of all or part of the plurality of marking points by a user;
the processing module is further configured to adjust projection parameters of the virtual projector according to the position information of the moved mark point, where the projection parameters of the virtual projector include a position, an inclination angle, and a projection ratio of the virtual projector;
and the output module is used for continuously projecting pictures by using the adjusted virtual projector and sending the pictures projected into the virtual projection model to the physical projector.
7. The projection device of claim 6, wherein the device further comprises a determination module,
the acquisition module is further used for receiving click operation input by a user in the picture to be projected;
and the determining module is used for generating a marking point according to the position of the clicking operation.
8. A projection device according to claim 6 or 7,
the determining module is further used for determining target projection parameters of the virtual projector according to the position information of the moved mark points;
the processing module is further configured to adjust the current projection parameters of the virtual projector according to the target projection parameters.
9. An electronic device, characterized in that the electronic device comprises: comprising a processor, a memory for storing instructions, and a transceiver for communicating with other devices, the processor being configured to execute the instructions stored in the memory to cause the apparatus to perform the picture projection method as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium having computer-executable instructions stored therein, which when executed, cause a computer to perform the picture projection method according to any one of claims 1 to 5.
CN201911315755.XA 2019-12-19 2019-12-19 Picture projection method and device and computer storage medium Active CN111061421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911315755.XA CN111061421B (en) 2019-12-19 2019-12-19 Picture projection method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911315755.XA CN111061421B (en) 2019-12-19 2019-12-19 Picture projection method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN111061421A true CN111061421A (en) 2020-04-24
CN111061421B CN111061421B (en) 2021-07-20

Family

ID=70301262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911315755.XA Active CN111061421B (en) 2019-12-19 2019-12-19 Picture projection method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN111061421B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004073A (en) * 2020-08-07 2020-11-27 山东金东数字创意股份有限公司 System and method for different-surface fusion image interaction based on window platform
CN112492284A (en) * 2020-11-23 2021-03-12 广州励丰文化科技股份有限公司 Edge fusion method and device based on multiple projectors and electronic equipment
CN115297308A (en) * 2022-07-29 2022-11-04 东风汽车集团股份有限公司 Surrounding AR-HUD projection system and method based on unmanned aerial vehicle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004378A (en) * 2009-09-01 2011-04-06 三洋科技中心(深圳)有限公司 Method for adjusting projection picture and projection device
CN103226830A (en) * 2013-04-25 2013-07-31 北京大学 Automatic matching correction method of video texture projection in three-dimensional virtual-real fusion environment
CN104796651A (en) * 2015-03-31 2015-07-22 青岛海信电器股份有限公司 Projection image calibration method and projection equipment
CN106454291A (en) * 2015-08-07 2017-02-22 克里斯蒂数字系统美国有限公司 System and method for automatic alignment and projection mapping
CN106604003A (en) * 2016-11-10 2017-04-26 Tcl集团股份有限公司 Method and system for realizing curved-surface curtain projection via short-focus projection
CN106651794A (en) * 2016-12-01 2017-05-10 北京航空航天大学 Projection speckle correction method based on virtual camera
CN108830894A (en) * 2018-06-19 2018-11-16 亮风台(上海)信息科技有限公司 Remote guide method, apparatus, terminal and storage medium based on augmented reality
CN109272478A (en) * 2018-09-20 2019-01-25 华强方特(深圳)智能技术有限公司 A kind of screen projecting method and device and relevant device
CN109951691A (en) * 2017-12-20 2019-06-28 深圳光峰科技股份有限公司 Bearing calibration, device and the optical projection system of projected picture
US20190278426A1 (en) * 2018-03-08 2019-09-12 International Business Machines Corporation Inputting information using a virtual canvas

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004378A (en) * 2009-09-01 2011-04-06 三洋科技中心(深圳)有限公司 Method for adjusting projection picture and projection device
CN103226830A (en) * 2013-04-25 2013-07-31 北京大学 Automatic matching correction method of video texture projection in three-dimensional virtual-real fusion environment
CN104796651A (en) * 2015-03-31 2015-07-22 青岛海信电器股份有限公司 Projection image calibration method and projection equipment
CN106454291A (en) * 2015-08-07 2017-02-22 克里斯蒂数字系统美国有限公司 System and method for automatic alignment and projection mapping
CN106604003A (en) * 2016-11-10 2017-04-26 Tcl集团股份有限公司 Method and system for realizing curved-surface curtain projection via short-focus projection
CN106651794A (en) * 2016-12-01 2017-05-10 北京航空航天大学 Projection speckle correction method based on virtual camera
CN109951691A (en) * 2017-12-20 2019-06-28 深圳光峰科技股份有限公司 Bearing calibration, device and the optical projection system of projected picture
US20190278426A1 (en) * 2018-03-08 2019-09-12 International Business Machines Corporation Inputting information using a virtual canvas
CN108830894A (en) * 2018-06-19 2018-11-16 亮风台(上海)信息科技有限公司 Remote guide method, apparatus, terminal and storage medium based on augmented reality
CN109272478A (en) * 2018-09-20 2019-01-25 华强方特(深圳)智能技术有限公司 A kind of screen projecting method and device and relevant device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004073A (en) * 2020-08-07 2020-11-27 山东金东数字创意股份有限公司 System and method for different-surface fusion image interaction based on window platform
CN112492284A (en) * 2020-11-23 2021-03-12 广州励丰文化科技股份有限公司 Edge fusion method and device based on multiple projectors and electronic equipment
CN115297308A (en) * 2022-07-29 2022-11-04 东风汽车集团股份有限公司 Surrounding AR-HUD projection system and method based on unmanned aerial vehicle
CN115297308B (en) * 2022-07-29 2023-05-26 东风汽车集团股份有限公司 Surrounding AR-HUD projection system and method based on unmanned aerial vehicle

Also Published As

Publication number Publication date
CN111061421B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN111061421B (en) Picture projection method and device and computer storage medium
US10764626B2 (en) Method and apparatus for presenting and controlling panoramic image, and storage medium
KR102595150B1 (en) Method for controlling multiple virtual characters, device, apparatus, and storage medium
US9723203B1 (en) Method, system, and computer program product for providing a target user interface for capturing panoramic images
KR101699202B1 (en) Method and system for recommending optimum position of photographing
KR101657234B1 (en) Method, device, program and storage medium for displaying picture
US20130335445A1 (en) Methods and systems for realistic rendering of digital objects in augmented reality
CN108548300B (en) Air supply method and device of air conditioner and electronic equipment
WO2018040328A1 (en) Method and device for testing virtual reality head-mounted display apparatus software
EP3905662A1 (en) Image processing method and apparatus, electronic device and storage medium
CN109731329B (en) Method and device for determining placement position of virtual component in game
US9025007B1 (en) Configuring stereo cameras
CN102804169A (en) Viewer-centric User Interface For Stereoscopic Cinema
KR20150079387A (en) Illuminating a Virtual Environment With Camera Light Data
CN109582134B (en) Information display method and device and display equipment
CN103852066A (en) Equipment positioning method, control method, electronic equipment and system
CN108846900B (en) Method and system for improving spatial sense of user in room source virtual three-dimensional space diagram
CN112675541A (en) AR information sharing method and device, electronic equipment and storage medium
CN115393467A (en) House type graph generation method, device, equipment and medium
US9881419B1 (en) Technique for providing an initial pose for a 3-D model
CN114286066A (en) Projection correction method, projection correction device, storage medium and projection equipment
CN116843826A (en) Three-dimensional modeling method and device for flexible object, electronic equipment and storage medium
CN109697755B (en) Augmented reality display method and device for power transmission tower model and terminal equipment
CN113870213A (en) Image display method, image display device, storage medium, and electronic apparatus
CN110548289B (en) Method and device for displaying three-dimensional control

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