Building facade light picture correction method and system, and storage medium

By adjusting the aspect ratio and brightness of the lighting on the building facade, the problem of poor viewing experience caused by differences in building shape and viewing area was solved, thus improving the overall effect of the city's nighttime light and shadow scene.

CN119446092BActive Publication Date: 2026-07-21SHANGHAI ROMAN LIGHTING TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI ROMAN LIGHTING TECH CO LTD
Filing Date
2024-09-12
Publication Date
2026-07-21

Smart Images

  • Figure CN119446092B_ABST
    Figure CN119446092B_ABST
Patent Text Reader

Abstract

The application provides a building facade light picture correction method and system and a storage medium, and the method steps comprise: acquiring a building facade top view contour curve, determining a visible contour curve of the building according to a known personnel dense viewing point position and a viewing view angle; defining a building coordinate system and a personnel dense viewing point coordinate system; establishing a Taylor expansion formula approximating the visible contour curve, acquiring an optimal fitting Taylor expansion formula, and determining a conversion relationship between the personnel dense viewing point coordinate system and the building coordinate system; calculating a derivative function in the personnel dense viewing point coordinate system according to the function; and adjusting a light picture widening ratio and picture brightness according to an empirical table according to an angle variable of an observation angle γ in the personnel dense viewing point coordinate system. In this way, the building light picture is adjusted according to the building facade shape and the corresponding personnel dense viewing point position, so that the observation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to lighting control technology, and more particularly to a method and system for correcting lighting patterns on building facades, as well as a storage medium. Background Technology

[0002] With the modernization of cities, in order to showcase the spirit and vitality of a city, various high-rise buildings are equipped with landscape lighting to form display arrays for playing various light shows, advertisements, and so on. However, sometimes due to the shape of the building itself, as well as the different conditions of its location and orientation on the city street, the best viewing direction of the building is not always directly facing the densely populated viewing area. For example, when a square column building with rounded corners faces the most densely populated viewing area on the side of the rounded corners, some elements of the light show projected on the building's facade will be horizontally compressed into an abnormal image for the audience, resulting in a poor viewing experience.

[0003] For example Figure 1 As shown, the numbers "0" and "4" displayed on the building facade appear significantly compressed horizontally from the current viewing angle, while the number "2" also exhibits some horizontal compression, but it is less noticeable. This demonstrates that the visual effect observed by viewers varies depending on the shape of the building facade and the location of the viewer.

[0004] Therefore, there is an urgent need in this field for a solution to adjust the lighting and visuals on the building facade for densely populated viewing areas, thereby improving the viewing experience for the vast majority of viewers. Summary of the Invention

[0005] Therefore, the main objective of this invention is to provide a method and system for correcting the lighting display on a building facade, as well as a storage medium, to adjust the lighting display on the building facade according to the shape of the building facade and the corresponding locations of densely populated viewing points, thereby improving the visual experience.

[0006] To achieve the above objectives, according to one aspect of the present invention, a method for correcting lighting effects on building facades is provided, comprising the following steps:

[0007] Obtain the top view outline curve of the building facade, and determine the visible outline curve of the building based on the known locations of densely populated viewing points and viewing angles.

[0008] Define the architectural coordinate system and the coordinate system for densely populated viewing points;

[0009] Establish a Taylor expansion that approximately fits the visible contour curve, and obtain the best-fit Taylor expansion. Determine the coordinate system of densely populated viewing points and its transformation relationship with the architectural coordinate system;

[0010] according to Function, the derivative of which is calculated in the coordinate system of a densely populated viewing point. ;

[0011] according to Calculate the angle variable of the observation angle γ in the coordinate system of the densely populated viewing point, and adjust the width ratio and brightness of the light image accordingly based on the empirical table.

[0012] In a possible preferred embodiment, the method for correcting the lighting display on the building facade further includes the following steps:

[0013] according to Function to calculate distance in the coordinate system of a densely populated viewing point. ;

[0014] according to Calculate the distance variable of the observation angle γ in the coordinate system of densely populated viewing points, and adjust the brightness of the image accordingly based on the empirical table.

[0015] In a possible preferred embodiment, the steps of defining the building coordinate system and the coordinate system of densely populated viewing points include:

[0016] With the densely populated viewing point as the center, establish a straight line intersecting the visible outline curve, which serves as the s-axis of the coordinate system of the densely populated viewing point and the y-axis of the architectural coordinate system.

