CN115695741A - Projection image determination method and apparatus, storage medium, and electronic apparatus - Google Patents

Projection image determination method and apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN115695741A
CN115695741A CN202110838396.7A CN202110838396A CN115695741A CN 115695741 A CN115695741 A CN 115695741A CN 202110838396 A CN202110838396 A CN 202110838396A CN 115695741 A CN115695741 A CN 115695741A
Authority
CN
China
Prior art keywords
image
background image
moving object
projected
compensation processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110838396.7A
Other languages
Chinese (zh)
Inventor
李阅苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110838396.7A priority Critical patent/CN115695741A/en
Publication of CN115695741A publication Critical patent/CN115695741A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transforming Electric Information Into Light Information (AREA)

Abstract

The invention provides a method and a device for determining a projection image, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a current background image of an image signal reflected by a background area; comparing the current background image with a historical background image to determine whether a moving object exists in the current background image; and under the condition that a moving object exists in the current background image, acquiring a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected. By adopting the technical scheme, the problem that in the using process of the projector, due to the fact that dynamic objects exist in the projected content, the projecting effect of the projector is poor is solved.

Description

Projection image determination method and apparatus, storage medium, and electronic apparatus
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for determining a projection image, a storage medium, and an electronic apparatus.
Background
With the development of society, more and more schools and families begin to use projectors to teach children in order to better teach children, but in the projection process of the projectors, problems exist, for example, if dynamic objects exist in the content projected by the projectors, the content projected by the projectors in the background area is delayed correspondingly, synchronous projection cannot be performed well, and the projection effect of the projectors is poor.
In the related art, no effective solution is provided for the problem that the projection effect of the projector is poor due to the fact that a dynamic object exists in the projected content in the using process of the projector.
Accordingly, there is a need for improvement in the related art to overcome the disadvantages of the related art.
Disclosure of Invention
The embodiment of the invention provides a method and a device for determining a projection image, a storage medium and an electronic device, which are used for solving the problem that the projection effect of a projector is poor due to the fact that dynamic objects exist in projected contents in the using process of the projector.
According to an aspect of an embodiment of the present invention, there is provided a method of determining a projection image, including: acquiring a current background image of an image signal reflected by a background area; comparing the current background image with a historical background image to determine whether a moving object exists in the current background image; and under the condition that a moving object exists in the current background image, acquiring a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected.
Further, acquiring a motion trajectory of the moving object includes: acquiring a plurality of historical background images, and determining a variation trend of the current background image on a target parameter according to the plurality of historical background images and the current background image, wherein the target parameter at least comprises one of the following parameters: a shape of the moving object, a moving direction of the moving object, a moving speed of the moving direction; and determining the variation trend of the current background image on the target parameters as the motion track of the moving object.
Further, instructing a compensation processing module to perform compensation processing on the image signal according to the motion trajectory to obtain a projection image to be projected, including: determining the movement distance of the moving object in a target time period according to the movement speed in the target parameters; and at the starting time of the target time period, performing compensation processing on the image signal according to the motion distance, the motion direction and the shape of the motion object, so that the projection image to be projected is obtained at the ending time of the target time period.
Further, instructing a compensation processing module to perform compensation processing on the image signal according to the motion trajectory to obtain a projection image to be projected, including: instructing the compensation processing module to determine color information of the background region; and performing compensation processing on the image signal according to the color indicated by the color information and the motion trail to obtain a projection image to be projected, wherein the projection image to be projected is consistent with the content of the image signal.
Further, before comparing the current background image with the historical background image, the method further comprises: saving the current background image and the historical background image in the compensation processing module; respectively compressing the current background image and the historical background image to obtain a compressed current background image and a compressed historical background image, wherein the compressed current background image comprises: a first primary color signal and a first pixel color difference signal, the compressed historical background image comprising: a second primary color signal and a second pixel color difference signal.
Further, after instructing a compensation processing module to perform compensation processing on the image signal according to the motion trajectory to obtain a projection image to be projected, the method further includes: instructing the compensation processing module to send the obtained projection image to be projected to a determination device of the projection image; instructing the determination device of the projected image to project the projected image to be projected to the background area.
According to another aspect of the embodiments of the present invention, there is also provided a projection image determining apparatus, including: the acquisition module is used for acquiring a current background image reflected by the image signal through a background area; a determining module, configured to compare the current background image with a historical background image to determine whether a moving object exists in the current background image; and the compensation module is used for acquiring the motion trail of the moving object under the condition that the moving object exists in the current background image, and instructing the compensation processing module to perform compensation processing on the image signal according to the motion trail to obtain a projection image to be projected.
Further, the compensation module is further configured to obtain a plurality of historical background images, and determine a variation trend of the current background image on a target parameter according to the plurality of historical background images and the current background image, where the target parameter at least includes one of: a shape of the moving object, a moving direction of the moving object, a moving speed of the moving direction; and determining the variation trend of the current background image on the target parameters as the motion track of the moving object.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above determination method of the projection image when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for determining the projection image through the computer program.
According to the invention, a current background image of an image signal reflected by a background area is obtained; comparing the current background image with a historical background image to determine whether a moving object exists in the current background image; and under the condition that a moving object exists in the current background image, acquiring a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected. That is to say, the current background image reflected by the image signal through the background area is compared with the historical background image, and when a moving object is determined, the motion track of the moving object is obtained, so that the indication compensation processing module performs compensation processing on the image signal according to the motion track. By adopting the technical scheme, the problem that in the using process of the projector, due to the fact that dynamic objects exist in the projected content, the projecting effect of the projector is poor is solved, and then the image signal with the moving object is compensated through the compensation processing module, so that synchronous projection can be carried out, and the projecting effect is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a determination method of a projected image according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method of determining a projected image according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of color light reflection for a method of determining a projected image according to an embodiment of the present invention;
fig. 4 is a projection schematic diagram of a projection apparatus in the related art according to an embodiment of the present invention;
FIG. 5 is a block diagram of a trajectory prediction module of a method of determining a projected image according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a background compensation calculation module of a method for determining a projected image according to an embodiment of the present invention;
FIG. 7 is a projection diagram illustrating a method for determining a projection image according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a capture background of a method for determining a projection image according to an embodiment of the present invention;
fig. 9 is a block diagram of a configuration of a determination apparatus of a projection image according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a mobile terminal or a similar operation device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a determination method of a projected image according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more processors 102 (only one is shown in fig. 1), wherein the processors 102 may include, but are not limited to, a Microprocessor (MPU) or a Programmable Logic Device (PLD), and a memory 104 for storing data, and in an exemplary embodiment, the mobile terminal may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of an application software and a module, such as a computer program corresponding to the determination method of the projection image in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a method for determining a projection image is provided, and fig. 2 is a schematic flowchart of a method for determining a projection image according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202: acquiring a current background image of an image signal reflected by a background area;
it should be noted that the method for determining a projection image according to the present application may be applied to a device having an image projection function, such as a projector, and the like, and is not limited in this embodiment. The image signal is transmitted by the signal source, and then is transmitted in the background area through the projector, and the current background image reflected by the background area is collected through the lighting lens.
Step S204: comparing the current background image with a historical background image to determine whether a moving object exists in the current background image;
step S206: and under the condition that a moving object exists in the current background image, acquiring a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected.
Through the steps, the current background image of the image signal reflected by the background area is obtained; comparing the current background image with a historical background image to determine whether a moving object exists in the current background image; and under the condition that a moving object exists in the current background image, acquiring a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected. That is to say, the current background image reflected by the image signal through the background area is compared with the historical background image, and when a moving object is determined, the motion track of the moving object is obtained, so that the indication compensation processing module performs compensation processing on the image signal according to the motion track. By adopting the technical scheme, the problem that in the using process of the projector, due to the fact that dynamic objects exist in the projected content, the projecting effect of the projector is poor is solved, and then the image signal with the moving object is compensated through the compensation processing module, so that synchronous projection can be carried out, and the projecting effect is improved.
It should be noted that, before comparing the current background image with the historical background image, the current background image and the historical background image need to be stored in the compensation processing module; respectively compressing the current background image and the historical background image to obtain a compressed current background image and a compressed historical background image, wherein the compressed current background image comprises: a first primary color signal and a first pixel color difference signal, the compressed historical background image comprising: a second primary color signal and a second pixel color difference signal. That is to say, after the current background image and the historical background image reflected by the image signal through the background area are obtained, the current background image and the historical background image need to be stored in the compensation processing module, and the background image may be stored in a pixel mode, where the specific pixel format is as follows: [1,1, # FFFFFF ], [1,2, # FFFFFF ], [100, 200, #6A6AFF ], [100, 200, #4A7AEF ]. Each pixel point has a color value, the occupied space is large, and the color contrast of the background area is not particularly large due to the fact that the color is generally single, so that the compensation processing module can respectively perform compression processing on the current background image and the historical background image to obtain the compressed current background image and the compressed historical background image. The advantage can be understood that only one color and range can be stored for the part with the same color, the color of each pixel point is not required to be stored, but the data of the background image is not lost, so that the data volume can be greatly reduced while the effect is unchanged, the speed can be improved no matter in the computing environment or the transmission link of the background image, and the storage space can be saved.
It should be noted that, in this embodiment, the current background image and the historical background image are both obtained by collecting light reflected by a background area through a lighting lens on a projector, and then sending the light to a photosensitive element for related processing, and the photosensitive element is currently mostly a CCD/CMOS. The current background image and the historical background image represent the time of acquisition is not the same.
Further, the motion trajectory of the moving object obtained in step S206 may be implemented by the following technical solution: acquiring a plurality of historical background images, and determining a variation trend of the current background image on a target parameter according to the plurality of historical background images and the current background image, wherein the target parameter at least comprises one of the following parameters: a shape of the moving object, a moving direction of the moving object, a moving speed of the moving direction; and determining the variation trend of the current background image on the target parameters as the motion track of the moving object.
That is to say, when it is determined that a moving object exists in the current background image, a plurality of historical background images are further acquired, the plurality of historical background images are compared with the current historical background image, the change trend of the current background image in the shape of the moving object, the moving direction of the moving object and the moving speed of the moving direction is determined, and the shape of the moving object, the moving direction of the moving object and the change trend of the moving speed of the moving direction are determined as the moving track of the moving object. It should be noted that, in order to better determine the motion trajectory of the moving object, at least 10 or more historical background images need to be acquired.
Further, after the motion trajectory of the moving object is determined, the compensation processing module needs to be instructed to perform compensation processing on the image signal according to the motion trajectory to obtain a projection image to be projected, which can be implemented by the following technical scheme: determining the movement distance of the moving object in a target time period according to the movement speed in the target parameters; and at the starting time of the target time period, performing compensation processing on the image signal according to the motion distance, the motion direction and the shape of the motion object, so that the projection image to be projected is obtained at the ending time of the target time period.
That is to say, the compensation calculation module receives the motion trajectory of the moving object, determines the moving distance of the moving object in the target time period according to the motion speed in the target parameter in the motion trajectory, and performs compensation processing on the image signal according to the moving distance of the moving object, the moving direction of the moving object and the shape of the moving object at the start time of the target time period, so that the projection image to be projected is obtained at the end time of the target time period. For better understanding, for example, the motion speed of the moving object is calculated to be 1 m/s, the motion direction is moved to the right, that is, at the next 1 ms, the moving object will move to the right by 1 mm, and then the compensation calculation module performs compensation processing on the image signal according to the predicted motion distance of the moving object, the motion direction of the moving object and the shape of the moving object, so as to finally compensate the color difference in advance at a position 1 mm outside the right side of the contour of the moving object, and end the compensation in advance at a position 1 mm inside the left side of the contour of the object.
It should be noted that, the compensation processing module performs compensation processing on the image signal according to the motion trajectory to obtain a projection image to be projected, and the compensation processing module is required to determine color information of the background area; and performing compensation processing on the image signal according to the color indicated by the color information and the motion trail to obtain a projection image to be projected, wherein the projection image to be projected is consistent with the content of the image signal.
That is, the compensation calculating module further needs to compensate the image signal according to the color information of the background area, for better understanding, the following is a detailed description about the principle of color light reflection, fig. 3 is a schematic diagram of color light reflection of a method for determining a projection image according to an embodiment of the present invention, light is emitted from a light source, is projected onto a background wall (corresponding to the background area), and is reflected into human eyes, and the color seen by a human is the reflected light. For example: if the background wall is white and the light source is red, the human eye will see red. If the background wall is green and the light source is red, the human eye sees black.
It should be noted that if the color of the background wall is white and the light source does not project light in a certain area, the area is contrasted with the ambient light, and the human eye sees black. (e.g., projecting a black image on a white screen). If the background wall is black in color and the light source enhances the brightness of the projected light in a certain area, the area will show the color of the light from the light source. (e.g., projecting a white image on a black screen).
Similarly, if a certain area of the background wall is shaded by an object with a certain color, the light source is required to enhance the brightness of the area of the object, so that the background wall can reflect the light color of the light source to the maximum extent, and finally, people can see the effect which is basically consistent with the color of the film source.
Therefore, the compensation processing module needs to perform compensation processing on the image signal according to the color indicated by the color information of the background image and the motion trajectory to obtain a projection image to be projected.
It should be noted that, after the compensation processing module is instructed to perform compensation processing on the image signal according to the motion trajectory to obtain a projection image to be projected, the method further includes: instructing the compensation processing module to send the obtained projection image to be projected to a determination device of the projection image; instructing the determination device of the projected image to project the projected image to be projected to the background area.
It should be noted that the determination device for projecting an image may be a projector.
It is to be understood that the above-described embodiments are only a few, and not all, embodiments of the present invention. In order to better understand the determination method of the projection image, the following describes the above process with reference to an embodiment, but the invention is not limited to the technical solution of the embodiment, specifically:
in an alternative embodiment, to better understand how the projection device projects images in the related art, fig. 4 is a projection schematic diagram of the projection device in the related art according to the embodiment of the present invention, which is specifically shown as follows:
a digital signal source (corresponding to the signal source in the above-described embodiment) outputs a digital image signal (corresponding to the image signal in the above-described embodiment), wherein the digital signal source includes: personal Computer (PC), video Compact Disc (VCD), and tv box. The digital image signal is connected and input to the determination machine body for projecting the image through a High Definition Multimedia Interface (HDMI), a Video Graphics Array (VGA) Interface, a Wireless Fidelity (WIFI) Interface, and the like. It should be noted that the digital image signal here is a final pixel and RGB color array formed after the related column transformation.
Further, fig. 5 is a diagram of a trajectory prediction module of a method for determining a projection image according to an embodiment of the present invention, specifically, a background moving object trajectory prediction module receives and buffers a digital background signal, and compares a historical background image with a current background image to determine a moving object (corresponding to a moving object in the foregoing embodiment), and captures an image of the current moving object, and predicts a trajectory of the moving object according to the image of the current moving object (corresponding to the current background image in the foregoing embodiment) and the historical background image, where the trajectory includes: the shape of the moving object, the moving distance of the moving object, the moving direction of the moving object and the moving speed of the moving object. The history background image stores at least 10 history images before the current background image.
After the trajectory prediction module predicts the motion trajectory of the moving object, the motion trajectory is sent to a background compensation calculation module (equivalent to the compensation processing module in the above embodiment), and in order to better understand the background compensation calculation module, fig. 6 is a schematic diagram of the background compensation calculation module of the determination method of the projection image according to the embodiment of the present invention, specifically:
the background compensation calculation module receives and buffers the transmitted digital background signal of the analog-to-digital converter, and the buffer format is as follows: [1,1, # FFFFFF ], [1,2, # FFFFFF ], [100, 200, #6A6AFF ], [100, 200, #4A7AEF ]. Wherein, each pixel all has a colour value, and occupation space is great.
Because the occupied space is large, the background compensation calculation module compresses and stores the digital background signal after buffering, and the compressed signal is divided into two parts, namely a background primary color (equivalent to the primary color signal in the above embodiment) and a pixel color difference (equivalent to the pixel color difference signal in the above embodiment). Wherein, the background primary color takes the color value with the largest proportion, such as: the background primary color is white [ # FFFFFF ], and the pixel color differences [100, 200, #6A6AFF ], [100, 200, #4A7AEF ]. It should be noted that, when the background is clean, the compression effect is obvious, and there may be only primary color data and no color difference data. When the background is cluttered, the compression effect is not noticeable.
It should be noted that the background compensation calculating module receives an image signal, which is transformed into an array of pixels and RGB colors in the original device. E.g., [100, 200, #00FFFF ], indicates that the color at the pixel point (100, 200) should be green.
The background compensation calculation module receives the motion trail of the moving object at the same time. If no moving object exists in the current background image, the last compensation calculation result can be directly multiplexed. If a moving object exists in the current background, the compensation calculation needs to be carried out again.
For example: specifically, if the moving object moves rightwards at a speed of 1 m/s and moves 1 mm rightwards in 1 ms, the background compensation calculation module needs to finally compensate the chromatic aberration in advance at a position 1 mm outside the right side of the object outline, and the compensation is finished in advance at a position 1 mm inside the left side of the object outline.
In a complete embodiment, in order to better understand the determination method of the projection image according to the embodiment of the present application, fig. 7 is a projection schematic diagram of the determination method of the projection image according to the embodiment of the present invention, and the specific implementation method is as follows:
compared with the scheme shown in fig. 4, the scheme of the embodiment is additionally provided with a lighting lens, a photosensitive element, an analog-to-digital converter, an artificial intelligence module-based background object motion trajectory prediction device and a background compensation calculation module.
Specifically, before projection, the projection device collects a picture of a projection background wall (corresponding to the background area in the above embodiment) through the lighting lens. If the determined background wall of the projection image is clean, background pictures with the same color and the same brightness are collected, and if the determined background wall of the projection image is uneven or a cluttered background of other objects exists in the background wall, background pictures with different colors and different brightness are collected. Specifically, fig. 8 is a schematic diagram of a captured background of a method for determining a projection image according to an embodiment of the present invention, in fig. 8 (a), since a determination background wall of the projection image is clean, a background picture with the same color and the same brightness is captured, in fig. 8 (b), since the determination background wall of the projection image is cluttered, a background picture with different color and different brightness is captured, and in fig. 8 (c), a cluttered background of a moving object is captured.
After the lighting lens collects the light, the light is projected onto the photosensitive element through the lighting lens. The photosensitive element is mostly a CCD/CMOS at present, and converts light into an analog image signal, which is converted into a digital background signal by an analog-to-digital converter. The digital background signal is a multi-dimensional array of row, column, and color values, such as [1,1, # FF0000], indicating that the color at the pixel bit (1,1) is red. For the conversion of a pure white and clean background picture into a digital background signal, all pixel bit color values are [1,1, # FFFFFF ], [1,2, # FFFFFF ]. For the scrambled background picture converted into digital background signal, the color values of some pixel bits will be different, such as [100, 200, #6A6AFF ], [100, 200, #4A7AEF ].
And then the digital background signal is simultaneously transmitted into a background moving object track prediction device (equivalent to the track prediction module in the embodiment) based on an artificial intelligence module and a background compensation calculation module. And the track prediction device compares the current background with the historical background, judges a moving object in the background, determines the motion track of the object and sends the motion track to the background compensation calculation module. And then the compensation calculation module calculates by using a digital background signal sent by the analog-to-digital converter and the motion track of the moving object sent by the track prediction device, adjusts a compensation scheme according to the change of the background, and performs compensation in the motion direction in advance according to the track prediction. The playing signal (equivalent to the projection image to be projected in the above embodiment) obtained after compensation is sent to the projector body, and is further projected in the background area.
By adopting the technical scheme, even if a moving object exists in the projected content, the projection effect is not influenced.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solution 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 determining device for projecting an image, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for determining a projection image is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, which have already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 9 is a block diagram of a configuration of a determination apparatus of a projection image according to an embodiment of the present invention, as shown in fig. 9, including:
an obtaining module 92, configured to obtain a current background image of the image signal reflected by the background area;
a determining module 94, configured to compare the current background image with a historical background image to determine whether a moving object exists in the current background image;
and the compensation module 96 is configured to, when a moving object exists in the current background image, acquire a motion trajectory of the moving object, and instruct the compensation processing module to perform compensation processing on the image signal according to the motion trajectory, so as to obtain a projection image to be projected.
Acquiring a current background image of an image signal reflected by a background area through the module; comparing the current background image with a historical background image to determine whether a moving object exists in the current background image; and under the condition that a moving object exists in the current background image, acquiring a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected. That is to say, the current background image reflected by the image signal through the background area is compared with the historical background image, and when a moving object is determined, the motion track of the moving object is obtained, so that the indication compensation processing module performs compensation processing on the image signal according to the motion track. By adopting the technical scheme, the problem that in the using process of the projector, due to the fact that dynamic objects exist in the projected content, the projecting effect of the projector is poor is solved, and then the image signal with the moving object is compensated through the compensation processing module, so that synchronous projection can be carried out, and the projecting effect is improved.
Optionally, the compensation module 96 is further configured to obtain a plurality of historical background images, and determine a variation trend of the current background image on a target parameter according to the plurality of historical background images and the current background image, where the target parameter at least includes one of: a shape of the moving object, a moving direction of the moving object, a moving speed of the moving direction; and determining the variation trend of the current background image on the target parameters as the motion track of the moving object.
Optionally, the compensation module 96 is further configured to determine a movement distance of the moving object within a target time period according to the movement speed in the target parameter; and at the starting time of the target time period, performing compensation processing on the image signal according to the motion distance, the motion direction and the shape of the motion object, so that the projection image to be projected is obtained at the ending time of the target time period.
Optionally, the compensation module 96 is further configured to instruct the compensation processing module to determine color information of the background area; and performing compensation processing on the image signal according to the color indicated by the color information and the motion trail to obtain a projection image to be projected, wherein the projection image to be projected is consistent with the content of the image signal.
Optionally, the determining module 94 is further configured to save the current background image and the historical background image in the compensation processing module; respectively compressing the current background image and the historical background image to obtain a compressed current background image and a compressed historical background image, wherein the compressed current background image comprises: a first primary color signal and a first pixel color difference signal, the compressed historical background image comprising: a second primary color signal and a second pixel color difference signal.
Optionally, the compensation module 96 is further configured to instruct the compensation processing module to send the obtained projection image to be projected to a determination device of the projection image; instructing the determination device of the projected image to project the projected image to be projected to the background area.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Further, in the present embodiment, the above-mentioned storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a current background image of an image signal reflected by a background area;
s2, comparing the current background image with the historical background image to determine whether a moving object exists in the current background image;
and S3, under the condition that a moving object exists in the current background image, obtaining a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected.
Further, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Further, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Further, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a current background image of an image signal reflected by a background area;
s2, comparing the current background image with the historical background image to determine whether a moving object exists in the current background image;
and S3, under the condition that a moving object exists in the current background image, obtaining a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected.
Further, in this embodiment, reference may be made to the examples described in the foregoing embodiment and the optional implementation, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and further, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for determining a projection image, comprising:
acquiring a current background image of an image signal reflected by a background area;
comparing the current background image with a historical background image to determine whether a moving object exists in the current background image;
and under the condition that a moving object exists in the current background image, acquiring a motion track of the moving object, and instructing a compensation processing module to perform compensation processing on the image signal according to the motion track to obtain a projection image to be projected.
2. The method for determining a projection image according to claim 1, wherein acquiring a motion trajectory of the moving object includes:
acquiring a plurality of historical background images, and determining a variation trend of the current background image on a target parameter according to the plurality of historical background images and the current background image, wherein the target parameter at least comprises one of the following: a shape of the moving object, a moving direction of the moving object, a moving speed of the moving direction;
and determining the variation trend of the current background image on the target parameters as the motion track of the moving object.
3. The method for determining the projection image according to claim 2, wherein instructing a compensation processing module to perform compensation processing on the image signal according to the motion trajectory to obtain the projection image to be projected comprises:
determining the movement distance of the moving object in a target time period according to the movement speed in the target parameters;
and at the starting time of the target time period, performing compensation processing on the image signal according to the motion distance, the motion direction and the shape of the motion object, so that the projection image to be projected is obtained at the ending time of the target time period.
4. The method for determining the projection image according to claim 1, wherein instructing a compensation processing module to perform compensation processing on the image signal according to the motion trajectory to obtain the projection image to be projected comprises:
instructing the compensation processing module to determine color information of the background region;
and performing compensation processing on the image signal according to the color indicated by the color information and the motion trail to obtain a projection image to be projected, wherein the projection image to be projected is consistent with the content of the image signal.
5. The method of determining a projected image of claim 1, wherein prior to comparing the current background image to a historical background image, the method further comprises:
saving the current background image and the historical background image in the compensation processing module;
respectively compressing the current background image and the historical background image to obtain a compressed current background image and a compressed historical background image, wherein the compressed current background image comprises: a first primary color signal and a first pixel color difference signal, the compressed historical background image comprising: a second primary color signal and a second pixel color difference signal.
6. The method for determining a projection image according to any one of claims 1 to 5, wherein a compensation processing module is instructed to perform compensation processing on the image signal according to the motion trajectory, and after obtaining the projection image to be projected, the method further comprises:
instructing the compensation processing module to send the obtained projection image to be projected to a determination device of the projection image;
instructing the determination device of the projected image to project the projected image to be projected to the background area.
7. A projected image determining apparatus, comprising:
the acquisition module is used for acquiring a current background image reflected by the image signal through a background area; a determining module, configured to compare the current background image with a historical background image to determine whether a moving object exists in the current background image;
and the compensation module is used for acquiring the motion trail of the moving object under the condition that the moving object exists in the current background image, and instructing the compensation processing module to perform compensation processing on the image signal according to the motion trail to obtain a projection image to be projected.
8. The apparatus for determining a projection image according to claim 7, wherein the compensation module is further configured to obtain a plurality of historical background images, and determine a variation trend of the current background image on a target parameter according to the plurality of historical background images and the current background image, wherein the target parameter includes at least one of: a shape of the moving object, a moving direction of the moving object, a moving speed of the moving direction; and determining the variation trend of the current background image on the target parameters as the motion track of the moving object.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202110838396.7A 2021-07-23 2021-07-23 Projection image determination method and apparatus, storage medium, and electronic apparatus Pending CN115695741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110838396.7A CN115695741A (en) 2021-07-23 2021-07-23 Projection image determination method and apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110838396.7A CN115695741A (en) 2021-07-23 2021-07-23 Projection image determination method and apparatus, storage medium, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN115695741A true CN115695741A (en) 2023-02-03

Family

ID=85044510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110838396.7A Pending CN115695741A (en) 2021-07-23 2021-07-23 Projection image determination method and apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN115695741A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030098819A1 (en) * 2001-11-29 2003-05-29 Compaq Information Technologies Group, L.P. Wireless multi-user multi-projector presentation system
US20040165154A1 (en) * 2003-02-21 2004-08-26 Hitachi, Ltd. Projector type display apparatus
JP2005352172A (en) * 2004-06-10 2005-12-22 Sony Corp Image projection device and its control method
JP2006201544A (en) * 2005-01-21 2006-08-03 Seiko Epson Corp Image display device, image display method, and electronic equipment
JP2009031334A (en) * 2007-07-24 2009-02-12 Sharp Corp Projector and projection method for projector
US20090168027A1 (en) * 2007-12-28 2009-07-02 Motorola, Inc. Projector system employing depth perception to detect speaker position and gestures
JP2011090606A (en) * 2009-10-26 2011-05-06 Seiko Epson Corp Image processor, image display system and image processing method
CN102104732A (en) * 2009-12-21 2011-06-22 索尼公司 Image processing apparatus and method, and program
CN103179365A (en) * 2011-12-21 2013-06-26 株式会社理光 Image projecting apparatus and image processing method
JP2015041233A (en) * 2013-08-21 2015-03-02 キヤノン株式会社 Image processor and method thereof
US20160142691A1 (en) * 2014-11-17 2016-05-19 Kabushiki Kaisha Toshiba Image processing apparatus, image projection system, image processing method, and computer program product
JP2018022287A (en) * 2016-08-02 2018-02-08 大学共同利用機関法人情報・システム研究機構 Image processing device, method, image processing program and projection apparatus
CN109286800A (en) * 2018-10-23 2019-01-29 北京数科技有限公司 A kind of projected color method of adjustment and device
CN112235553A (en) * 2020-10-12 2021-01-15 歌尔科技有限公司 Projection brightness adjusting method and device, projection equipment and readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030098819A1 (en) * 2001-11-29 2003-05-29 Compaq Information Technologies Group, L.P. Wireless multi-user multi-projector presentation system
US20040165154A1 (en) * 2003-02-21 2004-08-26 Hitachi, Ltd. Projector type display apparatus
JP2005352172A (en) * 2004-06-10 2005-12-22 Sony Corp Image projection device and its control method
JP2006201544A (en) * 2005-01-21 2006-08-03 Seiko Epson Corp Image display device, image display method, and electronic equipment
JP2009031334A (en) * 2007-07-24 2009-02-12 Sharp Corp Projector and projection method for projector
US20090168027A1 (en) * 2007-12-28 2009-07-02 Motorola, Inc. Projector system employing depth perception to detect speaker position and gestures
JP2011090606A (en) * 2009-10-26 2011-05-06 Seiko Epson Corp Image processor, image display system and image processing method
CN102104732A (en) * 2009-12-21 2011-06-22 索尼公司 Image processing apparatus and method, and program
CN103179365A (en) * 2011-12-21 2013-06-26 株式会社理光 Image projecting apparatus and image processing method
JP2015041233A (en) * 2013-08-21 2015-03-02 キヤノン株式会社 Image processor and method thereof
US20160142691A1 (en) * 2014-11-17 2016-05-19 Kabushiki Kaisha Toshiba Image processing apparatus, image projection system, image processing method, and computer program product
JP2018022287A (en) * 2016-08-02 2018-02-08 大学共同利用機関法人情報・システム研究機構 Image processing device, method, image processing program and projection apparatus
CN109286800A (en) * 2018-10-23 2019-01-29 北京数科技有限公司 A kind of projected color method of adjustment and device
CN112235553A (en) * 2020-10-12 2021-01-15 歌尔科技有限公司 Projection brightness adjusting method and device, projection equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US10511828B2 (en) Camera platforms with rolling light projection
KR102385365B1 (en) Electronic device and method for encoding image data in the electronic device
US9854167B2 (en) Signal processing device and moving image capturing device
JP2018511210A (en) Pixel preprocessing and encoding
KR102617258B1 (en) Image processing method and apparatus
US20220188976A1 (en) Image processing method and apparatus
US9389678B2 (en) Virtual image signal processor
US10600170B2 (en) Method and device for producing a digital image
CN115242992A (en) Video processing method and device, electronic equipment and storage medium
CN113763298A (en) Endoscope image processing method, endoscope image processing device, endoscope, and storage medium
CN110930932B (en) Display screen correction method and system
CN103051888B (en) Produce image treatment method and the video capturing device thereof of dynamic image
US9263001B2 (en) Display control device
US7489344B2 (en) Image recorder
US20120099639A1 (en) Systems and methods for reducing the total number of bits required to be transferred over a communications link for an image
CN115695741A (en) Projection image determination method and apparatus, storage medium, and electronic apparatus
EP4262192A1 (en) Video processing method and apparatus, electronic device, and storage medium
US11284094B2 (en) Image capturing device, distribution system, distribution method, and recording medium
CN115695742A (en) Projection method and apparatus, storage medium, and electronic apparatus
CN111510636B (en) Method and device for acquiring brightness evaluation value and computer storage medium
CN115706870A (en) Video processing method and device, electronic equipment and storage medium
EP3826294A1 (en) Systems and methods for image processing
WO2015087489A1 (en) Image processing system and image processing method
EP4266675A1 (en) Video processing method and apparatus, electronic device, and storage medium
US20230291919A1 (en) Imaging device, non-transitory storage medium, and encoder selection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination