Scene projection method and device, electronic equipment and computer readable storage medium

By acquiring data from the projection equipment and scene content, extracting local water wave image features, determining water wave and light and shadow parameters, and controlling the projection parameters of the projection lamp, the problem of inconsistent projection effects in large scenes was solved, achieving consistency and immersion in projection effects across multiple scene spaces.

CN121487085AActive Publication Date: 2026-02-06GUANGZHOU LEAFUN CULTURE SCI & TECH
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202511474251.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-15
Publication Date
2026-02-06
Estimated Expiration
2045-10-15

AI Technical Summary

Technical Problem

In large-scale scenes, traditional lighting projection methods cannot meet the diverse projection effect requirements of different scene spaces, resulting in fragmented and inconsistent projection effects in different scene spaces.

Method used

By acquiring device data from the projector and scene content, local water wave image features are extracted, water wave and light and shadow parameters are determined, and the projection parameters of the projector are controlled to deeply integrate the projected content with the scene space, ensuring the consistency and smoothness of the projection effect.

Benefits of technology

It achieves consistency and visual appeal in projection effects across multiple scene spaces, avoids fragmented projection, and enhances immersion and the audience's experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121487085A_ABST
    Figure CN121487085A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a scene projection method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring equipment data corresponding to each projection lamp; obtaining a target dynamic water wave image and scene content corresponding to each scene space; extracting a local water wave image corresponding to the first scene space from the target dynamic water wave image according to scene content corresponding to the first scene space; determining a first water wave parameter and a first light and shadow parameter corresponding to the first scene space according to the local water wave image and scene content corresponding to the first scene space; determining projection contents and projection parameters corresponding to a plurality of target projection lamps arranged in the first scene space according to the first water wave parameter and the first light and shadow parameter; and controlling each target projection lamp to project the corresponding projection content according to the corresponding projection parameter. According to the scene projection method and device, the electronic equipment and the computer readable storage medium, the water wave effect matched with the scene can be presented.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of light effect control, in particular to a scene projection method and device, electronic equipment and computer readable storage medium. BACKGROUND

[0002] At present, in the scenes of landscape lighting, exhibition, performance, etc., light projection plays an important role in highlighting the performance effect and the atmosphere of the scene; especially in large-scale scenes such as large tourist scenic spots and theme parks with complex and diverse scene spaces, in order to improve the ornamental and interesting nature, etc., the imaging effect of light image is required. Among them, water ripples have a high frequency of use because they can create a slow flowing visual effect. However, as different scene spaces in large-scale scenes become more and more diverse, using traditional single projection methods cannot meet the projection effects required by different scene spaces in the same large-scale scene. SUMMARY

[0003] The embodiments of the present application disclose a scene projection method, device, electronic equipment and computer readable storage medium, which can present water wave projection effects matching scene spaces in multiple scene spaces.

[0004] The embodiments of the present application disclose a scene projection method applied to an electronic device, wherein the electronic device is in communication connection with a plurality of projection lamps; the plurality of projection lamps are arranged in one or more scene spaces; and the method comprises the following steps: Obtaining device data corresponding to each projection lamp, wherein the device data includes position information and device hardware parameters corresponding to the projection lamp; Obtaining a target dynamic water wave image and scene content corresponding to each scene space; Extracting a local water wave image corresponding to a first scene space from the target dynamic water wave image according to the scene content corresponding to the first scene space, wherein the first scene space is any of the scene spaces; Performing feature extraction on the local water wave image to obtain image features, and determining first water wave parameters and first light and shadow parameters corresponding to the first scene space according to the image features and the scene content corresponding to the first scene space; Mapping a plurality of target projection lamps arranged in the first scene space to the local water wave image according to position information corresponding to the plurality of target projection lamps respectively, to obtain projection content corresponding to the plurality of target projection lamps respectively; Determining projection parameters corresponding to the plurality of target projection lamps respectively according to the first water wave parameters, the first light and shadow parameters, and device hardware parameters corresponding to the plurality of target projection lamps respectively; The projection control module is configured to control each of the target projection lamps to project corresponding projection content according to corresponding projection parameters.

[0005] Embodiments of the present application disclose a scene projection device applied to an electronic device, wherein the electronic device is in communication connection with a plurality of projection lamps; the plurality of projection lamps are arranged in one or more scene spaces; the device comprises: A data acquisition module is configured to acquire device data corresponding to each of the projection lamps, wherein the device data comprises position information and device hardware parameters corresponding to the projection lamps; The data acquisition module is further configured to acquire target dynamic water wave images and scene content corresponding to each of the scene spaces. An image generation module is configured to extract a local water wave image corresponding to a first scene space from the target dynamic water wave images according to scene content corresponding to the first scene space, wherein the first scene space is any one of the scene spaces. A scene parameter generation module is configured to perform feature extraction on the local water wave image to obtain image features, and determine first water wave parameters and first light and shadow parameters corresponding to the first scene space according to the image features and the scene content corresponding to the first scene space. A projection parameter generation module is configured to map a plurality of target projection lamps arranged in the first scene space to the local water wave image according to position information corresponding to each of the target projection lamps, to obtain projection content corresponding to each of the target projection lamps. The projection parameter generation module is further configured to determine projection parameters corresponding to each of the target projection lamps according to the first water wave parameters, the first light and shadow parameters, and device hardware parameters corresponding to each of the target projection lamps. A projection control module is configured to control each of the target projection lamps to project corresponding projection content according to corresponding projection parameters.

[0006] Embodiments of the present application disclose an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program is executed by the processor to realize the method according to any one of the above embodiments.

[0007] Embodiments of the present application disclose a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the method according to any one of the above embodiments.

[0008] Embodiments of the present application disclose a computer program product, comprising a computer program, and the computer program is executed by a processor to realize the method according to any one of the above embodiments. The scene projection method and device, electronic device and computer readable storage medium disclosed by the embodiments of the present application, the electronic device obtains device data corresponding to each projection lamp; obtains a target dynamic water wave image and scene content corresponding to each scene space; extracts a local water wave image corresponding to a first scene space from the target dynamic water wave image according to the scene content corresponding to the first scene space; determines a first water wave parameter and a first light and shadow parameter corresponding to the first scene space according to the local water wave image and the scene content corresponding to the first scene space; determines projection content and projection parameters corresponding to a plurality of target projection lamps respectively arranged in the first scene space according to the first water wave parameter and the first light and shadow parameter; and controls each target projection lamp to project the corresponding projection content according to the corresponding projection parameters.

[0009] In the embodiments of the present application, the electronic device extracts local water wave images corresponding to different scene spaces, and determines corresponding water wave parameters and light and shadow parameters, so that the projection content and projection parameters of the projection lamp are deeply integrated with the scene space, so that the projection lamp presents a projection effect with ornamental and immersive feeling. At the same time, by combining the projection lamp position and the device hardware parameters of the projection lamp to distribute the projection content and the projection parameters, it can ensure that the pictures of the scene spaces projected by the plurality of projection lamps are consistent and coordinated, avoiding the phenomenon that the projection effects presented by the plurality of scene spaces are fragmented, so that the plurality of projection lamps can present water wave effects matched with the plurality of scene spaces, and can also ensure the smoothness of the water wave images of the different scene spaces projected. BRIEF DESCRIPTION OF DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0011] Figure 1A An application scenario diagram of the scene projection method in an embodiment; Figure 1B An application scenario diagram of the scene projection method in a specific embodiment; Figure 1C A projection effect diagram of a scene space in an embodiment; Figure 2 A flowchart of the scene projection method in an embodiment; Figure 3 A flowchart of determining a first water wave parameter and a first light and shadow parameter in an embodiment; Figure 4 A flowchart of generating a local water wave image in an embodiment; Figure 5A flowchart of a scene projection method in one embodiment; Figure 6 A flowchart of a scene projection method in one embodiment; Figure 7 A flowchart of a scene projection method in one embodiment; Figure 8 A flowchart of a scene projection method in one embodiment; Figure 9 A flowchart of a scene projection method in one embodiment; Figure 10 A block diagram of a scene projection device in one embodiment; Figure 11 A structural block diagram of an electronic device in one embodiment. DETAILED DESCRIPTION

[0012] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0013] It can be understood that the terms "first", "second", and the like used in the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.

[0014] The embodiments of the present application disclose a scene projection method, device, electronic device and computer readable storage medium, which can make the projected image present a water wave effect matched with multiple scene spaces.