[0017] Establish a t-axis perpendicular to the s-axis through the densely populated viewing point to define the coordinate system [t,s] of the densely populated viewing point;

[0018] Establish a straight line perpendicular to the y-axis of the architectural coordinate system, with the origin of the architectural coordinate system located within the top-view contour curve, as the x-axis to define the architectural coordinate system [x,y].

[0019] In a possible preferred embodiment, the transformation relationship between the coordinate system of densely populated viewing points and the building coordinate system is as follows:

[0020] ;

[0021] ;

[0022] in The distance between the origin of the current densely populated viewing point coordinate system and the building coordinate system. The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points.

[0023] In a possible preferred embodiment, the derivative function is calculated in the coordinate system of the densely populated viewing point. The steps include:

[0024] right To obtain the desired first-order derivative function, perform the first-order derivative on the function. ;

[0025] Calculate the derivative function in the coordinate system of a densely populated viewing point.

[0026]

[0027] in , The angle of deflection between the coordinate system of the densely populated viewing point and the architectural coordinate system is taken as β when the t-axis is rotated clockwise with the x-axis as the base.

[0028] In a possible preferred embodiment, wherein according to The steps for calculating the angular variable of the observation angle γ in the coordinate system of a densely populated viewing point include:

[0029] At densely populated viewing points, the angle between the estimated viewing field of view and the center line connecting the coordinate system of the densely populated viewing point and the architectural coordinate system is used as the observation angle γ.

[0030] Calculate the angular variable of the observed angle γ for:

[0031]

[0032] =

[0033] =

[0034] In a possible preferred embodiment, the distance function in the coordinate system of the densely populated viewing point is calculated. The steps include:

[0035] Calculate the distance function in the coordinate system of a densely populated viewing point. for:

[0036]

[0037] in This represents the distance between the origin of the coordinate system of the current densely populated viewing point and the origin of the building coordinate system. The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points.

[0038] In a possible preferred embodiment, wherein according to The steps for calculating the distance variable of the observation angle γ in the coordinate system of a densely populated viewing point include:

[0039] The distance variable in the coordinate system of a densely populated viewing point is calculated as follows:

[0040]

[0041] in This serves as the reference distance between the origin of the coordinate system for densely populated viewing points and the origin of the building coordinate system. The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points. This represents the distance between the coordinate system of the current densely populated viewing point and the origin of the building coordinate system.

[0042] To achieve the above objectives, corresponding to the above method examples, according to another aspect of the present invention, a building facade lighting image correction system is also provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the system implements the steps of the building facade lighting image correction method as described in any of the above claims.

[0043] To achieve the above objectives, in accordance with the above method examples, according to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium storing a computer program, wherein when the computer program is executed, it implements the steps of the building facade lighting image correction method as described in any of the preceding claims.

[0044] The building facade lighting image correction method, system, and storage medium provided by this invention ingeniously design a scheme to adjust the width ratio and brightness of the building facade lighting image according to the densely populated viewing area and the shape of the building facade, thereby improving the viewing experience for most viewers. This solves the problem of some buildings with poor orientation and poor viewing effect, causing them to miss out on dense crowds, thus better attracting people's attention and enhancing the overall image of the city's nighttime lighting scene. Attached Figure Description

[0045] The accompanying drawings, which form part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:

[0046] Figure 1 This is an example image of the lighting on a building facade viewed from a densely populated area in the background art.

[0047] Figure 2 This is a schematic diagram illustrating the steps of the building facade lighting correction method of the present invention;

[0048] Figure 3This is an example of the building facade lighting correction method of the present invention, including the top view outline curve of the building facade, the location of densely populated viewing points, and a schematic diagram of determining the visible outline curve of the building based on the viewing angle.

[0049] Figure 4 This is a schematic diagram of the visible outline curve of a building in the building facade lighting image correction method of the present invention.

[0050] Figure 5 This is a schematic diagram of the Taylor expansion process for obtaining the best approximate fit of the visible contour curve in the building facade lighting image correction method of the present invention.

[0051] Figure 6 In the building facade lighting correction method of the present invention, the deflection angles of the densely populated viewing points and secondary viewing points relative to the building coordinate system are respectively... A schematic diagram for calculating the distance function;

[0052] Figure 7 This is a schematic diagram illustrating the derivative functions of densely populated viewing points and secondary viewing points in the building facade lighting correction method of the present invention;

