Projection method and device, storage medium and electronic device

By using the background compensation calculation module in the projection device to compress and compensate the digital background signal, the inflexible use problem of projection devices being projected on white and flat walls or curtains is solved, and the projection device can flexibly project to Various wall effects.

CN115695742BActive Publication Date: 2025-02-21QINGDAO HAIER TECH +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110839812.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-23
Publication Date
2025-02-21
Estimated Expiration
2041-07-23

AI Technical Summary

Technical Problem

Existing projection equipment requires projection onto white and flat walls or curtains, resulting in inflexible use.

Method used

By obtaining the digital background signal and digital image signal of the area to be projected, the digital background signal is compressed using the background compensation calculation module, and the digital image signal is compensated according to the compressed signal, the target digital image signal is obtained, and then it is passed through the projection lens Project to the area to be projected.

Benefits of technology

It realizes that the projection equipment can flexibly project on walls of other colors or uneven walls, improving the flexibility of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115695742B_ABST
    Figure CN115695742B_ABST
Patent Text Reader

Abstract

The present invention provides a projection method and device, a storage medium and an electronic device, wherein the projection method comprises: obtaining a digital background signal of a to-be-projected area and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected to the to-be-projected area; instructing a background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal; and projecting the target digital image signal to the to-be-projected area through a projection lens. The above technical solution solves the problem that in the process of using the projection device, the projection must be projected onto a white and flat wall or a white curtain, which results in the inflexible use of the projection device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a projection method and device, a storage medium and an electronic device. Background Art

[0002] With the development of society, projection equipment has begun to be used in more and more families. In order to achieve better projection effects, the projection is generally projected onto a white wall or a white screen.

[0003] But white walls and white screens have a common problem, which is that they must be fixed in place. For users of small apartments, it may be difficult to choose a wall suitable for hanging the screen. At the same time, because some families have painted the walls or pasted wallpaper of different colors, and the unevenness of the walls, it brings inconvenience to the use of projection equipment.

[0004] In the related art, when using the projection device, the projection must be projected onto a white and flat wall or a white screen, which makes the use of the projection device inflexible. No effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a projection method and device, a storage medium and an electronic device to solve the problem in the related art that, when using the projection device, the projection must be projected onto a white wall or a white screen, resulting in inflexible use of the projection device.

[0006] According to one aspect of an embodiment of the present invention, a projection method is provided, comprising: acquiring a digital background signal of an area to be projected and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected onto the area to be projected; instructing a background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal; and projecting the target digital image signal onto the area to be projected through a projection lens.

[0007] Furthermore, obtaining a digital background signal of the area to be projected includes: obtaining light emitted from the area to be projected through a light-collecting lens, and sending the light to a photosensitive element to obtain an analog image signal corresponding to the light through the photosensitive element; sending the analog image signal to an analog-to-digital converter to obtain a digital background signal corresponding to the analog image signal.

[0008] Furthermore, the analog image signal is sent to an analog-to-digital converter to obtain a digital background signal corresponding to the analog image signal, including: sending the analog image signal to an analog-to-digital converter to obtain a multidimensional array, wherein each dimensional array in the multidimensional array includes: row coordinates, column coordinates, and color values, wherein the row coordinates are used to indicate the row coordinates in the analog image corresponding to each dimensional array, the column coordinates are used to indicate the column coordinates in the analog image corresponding to each dimensional array, and the color value is used to indicate the color of the corresponding positions of the row coordinates and the column coordinates; and determining the multidimensional array as the digital background signal.

[0009] Further, instructing the background compensation calculation module to compress the digital background signal includes: instructing the background compensation calculation module to obtain the color type of the digital background signal; compressing the digital background signal according to the color type to obtain a compressed array background signal, wherein the compressed digital background signal includes: a background primary color signal and a pixel color difference signal. Further, after the digital image signal is compensated according to the compressed digital background signal to obtain the target digital image signal, the method further includes: instructing the background compensation calculation module to determine the color state of the compressed digital background signal; compensating the digital image signal according to the color state so that the color reflected by the obtained target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal. Further, projecting the target digital image signal to the area to be projected through a projection lens includes: saving the target digital background signal in a projector body, wherein the projector body includes: the background compensation calculation module; instructing the projector body to project the target digital background signal to the area to be projected through the projection lens.