[0015] Figure 1A An application scenario diagram of a scene projection method in one embodiment, which presents the application scenario from a top-down perspective. The scene projection method of the present application can be applied to a large projection scene 100. As shown in Figure 1A , the large projection scene 100 can include an electronic device 110 and multiple projection lamps 120, and the projection scene 100 can also have one or more scene spaces 130. Among them, the electronic device 110 is in communication connection with the multiple projection lamps 120; the multiple projection lamps 120 are arranged in the one or more scene spaces 130 (only three projection lamps 120 arranged in one of the scene spaces 130 are marked in Figure 1A , and other projection lamps of this scene space and projection lamps in other scene spaces are not marked in Figure 1A ).

[0016] The electronic device 110 is a device for overall control of the plurality of projection lamps 120; the electronic device 110 can include but is not limited to a mobile phone, a smart wearable device, a tablet computer, a PC (Personal Computer), a computer, etc. The electronic device 110 realizes the regulation and control of the projection effect of each projection lamp 120 through a series of operations such as data acquisition, parameter calculation, and projection instruction issuing.

[0017] The projection lamp 120 is a device for projecting light and shadow to a specific area (large projection scene 100) to create a visual effect. A plurality of projection lamps can project to the large projection scene 100, so that the large projection scene 100 as a whole presents a water wave image effect. It should be noted that in the large projection scene 100, the blank area outside the scene space can also be provided with a projection lamp 120.

[0018] Optionally, the water wave effect projected by the projection lamp 120 can also include rotation, jitter, floating shadow, ripple, etc. The user can set it according to actual needs to create more diverse and dynamic projection images. In addition, the projection lamp 120 can also adjust the projection range, projection angle and other parameters, for example, by adjusting the projection range through the built-in lens zoom mechanism or mechanical structure, and changing the projection angle by using a rotatable or pitching support, so as to flexibly adapt to the projection needs of different scene spaces.

[0019] In some embodiments, the electronic device 110 can establish a communication connection with the projection lamp 120 through wired or wireless means. The wired connection can include but is not limited to using a network cable, a data cable, etc. The wireless connection can include but is not limited to connecting through Wi-Fi, Bluetooth, ZigBee, etc.

[0020] Optionally, in the case that the electronic device 110 establishes a communication connection with each projection lamp 120 in a wireless manner, the electronic device 110 can not be in the large projection scene 100, but only control each projection lamp 120 to project through remote operation.

[0021] The large projection scene 100 can include but is not limited to a large travel and tourism scenic area, a theme park, a cultural square, a cultural and creative square, etc. In these large projection scenes 100, due to the large scale of the scene, one or more theme elements or functions are usually used to divide the corresponding space area, so as to form a plurality of different scene spaces 130 in the large projection scene 100.

[0022] Therefore, the scene space 130 refers to a relatively independent area divided in the large projection scene 100 based on specific theme, function or visual presentation requirements. Each scene space 130 can have a unique theme culture, display content or interactive form, and the different light and shadow effects projected by the projection lamp 120 can further strengthen its theme characteristics and create a unique atmosphere; at the same time, multiple scene spaces 130 belonging to the same large projection scene 100 are connected through a core content, avoiding obvious fragmentation in the same large projection scene 100.

[0023] For example, in a large cultural and travel scenic area, different theme parks (such as ancient architectural area, fairy tale forest area, science fiction future area, etc.) are different scene spaces; in a theme park, the area where each amusement project is located, the surrounding of the performance site, etc. can also be divided into different scene spaces.

[0024] Taking the large projection scene 100 as a cultural square as an example, as shown in Figure 1B The large projection scene 100 can be a cultural square with the famous culture "Eight Views of Xiangxi" as the core. According to the content of "Eight Views of Xiangxi", there can be 8 scene spaces in the cultural square, which are, in turn, smoke temple evening bell 130a, falling geese on sandy beach 130b, autumn moon on Dongting Lake 130c, evening snow on the river 130d, fishing village sunset 130e, city mountainous land 130f, Xiangxi night rain 130g and far shore returning sail 130h.

[0025] It should be noted that in order to ensure that each scene space 130 can obtain complete projection presentation, the projection range corresponding to the projection lamp 120 arranged in each scene space 130 needs to be able to fully cover the planar range of each scene space 130.

[0026] For example, in some scene spaces with small area and relatively simple structure, one projection lamp can completely cover the planar area of the scene space with appropriate projection angle and wide coverage range. In scene spaces with large area, complex structure or rich content, two or more projection lamps often need to work together to completely cover the planar range of the entire scene space. Through the projection of multiple projection lamps from different angles, their projection ranges complement each other to form a seamless projection network, ensuring that the scene space is completely covered.

[0027] Optionally, in the case that the projection range of the projection lamp 120 is wide and two scene spaces 130 are adjacent, one projection lamp 120 can simultaneously project for two adjacent scene spaces 130. In this case, it is necessary to ensure that the projection content of the projection lamp 120 can meet the requirements of both scene spaces 130 at the same time, and will not cause visual conflict or confusion.