[0053] Figure 8 This is a schematic diagram illustrating the calculation of distance variables for densely populated viewing points and secondary viewing points in the building facade lighting correction method of the present invention.

[0054] Figure 9 This is a schematic diagram illustrating the calculation of the angle variable of the observation angle γ for densely populated viewing points and secondary viewing points in the building facade lighting correction method of the present invention.

[0055] Figure 10 This is a schematic diagram showing the comparison of the building lighting image width ratio and image brightness before and after adjustment in the building facade lighting image correction method of the present invention;

[0056] Figure 11 This is a schematic diagram of the building facade lighting correction system of the present invention. Detailed Implementation

[0057] To enable those skilled in the art to better understand the technical solutions of the present invention, the specific technical solutions of the present invention will be clearly and completely described below in conjunction with embodiments, so as to help those skilled in the art further understand the present invention. Obviously, the embodiments described in this application are merely some embodiments of the present invention, and not all embodiments. It should be noted that, for those skilled in the art, the embodiments and features in the embodiments of this application can be combined with each other without departing from the concept of the present invention and without conflict. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the disclosure and protection scope of the present invention.

[0058] Furthermore, the terms "first," "second," "S100," "S200," etc., used in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such features can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those described herein. At the same time, the stages described in each step are not necessarily to be implemented in the same step; it should be understood that the implementation order of the contents of each step stage can be adjusted and interchanged without violating the inventive concept, so that embodiments of the invention described herein can be implemented in orders other than those described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. Unless otherwise expressly specified and limited, the terms "set," "arrange," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; a mechanical connection or an electrical connection; a direct connection or an indirect connection through an intermediate medium; or a connection within two elements. Those skilled in the art can understand the specific meaning of the above terms in this case based on the specific circumstances and in conjunction with existing technology.

[0059] In order to adjust the lighting and visuals of the building facade for densely populated viewing areas and improve the viewing experience for the majority of viewers, this solution takes into account that the viewing distance and the angle at which the building facade is tilted will cause different distortions in the viewer's eyes. This method attempts to improve the viewing experience by changing the image width ratio and the brightness of the image.

[0060] Therefore, as Figures 1 to 9 As shown, the present invention provides a method for correcting the lighting display on a building facade, the example steps of which include:

[0061] Step S100: Obtain the top view outline curve of the building facade. Based on the known locations of densely populated viewing points and viewing angles, determine the visible outline curve of the building.

[0062] Specifically, such as Figure 3 As shown, based on the outline plan of the building facade, a top-view outline curve of the building facade can be obtained. The locations of densely populated viewing points can be set according to the actual situation. Corresponding to these viewing points, based on the viewing angle of the naked eye, the area of ​​the building facade that viewers can see from that location can be defined, thus determining the visible outline curve of the building. Figure 4 As shown.

[0063] Step S200 defines the building coordinate system and the coordinate system of densely populated viewing points.

[0064] Specifically, once the visible contour curve and densely populated viewing points are determined, such as Figure 3 As shown in this example, the densely populated viewing point is preferably used as the reference point (generally, the reference point is the point with the highest population density). A straight line intersecting the visible contour curve is established with the reference point as the center. This line serves as the s-axis of the coordinate system of the densely populated viewing point (the direction of the s-axis is from the origin of the architectural coordinate system to the origin of the densely populated viewing point), and the y-axis of the architectural coordinate system. That is, the s and y axes of the architectural coordinate system and the coordinate system of the densely populated viewing point are coaxial.

[0065] Then, by passing through the densely populated viewing points, establish a t-axis perpendicular to the s-axis to define the coordinate system [t,s] of the densely populated viewing points.

[0066] At the same time, establish a straight line perpendicular to the y-axis of the architectural coordinate system, with the origin of the architectural coordinate system located within the top-view contour curve, as the x-axis, to define the architectural coordinate system [x,y].

[0067] Step S300: Establish a Taylor expansion that approximately fits the visible contour curve, and obtain the best-fit Taylor expansion. Determine the coordinate system of densely populated viewing points and its transformation relationship with the architectural coordinate system.

[0068] Specifically, once the architectural coordinate system is established, the coordinate set of the visible contour curve can be obtained. For example, if the architectural coordinate system has (x0, y0) as its origin, the coordinate set of the visible contour curve is {… (xi, yi) …}, and its representation function is defined as… The Taylor expansion of the approximate fit to the above visible contour curve is defined as: Therefore, we can conclude that:

[0069]

[0070] because It can be approximated as Therefore, in order to find That is, obtained through calculation , ,… ...that's all.

[0071] Since the set {… (xi,yi) …} based on this architectural coordinate system (with (x0,y0) as the origin) is known, as Figure 5 As shown, one of the typical elements is selected as Therefore, the system of equations used to calculate the equations is as follows:

[0072] =

[0073]

[0074]

[0075]

[0076]

[0077] in , , … , All of these are known values ​​in the set {… (xi,yi) …}, and can be calculated from them. , ,… .... Note the following:

[0078] Firstly, the choice In the optional examples, the coordinate points are preferably selected from the longer straight section of the visible outline curve of the effective building facade (i.e., the center point of a long segment of line with the same slope is preferred, such as...). Figure 4 (as shown); if there are no such coordinate points, the intersection of the visible outline curve of the effective building facade and the y-axis of the building coordinate system can be selected.

[0079] Secondly, it is preferable not to use infinite higher-level terms in Taylor expansion. Since the visible outline curve of the building facade is usually relatively simple, this method example chooses to use Taylor expansion with n=20, that is, omitting higher-level terms.

[0080] Secondly, the number of known coordinate points far exceeds the actual number required. , ,… And choose different This will also result in 20 actual requests. , ,… Because they differ, the many obtained include:

[0081] A set is { ,… , ...},

[0082] A set is { ,… , ...},

[0083]

[0084] A set is { ,… , ...}.

[0085] Therefore, as Figure 5 As shown, it must be redrawn. Each curve, when compared with the visible outline curve of the effective building facade, should achieve the maximum fitting effect for the oblique line segments (with the same derivative) in the visible outline curve.

[0086] One example method involves manually marking the coordinates of the oblique line segment: , , , …First, the slope of the longest matching oblique line segment in this group of oblique line segments must satisfy the above… , ,… The set, i.e., the set required To find the first derivative on the line segment with the smallest error among the slopes of the line segment, an example method is to select 20 to 50 coordinate points on the line segment and obtain the average value of all first derivatives, where the difference among the slopes of the line segment is minimized.

[0087] Secondly, it should be ensured In other curved sections, one should, as far as possible, traverse along one side of the visible contour curve (rather than repeatedly crossing both sides of the curve contour), specifically as follows: Figure 5 As shown. The final fit yields the actual optimal value. ,use This means obtaining the optimal set. , ,… ,Right now: .

[0088] After that, as Figure 7As shown, once the architectural coordinate system is established, it becomes unique. If other densely populated viewing points exist (generally with a lower population density than the reference point), as long as the viewing angle of that point corresponds to the visible contour curve, it can still participate in subsequent calculations.

[0089] Therefore, the transformation relationship between the coordinate system of densely populated viewing points in each densely populated viewing area and the architectural coordinate system is derived as follows: ; ; like Figure 7 As shown, both t3 and t'3 confirm that: The x-coordinate of the coordinate system for densely populated viewing points is positive to the right and negative to the left. The vertical coordinate of the viewpoint with high population density is used, and the direction towards the architectural coordinate system is the negative direction. This represents the distance between the current densely populated viewing point's coordinate system and the building's coordinate system, and its value is greater than 0. With the x-axis as the base, β is taken as a positive value when the t-axis is rotated clockwise, which is the deflection angle between the current densely populated viewing point coordinate system and the building coordinate system.

[0090] Further:

[0091] Soon As the independent variable, As the dependent variable. However, in actual use, no formula derivation is required. function, but rather Perform all effective Value and Correspondence One can enumerate all the values ​​(for ease of description, the following will still use the same format). (Explained in functional form).

[0092] Step S400 according to Function, the derivative of which is calculated in the coordinate system of a densely populated viewing point. .

[0093] For details, please refer to Figure 7 For the derivative function of the benchmark point in the coordinate system of the densely populated viewing point, the above method is first used. Taking the first derivative of the function yields the desired first-order derivative function. Since the horizontal centerline of this area is parallel to the horizontal axis of the architectural coordinate system, t = x. However, since the s-axis and y-axis are exactly opposite, the derivative function of the most densely populated viewing area at this reference point is... for:

[0094] =