[0010] According to another aspect of an embodiment of the present invention, a projection device is also provided, including: an acquisition module, used to acquire a digital background signal of an area to be projected and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected onto the area to be projected; a compensation processing module, used to instruct a background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal; and a projection module, used to project the target digital image signal onto the area to be projected through a projection lens.

[0011] Furthermore, the compensation processing module is also used to instruct the background compensation calculation module to determine the color state of the digital background signal; and to perform compensation processing on the digital image signal according to the color state so that the color reflected by the obtained target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal.

[0012] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned projection method when running.

[0013] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the projection method through the computer program.

[0014] Through the present invention, a digital background signal of the area to be projected and a digital image signal emitted by a digital signal source are obtained, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected to the area to be projected; the background compensation calculation module is instructed to compress the digital background signal, and the digital image signal is compensated according to the compressed digital background signal to obtain a target digital image signal; the target digital image signal is projected to the area to be projected through a projection lens. In other words, the digital image signal emitted by the digital signal source is compensated according to the digital background signal of the area to be projected by the background compensation calculation module, and the compensated digital image signal is projected to the area to be projected through the projection lens, which solves the problem that the projection device must be projected onto a white and flat wall or a white curtain during the use of the projection device, resulting in the inflexible use of the projection device. In addition, the projection of the projection device can be projected onto walls of other colors, or onto slightly uneven walls, so that users can use the projection device flexibly. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0016] Figure 1 It is a hardware structure block diagram of a mobile terminal of a projection method according to an embodiment of the present invention;

[0017] Figure 2 It is a projection principle diagram of a projection device in the related technology of an embodiment of the present invention;

[0018] Figure 3is a schematic flow chart of a projection method according to an embodiment of the present invention;

[0019] Figure 4 is a schematic diagram of a projection method according to an embodiment of the present invention;

[0020] Figure 5 is a schematic diagram of a collection background of a projection method according to an embodiment of the present invention;

[0021] Figure 6 is a schematic diagram of a background compensation calculation module of a projection method according to an embodiment of the present invention;

[0022] Figure 7 is a color light reflection principle diagram of a projection method according to an embodiment of the present invention;

[0023] Figure 8 4 is a structural block diagram of a projection device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0026] The method embodiment provided in the embodiment of the present application can be executed in a mobile terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a projection method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD)) and a memory 104 for storing data. In an exemplary embodiment, the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1A different configuration with more features is shown.

[0027] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the projection method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a 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 a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0028] The transmission device 106 is used to receive or send data via a network. The specific example of the above network 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 (Network Interface Controller, referred to as 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 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0029] In order to better understand how the projection device in the related technology projects, Figure 2 It is a projection principle diagram of a projection device in the related technology of an embodiment of the present invention, which is specifically shown as follows:

[0030] The digital signal source outputs a digital image signal, wherein the digital signal source includes: a personal computer (PC), a video compact disc (VCD), and a TV box. The digital image signal is input to the projector body through a high definition multimedia interface (HDMI), a video graphics array (VGA), a wireless fidelity (WIFI), and the like. It should be noted that the digital image signal here is the final pixel and RGB color array formed after the relevant column transformation.

[0031] After receiving the digital image signal, the projector body converts the digital image signal into red, green and blue light, and projects it onto the background wall through the projection lens. However, the projection process of traditional projection equipment has certain requirements for the background wall. The color of the background wall must be white and the wall surface must be flat.

[0032] In view of the above problems, a projection method is provided in this embodiment. Figure 3 is a schematic diagram of a process of a projection method according to an embodiment of the present invention, the process comprising the following steps:

[0033] Step S302: acquiring a digital background signal of the area to be projected and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected onto the area to be projected;

[0034] Step S304: instructing the background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal;

[0035] Step S306: projecting the target digital image signal to the to-be-projected area through a projection lens.

[0036] Through the above steps, the digital background signal of the area to be projected and the digital image signal emitted by the digital signal source are obtained, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected to the area to be projected; the background compensation calculation module is instructed to compress the digital background signal, and the digital image signal is compensated according to the compressed digital background signal to obtain the target digital image signal; the target digital image signal is projected to the area to be projected through the projection lens. In other words, the digital image signal emitted by the digital signal source is compensated according to the digital background signal of the area to be projected by the background compensation calculation module, and the compensated digital image signal is projected to the area to be projected through the projection lens, which solves the problem that the projection must be projected onto a white and flat wall or a white curtain during the use of the projection device, resulting in the inflexible use of the projection device. In addition, the projection of the projection device can be projected onto walls of other colors, or slightly uneven walls, so that users can use the projection device flexibly.

[0037] This embodiment uses the principle of color value difference and method, so that the projection device can perform difference and compensation on the color of the projection source according to the color value reflected by the reflection surface, so as to achieve the same effect as on a white screen, allowing users to project anywhere.

[0038] In order to obtain the color value of the surface to be reflected, specifically, it is necessary to obtain the digital background signal of the area to be projected, including: obtaining the light emitted from the area to be projected through a lighting lens, and sending the light to a photosensitive element to obtain an analog image signal corresponding to the light through the photosensitive element; sending the analog image signal to an analog-to-digital converter to obtain a digital background signal corresponding to the analog image signal.

[0039] That is to say, according to the color value reflected by the reflective surface of the projection area, the color of the projection source is subtracted and compensated. It is necessary to obtain the light emitted from the projection area through the light-collecting lens of the projection device. The light-collecting lens sends the collected light to the photosensitive element, and then the photosensitive element converts the obtained light into an analog image signal corresponding to the light, and sends the analog image signal to the analog-to-digital converter, and the analog-to-digital converter converts the analog image signal into a corresponding digital background signal. It should be noted that the above-mentioned photosensitive element includes: CCD / CMOS.

[0040] In order to better understand the conversion of analog image signals into corresponding digital background signals by an analog-to-digital converter, in an optional embodiment, it can be achieved through the following technical solution: sending the analog image signal to the analog-to-digital converter to obtain a multidimensional array, wherein each dimensional array in the multidimensional array includes: row coordinates, column coordinates, and color values, wherein the row coordinates are used to indicate the row coordinates in the analog image corresponding to each dimensional array, the column coordinates are used to indicate the column coordinates in the analog image corresponding to each dimensional array, and the color value is used to indicate the color of the corresponding positions of the row coordinates and the column coordinates; determining the multidimensional array as the digital background signal.