[0028] In some embodiments, the two scene spaces 130 in the large projection scene 100 may be located adjacent to each other (e.g., Figure 1B Scene spaces 130e and 130f; the two scene spaces 130 may not be adjacent, separated by a blank area (e.g., Figure 1B Scene space 130a and scene space 130h in the context of the scene.

[0029] When two scene spaces 130 are adjacent, the projection ranges of the projectors placed in these two scene spaces 130 may partially overlap, resulting in overlapping projections in the overlapping area. Therefore, when controlling the projectors 120 for projection, this overlapping phenomenon needs to be controlled to avoid content misalignment or wave pattern conflicts in the projected image. For example, in two adjacent scene spaces, one creates a tranquil lake atmosphere, while the other creates a turbulent ocean atmosphere. If the overlapping area of ​​the projection range is not properly handled, the superposition of two different styles of water wave projection effects will create visual confusion.

[0030] Optionally, the electronic device 110 can control the rotation of the projection lamps 120 in the two scene spaces 130 to adjust the illumination direction of the projection lamps whose projection ranges intersect, change their projection paths, and thus reduce or even eliminate the intersecting projection ranges. Optionally, the electronic device 110 can also control the projection content of the projection lamps 120 whose projection ranges intersect, so that the projection content presented in the intersecting area has a gradient effect, making the image transition in the intersecting area natural, as if it were a natural connection between the two scene spaces.

[0031] When two adjacent scene spaces 130 are not adjacent and have blank areas, the projection ranges of the projectors within the two adjacent scene spaces 130 usually do not intersect. However, if the blank areas are ignored, the entire projected image may abruptly stop, creating a visual disjointedness and disrupting the continuity and integrity of the scene. To make the projection effect more natural and smooth, and enhance the audience's immersion, electronic devices can control the projectors to create a water ripple effect when projecting onto blank areas, gradually fading and disappearing.

[0032] In some embodiments, the scene space also includes scene content, which refers to physical objects within the scene space used to construct a specific culture, theme, create a unique atmosphere, or showcase a specific scene appearance. These are indispensable physical elements within the scene space, and the scene content includes one or more scene markers, which are representative and easily identifiable objects within the scene space. For example, in Figure 1B In the scene space shown in "Returning Sails at the Distant Shore 130h", the sailboat can be used as a scene marker.

[0033] In real-world scenarios, water ripples change when they encounter physical objects, such as being blocked, reflected, or refracted, creating a unique ripple effect. Therefore, to improve the realism of the projection, the electronic device 110 can precisely control the projection content and parameters of the projection lamp 120 when controlling the projection, so that the projected water ripple image presents realistic water ripple changes near the scene landmarks.

[0034] For example, such as Figure 1C As shown, in a scene space 130, when the scene marker 140 is not encountered, the water ripple image presents a regular, smooth and evenly diffused form, like ripples naturally rippling on a calm lake surface (as shown in the first water ripple 150 in the figure); however, when the scene marker 140 is encountered, the water ripple image will change accordingly, producing a ripple effect after interacting with the real scene object, such as water ripples in all directions after encountering a sailboat (as shown in the second water ripple 160 in the figure).

[0035] Optionally, the water ripples produced by different scene landmarks will also vary. For example, when the scene landmark is a bridge, the water ripples will create a swirling ripple effect around the bridge, while the bridge's reflection will be mirrored on the water ripples. When the scene landmark is reeds, the water ripples will be partially absorbed and weakened, and the flow will become relatively gentle.

[0036] In this embodiment, the electronic device 110 acquires the position information and device hardware parameters corresponding to each projection lamp 120, and acquires the target dynamic water wave image and the scene content corresponding to each scene space 130. Based on the scene content corresponding to the first scene space, the electronic device 110 extracts the local water wave image corresponding to the first scene space from the target dynamic water wave image, performs feature extraction on the local water wave image to obtain image features, and determines the first water wave parameter and the first light and shadow parameter corresponding to the first scene space based on the image features and the scene content corresponding to the first scene space. The electronic device 110 also maps the multiple target projection lamps to the local water wave image based on the position information of the multiple target projection lamps set in the first scene space, obtaining the projection content corresponding to each of the multiple target projection lamps, and determines the projection parameters corresponding to each of the multiple target projection lamps based on the first water wave parameter, the first light and shadow parameter, and the device hardware parameters corresponding to each of the multiple target projection lamps. The electronic device 110 controls each target projection lamp to project the corresponding projection content according to the corresponding projection parameters, so as to project and display the corresponding local water wave image in the first scene space.

[0037] like Figure 2 As shown, in one embodiment, a scene projection method is provided, which can be applied to the aforementioned electronic device. The method may include steps 210 to 270.

[0038] Step 210, obtaining the device data corresponding to each projection lamp.

[0039] The device data includes the position information and the device hardware parameters corresponding to the projection lamp. The position information refers to the distribution position of the projection lamp in the projection scene, which can include the scene space where the projection lamp is located. The device hardware parameters refer to various performance indicators and configuration information of the projection lamp, including but not limited to zoom capability, supported projection angle, maximum rotation angle, etc. The zoom capability refers to the function of focusing near and far and zooming the picture by adjusting the internal optical system without moving the physical position of the projection lamp; the supported projection angle refers to the angle range within which the projection lamp can project clear and complete images, which can include both horizontal and vertical projection angles; the maximum rotation angle refers to the maximum angle range that the projection lamp can rotate in the horizontal and vertical directions.

[0040] In some embodiments, each projection lamp can have a unique identification code and send it to the electronic device. After receiving these identification codes, the electronic device will interact with the pre-established projection lamp-related database. This database stores detailed information of all projection lamps, including device hardware parameters, installation time, maintenance records, position information, etc. The electronic device can quickly and accurately obtain the device data corresponding to each projection lamp by searching the database for records matching the received unique identification codes. Alternatively, in addition to the query method based on the unique identification code, the electronic device can also directly receive the device data actively sent by each projection lamp. The electronic device can also obtain the device data corresponding to each projection lamp through user input.

[0041] Step 220, obtaining the target dynamic water wave image and the scene content corresponding to each scene space.

[0042] The target dynamic water wave image refers to a set of images used to simulate the dynamic change of water waves in the entire large projection scene. The target dynamic water wave image is not a simple static picture, but can be a series of continuous and varied multi-frame images. For example, when simulating a calm water surface, the target dynamic water wave image will show a gentle scene of fine ripples rising on the water surface as the wind blows.

[0043] The scene content corresponding to each scene space refers to the entity scenery in the scene space, which is used to build a specific culture, theme, create a unique atmosphere or show a specific scene style, and is an indispensable entity element in the scene space. The scene content includes one or more scene markers, which are representative and easily identifiable objects in the scene space.

[0044] At step 230, a local water wave image corresponding to the first scene space is extracted from the target dynamic water wave image according to the scene content corresponding to the first scene space.

[0045] The first scene space is any scene space.

[0046] In some embodiments, the electronic device can perform feature recognition on the target dynamic water wave image to obtain visual features, and perform feature recognition on the scene content of the first scene space to obtain key features. Through an image recognition algorithm and a machine learning model, the electronic device compares and matches the visual features in the target dynamic water wave image with the key features of the scene content of the first scene space to determine which parts of the target dynamic water wave image best match the scene content of the first scene space in terms of visual features, and then determines the specific area of the first scene space in the target dynamic water wave image according to the floor area of the first scene space relative to the entire large projection scene. The specific area is segmented to obtain the local water wave image corresponding to the first scene space. Thus, the extracted local water wave image can highly restore the water wave effect expected to be presented by the first scene space.

[0047] At step 240, feature extraction is performed on the local water wave image to obtain image features, and a first water wave parameter and a first light and shadow parameter corresponding to the first scene space are determined according to the image features and the scene content corresponding to the first scene space.

[0048] The water wave parameter refers to a quantitative index for accurately describing the dynamic characteristics and physical properties of water waves. The water wave parameter determines the specific form and visual effect of water waves in a scene space. The water wave parameter can include at least one of a wave frequency, a water flow direction, a ripple density, and a water wave form.

[0049] The wave frequency refers to the number of complete periodic vibrations of water waves per unit time. The wave frequency directly affects the movement rhythm and visual perception of water waves. For example, high-frequency waves (such as multiple oscillations per second) will present a turbulent and rapidly fluctuating effect, while low-frequency waves (such as once per second or even slower) will exhibit a calm and soothing wave state.

[0050] The water flow direction refers to the flow path and movement trend of water waves in space. The ripple density refers to the number of water wave ripples per unit area, reflecting the complexity and delicacy of the water wave surface. For example, high ripple density means that the water wave surface is covered with dense and small ripples, which can create a delicate effect of a gentle breeze blowing on the water surface and a shimmering light. The water wave form refers to various geometric shapes and structural features that water waves present in space, such as circles, ellipses, wave shapes, and vortex shapes.

[0051] The light and shadow parameter is used to describe the light and shadow change effect of the scene content on the water wave surface, which is conducive to creating atmosphere and realism. The light and shadow parameter can include but is not limited to the shadow color and the shadow range of the scene content corresponding to the scene space on the water wave. The shadow color refers to the color characteristics of the shadow projected by the scene content on the water wave; and the shadow range refers to the area size and shape covered by the shadow of the scene content on the water wave surface.

[0052] In step 250, the electronic device maps the plurality of target projection lamps to the local water wave image according to the position information corresponding to each of the plurality of target projection lamps, to obtain projection content corresponding to each of the plurality of target projection lamps.

[0053] The projection content refers to the specific visual information presented when the target projection lamp projects onto the corresponding area of the local water wave image. The projection content can include but is not limited to the dynamic texture of the water wave, the gradient effect of the light and shadow, and special light and shadow patterns (such as flashing starlight and flowing lines).

[0054] In some embodiments, the electronic device can use a projection transformation algorithm (such as perspective projection or parallel projection) to map the projection range of the target projection lamp onto the local water wave image according to the position coordinates and the projection direction vector of the target projection lamp. The projection range mapped onto the local water wave image is segmented, and the projection range is divided into a plurality of sub-regions according to the number of target projection lamps and the projection requirements, each sub-region corresponding to a target projection lamp. The electronic device then generates the projection content corresponding to each target projection lamp in combination with the characteristics of the local water wave image and the scene content of the first scene space.

[0055] In step 260, the electronic device determines the projection parameters corresponding to each of the plurality of target projection lamps according to the first water wave parameter, the first light and shadow parameter, and the device hardware parameter corresponding to each of the plurality of target projection lamps.

[0056] The projection parameter refers to a quantitative index for controlling the working state and projection effect of the target projection lamp. The projection parameter can include but is not limited to brightness, color temperature, contrast, refresh rate, projection angle and range, distortion correction value, edge fusion weight, dynamic effect, zoom magnification, and other multi-dimensional parameters, which together determine the presentation effect of the projection content in the first scene content after being projected by the target projection lamp.

[0057] In some embodiments, the electronic device can construct a water wave-projection mapping model, a light and shadow-projection fusion model, and a hardware-parameter adaptation model. The water wave-projection mapping model includes the mapping relationship between the water wave parameter and the projection parameter. The light and shadow-projection fusion model can adjust the projection parameter by analyzing the light and shadow parameter in the scene, so that the light and shadow effect of the projection content approaches the target effect. The hardware-parameter adaptation model can limit the projection parameter within the achievable range of the projection lamp.

[0058] Optionally, the electronic device can input the first water wave parameter into the water wave-projection mapping model, calculate the initial value of the projection parameter, such as the preliminary range of the parameters of brightness, contrast, projection angle, etc., which is suitable for the first water wave parameter according to the correlation in the model. Then the first light and shadow parameter is substituted into the light and shadow-projection fusion model, and the projection parameter is further adjusted in combination with the result of the water wave-projection mapping model, so that the projection content is more integrated with the actual light and shadow environment. The electronic device also matches and adapts the calculated projection parameter with the device hardware parameter of the target projection lamp, so that the projection parameter is optimized and adjusted without exceeding the hardware performance limit of the projection lamp, ensuring that the projection parameter can be realized on the actual device, thereby obtaining the projection parameter of each target projection lamp after optimization and adjustment.

[0059] Step 270, controlling each target projection lamp to project the corresponding projection content according to the corresponding projection parameter.

[0060] In some embodiments, the electronic device can generate the control instruction corresponding to each target projection lamp according to the projection content and the projection parameter corresponding to each target projection lamp, and send the control instruction corresponding to each target projection lamp to the corresponding target projection lamp, so that each target projection lamp projects the corresponding projection content according to the corresponding projection parameter, thereby displaying the corresponding local water wave image on the first scene space.

[0061] In the embodiments of the present application, the electronic device extracts the local water wave image corresponding to different scene spaces, and determines the corresponding water wave parameter and light and shadow parameter, so that the projection content and the projection parameter of the projection lamp are integrated with the scene space depth, so that the projection lamp presents a projection effect with ornamental and immersive feeling; at the same time, by combining the projection lamp position and the device hardware parameter of the projection lamp to distribute the projection content and the projection parameter, it can ensure that the pictures of each scene space projected by multiple projection lamps are consistent and coordinated, avoiding the phenomenon that the projection effects presented by multiple scene spaces are re-pictured fragmented, so that multiple projection lamps can present water wave effects matched with multiple scene spaces, and also ensure the smoothness of the water wave images of different scene spaces projected.

[0062] In some embodiments, as shown in Figure 3 According to the image features and the scene content corresponding to the first scene space, the first water wave parameter and the first light and shadow parameter corresponding to the first scene space are determined, and steps 302-304 can also be included.

[0063] Step 302, determining the water wave region in the local water wave image according to the image features, and determining the first water wave parameter corresponding to the first scene space according to the image features of the water wave region.

[0064] The water wave region refers to an image region in the local water wave image that presents dynamic characteristics of water waves (such as wave fluctuation, change of reflected light and shadow, etc.).

[0065] In some embodiments, the electronic device can determine the frequency, period, and wavelength in the first water wave parameter corresponding to the first scene space by using frequency domain analysis (such as Fourier transform), determine the water flow direction by means of texture direction or motion vector statistics, and estimate the reflectivity and transmissivity according to the light reflection and transmission phenomenon combined with the radiology principle, so as to comprehensively obtain the water wave parameters reflecting the dynamic, morphological, and optical characteristics of water waves.

[0066] In step 304, the light and shadow reflection between the scene content and the water wave region corresponding to the first scene space is simulated based on the ray tracing algorithm according to the scene content and the water wave region corresponding to the first scene space, to obtain the first light and shadow parameter corresponding to the first scene space.

[0067] The ray tracing algorithm is an algorithm for calculating the lighting effect on the surface of an object by simulating the propagation path of light. The ray tracing algorithm can emit light from the viewpoint (water wave region) to the scene content of the first scene space, recursively track the reflected and refracted light, to simulate the reflection, refraction, absorption, and other light and shadow effects between the water wave region and the scene content.

[0068] Optionally, the light and shadow reflection between the scene content and the water wave region is quantified according to the simulated light and shadow reflection, to obtain the first light and shadow parameter corresponding to the first scene space.

[0069] In the embodiments of the present application, the electronic device accurately locates the water wave region in the local water wave image by image feature, then comprehensively uses frequency domain analysis to obtain accurate first water wave parameters, and simulates the complex light and shadow interaction (reflection, refraction, absorption, etc.) between the water wave region and the scene content by the ray tracing algorithm, to obtain accurate first light and shadow parameters, thereby providing reliable and accurate data support for subsequent calculation of projection content and projection parameters.

[0070] In some embodiments, as shown in FIG. 4, the step of extracting the local water wave image corresponding to the first scene space from the target dynamic water wave image according to the scene content corresponding to the first scene space can further include steps 402-406. Figure 4

[0071] In step 402, the type and horizontal position coordinates of each scene marker included in the first scene space are obtained.

[0072] The type of the scene marker can include but is not limited to a vehicle, a building, a plant, etc. For example, the types of the scene markers grass boat and bamboo raft are both vehicles; the type of the scene marker bridge is a building; and the type of the scene marker reed is a plant. ​

[0073] Optionally, the types corresponding to different scene markers produce different water waves and light and shadow on the water surface.

[0074] Taking a bridge as an example, since the bridge changes the local water flow direction and speed, a vortex and a complex water wave pattern are formed around the bridge piers; and since the bridge body blocks and reflects light, alternating light and dark areas are produced on the water surface.

[0075] Optionally, even the same type of scene marker can produce different water waves and light and shadow. For example, bridges of different architectural styles (such as arch bridges and beam bridges) and materials (such as stone bridges and steel bridges) have different water wave and light and shadow effects.

[0076] In some embodiments, the electronic device can establish a two-dimensional plane rectangular coordinate system with a certain reference point (such as the top left corner vertex, the center point, etc.) in the first scene space as the coordinate origin from the overhead perspective, to obtain the position coordinates of each scene marker on the horizontal plane.

[0077] Step 404, according to the position information of the first scene space in one or more scene spaces, the target dynamic water wave image is segmented to obtain a first water wave image corresponding to the first scene space.

[0078] The first water wave image is a subset of the target dynamic water wave image, and contains the water wave dynamic information in the region where the first scene space is located.

[0079] Since there are various scene markers in the scene space, these scene markers will produce complex water wave disturbances and influences on the water surface, and further trigger water wave changes. If the first water wave image obtained by directly segmenting the target dynamic water wave image according to the position information of the first scene space is taken as a local water wave scene, only the corresponding relationship of the spatial position is considered, the actual effect of the scene marker on the water wave is ignored, and the subsequent target projection lamp projection cannot be matched with the scene marker in the first scene space.

[0080] Step 406, according to the type and corresponding position coordinates of each scene marker, the first water wave image is processed to generate a local water wave image corresponding to the first scene space, and the local water wave image contains water wave ripples centered on each scene marker.

[0081] In some embodiments, the electronic device can correct and optimize the water wave pattern, wave intensity, propagation direction, etc. in the first water wave image according to the type, position coordinates of the scene marker, and the interaction law of the scene marker and the water surface, to generate a local water wave image more consistent with the first scene space.

[0082] Optionally, in the case that the distance between the two scene markers is less than the preset distance, the water ripples centered on the two scene markers respectively will merge to form new ripples, and when generating the local water wave image corresponding to the first scene space, the first water wave image needs to be adjusted to an image containing the merged water ripples.

[0083] In the embodiments of the present application, the electronic device first divides the first water wave image corresponding to the first scene space through the scene marker types and position coordinates in the first scene space, and then generates a local water wave image that is highly consistent with the first scene space and contains the marker center water ripples by combining the marker types, positions and interaction rules for correction and optimization, thereby ensuring accurate matching between subsequent projection and scene markers, improving the authenticity and accuracy of water wave simulation, and enhancing the immersion and visual effect of the related scene space.

[0084] As shown in FIG. 1, Figure 5 In one embodiment, a scene projection method is provided, which can be applied to the above-mentioned electronic device. The method can include the following steps 502-510.

[0085] Step 502, receive the distance data sent by each scene marker, which is collected by the distance sensor arranged in the scene marker.

[0086] In some embodiments, a distance sensor can be arranged on each scene marker, which is used to detect the distance between the tourists within a preset range and the scene marker. The available distance sensors include but are not limited to ultrasonic sensors, infrared sensors, laser radars, etc.

[0087] Optionally, the distance sensor arranged in the scene marker can send the collected distances between all tourists within a preset range and the scene marker to the electronic device.

[0088] Step 504, determine the minimum distance between each scene marker and the tourists according to the distance data corresponding to each scene marker.

[0089] Optionally, for the distance data sent by each scene marker, the electronic device can sort the distance data in order from small to large to determine the minimum distance between each scene marker and the tourists.

[0090] Step 506, in the case that the minimum distance corresponding to the target scene marker is less than the distance threshold, obtain the preset projection image corresponding to the target scene marker; the target scene marker is any scene marker in the first scene space.

[0091] If the minimum distance to the target scene landmark is less than the distance value, it indicates that a tourist is approaching and viewing the target scene landmark, which means that the tourist is interested in the target scene landmark. In this case, a preset projection image corresponding to the target scene landmark can be shown to the tourist to introduce relevant information about the target scene landmark or scene space, thereby enhancing the tourist's awareness and experience of the scene landmark.

[0092] Step 508: Adjust the projection parameters and projection content of each target projection lamp according to the image parameters corresponding to the preset projection image and the device hardware parameters corresponding to the multiple target projection lamps.

[0093] The adjustment of the projection parameters and projection content corresponding to each target projection lamp in step 508 can be referred to the relevant descriptions of generating the projection parameters and projection content corresponding to each target projection lamp in steps 250 to 250 above, and will not be repeated here.

[0094] Step 510: Control each target projection lamp to project the adjusted content according to the adjusted projection parameters.

[0095] The electronic device sends control commands to each target projection lamp so that each target projection lamp projects the adjusted projection content according to the adjusted projection parameters, and displays the preset projection image corresponding to the target scene landmark around the target scene landmark.

[0096] In this embodiment, when the electronic device detects that a tourist is approaching a target scene landmark (i.e., the minimum distance is less than the preset distance), it controls the target projection lamp to display a preset projection image by dynamically adjusting the projection parameters and projection content. This achieves precise interactive projection for the tourist's points of interest, enhancing the tourist's cognitive experience of the scene landmark and the sense of immersion in the tour.

[0097] like Figure 6 As shown, in one embodiment, a scene projection method is provided, which can be applied to the aforementioned electronic device. The method may include steps 602 to 608.

[0098] Step 602: Obtain the current environmental data of the first scene space.

[0099] Environmental data refers to parameters that reflect the natural environmental conditions of the primary scene space. Environmental data may include, but is not limited to, wind speed, wind volume, and wind direction.

[0100] In actual scenarios, environmental factors can affect the actual water surface, causing water wave changes. For example, the greater the wind speed and the stronger the wind, the greater the wave frequency and the greater the ripple density. The wind direction can affect the water flow direction. Therefore, in some embodiments, sensors can be provided in each scene space. When the sensors detect changes in the collected environmental data, the sensors send the environmental data to the electronic device, so that the electronic device can adjust the water wave image by receiving the environmental data sent by the sensors. The sensors that can be used include wind speed sensors, wind direction sensors, and the like.

[0101] At step 604, the local water wave image corresponding to the first scene space is adjusted according to the environmental data, and a new dynamic water wave image of the first scene space is constructed.

[0102] In some embodiments, the electronic device can adjust the local water wave image of the first scene space according to the influence of various environmental data on the water wave. For example, the water flow direction is adjusted according to the wind direction, so that the adjusted water flow direction is the same as the wind direction.

[0103] At step 606, the first water wave parameter and the first light and shadow parameter corresponding to the first scene space are dynamically adjusted according to the new dynamic water wave image of the first scene space.

[0104] The related description of generating the first water wave parameter and the first light and shadow parameter according to the new dynamic water wave image in step 606 can refer to the related description of generating the first water wave parameter and the first light and shadow parameter according to the local water wave image in step 240 of the above-mentioned embodiments, which will not be described here.

[0105] At step 608, based on the adjusted first water wave parameter and the first light and shadow parameter of the first scene space, the projection content and the projection parameter corresponding to each target projection lamp are adjusted, and each target projection lamp is controlled to project the adjusted projection content according to the adjusted projection parameter, so that the first scene space presents a new dynamic water wave image.

[0106] In the embodiments of the present application, the electronic device obtains environmental data, and more accurately simulates and processes the water wave image of the first scene space according to the environmental data, so that the water wave image generated by the projection lamp is more consistent with the actual water wave change in the actual scene, thereby improving the visual effect and immersion of the entire scene space.

[0107] As shown in FIG. 7, Figure 7 In one embodiment, a scene projection method is provided, which can be applied to the above-mentioned electronic device. The method can include the following steps 702~708.

[0108] At step 702, the working state corresponding to each projection lamp is obtained at a preset time interval.

[0109] The working state corresponding to the projection lamp refers to various operating indexes presented by the projection lamp in the projection process. The working state can include, but is not limited to, a device operating state (whether the projection lamp is normally powered on, whether it is in standby mode, whether it is unexpectedly powered off, etc.), an optical performance state (for example, brightness, contrast, color saturation, color temperature, etc.), a timing control state (a state in which the projection lamp projects according to a preset timing logic), a heat dissipation state, a communication state, and the like.

[0110] In some embodiments, each projection lamp can send information containing the working state to the electronic device at a preset time interval, so that the electronic device can obtain the working state corresponding to each projection lamp at a preset time interval, so that the electronic device can grasp the running condition of the projection lamp in real time and dynamically, and discover potential problems in time. By regular monitoring, the trend of performance degradation of the projection lamp, such as gradual decrease in brightness, can be discovered in advance, so as to arrange maintenance in advance; sudden failures can also be responded quickly, and measures are taken immediately when the projection lamp is abnormal, so as to avoid the expansion of the failure to affect the projection effect of the entire scene space.

[0111] Step 704, in a case where it is detected that the working state corresponding to the first projection lamp does not meet the projection condition, one or more second projection lamps adjacent to the first projection lamp are determined.

[0112] The first projection lamp is any projection lamp; and the projection range of the one or more second projection lamps covers the projection range of the first projection lamp. The working state corresponding to the first projection lamp not meeting the projection condition indicates that the running condition of the first projection lamp cannot meet the performance and functional requirements required for normal projection.

[0113] The working state not meeting the projection condition can include two cases, hardware failure and software failure. Among them, the hardware failure refers to damage or abnormality of the hardware of the projection lamp itself, for example, damage of the light source (bulb, laser diode, etc.) to cause failure to emit light, breakage, displacement or contamination of the optical element (lens, reflector, etc.) to affect imaging, circuit system (power supply, drive, control circuit, etc.) open circuit, short circuit or element aging, and heat dissipation system failure to cause overheating protection shutdown, etc. The software failure refers to problems in the software running or control link of the projection lamp, for example, timing control module failure to cause abnormal picture switching, communication abnormality to cause interruption of instruction transmission, color correction deviation to cause picture color distortion, etc.

[0114] At this time, in order to avoid the situation that the projection area of the first projection lamp is blank, the picture is abnormal, or does not match the overall scene, and the like due to the failure of the first projection lamp, thereby destroying the visual coherence and immersion of the entire scene space, and reducing the viewing experience of the audience, the electronic device can determine one or more second projection lamps covering the projection range of the first projection lamp, so as to compensate for the projection loss or abnormality caused by the failure of the first projection lamp through the one or more second projection lamps covering the projection range of the first projection lamp, ensure that the region can normally display the projection content, and maintain the integrity and consistency of the entire scene projection effect.

[0115] In step 706, the projection parameters and the projection content corresponding to each second projection lamp are adjusted according to the device hardware parameters corresponding to each second projection lamp.

[0116] The adjustment of the projection parameters and the projection content corresponding to each second projection lamp in step 706 can refer to the related description of generating the projection parameters and the projection content corresponding to each target projection lamp in steps 250-250 described above, and will not be described here again.

[0117] In step 708, each second projection lamp is controlled to project the adjusted projection content according to the adjusted projection parameters.

[0118] After adjusting the projection parameters and the projection content corresponding to each second projection lamp, the electronic device can control each second projection lamp to project the projection content according to the adjusted projection parameters through a control instruction, so that each second projection lamp can replace the first projection lamp to project.

[0119] In the embodiments of the present application, the electronic device can master the running situation of each projection lamp in real time by dynamically obtaining the working state of the projection lamp, and can anticipate the performance decline trend in advance to maintain in time and quickly respond to sudden failures to avoid the impact of expansion. When the electronic device detects that the working state of the projection lamp does not meet the projection condition, the second projection lamp adjacent to and covering the fault lamp (the first projection lamp) is quickly determined, the second projection lamp is controlled to replace the fault lamp to project, the projection loss or abnormality is effectively compensated, the scene projection integrity and consistency are maintained, the emergency handling level of the electronic device is improved, and the projection effect is always coherent in complex and variable scenes, thereby bringing a smooth and immersive viewing experience to the audience.

[0120] As shown in FIG. Figure 8 In one embodiment, a scene projection method is provided, which can be applied to the above-mentioned electronic device. The method can include the following steps 802-810.

[0121] In step 802, the movement data corresponding to the target visitor in the first scene space is received by the camera and / or radar.

[0122] In a large projection scene, multiple cameras or radars can be arranged to monitor the movement of tourists in each scene space from multiple directions.

[0123] In some embodiments, the cameras or radars can randomly select one tourist in the first scene space as a target tourist, and send the movement data of the target tourist in the first scene space to the electronic device, so that the electronic device receives the movement data corresponding to the target tourist.

[0124] Alternatively, the cameras or radars can also select N tourists as target tourists, but in order to avoid the problem of mutual interference, inaccurate collection and unstable tracking caused by focusing on multiple close targets, the distance between the N target tourists needs to be greater than the tourist distance threshold.

[0125] The movement data corresponding to the target tourist refers to a set of data that can reflect the behavior characteristics of the target tourist in the first scene space, such as moving track, speed, direction, and stay position. The movement data can include but is not limited to position coordinate data, moving speed data, moving direction data, and stay time data.

[0126] Step 804, according to the movement data corresponding to the target tourist, the water wave area in the current local water wave image is motion predicted to obtain the next frame of local water wave image.

[0127] In a real water environment, the movement of tourists (such as stepping into the water, moving limbs in the water, etc.) will trigger the generation and propagation of water waves. The water waves will change dynamically and continuously according to the action amplitude, direction and position of the tourists. In order to restore this real experience when simulating water wave effect in a projection scene, it is necessary to motion predict the water wave area in the current local water wave image according to the movement data corresponding to the target tourist.

[0128] In some embodiments, the electronic device can construct a virtual projection scene and use the shallow water wave equation to simulate water waves. When detecting that the target tourist steps into the water at the water edge, the position where the target tourist steps into the water is taken as the initial disturbance source of the water wave, and the force of stepping in is converted into an external force term in the equation. The shallow water wave equation is numerically solved by finite difference method, and the change of water level height at each grid point is calculated. Then, the water wave image with ripple effect is generated according to the water level height, so as to obtain the next frame of local water wave image.

[0129] Step 806, based on the next frame of local water wave image, the second water wave parameter and the second light shadow parameter corresponding to the first scene space are determined.

[0130] In step 806, the second water wave parameter and the second light shadow parameter are generated based on the local water wave image of the next frame. For details, refer to the description of generating the first water wave parameter and the first light shadow parameter in step 240 in the above embodiments, which will not be repeated here.

[0131] In step 808, the next projection content and the next projection parameter corresponding to each target projection lamp are determined according to the second water wave parameter, the second light shadow parameter, and the device hardware parameter corresponding to each target projection lamp.

[0132] In step 808, the next projection parameter and the next projection content corresponding to each target projection lamp are generated. For details, refer to the description of steps 250-260 above, which will not be repeated here.

[0133] In step 810, each target projection lamp is controlled to project the corresponding next projection content according to the corresponding next projection parameter.

[0134] The electronic device can control each target projection lamp to project the corresponding next projection content according to the corresponding next projection parameter, so as to display the local water wave image of the next frame in the first scene space.

[0135] In the embodiments of the present application, the electronic device realizes water wave motion prediction and image generation by receiving the movement data of the target visitor, dynamically determines the projection parameter and the projection content of the projection lamp according to the movement data, and controls the projection lamp to project in real time, thereby restoring the real water wave and visitor interaction effect, improving the immersion, authenticity, and interactivity of the projection scene space, and bringing a novel and high-quality viewing experience to the audience.

[0136] As shown in FIG. 1, Figure 9 In one embodiment, a scene projection method is provided, which can be applied to the above electronic device. The method can include the following steps 902-912.

[0137] In step 902, a knocking signal corresponding to a second scene space is received. The knocking signal is sent by a knocking sensor arranged in a preset knocking area of the second scene space. The second scene space can be any scene space.

[0138] In some embodiments, in order to increase the interactivity with the visitor, the second scene space can be provided with a preset knocking area, and the knocking sensor is arranged in the preset knocking area. The visitor can change the water wave image of the second scene space by knocking the knocking sensor.

[0139] Optionally, the knocking sensor can be arranged inside a flexible material with certain elasticity and buffering performance. This design can effectively reduce the impact force on the hands of the visitor when knocking, avoid injury of the visitor due to forceful knocking, and also increase the comfort of knocking.

[0140] In step 904, a preset water wave image corresponding to the second scene space is obtained, and third water wave parameters and third light and shadow parameters corresponding to the second scene space are determined according to the preset water wave image corresponding to the second scene space.

[0141] The preset water wave image corresponding to the second scene space is different from the local water wave image corresponding to the second scene space. The preset water wave image corresponding to the second scene space refers to an image of a preset basic form, dynamic effect and related features of water wave presented when there is a tourist interaction or a specific triggering event (such as the knocking event in step 902).

[0142] In step 904, the related description of generating the third water wave parameters and the third light and shadow parameters according to the preset water wave image can refer to the related description of generating the first water wave parameters and the first light and shadow parameters according to the local water wave image in step 240 of the above-mentioned embodiments, which will not be repeated here.

[0143] In step 906, fourth water wave parameters and fourth light and shadow parameters corresponding to each third scene space are generated according to the preset water wave image corresponding to the second scene space and the local water wave images corresponding to each third scene space adjacent to the second scene space.

[0144] In a large projection scene, each scene space does not exist in isolation, but is related and influenced by each other. When the second scene space changes from the local water wave image to the preset water wave image due to the interaction of the tourists knocking and the like, this change will affect the water wave image of the third scene space adjacent to it, just like the propagation of water waves in real water areas. In order to avoid unnatural connection, effect conflict or physical logic error (such as sudden disappearance of water wave of the second scene space at the scene boundary, unreasonable refraction or reflection, etc.) of the water wave image projected by the adjacent scene space, it is necessary to adjust the water wave image of the third scene space according to the current preset water wave image state of the second scene space and the original local water wave image of the third scene space, generate appropriate fourth water wave parameters and fourth light and shadow parameters, so as to realize the natural diffusion and transition of the water wave of the second scene space between adjacent scene spaces, and maintain the consistency and coherence of the visual effect of the scene.

[0145] In step 908, based on the third water wave parameters, the third light and shadow parameters, and the device hardware parameters corresponding to the plurality of third projection lamps arranged in the second scene space, the projection parameters and the projection content corresponding to the plurality of third projection lamps are determined respectively.

[0146] In step 910, based on the fourth water wave parameters corresponding to each third scene space, the fourth light and shadow parameters corresponding to each third scene space, and the device hardware parameters corresponding to the plurality of fourth projection lamps arranged in each third scene space, the projection parameters and the projection content corresponding to the plurality of fourth projection lamps are determined respectively.

[0147] The descriptions of the projection parameters and projection content generated for the third projection lamp in step 908, and the descriptions of the projection parameters and projection content generated for the fourth projection lamp in step 910, can all refer to the descriptions of the projection parameters and projection content generated for each target projection lamp in steps 250 to 250 above, and will not be repeated here.

[0148] Step 912: Control each third projection lamp to project the corresponding content according to the corresponding projection parameters, and control each fourth projection lamp to project the corresponding content according to the corresponding projection parameters, so as to display the preset water wave image in the second scene space, and display the water wave image with ripple diffusion in the intersection area of ​​the second scene space and each third scene space.

[0149] In this embodiment, the electronic device triggers water ripple changes in the scene space by receiving tapping signals from tourists, and adapts the water ripple images of adjacent scene spaces to achieve coordinated projection by each projection lamp. While triggering the display of preset water ripple images in the second scene space, a naturally diffused ripple image is presented in the intersection area of ​​the second and third scene spaces, enhancing the interactivity between tourists and the projected scene spaces, making the transition of water ripple effects in different scene spaces natural and coherent, and bringing tourists a more realistic and interesting experience.

[0150] like Figure 10 As shown, in one embodiment, a scene projection device 1000 is provided, which can be applied to the above-mentioned electronic device. The scene projection device 1000 may include a data acquisition module 1010, an image generation module 1020, a scene parameter generation module 1030, a projection parameter generation module 1040, and a projection control module 1050.

[0151] The data acquisition module 1010 is used to acquire device data corresponding to each projection lamp. The device data includes the location information of the projection lamp and the device hardware parameters.

[0152] The data acquisition module 1010 is also used to acquire dynamic water wave images of the target and scene content corresponding to each scene space.

[0153] The image generation module 1020 is used to extract the local water wave image corresponding to the first scene space from the target dynamic water wave image based on the scene content corresponding to the first scene space, where the first scene space is any scene space.

[0154] The scene parameter generation module 1030 is used to extract features from local water wave images to obtain image features, and to determine the first water wave parameters and the first light and shadow parameters corresponding to the first scene space based on the image features and the scene content corresponding to the first scene space.

[0155] The projection parameter generation module 1040 is configured to map the plurality of target projection lamps to the local water wave image according to position information corresponding to the plurality of target projection lamps respectively arranged in the first scene space, to obtain projection content corresponding to the plurality of target projection lamps respectively.

[0156] The projection parameter generation module 1040 is further configured to determine the projection parameters corresponding to the plurality of target projection lamps according to the first water wave parameter, the first light and shadow parameter, and device hardware parameters corresponding to the plurality of target projection lamps.

[0157] The projection control module 1050 is configured to control each target projection lamp to project the corresponding projection content according to the corresponding projection parameter.

[0158] In some embodiments, the scene parameter generation module 1030 is further configured to determine a water wave region in the local water wave image according to the image feature, and determine the first water wave parameter corresponding to the first scene space according to the image feature of the water wave region; simulate light and shadow reflection between the scene content corresponding to the first scene space and the water wave region according to the scene content corresponding to the first scene space and the water wave region based on a light ray tracing algorithm, to obtain the first light and shadow parameter corresponding to the first scene space; wherein the water wave parameter includes at least one of a wave frequency, a water flow direction, a ripple density, and a water wave form; and the light and shadow parameter includes a shadow color and a shadow range of the scene content corresponding to the scene space on the water wave.

[0159] Optionally, the scene content includes one or more scene markers. The image generation module 1020 is further configured to obtain a type and a horizontal position coordinate of each scene marker included in the first scene space; segment the target dynamic water wave image according to position information of the first scene space in one or more scene spaces, to obtain the first water wave image corresponding to the first scene space; and process the first water wave image according to the type and the corresponding position coordinate of each scene marker, to generate the local water wave image corresponding to the first scene space, the local water wave image including water wave ripples centered on each scene marker.

[0160] Optionally, the scene marker includes a distance sensor. In some embodiments, the scene projection device 1000 further includes a receiving module. The receiving module is configured to receive distance data sent by each scene marker, the distance data being collected by the distance sensor arranged in the scene marker.

[0161] Optionally, the image generation module 1020 is further configured to determine a minimum distance between each scene marker and the visitor according to distance data corresponding to each scene marker; and acquire a preset projection image corresponding to the target scene marker in a case where the minimum distance corresponding to the target scene marker is less than a distance threshold; the target scene marker is any scene marker in the first scene space.

[0162] Optionally, the projection parameter generation module 1040 is further configured to adjust the projection parameters and the projection content corresponding to each target projection lamp according to the image parameters corresponding to the preset projection image and the device hardware parameters corresponding to the plurality of target projection lamps.

[0163] Optionally, the projection control module 1050 is further configured to control each target projection lamp to project the adjusted projection content according to the adjusted projection parameters.

[0164] In some embodiments, the data acquisition module 1010 is further configured to acquire environmental data of the first scene space.

[0165] Optionally, the image generation module 1020 is further configured to perform image adjustment on a local water wave image corresponding to the first scene space according to the environmental data, and construct a new dynamic water wave image of the first scene space.

[0166] Optionally, the scene parameter generation module 1030 is further configured to dynamically adjust the first water wave parameters and the first light and shadow parameters corresponding to the first scene space according to the new dynamic water wave image of the first scene space.

[0167] Optionally, the projection parameter generation module 1040 is further configured to adjust the projection content and the projection parameters corresponding to each target projection lamp based on the adjusted first water wave parameters and the first light and shadow parameters of the first scene space.

[0168] Optionally, the projection control module 1050 is further configured to control each target projection lamp to project the adjusted projection content according to the adjusted projection parameters, so that the first scene space presents a new dynamic water wave image.

[0169] In some embodiments, the receiving module is further configured to acquire the working state of each projection lamp at a preset time interval.

[0170] Optionally, the projection parameter generation module 1040 is further configured to determine one or more second projection lamps adjacent to the first projection lamp in a case where the working state corresponding to the first projection lamp does not meet the projection condition; the first projection lamp is any projection lamp; the projection range of the one or more second projection lamps covers the projection range of the first projection lamp; and adjust the projection parameters and the projection content corresponding to each second projection lamp according to the device hardware parameters corresponding to each second projection lamp.

[0171] Optionally, the projection control module 1050 is further configured to control each of the second projection lamps to project the adjusted projection content according to the adjusted projection parameters.

[0172] In some embodiments, the receiving module is further configured to receive movement data corresponding to the target visitor in the first scene space collected by the camera and / or the radar.

[0173] Optionally, the image generation module 1020 is further configured to perform motion prediction on the water wave region in the current local water wave image according to the movement data corresponding to the target visitor, to obtain a next frame of local water wave image.

[0174] Optionally, the scene parameter generation module 1030 is further configured to determine second water wave parameters and second light and shadow parameters corresponding to the first scene space based on the next frame of local water wave image.

[0175] Optionally, the projection parameter generation module 1040 is further configured to determine next projection content and next projection parameters corresponding to each of the target projection lamps according to the second water wave parameters, the second light and shadow parameters, and device hardware parameters corresponding to each of the target projection lamps.

[0176] Optionally, the projection control module 1050 is further configured to control each of the target projection lamps to project the corresponding next projection content according to the corresponding next projection parameters.

[0177] In some embodiments, the receiving module is further configured to receive a knocking signal corresponding to a second scene space, the knocking signal being sent by a knocking sensor arranged in a preset knocking area of the second scene space; the second scene space being any scene space.

[0178] Optionally, the scene parameter generation module 1030 is further configured to obtain a preset water wave image corresponding to the second scene space, and determine third water wave parameters and third light and shadow parameters corresponding to the second scene space according to the preset water wave image corresponding to the second scene space; the preset water wave image corresponding to the second scene space being different from the local water wave image corresponding to the second scene space; and further configured to generate fourth water wave parameters and fourth light and shadow parameters corresponding to each of third scene spaces adjacent to the second scene space according to the preset water wave image corresponding to the second scene space and the local water wave image corresponding to each of the third scene spaces.

[0179] Optionally, the projection parameter generation module 1040 is further configured to determine the projection parameters and the projection content corresponding to the third projection lamps based on the third water wave parameters, the third light and shadow parameters, and the device hardware parameters corresponding to the third projection lamps arranged in the second scene space; and determine the projection parameters and the projection content corresponding to the fourth projection lamps based on the fourth water wave parameters corresponding to each third scene space, the fourth light and shadow parameters corresponding to each third scene space, and the device hardware parameters corresponding to the fourth projection lamps arranged in each third scene space.

[0180] Optionally, the projection control module 1050 is further configured to control the third projection lamps to project the corresponding projection content according to the corresponding projection parameters, and control the fourth projection lamps to project the corresponding projection content according to the corresponding projection parameters, so as to display the preset water wave image in the second scene space and display the water wave image diffused in waves in the intersection area of the second scene space and the third scene spaces.

[0181] In the embodiments of the present application, the electronic device extracts the local water wave images corresponding to different scene spaces, and determines the corresponding water wave parameters and light and shadow parameters, so that the projection content and the projection parameters of the projection lamps are integrated with the depth of the scene space, so that the projection lamps present a projection effect with ornamental and immersive feeling. At the same time, by combining the projection lamp positions and the device hardware parameters of the projection lamps to distribute the projection content and the projection parameters, it can ensure that the pictures of the scene spaces projected by the multiple projection lamps are consistent and coordinated, avoiding the phenomenon that the projection effects presented by the multiple scene spaces are fragmented, so that the multiple projection lamps can present the water wave effect matched with the multiple scene spaces, and also ensure the smoothness of the water wave images of the different scene spaces projected.

[0182] Figure 11 FIG. 11 is a structural block diagram of an electronic device in an embodiment. The electronic device can be a mobile phone, a tablet computer, a smart wearable device, or the like. As shown in FIG. 11, the electronic device 1100 can include one or more of the following components: a processor 1110, a memory 1120 coupled to the processor 1110, wherein the memory 1120 can store one or more computer programs, and the one or more computer programs can be configured to be executed by the one or more processors 1110 to implement the methods described in the above embodiments. Figure 11

[0183] Embodiments of the present application disclose a computer readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method described in the above embodiments.

[0184] Embodiments of the present application disclose a computer program product comprising a computer program, and the computer program can be executed by a processor to implement the method described in the above embodiments. ​

[0185] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), and the like.

[0186] It should be understood that "in one embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0187] The technical features of the above-mentioned embodiments can be combined in any manner. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described, however, as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present disclosure.

[0188] The above-mentioned integrated units, if realized in the form of software function units and sold or used as independent products, can be stored in a computer accessible memory. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of parts or all steps of the above-mentioned methods of the embodiments of the present application for enabling a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in the computer device) to perform the above-mentioned methods.