[0095] Compared to the derivative functions of other densely populated viewing points, the derivative function of this region has a certain slope angle relationship with the architectural coordinate system, and the derivative function of this region involves the horizontal coordinate of the densely populated viewing point coordinate system and the architectural coordinate system (the angle between the horizontal axes of the two coordinate systems is denoted as ). The conversion relationship of angles (taken with the x-axis as the base, β is positive when the t-axis is rotated clockwise).

[0096] Therefore, the derivative function of other densely populated viewing points with t as the x-axis is... for:

[0097] ;

[0098] In fact, the derivative function of all densely populated viewing spots can be obtained in the following way:

[0099] ;

[0100] in (The relationship between t and x can be exhaustively listed and calculated).

[0101] The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points. Based on the x-axis, β is taken as a positive value when the t-axis is rotated clockwise.

[0102] The derivative functions of the above-mentioned personnel viewing coordinate system and the derivative functions of the architectural coordinate system The relationship between β and the β value is a universal relationship (regardless of whether the β value is positive or negative or whether it is a derivative function in architectural coordinates). Positive and negative).

[0103] Step S500 according to Calculate the angle variable of the observation angle γ in the coordinate system of the densely populated viewing point, and adjust the width ratio and brightness of the light image accordingly based on the empirical table.

[0104] Specifically, the observation angle γ is the angle between the viewing angle at a densely populated viewing point and the center line connecting the coordinate system of that viewing point and the architectural coordinate system. That is:

[0105] .

[0106] like Figures 8 to 9 As shown:

[0107] t is the x-coordinate of the coordinate system of the densely populated viewing point, and is positive to the right and negative to the left of the current densely populated viewing point coordinate system;

[0108] s is the ordinate of the viewpoint with high population density in the coordinate system, and the direction towards the architectural coordinate system is negative;

[0109] d represents the distance between the coordinate system of the current densely populated viewing point and the building coordinate system, and is greater than 0;

[0110] The angle γ is based on the center line connecting the coordinate system of the densely populated viewing point and the architectural coordinate system, and the included angle is negative when rotated clockwise.

[0111] Where the distance function is for densely populated viewing points Because it has a certain slope angle relationship with the architectural coordinate system (the angle between the horizontal axes of the two coordinate systems is denoted as ), (Angle) Examples are as follows:

[0112] .

[0113] in This represents the distance between the origin of the coordinate system of the current densely populated viewing point and the origin of the building coordinate system. The angle of deflection between the coordinate system of the current densely populated viewing point and the architectural coordinate system can be exhaustively listed and calculated without derivation, as mentioned earlier, given the relationship between t and x. function.

[0114] Based on the above derivation, the final requirement is to obtain two types of variables, one of which is an angle variable. γ is the angle between the tangent line at any point on the building's outline, with γ as the independent variable, and the line connecting the origin of the coordinate system of the densely populated viewing point to the point on the building's outline (the final angle is less than 90°). This variable represents the tilt angle at which people currently view a point on the building's outline.

[0115] For the angle variable of a densely populated viewing point, since people's heads or bodies can rotate, the derivative of the tilt angle of a certain building outline seen from that point needs to be further solved. Because the horizontal centerline of this area is parallel to the horizontal axis of the building coordinate system (note that the angle value, not the slope value, is needed here), therefore... Figures 8 to 9 As shown, with For example, angle (e.g.) Figure 9 As shown, at this time It is a negative value. (If the value is positive), its angle variable is:

[0116]

[0117] Therefore, based on the distance function obtained above... From this, we can conclude that:

[0118] and =|s|=| | The same method is used Soon t is the independent variable, and t is the dependent variable. However, in actual use, formula derivation is unnecessary. Instead of functions, it will make all valid. This can be achieved by exhaustively listing the values ​​and their corresponding t values ​​(for ease of description, the following uses...). (Explained in functional form).

[0119] By reasoning, the same formula can be derived for other densely populated viewing spots, thus concluding that:

[0120]

[0121] =

[0122] =

[0123] in It is the angle between the tangent line at the current point of the building's outer contour and the line connecting the current viewing direction of the densely populated area (this angle is in the range of 0° to 180°).

[0124] Based on the above The angle function can be used to calculate the angle variable at any observation angle γ for the current densely populated viewing point.

