Projection equipment and tiled display method
By using gamma transformation and correction coefficient calculation methods in the projection device, brightness processing is directly performed on the target pixel points of the fusion area, which solves the problem of low efficiency when the projection device splices multiple projected images, and achieves an efficient projected splicing effect.
Patent Information
- Application Number
- CN202311654033.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2025-06-06
AI Technical Summary
The projection device is inefficient when splicing multiple projected images, and requires complex hardware or software programs to perform calibration processing, resulting in a reduced projection efficiency.
A projection device is provided, including a first light output component, a communicator and a controller, through gamma transformation and correction coefficient calculation, and brightness processing is performed directly on the target pixel point of the fused area without adding hardware or software to correct the projection screen.
The projection splicing effect is improved, and the projection efficiency of the projection equipment is improved, reducing processing time and system resource consumption.
Smart Images

Figure CN120111192A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of projection equipment, and in particular to a projection equipment and a splicing display method. Background Art
[0002] A projection device is a display device that can project images or videos onto a screen. The projection device can project laser light of a specific color onto the screen through the refraction of an optical lens assembly to form a specific image. During the projection process, it is necessary to keep a certain distance between the projection device and the screen so that the projection device can project the laser light onto the placement area of the screen, thereby presenting the corresponding projection image on the screen.
[0003] In order to adapt to complex application scenarios and screens of different specifications, the size of the projection screen can be modified by adjusting the focal length of the optical lens assembly in the projection device. In order to ensure the clarity of the projection screen, the maximum projection screen size that can be presented by a projection device is limited. Therefore, for high-resolution projection data, the projection data can also be cut into multiple sub-projection data, and the projection screens of each sub-projection data are projected to the corresponding screen through multiple projection devices, and then the screens are spliced to form a large-size projection screen.
[0004] Obviously, in order to naturally connect the projection images of each screen, the projection device also needs to perform calibration processing such as calibration pattern, color correction and geometric transformation on the projection image based on the visual feedback of the camera in the projection device. However, the above method requires the use of complex hardware or software programs to perform calibration processing, which will consume more processing time and system resources, thereby reducing the projection efficiency of the projection device. Summary of the invention
[0005] The present application provides a projection device and a splicing display method to solve the problem of low efficiency when the projection device splices multiple projection images.
[0006] In a first aspect, some embodiments of the present application provide a projection device, including a first light emitting component, a communicator, and a controller. The first light emitting component is configured to project projection content to a first projection area of a projection surface, the communicator is configured to establish a communication connection with a second light emitting component, the second light emitting component is configured to project projection content to a second projection area of the projection surface, and the first projection area and the second projection area have an intersection area; the controller is configured to execute the following program steps:
[0007] In response to the projection instruction, acquiring projection image data, the projection image data comprising pixel points for projecting to the first projection area, the pixel points comprising a first color value;
[0008] Performing a gamma transform on a first color value of a target pixel point to generate a second color value; the target pixel point is a pixel point in the projection image data used for projecting to the intersection area;
[0009] Calculating a correction coefficient based on the position coordinates of the target pixel point and the boundary coordinates of a fusion area, and acquiring a smoothing interval according to the boundary coordinates; the fusion area is an area formed by the target pixel points in the projection image data;
[0010] Performing smoothing processing on the correction coefficient according to the smoothing interval to generate a smoothed correction coefficient;
[0011] Calculating a third color value based on the smoothing correction coefficient and the second color value;
[0012] performing an inverse gamma transform on the third color value to generate a fourth color value;
[0013] The first light emitting component is controlled to project the projection content of the projection image data onto the intersection area according to the fourth color value.
[0014] In a second aspect, some embodiments of the present application further provide a method for splicing display, which is applied to the projection device provided in the first aspect, wherein the projection device includes a first light emitting component, a communicator and a controller, wherein the first light emitting component is configured to project projection content to a first projection area of a projection surface; the communicator is configured to establish a communication connection with the second light emitting component, and the second light emitting component is configured to project projection content to a second projection area of the projection surface, and the first projection area and the second projection area have an intersection area; the method includes:
[0015] In response to the projection instruction, acquiring projection image data, the projection image data comprising pixel points for projecting to the first projection area, the pixel points comprising a first color value;
[0016] Performing a gamma transform on a first color value of a target pixel point to generate a second color value; the target pixel point is a pixel point in the projection image data used for projecting to the intersection area;
[0017] Calculating a correction coefficient based on the position coordinates of the target pixel point and the boundary coordinates of a fusion area, and acquiring a smoothing interval according to the boundary coordinates; the fusion area is an area formed by the target pixel points in the projection image data;
[0018] Performing smoothing processing on the correction coefficient according to the smoothing interval to generate a smoothed correction coefficient;
[0019] Calculating a third color value based on the smoothing correction coefficient and the second color value;
[0020] performing an inverse gamma transform on the third color value to generate a fourth color value;
[0021] The first light emitting component is controlled to project the projection content of the projection image data onto the intersection area according to the fourth color value.
[0022] It can be seen from the above technical solutions that some embodiments of the present application provide a projection device and a method for splicing display, wherein the projection area of the projection device and the projection area of other projection devices have an intersection area. The method can respond to a projection instruction, obtain projection image data, and perform gamma transformation on the target pixel points in the projection image data for projection to the intersection area. Among them, the area formed by the target pixel points is a fusion area. Then the correction coefficient is calculated based on the position coordinates of the target pixel points and the boundary coordinates of the fusion area, and the smoothing interval is obtained according to the boundary coordinates. The correction coefficient is smoothed according to the smoothing interval to generate a smoothing correction coefficient. The corrected color value is calculated based on the color value after the smoothing correction coefficient processing and gamma transformation, and the corrected color value is inversely gamma transformed. Then the projection content is projected to the intersection area according to the color value after inverse gamma transformation. The method directly performs brightness processing on the target pixel points in the fusion area based on the gamma algorithm, without the need to add hardware or software to correct the projection screen, which can improve the projection efficiency of the projection device while improving the projection splicing effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 This is a schematic diagram of the projection state of the projection device in some embodiments of the present application;
[0025] Figure 2 A schematic diagram of the structure of a projection device provided in some embodiments of the present application;
[0026] Figure 3 A schematic diagram of the optical-mechanical architecture of a projection device provided in some embodiments of the present application;
[0027] Figure 4 A schematic diagram of the optical path of a projection device provided in some embodiments of the present application;
[0028] Figure 5 A schematic diagram of the lens structure of a projection device provided in some embodiments of the present application;
[0029] Figure 6 A schematic diagram of the distance sensor and camera structure provided in some embodiments of the present application;
[0030] Figure 7 A schematic diagram of a system framework of a projection device provided in some embodiments of the present application;
[0031] Figure 8 A scene interaction diagram of a projection device and a second light output component in communication connection provided in some embodiments of the present application;
[0032] Fig. 9 A schematic diagram of a projection splicing scene provided in some embodiments of the present application;
[0033] Fig.10 A schematic diagram of a flow chart of a splicing display method provided in some embodiments of the present application;
[0034] Fig.11a A schematic diagram of original image data and the width of a first projection area provided in some embodiments of the present application;
[0035] Fig.11b A schematic diagram of splicing projection areas provided in some embodiments of the present application;
[0036] Fig.12 A schematic diagram of boundary coordinates provided for some embodiments of the present application;
[0037] Fig.13 A schematic diagram of a flow chart for calculating a correction coefficient provided in some embodiments of the present application;
[0038] Fig.14 A schematic diagram of a process for obtaining a smoothing interval provided in some embodiments of the present application;
[0039] Fig.15 A brightness attenuation variation curve provided for some embodiments of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0041] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0042] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0043] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0044] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0045] The embodiments of the present application can be applied to various types of projection devices. The following will take a projector as an example to explain the projection device and the automatic focusing method.
[0046] A projector is a device that can project images or videos onto a screen. It can be connected to computers, broadcasting networks, the Internet, VCD (Video Compact Disc), DVD (Digital Video Disc Recordable), game consoles, DV, etc. through different interfaces to play corresponding video signals. Projectors are widely used in homes, offices, schools, and entertainment venues.
[0047] In some embodiments, the projection device 2 can also communicate data with the server through various communication methods. The projection device 2 can be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks.
[0048] Figure 1 The figure shows a schematic diagram of the placement of a projection device according to an embodiment of the present application. Figure 2 A schematic diagram of the optical path of a projection device according to an embodiment of the present application is shown.
[0049] In some embodiments, reference Figure 1-2A projection device provided in the present application includes a projection screen and a projection device 2. The projection screen is fixed at a first position, and the projection device 2 is placed at a second position, so that the image projected by it matches the projection screen. The projection device includes a laser light source 100, an optical machine 200, a lens 300, and a projection surface 400. Among them, the laser light source 100 provides illumination for the optical machine 200, the optical machine 200 modulates the light source beam, and outputs it to the lens 300 for imaging, and projects it onto the projection surface 400 to form a projection image. Since the laser light source 100, the optical machine 200, and the lens 300 are used together to emit projection light to project a projection image, in some embodiments of the present application, the laser light source 100, the optical machine 200, and the lens 300 are collectively referred to as a light output component.
[0050] In some embodiments, the laser light source 100 of the projection device includes a laser assembly and an optical lens assembly, and the light beam emitted by the laser assembly can pass through the optical lens assembly to provide lighting for the optical machine. For example, the optical lens assembly requires a higher level of environmental cleanliness and airtightness; while the chamber in which the laser assembly is installed can be sealed with a lower level of dustproofness to reduce the sealing cost.
[0051] In some embodiments, the optical engine 200 of the projection device may be implemented as a blue optical engine, a green optical engine, a red optical engine, and may also include a heat dissipation system, a circuit control system, etc. It should be noted that in some embodiments, the light emitting component of the projector may also be implemented by an LED light source.
[0052] Figure 3 A schematic diagram of the circuit architecture of a projection device according to an embodiment of the present application is shown. In some embodiments, the projection device may include a display control circuit 10, a laser light source 100, at least one laser driving component 30, and at least one brightness sensor 40. The laser light source 100 may include at least one laser corresponding to the at least one laser driving component 30. The at least one refers to one or more, and the multiple refers to two or more.
[0053] Based on the circuit architecture, the projection device can achieve adaptive adjustment. For example, by setting a brightness sensor 40 in the light output path of the laser light source 100 , the brightness sensor 40 can detect a first brightness value of the laser light source and send the first brightness value to the display control circuit 10 .
[0054] The display control circuit 10 can obtain the second brightness value corresponding to the driving current of each laser, and when it is determined that the difference between the second brightness value of the laser and the first brightness value of the laser is greater than the difference threshold, it is determined that a COD fault occurs in the laser; the display control circuit can adjust the current control signal of the laser driving component corresponding to the laser until the difference is less than or equal to the difference threshold, thereby eliminating the COD fault of the blue laser; the projection device can eliminate the COD fault of the laser in time, reduce the damage rate of the laser, and improve the image display effect of the projection device.
[0055] Figure 4 A schematic structural diagram of a projection device according to an embodiment of the present application is shown.
[0056] In some embodiments, the laser light source 100 in the projection device may include independently arranged blue laser 101, red laser 102 and green laser 103. The projection device may also be called a three-color projection device. The blue laser 101, the red laser 102 and the green laser 103 are all modular lightweight (Mirai Console Loader, MCL) packaged lasers, which are small in size and conducive to the compact arrangement of the optical path.
[0057] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM (Random Access Memory, RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0058] In some embodiments, the projection device 2 further includes a communicator connected to a communication bus (Bus). The communicator is a component used to communicate with an external device or server according to various communication protocol types.
[0059] In some embodiments, the projection device may be equipped with a camera for cooperating with the projection device to achieve adjustment and control of the projection process. For example, the camera configured by the projection device may be specifically implemented as a 3D camera or a binocular camera; when the camera is implemented as a binocular camera, it specifically includes a left camera and a right camera; the binocular camera may obtain the image and playback content presented by the screen corresponding to the projection device, that is, the projection surface, and the image or playback content is projected by the built-in optical machine of the projection device.
[0060] When the projection device moves, its projection angle and the distance to the projection surface change, which will cause the projected image to deform, and the projected image will be displayed as a trapezoidal image or other deformed image; the controller of the projection device 2 can achieve automatic trapezoidal correction based on the image taken by the camera by coupling the angle between the optical and mechanical projection surfaces and the correct display of the projection image.
[0061] The camera can be used to capture the image displayed on the projection surface, and can be a camera. The camera can include a lens assembly, in which a photosensitive element and a lens are provided. The lens refracts light through a plurality of lenses, so that the light of the image of the scene can be irradiated on the photosensitive element. The photosensitive element can be selected based on the detection principle of a charge coupled device or a complementary metal oxide semiconductor according to the specifications of the camera, and converts the light signal into an electrical signal through a photosensitive material, and outputs the converted electrical signal into image data.
[0062] Figure 5 Schematic diagram of the lens structure of the projection device 2 in some embodiments is shown. In order to support the automatic focusing process of the projection device 2, as shown in FIG. Figure 5 As shown, the lens 300 of the projection device 2 may further include an optical component 310 and a drive motor 320. The optical component 310 is a lens group composed of one or more lenses, which can refract the light emitted by the optical machine 200 so that the light emitted by the optical machine 200 can be transmitted to the projection surface to form a transmission content image.
[0063] The optical assembly 310 may include a lens barrel and a plurality of lenses disposed in the lens barrel. Depending on whether the position of the lens can be moved, the lens in the optical assembly 310 may be divided into a movable lens 311 and a fixed lens 312. By changing the position of the movable lens 311 and adjusting the distance between the movable lens 311 and the fixed lens 312, the overall focal length of the optical assembly 310 may be changed. Therefore, the driving motor 320 may drive the movable lens 311 to move its position by connecting to the movable lens 311 in the optical assembly 310, thereby realizing an automatic focusing function.
[0064] It should be noted that the focusing process described in some embodiments of the present application refers to changing the position of the movable lens 311 by driving the motor 320, thereby adjusting the distance between the movable lens 311 and the fixed lens 312, that is, adjusting the image plane position. Therefore, the imaging principle of the lens combination in the optical component 310, the adjustment of the focal length is actually adjusting the image distance, but in terms of the overall structure of the optical component 310, adjusting the position of the movable lens 311 is equivalent to adjusting the overall focal length of the optical component 310.
[0065] When the distance between the projection device 2 and the projection surface is different, the lens of the projection device 2 needs to adjust different focal lengths to project a clear image on the projection surface. During the projection process, the distance between the projection device 2 and the projection surface will require different focal lengths due to the different placement positions of the user. Therefore, in order to adapt to different usage scenarios, the projection device 2 needs to adjust the focal length of the optical component 310.
[0066] Figure 6 FIG. 4 shows a schematic diagram of the structure of the distance sensor 600 and the camera 700 in some embodiments. Figure 6 As shown, the projection device 2 may also have a built-in or external camera 700, and the camera 700 may capture the image projected by the projection device 2 to obtain the projection content image. The projection device 2 then performs a clarity detection on the projection content image to determine whether the current lens focal length is appropriate, and adjusts the focal length if it is not appropriate. When automatically focusing based on the projection content image captured by the camera 700, the projection device 2 may continuously adjust the lens position and take pictures, and find the focusing position by comparing the clarity of the front and rear position pictures, thereby adjusting the movable lens 311 in the optical component to a suitable position. For example, the controller may first control the drive motor 320 to gradually move the focus starting position of the movable lens 311 to the focus end position, and continuously obtain the projection content image through the camera 700 during this period. Then, by performing a clarity detection on multiple projection content images, the position with the highest clarity is determined, and finally the drive motor 320 is controlled to adjust the movable lens 311 from the focus terminal to the position with the highest clarity, thereby completing the automatic focusing.
[0067] Figure 7 A schematic diagram of a system framework for realizing display control of a projection device according to an embodiment of the present application is shown.
[0068] In some embodiments, the projection device 2 has the characteristics of a telephoto micro-projector, and its controller can control the display of the projection light image through a preset algorithm to achieve functions such as automatic trapezoidal correction of the display screen, automatic screen entry, automatic obstacle avoidance, automatic focusing, and anti-eye-shooting.
[0069] In some embodiments, the projection device 2 is configured with a gyroscope sensor; when the device is moving, the gyroscope sensor can sense the position movement and actively collect movement data; then the collected data is sent to the application service layer through the system framework layer to support the application data required during the user interface interaction and application interaction process. The collected data can also be used for data calls by the controller in the algorithm service implementation.
[0070] In some embodiments, the projection device 2 is configured with a time-of-flight sensor. After the time-of-flight sensor collects corresponding data, the data will be sent to the corresponding time-of-flight service of the service layer; after the above-mentioned time-of-flight service obtains the data, it will send the collected data to the application service layer through the process communication framework, and the data will be used for interactive use such as controller data calls, user interfaces, and program applications.
[0071] In some embodiments, the camera 700 configured for the projection device 2 may be a binocular camera, a depth camera, or a 3D camera, etc.; the data collected by the camera 700 will be sent to the camera service, and then the camera service will send the collected image data to the process communication framework and / or the projection device correction service; the projection device correction service can receive the camera collection data sent by the camera service, and the controller can call the corresponding control algorithm in the algorithm library according to the different functions to be implemented.
[0072] In some embodiments, data is interacted with the application service through the process communication framework, and then the calculation results are fed back to the correction service through the process communication framework; the correction service sends the obtained calculation results to the projection device 2 operating system to generate control signals, and sends the control signals to the optical machine 200 control drive to control the working condition of the optical machine 200 and realize automatic correction of the displayed image.
[0073] In some embodiments, when an image correction instruction is detected, the projection device 2 can correct the projected image. For the correction of the projected image, an association relationship between the distance, the horizontal angle, and the offset angle can be created in advance. Then the controller in the projection device 2 obtains the current distance from the optical machine 200 to the projection surface, and determines the angle between the optical machine 200 and the projection surface at this moment in combination with the associated relationship to achieve projection image correction. The angle is specifically implemented as the angle between the central axis of the optical machine 200 and the projection surface.
[0074] In some embodiments, the projection device 2 automatically completes the calibration and refocuses, and the controller will detect whether the automatic focus function is turned on; when the automatic focus function is not turned on, the controller will end the automatic focus service; when the automatic focus function is turned on, the projection device 2 will obtain the detection distance of the time-of-flight sensor through the middleware for calculation.
[0075] The controller queries the preset mapping table according to the acquired distance to obtain the focal length of the projection device 2; then the middleware sets the acquired focal length to the optical machine 200 of the projection device 2; wherein the middleware is a series of applications for the focus control process. After the optical machine 200 emits laser light at the above focal length, the camera will execute the photo command; the controller determines whether the focus process of the projection device 2 is completed according to the acquired captured image and the evaluation function.
[0076] If the judgment result meets the preset completion conditions, the control of the automatic focusing process ends; if the judgment result does not meet the preset completion conditions, the middleware will fine-tune the focal length parameters of the projection device 2 optical machine 200, for example, the focal length can be gradually fine-tuned with a preset step length, and the adjusted focal length parameters will be set to the optical machine 200 again; thereby achieving repeated photo taking and clarity evaluation steps, and finally finding the optimal focal length through clarity comparison to complete automatic focusing.
[0077] In some embodiments, Figure 8 As shown, the projection device 2 can be connected to other projection devices through the communicator. For example, projection device A is connected to the same local area network as projection device B through the communicator, and projection device A and projection device B can communicate with each other under the local area network. The same application can be configured in projection device A and projection device B. When projection device A and projection device B are connected to the same local area network, the central control service station can send messages to the applications of projection device A and projection device B at the same time, such as various parameters, control instructions or trigger conditions and other key information, so that projection device A and projection device B execute corresponding programs based on the application.
[0078] In some embodiments, the high-resolution image data is cut into a plurality of sub-image data. The image data may be an image frame of video data or a static image. The projection screens of the plurality of projection devices 2 are spliced together, and then the sub-image data are sent to each projection device 2, so that the light emitting components of the projection device 2 project the projection picture onto the corresponding projection screen. In this way, Fig. 9 As shown, by splicing the projection images of multiple projection devices 2, a projection image with a larger size and higher resolution can be presented. It should be noted that Fig. 9 The edge of the dotted line is for the purpose of distinguishing the projection areas of various projection devices and will not be displayed in the projection image.
[0079] Due to light leakage and other issues at the edge of the optical machine 200, some of the same pixels will be retained in the sub-image data when the image is cut. Therefore, there will be an intersection area in the projection images projected by multiple projection devices 200. However, since the intersection area superimposes the projection images of multiple projection devices 2, the brightness of the projection image presented in the intersection area will increase, resulting in poor connection effect of the projection images.
[0080] Therefore, in order to naturally connect the projection images of each screen, in some embodiments, after the projection device 2 projects the projection image of the sub-image data, it also captures the image of the projection image based on the camera 700 of the projection device 2, and performs correction processing such as calibration pattern, color correction and geometric transformation on the projection image according to the captured image data, so as to achieve brightness correction of the intersection area and improve the splicing display effect of the projection image.
[0081] However, the above method relies on the visual feedback of the camera 700. If the projection device 2 is not equipped with the camera 700, the projection device 2 cannot complete the above calibration process. In addition, adding hardware or software programs to the projection device 2 to perform calibration patterns, color correction, and geometric transformation will consume more time and system resources, resulting in reduced projection efficiency of the projection device 2.
[0082] Based on the above application scenarios, in order to improve the problem of low efficiency of the projection device 2 when splicing multiple projection images, some embodiments of the present application provide a projection device 2, including a first light emitting component, a communicator 800 and a controller 500. The first light emitting component is configured to project the projection content to the first projection area; the communicator 800 is configured to establish a communication connection with the second light emitting component, and the second light emitting component is configured to project the projection content to the second projection area of the projection surface, and the first projection area and the second projection area have an intersection area; Fig.10 As shown, the controller 500 is configured to perform the following program steps:
[0083] S1001: In response to a projection instruction, obtaining projection image data.
[0084] After starting, the projection device 2 can be connected to the second light emitting component through communication based on the communicator 800. For example, the user can connect the projection device 2 to the local area network 1 through a wired connection or a wireless connection, and connect the second light emitting component to the local area network 1 through a wired connection or a wireless connection. At this time, since the two devices are connected to the same local area network, the projection device 2 can establish a communication connection with the second light emitting component.
[0085] It is understandable that the second light emitting component may be a light emitting component disposed in another projection device. For the sake of distinction, in the embodiment of the present application, the second light emitting component end is used to represent the projection device corresponding to the second light emitting component.
[0086] In some embodiments, a splicing projection application is provided in the projection device 2, and the second light output component end is also provided with the same splicing application. The splicing projection application stores the original image data and projection attribute information. The projection attribute information includes but is not limited to the first width of the first projection area, the second width of the original image data, and the third width of the second projection area.
[0087] The original image data stored in the splicing projection application may be uncropped image data or cropped image data. When the original image data is uncropped image data, the second width of the original image data is greater than the first width and the second width is greater than the third width.
[0088] For example, when the original image data is uncropped image data, the width of the first projection area is similar to the width of the original image data. Fig.11aAs shown in FIG. 1 , the width of the original image data is greater than the width of the first projection area, and the width of the original image data exceeds the distance of the first projection area width L. Obviously, the first light output component cannot fully display the projection screen of the original image data without scaling the original image data. Therefore, Fig.11b As shown, the second projection area is spliced with the first projection area. At the same time, the projection device 2 and the second light emitting component end also need to cut the image data to facilitate splicing the display content projected by the first light emitting component and the second light emitting component.
[0089] Since the original image data stored in the projection splicing application may be cropped image data or uncropped image data. In some embodiments, the splicing projection application also stores a cutout flag. The cutout flag is used to indicate whether the original image data is cropped image data. When the original image data is uncropped image data, the identification value of the cutout flag is a first value; when the original image data is cropped image data, the cutout flag is a second value. That is, the first value is used to indicate that the original image data is uncropped image data, and the second value is used to indicate that the original image data is cropped image data.
[0090] When the projection device 2 is running, the user can input projection instructions through a remote control, voice commands, control panel, gestures, etc. In some embodiments, after receiving the screen projection instruction, the projection device 2 can send a projection request to the central control service station based on the splicing projection application and the communicator 800, so that the central control service station simultaneously sends a control instruction to the projection device 2 and the splicing projection application at the second light output component end, so that the projection device 2 obtains the original image data, the cutout flag and the projection attribute information based on the splicing projection application.
[0091] In order to ensure the splicing display effect of the first projection area and the second projection area, in some embodiments, the height of the first projection area is equal to the height of the second projection area, and the width of the first projection area is equal to the width of the second projection area. In other words, the projection areas projected by the first light emitting component and the second light emitting component are the same size.
[0092] In some embodiments, after receiving the cutout flag, the projection device 2 detects the identification value of the cutout standard bit. If the identification value is the first value, the original image data is obtained through the application service layer, and the projection attribute information is obtained. Then the size difference between the second width and the first width is calculated, and the original image data is cropped according to the size difference to generate the projection image data. Among them, the width of the projection image data is greater than or equal to the first width. That is to say, in order not to lose resolution, the width of the original image data cropped by the projection device 2 is less than or equal to the above size difference.
[0093] For example, Fig.11aAs shown, the width of the original image data Buffer exceeds the distance of the first projection area width L, and the first projection area and the second projection area are Fig.11b The first projection area is located at the left side of the second projection area. The central control service station sends the cutout mark to the projection device 2 and the second light output component at the same time. When the projection device 2 detects that the identification value of the cutout mark is the first value, it obtains the width of the original image data and the width of the first projection area, and calculates the width difference L between the two. The projection device 2, that is, the first light output component end, cuts the original image data from right to left according to the width L. Fig.11b In the image 11b, the dotted line portion is the cut-off image data portion.
[0094] Similarly, when the second light emitting component detects that the identification value of the cutout flag is the first value, it obtains the width of the original image data and the width of the second projection area, and calculates the width difference L between the two. The second light emitting component then crops the original image data from left to right according to the width L as follows: Fig.11b Projected image data of the width.
[0095] Obviously, if the identification value of the cutout mark is the second value, the projection device 2 does not need to process the original image data, that is, in some embodiments, if the identification value is the second value, the projection device 2 obtains the original image data through the application service layer as the projection image data.
[0096] It is understandable that the above examples illustrate the embodiments of the present application in the form of left-right splicing, but the embodiments provided in the present application can also be applied to top-bottom splicing or left-right and top-bottom splicing, and the present application does not limit this.
[0097] The projection image data acquired by the projection device 2 includes pixel points for projecting to the first projection area. The pixel points of the projection image data include a first color value, and the projection image data includes target pixel points for projecting to the intersection area and reference pixel points for projecting to the non-intersection area, and the non-intersection area is the area of the first projection area of the projection surface excluding the intersection area.
[0098] That is to say, the first light emitting component will project the content of the target pixel point to the intersection area, and the second light emitting component will also project the content of the target pixel point to the intersection area. On the projection surface, the intersection area presents the superposition effect of the color values corresponding to the two target pixel points. Then, if the projection image data is projected according to the first color value, the brightness of the projection picture presented in the intersection area will be significantly higher than that in other areas. Therefore, after acquiring the projection image data, the projection device 2 provided in the embodiment of the present application will also perform correction on the pixel value of the target pixel point.
[0099] S1002: Perform a gamma transform on a first color value of a target pixel to generate a second color value.
[0100] After acquiring the projection image data, the projection device 2 can directly perform a gamma transformation on the first color value of the target pixel based on the Gamma algorithm. The projection device 2 can perform the gamma transformation by setting a shader file of the GPU without adding additional hardware or software programs.
[0101] In some embodiments, the projection device 2 inputs the projection image data into the graphics processor, and sets the shader file of the graphics processor according to the boundary coordinates, so as to perform a gamma transformation on the first color value of the target pixel through the graphics processor. The boundary coordinates are the boundary coordinates of the fusion area, and the fusion area is the area formed by the target pixel points in the projection image data. The boundary coordinates can be stored as projection attribute information in the projection splicing application, and when the projection device 2 obtains the projection image data based on the projection splicing application, the boundary coordinates can be included in the projection image data as an auxiliary attribute.
[0102] For example, Fig.12 As shown, ULPointX and URPointX are the boundary coordinates of the fusion region, ULPointX is the first boundary coordinate, used to indicate the left boundary of the fusion region; URPointX is the second boundary coordinate of the fusion region, used to indicate the right boundary of the fusion region. ULPointX and URPointX are input to the graphics processor as known quantities of the shader file.
[0103] In order to distinguish the position of the projection area, in some embodiments, the boundary coordinates are normalized values generated based on the projection area, that is, the boundary coordinates of the projection device 2 and the second light output component end correspond to different parameter values. When the projection splicing application sends the boundary coordinates to the graphics processor, the corresponding boundary coordinates are sent to the projection device 2 according to the device identifier of the projection device 2.
[0104] For example, the first projection area and the second projection area are Fig.12 The right boundary coordinate URPointX obtained by the projection device 2 is always 1.0 after normalization, and the left boundary coordinate ULPointX obtained by the second light output component end is always initialized to 0.0. The left boundary coordinate ULPointX obtained by the projection device 2 and the right boundary coordinate URPointX obtained by the second light output component end are normalized and added, and the sum of the two is always equal to 1.
[0105] S1003: Calculate a correction coefficient based on the position coordinates of the target pixel and the boundary coordinates of the fusion area, and obtain a smoothing interval according to the boundary coordinates.
[0106] After acquiring the projection image data, the projection device 2 calculates the correction coefficient based on the position coordinates of the target pixel in the projection image data and the boundary coordinates of the fusion area. The correction coefficient is used to correct the pixel value of the target pixel, that is, the correction coefficient reduces the brightness of the target pixel, and the value range of the correction coefficient is greater than 0 and less than 1.
[0107] In some embodiments, when the intersection area is the intersection of the target number of projection areas, the value of the correction coefficient is the ratio of 1 divided by the target number. The projection device 2 then multiplies the first color value of the target pixel point by the correction coefficient to obtain a corrected color value. Then the first light output component is controlled to project the projection content of the projection image data to the intersection area according to the corrected color value, thereby uniformizing the brightness of the intersection area.
[0108] For example, Fig.12 The intersection area shown is the intersection of the projection areas projected by the two light-emitting components, that is, the target number is 2 and the correction coefficient is 0.5. When calculating the corrected color value, the projection device 2 sets the inearColor*=0.5 of the fusion area in the shader file. However, although the present implementation can proportionally reduce the pixel value of each pixel point in each projection device 2, when the size of the first projection area is longer, the color value errors will appear in the pixels of the left and right boundaries, thereby forming a contrast with other areas, resulting in an obvious fusion edge in the intersection area.
[0109] like Fig.13 As shown, in some embodiments, the boundary coordinates include a first boundary coordinate and a second boundary coordinate, and the first boundary coordinate and the second boundary coordinate are used to characterize two opposing boundaries of the fusion area. In order to improve the problem of fusion edge appearing in the intersection area, when the projection device 2 calculates the correction coefficient based on the position coordinates of the target pixel point and the boundary coordinates of the fusion area, it generates a first reference value according to the first boundary coordinate and generates a second reference value according to the second boundary coordinate. The first reference value and the second reference value are used to determine the position of the first projection area.
[0110] In some embodiments, the projection device 2 reads a first coordinate value in the first boundary coordinates and reads a second coordinate value in the second boundary coordinates. Then, the first coordinate value is normalized based on the first projection area to generate a first reference value. And, the second coordinate value is normalized based on the first projection area to generate a second reference value.
[0111] For example, the projection stitching application can generate boundary coordinates of different reference values according to the projection device 2; Fig.12In the intersection area shown, the boundary coordinates read by the projection device 2 are ULPointX and URPointX, the normalized value of ULPointX is greater than 0 and less than 1, and the normalized value of URPointX is equal to 1. Similarly, the boundary coordinates read by the second light output component end are ULPoint X and URPointX, the normalized value of ULPointX is equal to 0, and the normalized value of URPointX is greater than 0 and less than 1.
[0112] After generating the first reference value and the second reference value, the projection device 2 reads the target coordinate value in the position coordinate of the target pixel point and obtains the first difference value and the second difference value. The first difference value is the difference between the target coordinate value and the first reference value, and the second difference value is the difference between the second reference value and the first reference value. The ratio of the first difference value to the second difference value is then calculated to generate a correction coefficient. In this way, the correction coefficient will change with the change of the position of the target pixel point, thereby realizing the transition of the brightness change of each pixel point in the fusion area.
[0113] For example, taking the left-right splicing method as an example, after normalizing the boundary coordinates ULPointX and URPointX, the projection device 2 obtains the normalized values uULPointX and uURPointX, and then inputs uULPointX and uURPointX into the graphics processor to be stored in the graphics processor as known quantities. The projection device 2 reads the value vTextureCoord.x of the horizontal coordinate of the target pixel point, and calculates the position of the pixel point in the fusion area according to the boundary coordinates, thereby calculating the calibration coefficient alph corresponding to the pixel point, that is, alpha = (vTextureCoord.x-uULPointX) / (uURPointX-uULPointX).
[0114] When the relative positions of the first projection area and the second projection area projected by the projection device 2 are different, the value variation range of the correction coefficient is also different. Fig.14 As shown, in some embodiments, when the projection device 2 obtains the smoothing interval according to the boundary coordinates, the first reference value is read to determine the position of the first projection area by the first reference value (S1401). If the first reference value is greater than 0 and less than 1, the smoothing interval is set to (1, 0), that is, the smoothing interval is set to the first interval (S1402); if the first reference value is equal to 0 or the first reference value is equal to 1, the smoothing interval is set to (0, 1), that is, the smoothing interval is set to the second interval (S1403). Among them, the starting value of the first interval range is 1, and the ending value of the first interval range is 0; the starting value of the second interval range is 0, and the ending value of the second interval range is 1.
[0115] For example, taking the left-right splicing method as an example, the projection device 2 detects the value of uULPointX. If uULPointX>0.0 and uULPointX<1.0, it means that the first projection area is the left projection area, and the starting value of the smoothing interval is (1.0, 0.0); otherwise, it means that the first projection area is the right projection area, and the starting value of the smoothing interval is (0.0, 1.0). The projection device 2 and the second light emitting component end obtain the corresponding smoothing interval according to the above procedure. After the color values of the target pixel points projected by the projection device 2 and the second light emitting component end are superimposed, the brightness is the same as the brightness of the non-intersecting area, and because the brightness of each target pixel point after processing in the embodiment of the present application changes gradually, the fusion edge problem caused by the above color value error will not occur.
[0116] S1004: Smoothing the correction coefficient according to the smoothing interval to generate a smoothed correction coefficient.
[0117] After the projection device 2 calculates the calibration coefficient of each target pixel point and obtains the smoothing interval of the current projection device 2, the correction coefficient is smoothed according to the smoothing interval to generate the corresponding smoothing correction coefficient. The smoothing process can use the Smoothstep function, that is, the values of each calibration coefficient are transitioned in the smoothing interval based on the Smoothstep function.
[0118] For example, taking the left-right splicing method as an example, the projection device 2 calculates the correction coefficient alpha according to the horizontal coordinate of the target pixel point in the shader file, alpha = (vTextureCoord.x-uULPointX) / (uURPointX-uULPointX). The relative position of the first projection area is determined by the value of uULPointX. If uULPointX>0.0 and uULPointX<1.0, alpha is mapped to the corresponding smoothing correction coefficient in the interval (1, 0) based on the smoothstep function. That is, if(uULPointX>0.0&&uULPointX<1.0); alpha = smoothstep(1.0,0.0,alpha); else{alpha = smoothstep(0.0,1.0,alpha).
[0119] S1005: Calculate a third color value based on the smoothing correction coefficient and the second color value.
[0120] After the projection device 2 performs smoothing on the correction coefficient, the third color value is calculated according to the smoothing correction coefficient obtained by the smoothing process and the second color value obtained by the gamma transform. Among them, the third color value is equal to the product of the smoothing correction coefficient and the brightness value in the second color value. After the projection device 2 multiplies the brightness value of each pixel by the smoothing correction coefficient, the brightness value of the target pixel changes gradually within a fixed interval. The gradual change of the brightness value can improve the problem of obvious fusion edges when splicing multiple projection areas caused by factors such as sudden changes in color values. In this way, after the projection device 2 and the second light-emitting component convert the color value of the target pixel in the above manner, the brightness of the superimposed intersection area can be equal to the brightness of other non-intersection areas, so that the entire projection surface presents a projection picture with consistent brightness.
[0121] However, the projection device 2 projects the projection image data according to the color value, that is, the RGBA value of each pixel in the projection image data. The RGBA value includes the color information of four channels: red, green, blue and transparency, and the value range of the color information of each channel is 0 to 255. Obviously, the RGBA value does not include the variable of the brightness value.
[0122] Therefore, in some embodiments, when calculating the third color value, the graphics processor of the projection device 2 converts the second color value of the target pixel from the RGB space to the YUV space or the HSV space. The Y component of the YUV space represents the brightness, and the V component of the HSV space represents the brightness. The first brightness value obtained after the conversion is multiplied by the correction coefficient to obtain the second brightness value of the YUV space or the HSV space. The second brightness value of the YUV space or the HSV space is then converted to an RGB value to generate the third color value.
[0123] For example, the RGB components of the second color value are stored in the target pixel unit in the order of B, G, and R. The RGB value is converted to a YUV value. Among them, Y = 0.2990R + 0.5870G + 0.1140B; RY = 0.7010R - 0.5870G - 0.1140B; BY = -0.2990R - 0.5870G + 0.8860B; U = (BY) * 0.565; V = (RY) * 0.565. The Y value is multiplied by the correction coefficient alpha to obtain the correction value Y' = alpha (0.2990R + 0.5870G + 0.1140B). Then Y', U and V are converted to corresponding RGB values to generate a third color value.
[0124] When the image of the projection image data is a pure color image, such as pure colors such as yellow and white, the gradient brightness may also cause the presented projection picture to have a color scale problem. In order to improve the color scale problem, in some embodiments, when the projection device 2 calculates the third color value based on the smooth correction coefficient and the second color value, it also calculates the first brightness value of the second color value. Then, based on the dithering algorithm and the first brightness value, random noise is generated, and the random noise is added to the smooth correction coefficient. Among them, the dithering algorithm is a Dither algorithm, which is used to mix the brightness with the surrounding brightness. After adding the random noise to the smooth correction coefficient, the projection device 2 calculates the product of the smooth correction coefficient and the first brightness value to generate the second brightness value. Then, the third color value is generated according to the second brightness value.
[0125] For example, after calculating the smoothing correction coefficient alpha, the projection device 2 converts the second color value vTextureCoord.xy of the target pixel into the YUV space, and calculates the YUV value of vTextureCoord.xy. Generate random noise according to the YUV value, add the generated noise to alpha, and correct the brightness of the second color value according to the alpha after adding the noise to generate a third color value. That is, in the shader file, set vec2 p = fract(vTextureCoord.xy*vec2(5.3987,5.4421)); p + = dot(p.yx,p.xy+vec2(21.5351,14.3137)); float xy = px*py; float noise = (fract(xy*95.4307)+fract(xy*75.04961)-1.0) / 255.0; alpha + = noise; lineColor* = alpha; gl_FragColor = vec4(E2rgb(linearColor), mix(sampleColor.a,0.0,alpha)).
[0126] S1006: Perform an inverse gamma transform on the third color value to generate a fourth color value.
[0127] When projecting the projection image data, the projection device 2 will also convert the image data output by the graphics processor through the underlying hardware such as DSP (Digital Signal Processing). The underlying hardware needs to perform gamma conversion on the color value of the projection image data based on the gamma algorithm. Fig.15As shown, the brightness attenuation after gamma algorithm processing drops sharply at about 1 / 2, while the brightness after smoothstep processing drops gently at about 1 / 2. Therefore, if the graphics processor of the projection device 2 directly calculates and outputs the corrected color value through the first color value of the target pixel and the calibration coefficient, the brightness value of the target pixel in the middle part of the fusion area will be higher, that is, the middle part of the intersection area will present a brighter projection picture.
[0128] Therefore, in the step S1002 of the embodiment of the present application, a gamma transform is performed on the first color value of the target pixel, and the brightness of the target pixel is calibrated by the second color value obtained by the gamma transform to generate a third color value. After the third color value is generated, an inverse gamma transform is performed on the third color value to generate a fourth color value. When the fourth color value is output by the graphics processor, when the underlying hardware performs gamma transform and other processing on the fourth color value, since the second color value of the target pixel is corrected by the projection device 2 based on smoothste, the second color value is a color value that has been processed by gamma conversion, that is, the graphics processor has added a gamma transform process when outputting the color value, so the final projected projection picture will not have the problem of brighter middle part of the intersection area.
[0129] S1007: Control the first light output component to project the projection content of the projection image data to the intersection area according to the fourth color value.
[0130] After the projection device 2 calculates the fourth color value of the fusion area, the image data including the fourth color value can be output through the graphics processor, so that the underlying hardware of the projection device 2 projects the content of the projection image data to the intersection area according to the fourth color value. At the same time, since there is no problem of pixel overlap in the non-intersection area, when the projection device 2 projects the content of the projection image data, it only needs to project the projection content to the non-intersection area according to the original pixel value.
[0131] That is, in some embodiments, the projection device 2 obtains the first color value of the reference pixel point, and controls the first light emitting component to project the projection content of the projection image data to the non-intersection area according to the first color value. Among them, the reference pixel point is the pixel point in the projection image data used to project to the non-intersection area, and the non-intersection area is the area other than the intersection area in the first projection area. In other words, the graphics processor of the projection device 2 outputs the image data FrameBuffer according to the first color value of the reference pixel point and the fourth color value of the target pixel point, so that the underlying hardware of the projection device 2 processes the FrameBuffer, and projects the projection content of the FrameBuffer to the first projection area through the first light emitting component.
[0132] Based on the above-mentioned projection device 2, some embodiments of the present application also provide a method of splicing display, which is applied to the projection device 2 provided in the above-mentioned embodiment, and the projection device 2 includes a first light emitting component, a communicator 800 and a controller 500. Among them, the first light emitting component is configured to project the projection content to the first projection area of the projection surface, the communicator is configured to establish a communication connection with the second light emitting component, the second light emitting component is configured to project the projection content to the second projection area of the projection surface, and the first projection area and the second projection area have an intersection area. Fig.10 As shown, the method comprises the following procedural steps:
[0133] S1001: In response to a projection instruction, acquiring projection image data, the projection image data comprising pixel points for projecting to a first projection area, the pixel points comprising a first color value;
[0134] S1002: performing a gamma transform on a first color value of a target pixel point to generate a second color value; the target pixel point is a pixel point in the projection image data used for projecting to the intersection area;
[0135] S1003: Calculating a correction coefficient based on the position coordinates of the target pixel point and the boundary coordinates of a fusion area, and acquiring a smoothing interval according to the boundary coordinates; the fusion area is an area formed by the target pixel points in the projection image data;
[0136] S1004: performing smoothing processing on the correction coefficient according to the smoothing interval to generate a smoothed correction coefficient;
[0137] S1005: Calculating a third color value based on the smoothing correction coefficient and the second color value;
[0138] S1006: performing an inverse gamma transform on the third color value to generate a fourth color value;
[0139] S1007: Control the first light output component to project the projection content of the projection image data onto the intersection area according to the fourth color value.
[0140] It can be seen from the above technical solutions that some embodiments of the present application provide a projection device and a method for splicing display, wherein the projection area of the projection device and the projection area of other projection devices have an intersection area. The method can respond to a projection instruction, obtain projection image data, and perform gamma transformation on the target pixel points in the projection image data for projection to the intersection area. Among them, the area formed by the target pixel points is a fusion area. Then the correction coefficient is calculated based on the position coordinates of the target pixel points and the boundary coordinates of the fusion area, and the smoothing interval is obtained according to the boundary coordinates. The correction coefficient is smoothed according to the smoothing interval to generate a smoothing correction coefficient. The corrected color value is calculated based on the color value after the smoothing correction coefficient processing and gamma transformation, and the corrected color value is inversely gamma transformed. Then the projection content is projected to the intersection area according to the color value after inverse gamma transformation. The method directly performs brightness processing on the target pixel points in the fusion area based on the gamma algorithm, without the need to add hardware or software to correct the projection screen, which can improve the projection efficiency of the projection device while improving the projection splicing effect.
[0141] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.
[0142] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.
[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A projection device, It is characterized in that include: A first light output component is configured to project projection content to a first projection area of the projection surface; A communicator is configured to establish a communication connection with a second light emitting component, wherein the second light emitting component is configured to project projection content to a second projection area of the projection surface, and the first projection area and the second projection area have an intersection area; The controller is configured as: In response to the projection instruction, acquiring projection image data, the projection image data comprising pixel points for projecting to the first projection area, the pixel points comprising a first color value; Performing a gamma transform on a first color value of a target pixel point to generate a second color value; the target pixel point is a pixel point in the projection image data used for projecting to the intersection area; Calculating a correction coefficient based on the position coordinates of the target pixel point and the boundary coordinates of a fusion area, and acquiring a smoothing interval according to the boundary coordinates; the fusion area is an area formed by the target pixel points in the projection image data; Performing smoothing processing on the correction coefficient according to the smoothing interval to generate a smoothed correction coefficient; Calculating a third color value based on the smoothing correction coefficient and the second color value; performing an inverse gamma transform on the third color value to generate a fourth color value; The first light emitting component is controlled to project the projection content of the projection image data onto the intersection area according to the fourth color value.
2. The projection device according to claim 1, It is characterized in that The boundary coordinates include a first boundary coordinate and a second boundary coordinate, the first boundary coordinate and the second boundary coordinate are used to characterize two opposing boundaries of the fusion area, and the controller calculates the correction coefficient based on the position coordinates of the target pixel point and the boundary coordinates of the fusion area, and is configured as follows: generating a first reference value according to the first boundary coordinates, and generating a second reference value according to the second boundary coordinates; Reading a target coordinate value from the position coordinates of the target pixel point; Obtaining a first difference and a second difference, wherein the first difference is a difference between the target coordinate value and the first reference value, and the second difference is a difference between the second reference value and the first reference value; The ratio of the first difference to the second difference is calculated to generate the correction coefficient.
3. The projection device according to claim 2, It is characterized in that The controller generates a first reference value according to the first boundary coordinates and generates a second reference value according to the second boundary, and is configured as follows: Reading a first coordinate value in the first boundary coordinate, and reading a second coordinate value in the second boundary coordinate; performing normalization processing on the first coordinate value based on the first projection area to generate the first reference value; The second coordinate value is normalized based on the first projection area to generate the second reference value.
4. The projection device according to claim 3, It is characterized in that The controller executes acquiring a smoothing interval according to the boundary coordinates, and is configured to: reading the first reference value; If the first reference value is greater than 0 and less than 1, the smoothing interval is set to the first interval, the starting value of the first interval range is 1, and the ending value of the first interval range is 0; If the first reference value is equal to 0 or the first reference value is equal to 1, the smoothing interval is set to a second interval, the start value of the second interval range is 0, and the end value of the second interval range is 1.
5. The projection device according to claim 1, It is characterized in that The controller calculates a third color value based on the smoothing correction coefficient and the second color value, and is configured to: calculating a first brightness value of the second color value; generating random noise based on a dithering algorithm and the first brightness value; adding the random noise to the smoothing correction coefficient; Calculating a product of the smoothing correction coefficient and the first brightness value to generate a second brightness value; The third color value is generated according to the second brightness value.
6. The projection device according to claim 1, It is characterized in that The controller executes acquisition of projection image data and is configured to: Detect the identification value of the cutout flag; If the identification value is a first value, obtaining original image data and projection attribute information through the application service layer, the first value is used to indicate that the original image data is uncropped image data, and the projection attribute information includes a first width of the first projection area and a second width of the original image data, the second width being greater than the first width; Calculate the size difference between the second width and the first width; The original image data is cropped according to the size difference to generate the projection image data; the width of the projection image data is greater than or equal to the first width.
7. The projection device according to claim 6, It is characterized in that The controller is also configured to: If the identification value is a second value, the original image data is obtained through the application service layer to serve as the projection image data; the second value is used to indicate that the original image data is cropped image data.
8. The projection device according to claim 1, It is characterized in that The controller is also configured to: Acquire a first color value of a reference pixel point, wherein the reference pixel point is a pixel point in the projection image data used for projecting to a non-intersection area, and the non-intersection area is an area in the first projection area excluding the intersection area; The first light output component is controlled to project the projection content of the projection image data onto the non-intersection area according to the first color value.
9. The projection device according to claim 1, It is characterized in that The controller is also configured to: inputting the projection image data into a graphics processor; A shader file of the graphics processor is set according to the boundary coordinates so as to perform a gamma transform on a first color value of a target pixel point through the graphics processor.
10. A method for splicing display, It is characterized in that Applied to a projection device, the projection device comprises a first light emitting component, a communicator and a controller, the first light emitting component is configured to project projection content to a first projection area of a projection surface; the communicator is configured to establish a communication connection with a second light emitting component, the second light emitting component is configured to project projection content to a second projection area of the projection surface, and the first projection area and the second projection area have an intersection area; the method comprises: In response to the projection instruction, acquiring projection image data, the projection image data comprising pixel points for projecting to the first projection area, the pixel points comprising a first color value; Performing a gamma transform on a first color value of a target pixel point to generate a second color value; the target pixel point is a pixel point in the projection image data used for projecting to the intersection area; Calculating a correction coefficient based on the position coordinates of the target pixel point and the boundary coordinates of a fusion area, and acquiring a smoothing interval according to the boundary coordinates; the fusion area is an area formed by the target pixel points in the projection image data; Performing smoothing processing on the correction coefficient according to the smoothing interval to generate a smoothed correction coefficient; Calculating a third color value based on the smoothing correction coefficient and the second color value; performing an inverse gamma transform on the third color value to generate a fourth color value; The first light emitting component is controlled to project the projection content of the projection image data onto the intersection area according to the fourth color value.