[0189] The above describes in detail a scene projection method, device, electronic device and computer readable storage medium disclosed by the embodiments of the present application. The principle and implementation manner of the present application are described by applying specific examples. The above embodiment description is only used to help understand the method and core idea of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range can be changed. In summary, the content of the specification should not be understood as a limitation of the present application.

Claims

1. A scene projection method, characterized in that, Applied to electronic devices, which are communicatively connected to multiple projection lamps; The plurality of projection lights are positioned within one or more scene spaces; the method includes: Obtain device data corresponding to each of the projection lamps, wherein the device data includes the location information of the projection lamps and the device hardware parameters; Acquire dynamic water wave images of the target and the scene content corresponding to each of the aforementioned scene spaces; Based on the scene content corresponding to the first scene space, extract the local water wave image corresponding to the first scene space from the target dynamic water wave image, wherein the first scene space is any of the scene spaces. Feature extraction is performed on the local water wave image to obtain image features, and based on the image features and the scene content corresponding to the first scene space, the first water wave parameters and the first light and shadow parameters corresponding to the first scene space are determined. Based on the position information of multiple target projection lights set in the first scene space, the multiple target projection lights are mapped onto the local water wave image to obtain the projection content corresponding to the multiple target projection lights. Based on the first water wave parameters, the first light and shadow parameters, and the device hardware parameters corresponding to the plurality of target projection lights, the projection parameters corresponding to the plurality of target projection lights are determined. Each of the target projection lights is controlled to project its corresponding content according to its corresponding projection parameters.