[0041] It can be seen that the analog-to-digital converter converts the analog image signal into a digital background signal, and the digital background signal is a multidimensional array containing rows, columns, and color values. For example, there is a digital background signal [1, 1, #FF0000], where the first 1 represents the row coordinate of the digital background signal in the analog image, the second 1 represents the column coordinate of the digital background signal in the analog image, #FF0000 represents the color is red, and the entire one-dimensional array indicates that the color at the pixel position (1, 1) is red.

[0042] It should be noted that for the analog image signal corresponding to the pure white and clean area to be projected, after the analog-to-digital converter converts it into a digital background signal, the color values ​​of all pixel positions of the digital background signal are [1, 1, #FFFFFF], [1, 2, #FFFFFF]..., that is, the colors of all pixel positions are white. For the analog image signal corresponding to the messy area to be projected, after the analog-to-digital converter converts it into a digital background signal, the color values ​​of some pixel positions of the digital background signal will be different, for example, [100, 200, #6A6AFF], [100, 200, #4A7AEF].

[0043] It should be noted that instructing the background compensation calculation module to compress the digital background signal can be achieved in the following way: instructing the background compensation calculation module to obtain the color type of the digital background signal; compressing the digital background signal according to the color type to obtain a compressed array background signal, wherein the compressed digital background signal includes: a background primary color signal and a pixel color difference signal.

[0044] The background compensation calculation module first receives the digital background signal and caches it. The specific cache format is as follows: [1, 1, #FFFFFF], [1, 2, #FFFFFF], [100, 200, #6A6AFF], [100, 200, #4A7AEF]. Among them, each pixel has a color value, which takes up a large space. Therefore, the background compensation calculation module needs to compress and store the data background signal. Specifically, since the color of the area to be projected is usually single, the color contrast will not be particularly large, so only one color and range can be stored for the part with the same color, without storing the color of each pixel. Using the above method, the data of the digital background signal will not be lost, and the amount of data can be greatly reduced while the effect remains unchanged. The speed can be increased in both the calculation link and the transmission link of the digital background signal, and storage space can be saved. The compressed signal is divided into two parts: background base color and pixel color difference. The background base color takes the color value with the largest proportion, such as: background base color is white [#FFFFFF], pixel color difference [100, 200, #6A6AFF], [100, 200, #4A7AEF]. When the area to be projected is very clean, the compression effect is obvious, and there may be only background base color data without pixel color difference data. When the area to be projected is very messy, the compression effect is not obvious.

[0045] Furthermore, after the digital image signal is compensated according to the compressed digital background signal to obtain the target digital image signal: it is necessary to instruct the background compensation calculation module to determine the color state of the digital background signal; and compensate the digital image signal according to the color state so that the color reflected by the obtained target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal.

[0046] That is, after the analog-to-digital converter sends the digital background signal to the background compensation calculation module, the background compensation calculation module will first determine the color state of the digital background signal, that is, determine the color state of the area to be projected. Then, the background compensation calculation module will compensate the digital image signal sent by the digital signal source according to the color state, so that the color reflected by the target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal.

[0047] For a better understanding, optionally, for example: if the color indicated by the digital image signal emitted by the digital signal source is red, if the color of the area to be projected is white, then the digital image signal can be processed without causing the color reflected behind the area to be projected to be red. At this time, if the color of the area to be projected is green, and the digital image signal is not processed, then the color reflected behind the area to be projected will not be red. At this time, it is necessary to process the digital image to obtain the color information of the area to be projected. The specific acquisition and conversion process has been introduced in detail in the above steps and will not be repeated here. Furthermore, the background compensation calculation module will perform compensation processing on the digital image signal sent by the digital signal source according to the acquired color state of the area to be projected, so that the color indicated by the processed digital image signal is still red.

[0048] Furthermore, projecting the target digital image signal to the area to be projected through a projection lens includes: storing the target digital background signal in a projector body, wherein the projector body includes: the background compensation calculation module; instructing the projector body to project the target digital background signal through the projection lens on the area to be projected. In other words, the background compensation calculation module stores the target digital background after compensation processing in the projector body, and then the projector body projects the target digital background signal on the area to be projected through the projection lens.

[0049] Obviously, the above-described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. In order to better understand the above-mentioned projection method, the above-mentioned process is described below in conjunction with the embodiments, but it is not intended to limit the technical solutions of the embodiments of the present invention, specifically:

[0050] In a complete embodiment, Figure 4 is a schematic diagram of a projection method according to an embodiment of the present invention, and the specific implementation method is as follows:

[0051] The solution of this embodiment is compared with Figure 2 For the solution, a lighting lens, a photosensitive element, an analog-to-digital converter and a background compensation calculation module are added.

[0052] Specifically, before projection, the projection device first collects images of the projection background wall (the opposite of the area to be projected in the above embodiment) through the light-collecting lens. If the projection background wall is clean, the collected background images are of the same color and brightness. If the projection background wall is uneven or there are other objects in the background wall, the collected background images are of different colors and brightness. Figure 5 is a schematic diagram of a background collection method according to an embodiment of the present invention. Figure 5 In (a), since the projection background wall is clean, the background image collected is the same color and brightness. Figure 5 In (b), since the projection background wall is messy, the background images collected are of different colors and different brightness.

[0053] After the light is collected by the light-collecting lens, the light is projected onto the photosensitive element through the light-collecting lens. The photosensitive element is currently mostly CCD / CMOS, which converts the light into an analog image signal, and the analog image signal is converted into a digital background signal through an analog-to-digital converter. Among them, the digital background signal is a multidimensional array containing rows, columns, and color values, such as [1, 1, #FF0000], indicating that the color at the pixel position (1, 1) is red. For a pure white and clean background image converted into a digital background signal, the color values ​​of all pixel positions are [1, 1, #FFFFFF], [1, 2, #FFFFFF]. For a messy background image converted into a digital background signal, the color values ​​of some pixel positions will be different, such as [100, 200, #6A6AFF], [100, 200, #4A7AEF]. Then the converted digital background signal is transmitted to the background compensation calculation module for compensation calculation.

[0054] In order to better understand the above background compensation calculation module, Figure 6 This is a schematic diagram of a background compensation calculation module of a projection method according to an embodiment of the present invention, which is specifically shown as follows:

[0055] The background compensation calculation module receives the digital background signal and caches it in the following format: [1, 1, #FFFFFF], [1, 2, #FFFFFF], [100, 200, #6A6AFF], [100, 200, #4A7AEF]. Each pixel has a color value, which takes up a lot of space.

[0056] After caching, the background compensation calculation module compresses and stores the digital background signal. The compressed signal is divided into two parts: background base color and pixel color difference. Among them, the background base color takes the color value with the largest proportion, such as: the background base color is white [#FFFFFF], and the pixel color difference is [100, 200, #6A6AFF], [100, 200, #4A7AEF]. It should be noted that when the background is very clean, the compression effect is obvious, and there may be only base color data but no color difference data. When the background is very messy, the compression effect is not obvious.

[0057] It should be noted that the background compensation calculation module receives an image signal, which has been transformed in the original device to form an array of pixels and RGB colors. For example, [100, 200, #00FFFF] means that the color at the pixel point (100, 200) should be green. Then, the background compensation calculation module performs compensation processing on the digital background signal according to the received image signal.

[0058] In order to better understand the principle of color light reflection, Figure 7 This is a schematic diagram of color light reflection of a projection method according to an embodiment of the present invention. Light is emitted from a light source, projected onto a background wall, and then reflected into human eyes. The color seen by humans is the reflected light. For example, if the color of the background wall is white and the light from the light source is red, then the color seen by the human eye is red. If the color of the background wall is green and the light from the light source is red, then the color seen by the human eye is black.

[0059] It should be noted that if the background wall is white and the light source does not project light in a certain area, then the area will contrast with the surrounding light, and the human eye will see black. (For example, a black image will be projected on a white screen). If the background wall is black and the light source increases the brightness of the light projected in a certain area, then the area will show the color of the light source. (For example, a white image will be projected on a black screen).

[0060] Similarly, if an area of ​​the background wall is blocked by an object of a certain color, the light source must enhance the brightness of the object area so that the background wall can reflect the color of the light source as much as possible. Ultimately, people see an effect that is basically consistent with the color of the source film.

[0061] Through the technical solutions of the above embodiments, the projection device can be used for projection anywhere in the room without relying on a screen or a white wall.

[0062] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a projection device, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0063] In the present embodiment, a projection device is also provided, and the device is used to realize the above-mentioned embodiment and preferred implementation mode, and the description has been made no more. As used below, the term "module" can realize the combination of software and / or hardware of predetermined functions. Although the device described in the following embodiments is preferably realized with software, the realization of hardware, or the combination of software and hardware is also possible and conceived.

[0064] Figure 8 is a structural block diagram of a projection device according to an embodiment of the present invention. Figure 8 As shown, including:

[0065] An acquisition module 82, used for acquiring a digital background signal of the area to be projected and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multi-dimensional array, and the digital image signal is to be projected onto the area to be projected;

[0066] The compensation processing module 84 is used to instruct the background compensation calculation module to compress the digital background signal, and perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal;

[0067] The projection module 86 is used to project the target digital image signal onto the to-be-projected area through a projection lens.

[0068] Through the above modules, the digital background signal of the area to be projected and the digital image signal emitted by the digital signal source are obtained, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected to the area to be projected; the background compensation calculation module is instructed to compress the digital background signal, and the digital image signal is compensated according to the compressed digital background signal to obtain the target digital image signal; the target digital image signal is projected to the area to be projected through the projection lens. In other words, the digital image signal emitted by the digital signal source is compensated according to the digital background signal of the area to be projected by the background compensation calculation module, and the compensated digital image signal is projected to the area to be projected through the projection lens, which solves the problem that the projection must be projected onto a white and flat wall or a white curtain during the use of the projection device, resulting in the inflexible use of the projection device. In addition, the projection of the projection device can be projected onto walls of other colors, or slightly uneven walls, so that users can use the projection device flexibly.

[0069] This embodiment uses the principle of color value difference and method, so that the projection device can perform difference and compensation on the color of the projection source according to the color value reflected by the reflection surface, so as to achieve the same effect as on a white screen, allowing users to project anywhere.

[0070] Optionally, the acquisition module 82 is also used to acquire the light emitted from the projection area through a lighting lens, and send the light to a photosensitive element to obtain an analog image signal corresponding to the light through the photosensitive element; send the analog image signal to an analog-to-digital converter to obtain a digital background signal corresponding to the analog image signal.

[0071] That is to say, according to the color value reflected by the reflective surface of the projection area, the color of the projection source is subtracted and compensated. It is necessary to obtain the light emitted from the projection area through the light-collecting lens of the projection device. The light-collecting lens sends the collected light to the photosensitive element, and then the photosensitive element converts the obtained light into an analog image signal corresponding to the light, and sends the analog image signal to the analog-to-digital converter, and the analog-to-digital converter converts the analog image signal into a corresponding digital background signal. It should be noted that the above-mentioned photosensitive element includes: CCD / CMOS.

[0072] It should be noted that the acquisition module 82 is also used to send the analog image signal to an analog-to-digital converter to obtain a multidimensional array, wherein each dimensional array in the multidimensional array includes: row coordinates, column coordinates, and color values, wherein the row coordinates are used to indicate the row coordinates in the analog image corresponding to each dimensional array, the column coordinates are used to indicate the column coordinates in the analog image corresponding to each dimensional array, and the color value is used to indicate the color of the corresponding positions of the row coordinates and the column coordinates; the multidimensional array is determined as the digital background signal.

[0073] It can be seen that the analog-to-digital converter converts the analog image signal into a digital background signal, and the digital background signal is a multidimensional array containing rows, columns, and color values. For example, there is a digital background signal [1, 1, #FF0000], where the first 1 represents the row coordinate of the digital background signal in the analog image, the second 1 represents the column coordinate of the digital background signal in the analog image, #FF0000 represents the color is red, and the entire one-dimensional array indicates that the color at the pixel position (1, 1) is red.

[0074] It should be noted that for the analog image signal corresponding to the pure white and clean area to be projected, after the analog-to-digital converter converts it into a digital background signal, the color values ​​of all pixel positions of the digital background signal are [1, 1, #FFFFFF], [1, 2, #FFFFFF]..., that is, the colors of all pixel positions are white. For the analog image signal corresponding to the messy area to be projected, after the analog-to-digital converter converts it into a digital background signal, the color values ​​of some pixel positions of the digital background signal will be different, for example, [100, 200, #6A6AFF], [100, 200, #4A7AEF].

[0075] It should be noted that the compensation processing module 84 is also used to instruct the background compensation calculation module to obtain the color type of the digital background signal; compress the digital background signal according to the color type to obtain a compressed array background signal, wherein the compressed digital background signal includes: a background primary color signal and a pixel color difference signal.

[0076] The background compensation calculation module first receives the digital background signal and caches it. The specific cache format is as follows: [1, 1, #FFFFFF], [1, 2, #FFFFFF], [100, 200, #6A6AFF], [100, 200, #4A7AEF]. Among them, each pixel has a color value, which takes up a large space. Therefore, the background compensation calculation module needs to compress and store the data background signal. Specifically, since the color of the area to be projected is usually single, the color contrast will not be particularly large, so only one color and range can be stored for the part with the same color, without storing the color of each pixel. Using the above method, the data of the digital background signal will not be lost, and the amount of data can be greatly reduced while the effect remains unchanged. The speed can be increased in both the calculation link and the transmission link of the digital background signal, and storage space can be saved. The compressed signal is divided into two parts: background base color and pixel color difference. The background base color takes the color value with the largest proportion, such as: background base color is white [#FFFFFF], pixel color difference [100, 200, #6A6AFF], [100, 200, #4A7AEF]. When the area to be projected is very clean, the compression effect is obvious, and there may be only background base color data without pixel color difference data. When the area to be projected is very messy, the compression effect is not obvious.

[0077] Furthermore, the compensation processing module 84 is also used to instruct the background compensation calculation module to determine the color state of the digital background signal; and to perform compensation processing on the digital image signal according to the color state so that the color reflected by the obtained target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal.

[0078] That is, after the analog-to-digital converter sends the digital background signal to the background compensation calculation module, the background compensation calculation module will first determine the color state of the digital background signal, that is, determine the color state of the area to be projected. Then, the background compensation calculation module will compensate the digital image signal sent by the digital signal source according to the color state, so that the color reflected by the target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal.

[0079] For a better understanding, optionally, for example: if the color indicated by the digital image signal emitted by the digital signal source is red, if the color of the area to be projected is white, then the digital image signal can be processed without causing the color reflected behind the area to be projected to be red. At this time, if the color of the area to be projected is green, and the digital image signal is not processed, then the color reflected behind the area to be projected will not be red. At this time, it is necessary to process the digital image to obtain the color information of the area to be projected. The specific acquisition and conversion process has been introduced in detail in the above steps and will not be repeated here. Furthermore, the background compensation calculation module will perform compensation processing on the digital image signal sent by the digital signal source according to the acquired color state of the area to be projected, so that the color indicated by the processed digital image signal is still red.

[0080] Furthermore, the projection module 86 is also used to store the target digital background signal in the projector body, wherein the projector body includes: the background compensation calculation module; instructing the projector body to project the target digital background signal on the to-be-projected area through the projection lens. That is, the background compensation calculation module stores the target digital background after compensation processing in the projector body, and then the projector body projects the target digital background signal on the to-be-projected area through the projection lens.

[0081] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0082] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0083] Further, in this embodiment, the above storage medium may be configured to store a computer program for performing the following steps:

[0084] S1, obtaining a digital background signal of a to-be-projected area and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected onto the to-be-projected area;

[0085] S2, instructing the background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal;

[0086] S3, projecting the target digital image signal to the to-be-projected area through a projection lens.

[0087] Furthermore, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0088] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0089] Furthermore, the electronic device 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.

[0090] Further, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0091] S1, obtaining a digital background signal of a to-be-projected area and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, and the digital image signal is to be projected onto the to-be-projected area;

[0092] S2, instructing the background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal;

[0093] S3, projecting the target digital image signal to the to-be-projected area through a projection lens.

[0094] Furthermore, in this further, the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0095] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and further, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0096] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A projection method, characterized in that: include: Acquire a digital background signal of the area to be projected and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, the digital image signal is to be projected onto the area to be projected, and the digital background signal is a signal acquired before projection; instructing the background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal; Projecting the target digital image signal onto the to-be-projected area through a projection lens; The digital image signal is compensated to obtain a target digital image signal, including: instructing the background compensation calculation module to determine the color state of the compressed digital background signal; compensating the digital image signal according to the color state, so that the color reflected by the obtained target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal; Wherein, obtaining the digital background signal of the area to be projected includes: obtaining the light emitted from the area to be projected through a light-collecting lens, and sending the light to a photosensitive element, so as to obtain an analog image signal corresponding to the light through the photosensitive element; sending the analog image signal to an analog-to-digital converter to obtain a digital background signal corresponding to the analog image signal; Wherein, sending the analog image signal to an analog-to-digital converter to obtain a digital background signal corresponding to the analog image signal includes: sending the analog image signal to an analog-to-digital converter to obtain a multidimensional array, wherein each dimensional array in the multidimensional array includes: row coordinates, column coordinates, and color values, wherein the row coordinates are used to indicate the row coordinates in the analog image corresponding to each dimensional array, the column coordinates are used to indicate the column coordinates in the analog image corresponding to each dimensional array, and the color value is used to indicate the color of the corresponding positions of the row coordinates and the column coordinates; and determining the multidimensional array as the digital background signal.

2. The projection method according to claim 1, characterized in that: Instructing the background compensation calculation module to compress the digital background signal includes: Instructing the background compensation calculation module to obtain the color type of the digital background signal; The digital background signal is compressed according to the color type to obtain a compressed array background signal, wherein the compressed digital background signal includes: a background primary color signal and a pixel color difference signal.

3. The projection method according to any one of claims 1 to 2, characterized in that: Projecting the target digital image signal onto the to-be-projected area through a projection lens comprises: The target digital image signal is stored in a projector body, wherein the projector body comprises: the background compensation calculation module; The projector body is instructed to project the target digital image signal onto the to-be-projected area through the projection lens.

4. A projection device, characterized in that: include: An acquisition module, used to acquire a digital background signal of the area to be projected and a digital image signal emitted by a digital signal source, wherein the digital background signal is represented by a multidimensional array, the digital image signal is to be projected to the area to be projected, and the digital background signal is a signal acquired before projection; A compensation processing module, used for instructing the background compensation calculation module to compress the digital background signal, and to perform compensation processing on the digital image signal according to the compressed digital background signal to obtain a target digital image signal; A projection module, used for projecting the target digital image signal onto the to-be-projected area through a projection lens; The compensation processing module is further used to instruct the background compensation calculation module to determine the color state of the digital background signal; and to perform compensation processing on the digital image signal according to the color state, so that the color reflected by the obtained target digital image signal after being emitted to the area to be projected is the color indicated by the digital image signal; The acquisition module is further used to acquire the light emitted from the to-be-projected area through a light-collecting lens, and send the light to a photosensitive element to obtain an analog image signal corresponding to the light through the photosensitive element; send the analog image signal to an analog-to-digital converter to obtain a digital background signal corresponding to the analog image signal; Wherein, the acquisition module is also used to send the analog image signal to an analog-to-digital converter to obtain a multidimensional array, wherein each dimensional array in the multidimensional array includes: row coordinates, column coordinates, and color values, wherein the row coordinates are used to indicate the row coordinates in the analog image corresponding to each dimensional array, the column coordinates are used to indicate the column coordinates in the analog image corresponding to each dimensional array, and the color value is used to indicate the color of the corresponding positions of the row coordinates and the column coordinates; the multidimensional array is determined as the digital background signal.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 3 when executed.

6. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 3 through the computer program.

Citation Information

Patent Citations

  • Compression using index bits in msaa

    CN106796713A

  • Color correction method and device for projector and computer storage medium

    CN108737806A

  • Projection color adjusting method and device

    CN109286800A