[0125] Finally, based on the existing display effects of various building lighting facades, an empirical adjustment dataset was accumulated and summarized based on the angle variable γ angle of different viewing angles, corresponding to the horizontal widening ratio and brightness enhancement ratio. The corresponding widening ratio and brightness of the lighting image were adjusted, as shown in Table 1 below.

[0126] 90° 0% 0% 85° 0% 1% 80° 5% 2% 75° 8% 3% 70° 16% 4% 65° 24% 5% 60° 32% 6% 55° 40% 6.50% 50° 47% 7% 45° 55% 7.50% 40° 62% 8% 35° 70% 8.50% 30° 78% 9% 25° Widing out is ineffective, so we'll use 0%. 10% 20° Widing out is ineffective, so we'll use 0%. 10% 15° Widing out is ineffective, so we'll use 0%. 10% 10° Widing out is ineffective, so we'll use 0%. 10% 5° Widing out is ineffective, so we'll use 0%. 10%

[0127] Table 1

[0128] Furthermore, in an optional example, the method for correcting the lighting on the building facade further includes the following steps:

[0129] Step S600 according to Function to calculate distance in the coordinate system of a densely populated viewing point. ,according to Calculate the distance variable of the observation angle γ in the coordinate system of densely populated viewing points, and adjust the brightness of the image accordingly based on the empirical table.

[0130] Specifically, to more effectively adapt the lighting effects on the building facade, this example further incorporates a distance variable condition, where the distance function... Please refer to the example in step S500.

[0131] The formula for the relative value of the distance function for densely populated viewing points can be derived as follows:

[0132]

[0133] Among them The value is a scale value based on the distance between the coordinate system of the reference point with dense crowds and the origin of the building coordinate system, and the value is greater than 0. The angle is based on the center line connecting the coordinate system of the densely populated viewing point and the architectural coordinate system; a clockwise rotation results in a negative angle. This is based on the aforementioned:

[0134]

[0135] By combining and unifying different viewing areas, the following results can be obtained:

[0136] Based on the above distance function, the distance relative to any observation angle γ can be calculated. The proportion of the distance variable.

[0137] Finally, based on the existing display effects of various building facade lighting, an empirical adjustment dataset of brightness enhancement ratios corresponding to distance variables at different observation angles γ was accumulated and summarized, and the corresponding image brightness was adjusted by overlaying, as shown in Table 2 below.

[0138] 100% 0% 120% 5% 140% 10% 160% 18% 180% 28% 200% 42% 220% 57% 240% 75% 260% 90% 280% 105% 300% 120% >300% If the distance is too far, no further changes will be made; 120% will be applied.

[0139] Table 2

[0140] With this design, such as Figure 10 As shown in the example above, based on the angle variable of the observation angle γ, the horizontal widening of the lighting image and the increase of the image brightness can be corrected according to the tilt of the building facade. The distance variable of the observation angle γ can be based on the building observation distance, and the brightness of the lighting image can be adjusted on the basis of the angle variable correction, thereby improving the overall viewing experience of the building facade lighting image for viewers located at densely populated viewing points.

[0141] On the other hand, corresponding to the above method examples, such as Figure 11As shown, the present invention also provides a building facade lighting image correction system, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the system implements the steps of the building facade lighting image correction method as described in any of the above examples.

[0142] On the other hand, corresponding to the above method examples, the present invention also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed, it implements the steps of the building facade lighting image correction method as described in any of the above examples.

[0143] In summary, the building facade lighting image correction method, system, and storage medium provided by this invention ingeniously design a scheme to adjust the width ratio and brightness of the building facade lighting image according to the densely populated viewing area and the shape of the building facade. This improves the viewing experience for most viewers and solves the problem of some buildings with poor orientation resulting in poor viewing effects and missing out on dense crowds. This better attracts people's attention and enhances the overall image of the city's nighttime lighting scene.

[0144] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The present invention is limited only by the claims and their full scope and equivalents. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the invention should be included within the protection scope of the invention.

[0145] Those skilled in the art will understand that, besides implementing the system, apparatus, unit, and its modules provided by this invention in purely computer-readable program code, the same program can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system, apparatus, and its modules provided by this invention can be considered a hardware component, and the modules included therein for implementing various programs can also be considered structures within the hardware component; alternatively, modules for implementing various functions can be considered both software programs implementing the method and structures within the hardware component.