2. The method according to claim 1, characterized in that, The step of determining the first water wave parameters and the first light and shadow parameters corresponding to the first scene space based on the image features and the scene content corresponding to the first scene space includes: The water wave region in the local water wave image is determined based on the image features, and the first water wave parameter corresponding to the first scene space is determined based on the image features of the water wave region. Based on the ray tracing algorithm, according to the scene content corresponding to the first scene space and the water wave area, the light and shadow reflection between the scene content corresponding to the first scene space and the water wave area is simulated to obtain the first light and shadow parameters corresponding to the first scene space. The water wave parameters include at least one of wave frequency, water flow direction, ripple density, and water wave shape; the light and shadow parameters include the shadow color and shadow range of the scene content corresponding to the scene space on the water waves.

3. The method according to claim 1, characterized in that, The scene content includes one or more scene markers; the step of extracting the local water wave image corresponding to the first scene space from the target dynamic water wave image based on the scene content corresponding to the first scene space includes: Obtain the type and position coordinates on the horizontal plane of each scene marker contained in the first scene space; Based on the location information of the first scene space in the one or more scene spaces, the target dynamic water wave image is segmented to obtain the first water wave image corresponding to the first scene space. Based on the type and location coordinates of each scene marker, the first water wave image is processed to generate a local water wave image corresponding to the first scene space. The local water wave image contains water ripples centered on each scene marker.

4. The method according to claim 3, characterized in that, The scene markers include a distance sensor, and the method further includes: Receive distance data sent by each scene marker, the distance data being collected by distance sensors installed in the scene markers; Based on the distance data corresponding to each scene landmark, determine the minimum distance between each scene landmark and the tourist; If the minimum distance to a target scene marker is less than a distance threshold, a preset projection image corresponding to the target scene marker is acquired; the target scene marker is any scene marker in the first scene space. Based on the image parameters corresponding to the preset projected image and the device hardware parameters corresponding to the multiple target projectors, adjust the projection parameters and projection content of each target projector. Control each of the target projection lights to project the adjusted content according to the adjusted projection parameters.

5. The method according to claim 1, characterized in that, The method further includes: Obtain the current environmental data of the first scene space; Based on the environmental data, the local water wave image corresponding to the first scene space is adjusted to construct a new dynamic water wave image of the first scene space. Based on the new dynamic water wave image of the first scene space, dynamically adjust the first water wave parameters and the first light and shadow parameters corresponding to the first scene space. Based on the first water wave parameters and first light and shadow parameters adjusted in the first scene space, the projection content and projection parameters corresponding to the plurality of target projectors are adjusted respectively, and each of the target projectors is controlled to project the adjusted projection content according to the adjusted projection parameters, so that the first scene space presents a new dynamic water wave image.