[0146] Furthermore, all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a microcontroller, chip, or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0147] Furthermore, various different implementations of the present invention can be combined arbitrarily, as long as they do not violate the spirit of the present invention, they should also be regarded as the content disclosed in the present invention.

Claims

1. A method for correcting lighting effects on building facades, comprising the following steps: Obtain the top view outline curve of the building facade, and determine the visible outline curve of the building based on the known locations of densely populated viewing points and viewing angles. Define the architectural coordinate system and the coordinate system of the densely populated viewing point. The steps include: taking the densely populated viewing point as the center, establishing a straight line intersecting the visible contour curve, which serves as the s-axis of the coordinate system of the densely populated viewing point and the y-axis of the architectural coordinate system. Establish a t-axis perpendicular to the s-axis through the densely populated viewing point to define the coordinate system [t,s] of the densely populated viewing point; Establish a straight line perpendicular to the y-axis of the architectural coordinate system, with the origin of the architectural coordinate system located within the top-view contour curve, as the x-axis to define the architectural coordinate system [x,y]. Establish a Taylor expansion that approximately fits the visible contour curve, and obtain the best-fit Taylor expansion. The transformation relationship between the coordinate system of densely populated viewing points and the architectural coordinate system is determined as follows: ; ; in The distance between the origin of the current densely populated viewing point coordinate system and the building coordinate system. The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points; according to Function, the derivative of which is calculated in the coordinate system of a densely populated viewing point. The steps include: right To obtain the desired first-order derivative function, perform the first-order derivative on the function. ; Calculate the derivative function in the coordinate system of a densely populated viewing point. ; in , As the independent variable, As the dependent variable, The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points. Taking the x-axis as a base, β is positive when the t-axis is rotated clockwise; according to Calculate the angle variable of the observation angle γ in the coordinate system of densely populated viewing points, and adjust the width ratio and brightness of the light image accordingly based on the experience table; The steps for calculating the angle variable γ of the observation angle include: At densely populated viewing points, the angle between the estimated viewing field of view and the center line connecting the coordinate system of the densely populated viewing point and the architectural coordinate system is used as the observation angle γ. Calculate the angular variable of the observed angle γ for: ; = ; = ; in , t is the independent variable, and t is the dependent variable; The γ angle is the angle formed by rotating the tangent line at the current point on the building's outer contour to the line connecting the current viewing direction of the densely populated area. This angle ranges from 0° to 180°. The γ angle is based on the center line connecting the coordinate system of the densely populated viewing point and the building's coordinate system, and a clockwise rotation results in a negative value. The step of obtaining the best-fit Taylor expansion includes: selecting either the center point of the longer straight section of the visible contour curve or the intersection point of the visible contour curve and the y-axis of the architectural coordinate system as the expansion point; establishing a system of equations based on the coordinate set of the visible contour curve to solve for each order derivative; redrawing each order curve and comparing it with the visible contour curve, and selecting the set of the largest matching slope of the oblique line segment to obtain the best-fit Taylor expansion.

2. The method for correcting the lighting display on a building facade according to claim 1, further comprising the steps of: according to Function to calculate distance in the coordinate system of a densely populated viewing point. ; according to Calculate the distance variable of the observation angle γ in the coordinate system of densely populated viewing points, and adjust the brightness of the image accordingly based on the empirical table.

3. The method for correcting building facade lighting according to claim 2, wherein the distance function is calculated in the coordinate system of densely populated viewing points. The steps include: Calculate the distance function in the coordinate system of a densely populated viewing point. for: ; in This represents the distance between the origin of the coordinate system of the current densely populated viewing point and the origin of the building coordinate system. The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points.

4. The method for correcting the lighting display on a building facade according to claim 3, wherein according to The steps for calculating the distance variable of the observation angle γ in the coordinate system of a densely populated viewing point include: The distance variable in the coordinate system of a densely populated viewing point is calculated as follows: ; in This serves as the reference distance between the origin of the coordinate system for densely populated viewing points and the origin of the building coordinate system. The angle of deflection between the coordinate system and the architectural coordinate system for densely populated viewing points. This represents the distance between the coordinate system of the current densely populated viewing point and the origin of the building coordinate system.

5. A building facade lighting correction system, comprising: The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the system implements the steps of the building facade lighting correction method as described in any one of claims 1 to 4.

6. A computer-readable storage medium storing a computer program, wherein when the computer program is executed, it implements the steps of the building facade lighting correction method as described in any one of claims 1 to 4.