6. The method according to claim 1, characterized in that, The method further includes: The working status of each projection lamp is obtained according to a preset time interval; If the working state of the first projection lamp is found to be inconsistent with the projection conditions, one or more second projection lamps adjacent to the first projection lamp are identified; the first projection lamp is any projection lamp; the projection range of the one or more second projection lamps covers the projection range of the first projection lamp. Adjust the projection parameters and projection content of each second projection lamp according to the device hardware parameters of each second projection lamp; Control each of the second projection lamps to project the adjusted content according to the adjusted projection parameters.

7. The method according to claim 1, characterized in that, The method further includes: Receive movement data of the target tourist within the first scene space collected by cameras and / or radar; Based on the movement data corresponding to the target tourist, motion prediction is performed on the water wave region in the current local water wave image to obtain the next frame of local water wave image. Based on the local water wave image of the next frame, determine the second water wave parameters and the second light and shadow parameters corresponding to the first scene space; Based on the second water wave parameters, the second light and shadow parameters, and the device hardware parameters corresponding to the plurality of target projection lights, determine the next projection content and the next projection parameters corresponding to the plurality of target projection lights respectively; Each of the target projection lights is controlled to project the corresponding next projection content according to the corresponding next projection parameters.

8. The method according to claim 1, characterized in that, The method further includes: Receive a tapping signal corresponding to a second scene space, wherein the tapping signal is sent by a tapping sensor set in a preset tapping area of ​​the second scene space; the second scene space can be any scene space; Acquire a preset water wave image corresponding to the second scene space, and determine the third water wave parameters and the third light and shadow parameters corresponding to the second scene space based on the preset water wave image corresponding to the second scene space; the preset water wave image corresponding to the second scene space is different from the local water wave image corresponding to the second scene space. Based on the preset water wave image corresponding to the second scene space and the local water wave images corresponding to each third scene space adjacent to the second scene space, generate the fourth water wave parameters and the fourth light and shadow parameters corresponding to each of the third scene spaces. Based on the third water wave parameters, the third light and shadow parameters, and the device hardware parameters corresponding to the multiple third projection lights set in the second scene space, the projection parameters and projection content corresponding to the multiple third projection lights are determined respectively. Based on the fourth water wave parameters, the fourth light and shadow parameters corresponding to each of the third scene spaces, and the device hardware parameters corresponding to the multiple fourth projection lights set in each of the third scene spaces, the projection parameters and projection content corresponding to the multiple fourth projection lights are determined respectively. Each of the third projection lights is controlled to project its corresponding content according to its corresponding projection parameters, and each of the fourth projection lights is controlled to project its corresponding content according to its corresponding projection parameters, so as to display a preset water ripple image in the second scene space, and to display a water ripple image with ripple diffusion in the intersection area of ​​the second scene space and each of the third scene spaces.

9. A scene projection device, characterized in that, Applied to electronic devices, which are communicatively connected to multiple projection lamps; The plurality of projection lights are positioned within one or more scene spaces; the device includes: The data acquisition module is used to acquire device data corresponding to each of the projection lamps, the device data including the position information of the projection lamp and the device hardware parameters; The data acquisition module is also used to acquire the target dynamic water wave image and the scene content corresponding to each scene space; The image generation module is used to extract a local water wave image corresponding to the first scene space from the target dynamic water wave image based on the scene content corresponding to the first scene space, wherein the first scene space is any of the scene spaces. The scene parameter generation module is used to extract features from the local water wave image to obtain image features, and determine the first water wave parameters and the first light and shadow parameters corresponding to the first scene space based on the image features and the scene content corresponding to the first scene space. The projection parameter generation module is used to map the multiple target projection lights onto the local water wave image based on the position information of the multiple target projection lights set in the first scene space, so as to obtain the projection content corresponding to the multiple target projection lights respectively. The projection parameter generation module is further configured to determine the projection parameters corresponding to the plurality of target projection lamps based on the first water wave parameters, the first light and shadow parameters, and the device hardware parameters corresponding to the plurality of target projection lamps respectively. The projection control module is used to control each of the target projection lamps to project the corresponding content according to the corresponding projection parameters.

10. An electronic device, characterized in that, The system includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Projection lamp control method, smart television and computer readable storage medium

    CN113573113A

  • Immersive stereoscopic image space system for exhibition hall

    CN114143531A

  • In-vehicle projection system, control method and vehicle

    CN120363841A

  • Multi-scene adaptive stage lighting control method and system and medium

    CN120475584A

  • Scene adaptive projection vehicle lamp system based on deep reinforcement learning and control method

    CN120656030A