Picture adjusting method and device of rotary display and electronic equipment
By collecting and calculating the reference angle and rotation rate of the light emitting element in the rotating display, controlling its working state, the visual deviation problem caused by fluctuations in the rotation speed is solved, the display effect is optimized and the clarity is improved.
Patent Information
- Application Number
- CN202411141894.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-08-20
AI Technical Summary
In a rotating display, fluctuations in the screen rotation speed cause visual deviations, affecting the viewing experience.
By collecting the reference angle and reference coordinates of each light emitting element, the rotation rate is obtained, the target coordinates are calculated, and the working state of the light emitting element is controlled based on the image information, thereby reducing the visual rotation deviation caused by the sampling interval.
Optimize the display effect of the rotating display, improve clarity, reduce visual rotation deviation, and ensure accurate display of image information during rotation.
Smart Images

Figure CN119132216A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to but is not limited to the field of intelligent control technology, and in particular to a method, device and electronic device for adjusting the image of a rotating display. Background Art
[0002] In the related art, in a display screen that rotates with the center of the display screen as the axis, the picture information is usually rotated in the opposite direction to the screen rotation direction and at the same speed, and then the rotated picture is displayed on the screen. However, when the rotation speed of the screen fluctuates, the picture information displayed on the screen will produce visual deviations, affecting the viewing experience. Summary of the invention
[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0004] The embodiments of the present application provide a method, device and electronic device for adjusting the picture of a rotating display, which can reduce the visual rotation deviation of image information caused by the sampling interval and optimize the display effect of the rotating display.
[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a picture adjustment method for a rotating display, characterized in that the method is applied to a rotating display, the rotating display rotates about a preset first rotation center axis, the rotating display includes a first display screen, and a plurality of first light-emitting elements are arranged on the first display screen. The picture adjustment method includes: when a target sampling point is reached, respectively collecting a reference angle and a first reference coordinate of each of the first light-emitting elements, wherein the reference angle refers to the angle between a line connecting the corresponding first light-emitting element and the first rotation center axis at the target sampling point and a preset horizontal baseline; obtaining a rotation rate and a target time point of each of the first light-emitting elements, and determining a first target coordinate of each of the first light-emitting elements according to the target time point, each of the first reference coordinates, each of the reference angles, and the rotation rate, wherein the first target coordinate indicates the position of the first light-emitting element when the target time point is reached, and the target time point is located after the target sampling point; obtaining image information, and when the target time point is reached, controlling the working state of each of the first light-emitting elements according to each of the first target coordinates and the image information.
[0006] In one embodiment, the image information includes multiple initial pixel information, and when the end time point is reached, the working state of each first light-emitting element is controlled according to each first target coordinate and the image information, including: when the target time point is reached, according to the first target coordinate, determining the initial pixel information corresponding to each first light-emitting element; filtering the initial pixel information to obtain the target pixel information corresponding to each first light-emitting element.
[0007] In one embodiment, the initial pixel information includes the initial grayscale value corresponding to each first light-emitting element, the target pixel information includes the target grayscale value corresponding to each first light-emitting element, and the calculation formula for filtering the initial pixel information is:
[0008]
[0009]
[0010] Among them, C(x0, y0) represents the initial grayscale value of the first light-emitting element whose first target coordinates are (x0, y0), C(x1, y1) represents the initial grayscale value of the first light-emitting element whose first target coordinates are (x1, y1), C(x2, y1) represents the initial grayscale value of the first light-emitting element whose first target coordinates are (x2, y1), C(x1, y2) represents the initial grayscale value of the first light-emitting element whose first target coordinates are (x1, y2), C(x2, y2) represents the initial grayscale value of the first light-emitting element whose first target coordinates are (x2, y2), and the values of (x2-x1), (x0-x1), (y2-y0) and (y0-y1) are all less than the preset distance threshold.
[0011] In one embodiment, the obtaining of the rotation rate of each of the first light-emitting elements includes: obtaining a historical sampling point and an initial angle of each of the first light-emitting elements at each of the historical sampling points; filtering each of the initial angles to obtain a historical angle of each of the first light-emitting elements at each of the historical sampling points; and determining the rotation rate of the first light-emitting element according to each of the historical angles and its corresponding historical sampling point, and each of the reference angles and its corresponding target sampling point, wherein the calculation formula of the rotation rate is:
[0012]
[0013] Among them, V t represents the rotation rate of the first light emitting element at the target sampling point, T i represents the i-th historical sampling point, A irepresents the historical angle of the first light emitting element at the i-th historical sampling point, T n represents the nth historical sampling point, A n represents the historical angle of the first light emitting element at the nth historical sampling point, T t represents the target sampling point, A t represents the reference angle of the first light emitting element at the target time point, and n represents the number of the historical sampling points.
[0014] In one embodiment, filtering each of the initial angles to obtain the historical angle of each of the first light-emitting elements at each of the historical sampling points includes: taking the historical sampling point as the center, obtaining the corresponding mirror sampling point and the initial angle of each of the first light-emitting elements at the mirror sampling point; obtaining the filtering weight of each of the initial angles, and filtering the initial angle corresponding to the current historical sampling point based on each of the initial angles and the corresponding filtering weights to obtain the historical angle of the first light-emitting element at the current historical sampling point, wherein the sum of all the filtering weights is equal to 1, and the calculation formula for the filtering process is:
[0015]
[0016] Wherein, the number of the initial angles is equal to 2m+1, a t-j represents the initial angle of the first light emitting element at the tjth mirror sampling point, ω t-j represents the filtering weight corresponding to the tjth initial angle, a t+j represents the initial angle of the first light emitting element at the t+jth mirror sampling point, ω t+j represents the filtering weight corresponding to the t+jth initial angle, a t represents the initial angle of the first light emitting element at the current historical sampling point, ω t Represents the filter weight corresponding to the current historical sampling point. For any j, ω t >ω t-j >ω t-j-1 ,ω t >ω t+j >ω t+j+1 ,
[0017] In one embodiment, determining the first target coordinates of each of the first light-emitting elements according to the target time point, each of the first reference coordinates, each of the reference angles, and the rotation rate includes: determining a rotation duration based on the target time point and the target sampling point, determining a rotation angle according to the rotation duration and the rotation rate, and determining a rotation arc according to the rotation angle, wherein a calculation formula for the rotation arc is:
[0018] A * =V t ×(T * -T e )
[0019] θ * =A * ×π / 180°
[0020] Among them, A * represents the rotation angle, T * represents the target time point, θ * represents the rotation arc; determining the first target coordinates of each of the first light-emitting elements at the target time point according to the first center coordinates of the first rotation center axis, each of the first reference coordinates and the target angle, wherein the calculation formula of the first target coordinates is:
[0021]
[0022]
[0023] in, represents the first target coordinate of the first light emitting element, (M x ,M y ) represents the first reference coordinate of the first light-emitting element, represents the first center coordinate, θ * Represents the rotation in radians.
[0024] In one embodiment, the rotating display further includes a second display screen and a bracket, the back of the second display screen and the back of the first display screen are respectively fixedly connected to the bracket, the back of the second display screen is close to the back of the first display screen, the second rotation center axis of the second display screen coincides with the first rotation center axis, the second display screen rotates in the same direction as the first display screen, and the second display screen includes a plurality of second light-emitting elements. The picture adjustment method further includes: when the target sampling point is reached, the second reference coordinates of each of the second light-emitting elements are respectively collected; when the target time point is reached, the second target coordinates of each of the second light-emitting elements at the target time point are determined according to the second center coordinate of the second rotation center axis, each of the second reference coordinates and the target angle, wherein the calculation formula of the second target coordinates is:
[0025]
[0026]
[0027] in, represents the second target coordinate of the second light emitting element, (N x ,N y ) represents the second reference coordinates of the second light-emitting element, represents the second center coordinates.
[0028] To achieve the above-mentioned purpose, the second aspect of the present application proposes a picture adjustment device for a rotating display, comprising: an angle acquisition module, when a target sampling point is reached, the angle acquisition module is used to respectively acquire a reference angle and a first reference coordinate of each of the first light-emitting elements, wherein the reference angle refers to the angle between a line connecting the corresponding first light-emitting element and the first rotation center axis at the target sampling point and a preset horizontal baseline; a data processing module, used to obtain a rotation rate and a target time point of each of the first light-emitting elements, and determine a first target coordinate of each of the first light-emitting elements according to the target time point, each of the first reference coordinates, each of the reference angles and the rotation rate, wherein the first target coordinate represents the position of the first light-emitting element when the target time point is reached, and the target time point is located after the target sampling point; a projection module, used to acquire image information, and when the target time point is reached, control the working state of each of the first light-emitting elements according to each of the first target coordinates and the image information.
[0029] To achieve the above-mentioned purpose, the third aspect of the present application proposes a Ferris wheel, comprising: a rotating wheel seat; a first rotating display screen, arranged on one side of the rotating wheel seat; an inclination sensor, used to collect the angle of the first rotating display screen; a control module, the inclination sensor, the rotating wheel seat and the first rotating display screen are electrically connected to the control module respectively, the control module is used to control the rotating wheel seat and the first rotating display screen to rotate, and the control module is also used to execute the picture adjustment method described in the first aspect to control the first rotating display screen to display picture information.
[0030] To achieve the above-mentioned purpose, the fourth aspect of the present application proposes an electronic device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the image adjustment method of the rotating display described in the first aspect when executing the computer program.
[0031] The embodiments of the present application include at least the following beneficial effects: during the continuous rotation of the first display screen, the first display screen collects the angle between the line between each first light-emitting element and the first rotation center axis and the horizontal baseline at a specific frequency. After reaching the current target sampling point and before the next target sampling point, by obtaining the rotation rate, by obtaining the rotation rate and the target time point, and calculating the difference between the target time point and the current target sampling point, the angle passed by the first light-emitting element from the current target sampling point to the target time point can be determined. By collecting the reference angle and the first reference coordinates of each first light-emitting element at the current target sampling point, the first target coordinates of each first light-emitting element at the target time point can be determined. Combined with the position of each pixel point on the preset image information, the working state of each first light-emitting element is controlled, and the image information can be continuously displayed positively on the rotating first display screen. The picture adjustment method proposed in the present application can accurately analyze the first target position of each first light-emitting element between two adjacent target sampling points without rotating the image information, so that the working state of the first light-emitting element can be sensitively adjusted according to the image information, and the visual rotation deviation of the image on the first display screen due to the sampling interval is reduced, thereby optimizing the display effect of the rotating display and improving the clarity of the first display screen.
[0032] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0034] Figure 1 A schematic diagram of an optional flow chart of a method for adjusting the image of a rotating display provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of an optional process of filtering an image provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of an optional position of initial pixel information provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of another optional position of initial pixel information provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of an optional flow chart for determining a rotation rate provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of an optional flow chart for determining filtering processing provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of an optional process for determining the first target coordinates provided in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of an optional process for determining the coordinates of a second target provided in an embodiment of the present application;
[0042] Fig. 9 A schematic diagram of an optional structure of the image adjustment device of the rotating display provided in the embodiment of the present application;
[0043] Fig.10 An optional system block diagram of a Ferris wheel provided in an embodiment of the present application;
[0044] Fig.11 A schematic diagram of an optional structure of a Ferris wheel provided in an embodiment of the present application;
[0045] Fig.12 A schematic diagram of an optional hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0047] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0048] In the description of the present invention, "several" means more than one, "many" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0049] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0050] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0051] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0052] In the related art, in a display screen that rotates with the center of the display screen as the axis, the picture information is usually rotated in the opposite direction to the screen rotation direction and at the same speed, and then the rotated picture is displayed on the screen. However, when the rotation speed of the screen fluctuates, the picture information displayed on the screen will produce visual deviations, affecting the viewing experience.
[0053] Based on this, the embodiments of the present application provide a method, device and electronic device for adjusting the picture of a rotating display, which can reduce the visual rotation deviation of image information caused by the sampling interval and optimize the display effect of the rotating display.
[0054] The image adjustment method, device and electronic device of the rotating display provided in the embodiments of the present application are specifically described through the following embodiments. First, the image adjustment method of the rotating display in the embodiments of the present application is described.
[0055] The picture adjustment method of a rotating display provided in the embodiment of the present application relates to the field of computer technology. The picture adjustment method of a rotating display provided in the embodiment of the present application can be applied to a terminal, can be applied to a server side, or can be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, or can be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the picture adjustment method of a rotating display, etc., but is not limited to the above forms.
[0056] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0057] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0058] like Figure 1 As shown, Figure 1 An optional flow chart of a method for adjusting the screen of a rotating display provided in an embodiment of the present application, the method for adjusting the screen of a rotating display can be executed by a server, or can also be executed by a terminal, or can also be executed by a server in cooperation with a terminal, and the method for adjusting the screen of a rotating display includes but is not limited to the following steps S110 to S130:
[0059] Step S110, when the target sampling point is reached, the reference angle and the first reference coordinate of each first light-emitting element are respectively collected, wherein the reference angle refers to the angle between the line between the corresponding first light-emitting element and the first rotation center axis at the target sampling point and a preset horizontal baseline;
[0060] Step S120, obtaining the rotation rate and target time point of each first light-emitting element, and determining the first target coordinates of each first light-emitting element according to the target time point, each first reference coordinate, each reference angle, and the rotation rate, wherein the first target coordinate represents the position of the first light-emitting element when it reaches the target time point, and the target time point is located after the target sampling point;
[0061] Step S130, acquiring image information, and when reaching the target time point, controlling the working state of each first light emitting element according to each first target coordinate and the image information.
[0062] Specifically, the reference angle is acquired by collecting data from an inclination sensor installed on the first rotation center axis of the rotating display.
[0063] It can be understood that, during the continuous rotation of the first display screen, the first display screen collects the angle between the line between each first light-emitting element and the first rotation center axis and the horizontal baseline at a specific frequency. After reaching the current target sampling point and before the next target sampling point, by obtaining the rotation rate, by obtaining the rotation rate and the target time point, and calculating the difference between the target time point and the current target sampling point, the angle of the first light-emitting element from the current target sampling point to the target time point can be determined. The reference angle and the first reference coordinates collected by each first light-emitting element at the current target sampling point can be used to determine the first target coordinates of each first light-emitting element at the target time point. Combined with the position of each pixel point on the preset image information, the working state of each first light-emitting element is controlled, and the image information can be continuously displayed positively on the rotating first display screen. The picture adjustment method proposed in the present application can accurately analyze the first target position of each first light-emitting element between two adjacent target sampling points without rotating the image information, so that the working state of the first light-emitting element can be sensitively adjusted according to the image information, and the visual rotation deviation of the image on the first display screen due to the sampling interval is reduced, thereby optimizing the display effect of the rotating display and improving the clarity of the first display screen.
[0064] In addition, refer to Figure 2 As shown, in some embodiments of the present application, the image information includes a plurality of initial pixel information. Figure 1 The method step S130 includes but is not limited to the following steps S210 to S220:
[0065] Step S210, when the target time point is reached, determining the initial pixel information corresponding to each first light emitting element according to the first target coordinates;
[0066] Step S220 , filtering the initial pixel information to obtain target pixel information corresponding to each first light-emitting element.
[0067] In a specific implementation, the initial pixel information is the RGB color value of the pixel point, and the initial pixel information of adjacent pixels is weighted by a preset color weight value to obtain the target pixel information;
[0068] For example, refer to Figure 3As shown, the initial pixel information of the pixel points in the 3×3 grid is obtained. The initial pixel information is RGB1=(123,213,213), RGB2=(132,206,232), RGB3=(133,221,212), RGB4=(123,221,213), RGB5=(123,213,213), RGB6=(122,211,222), RGB7=(112,231,223), RGB8=(121,213,213), RGB9=(123,216,213), and the color weight values of each initial pixel information are Therefore, the above initial pixel information is weighted, and the result of weighted processing is:
[0069]
[0070] In one embodiment, referring to Figure 4 As shown, the initial pixel information includes the initial grayscale value corresponding to each first light-emitting element, the target pixel information includes the target grayscale value corresponding to each first light-emitting element, and the formula for filtering the initial pixel information is:
[0071]
[0072] Among them, C(x0, y0) represents the initial grayscale value of the first light-emitting element with the first target coordinates (x0, y0), C(x1, y1) represents the initial grayscale value of the first light-emitting element with the first target coordinates (x1, y1), C(x2, y1) represents the initial grayscale value of the first light-emitting element with the first target coordinates (x2, y1), C(x1, y2) represents the initial grayscale value of the first light-emitting element with the first target coordinates (x1, y2), C(x2, y2) represents the initial grayscale value of the first light-emitting element with the first target coordinates (x2, y2), and the values of (x2-x1), (x0-x1), (y2-y0) and (y0-y1) are all less than the preset distance threshold.
[0073] It can be understood that by filtering the initial pixel information, random noise in the image information can be removed or reduced, making the image appear clearer and smoother, and the jagged effect in the image information can be reduced, making the image information appear softer. Moreover, in the rotating first display surface, filtering can reduce the visual blur caused by the rotation and enhance the viewing experience.
[0074] In addition, refer to Figure 5 As shown, some embodiments of the present application, Figure 1 Step S120 in the embodiment includes but is not limited to the following steps S510 to S530:
[0075] Step S510, obtaining historical sampling points and initial angles of each first light-emitting element at each historical sampling point;
[0076] Step S520, filtering each initial angle to obtain a historical angle of each first light-emitting element at each historical sampling point;
[0077] Step S530, determining the rotation rate of the first light emitting element according to each historical angle and its corresponding historical sampling point, and each reference angle and its corresponding target sampling point, wherein the calculation formula of the rotation rate is:
[0078]
[0079] Among them, V t represents the rotation rate of the first light-emitting element at the target sampling point, T i represents the i-th historical sampling point, A i represents the historical angle of the first light-emitting element at the i-th historical sampling point, T n Indicates the nth historical sampling point, A n represents the historical angle of the first light-emitting element at the nth historical sampling point, T t represents the target sampling point, A t represents the reference angle of the first light-emitting element at the target time point, and n represents the number of historical sampling points.
[0080] It can be understood that based on the current target sampling point, n historical sampling points and their corresponding historical angles are obtained forward, and based on the current target sampling point and the reference angle, n historical sampling points and their corresponding historical angles, the rotation rate of the first light-emitting element within n+1 sampling points is determined, which can ensure the validity of the rotation rate and improve the accuracy of judging the position of the first light-emitting element.
[0081] In addition, refer to Figure 6 As shown, some embodiments of the present application, Figure 5 Step S520 in the embodiment includes but is not limited to the following steps S610 to S620:
[0082] Step S610, taking the historical sampling point as the center, obtaining the corresponding mirror sampling point and the initial angle of each first light-emitting element at the mirror sampling point;
[0083] Step S620, obtaining the filtering weights of each initial angle, and filtering the initial angle corresponding to the current historical sampling point based on each initial angle and its corresponding filtering weight, to obtain the historical angle of the first light-emitting element at the current historical sampling point, wherein the sum of all filtering weights is equal to 1, and the calculation formula for filtering is:
[0084]
[0085] Among them, the number of initial angles is equal to 2m+1, a t-j represents the initial angle of the first light-emitting element at the tjth mirror sampling point, ω t-j represents the filter weight corresponding to the tjth initial angle, a t+j represents the initial angle of the first light-emitting element at the t+jth mirror sampling point, ω t+j represents the filter weight corresponding to the t+jth initial angle, a t represents the initial angle of the first light-emitting element at the current historical sampling point, ω t Represents the filter weight corresponding to the current historical sampling point. For any j, ω t >ω t-j >ω t-j-1 ,ω t >ω t+j >ω t+j+1 ,
[0086] It is understandable that in the process of sampling the angle of the first display surface, the sampling value often generates noise fluctuations. Therefore, by taking the current historical sampling point as the center, multiple mirror sampling points and their corresponding initial angles are acquired forward and backward, and the initial angle of the current historical sampling point is filtered through the above initial angle. Since the initial angles of each mirror sampling point and the initial angle of the current historical sampling point are acquired based on the same sampling device, the above initial angle has positive and negative errors generated in the sampling process of the sampling device. Therefore, by obtaining the filtering weight, the sum of all the filtering weights is equal to 1, and the value of the filtering weight decreases from the center to both sides, emphasizing the value of the current historical angle. Based on each filtering weight and each initial angle, the initial angle of the current historical sampling point is filtered, which can effectively reduce the error in the initial angle, so as to obtain a more accurate historical angle.
[0087] In addition, refer to Figure 7 As shown, some embodiments of the present application, Figure 1 Step S120 in the embodiment includes but is not limited to the following steps S710 to S720:
[0088] Step S710, determining the rotation duration based on the target time point and the target sampling point, determining the rotation angle according to the rotation duration and the rotation rate, and determining the rotation arc according to the rotation angle, wherein the calculation formula of the rotation arc is:
[0089] A * =V t ×(T * -T t )
[0090] θ * =A * ×π / 180°
[0091] Among them, A * represents the rotation angle, T * represents the target time point, θ * Indicates rotation radians;
[0092] Step S720, determining the first target coordinates of each first light emitting element at the target time point according to the first center coordinate of the first rotation center axis, each first reference coordinate and the target angle, wherein the calculation formula of the first target coordinate is:
[0093]
[0094]
[0095] in, represents the first target coordinate of the first light emitting element, (M x ,M y ) represents the first reference coordinate of the first light-emitting element, represents the first center coordinate, θ * Indicates rotation in radians.
[0096] See also Figure 8 As shown, in some embodiments of the present application, the rotating display further includes a second display screen and a bracket, the back of the second display screen and the back of the first display screen are respectively fixedly connected to the bracket, the back of the second display screen is close to the back of the first display screen, the second rotation center axis of the second display screen coincides with the first rotation center axis, the second display screen rotates in the same direction as the first display screen, the second display screen includes a plurality of second light-emitting elements, and the picture adjustment method further includes steps S810 to S820:
[0097] Step S810, when reaching the target sampling point, respectively collecting the second reference coordinates of each second light emitting element;
[0098] Step S820, when the target time point is reached, the second target coordinates of each second light emitting element at the target time point are determined according to the second center coordinates of the second rotation center axis, each second reference coordinate and the target angle, wherein the calculation formula of the second target coordinates is:
[0099]
[0100]
[0101] in, represents the second target coordinates of the second light emitting element, (N x ,Ny ) represents the second reference coordinates of the second light-emitting element, Represents the second center coordinate.
[0102] It can be understood that when the rotating display exists on a second display screen that rotates synchronously with the first display screen but faces the opposite direction, when facing the display surface of the first display screen or the display surface of the second display screen, the rotation angle of each second light-emitting element on the second display screen is the same as the rotation angle of the first display screen, but in the opposite direction. Therefore, based on the second reference coordinates of the second light-emitting element, the second target coordinates of each second light-emitting element at the target time point can also be determined using the opposite number of the rotation angle calculated by the first light-emitting element, so that the second display screen can also display the picture information in the positive direction.
[0103] In addition, refer to Fig. 9 As shown, the present application also proposes a picture adjustment device 900 for a rotating display, and the picture adjustment device 900 includes:
[0104] Angle acquisition module 901, when the target sampling point, the angle acquisition module 901 is used to respectively acquire the reference angle and the first reference coordinate of each first light-emitting element, wherein the reference angle refers to the angle between the line between the corresponding first light-emitting element and the first rotation center axis and the preset horizontal baseline at the target sampling point;
[0105] The data processing module 902 is used to obtain the rotation rate and the target time point of each first light-emitting element, and determine the first target coordinates of each first light-emitting element according to the target time point, each first reference coordinate, each reference angle and the rotation rate, wherein the first target coordinate represents the position of the first light-emitting element when it reaches the target time point, and the target time point is located after the target sampling point;
[0106] The projection module 903 is used to obtain image information, and when the target time point is reached, the working state of each first light emitting element is controlled according to each first target coordinate and the image information.
[0107] It is understandable that the above-mentioned picture adjustment device and picture adjustment method are based on the same inventive concept, which will not be described in detail here.
[0108] In addition, refer to Fig.10 and Fig.11 As shown, the present application also proposes a Ferris wheel, comprising:
[0109] The rotating wheel seat 1010 rotates with its own center as the center of the circle;
[0110] The first rotating display screen 1020 is disposed on one side of the rotating wheel base 1010;
[0111] The tilt sensor 1050 is used to collect the angle of the first rotating display screen 1020;
[0112] The control module 1030, the tilt sensor 1050, the rotating wheel base 1010 and the first rotating display screen 1020 are electrically connected to the control module 1030 respectively. The control module 1030 is used to control the rotating wheel base 1010 and the first rotating display screen 1020 to rotate. The control module 1030 is used to execute the picture adjustment method in the above embodiment to control the first rotating display screen 1020 to display picture information.
[0113] In a specific embodiment, the Ferris wheel further includes a second rotating display screen 1040, which is disposed on the rotating wheel seat 1010 on the side opposite to the first rotating display screen 1020, and the second rotating display screen 1040 is electrically connected to the control module 1030, and the control module 1030 is also used to perform the following Figure 6 The picture adjustment method shown is used to control the second rotating display screen 1040 to display picture information.
[0114] It is understandable that the above-mentioned Ferris wheel and picture adjustment method are based on the same inventive concept, which will not be described in detail here.
[0115] In addition, refer to Fig.12 , Fig.12 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0116] The processor 1201 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0117] The memory 1202 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1202 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1202, and the processor 1201 calls and executes the image adjustment method of the rotating display of the embodiment of the present application, for example, executing the above-described Figure 1 Steps S110 to S130 of the method, Figure 2Steps S210 to S220 of the method, Figure 5 Steps S510 to S530 of the method, Figure 6 Steps S610 to S630 of the method, Figure 7 Steps S710 to S720 of the method, and Figure 8 Method steps S810 to S820.
[0118] Input / output interface 1203, used to implement information input and output;
[0119] The communication interface 1204 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0120] A bus 1205 that transmits information between various components of the device (e.g., the processor 1201, the memory 1202, the input / output interface 1203, and the communication interface 1204);
[0121] The processor 1201 , the memory 1202 , the input / output interface 1203 and the communication interface 1204 are connected to each other in communication within the device via the bus 1205 .
[0122] The embodiment of the present application also provides a storage medium, which is a computer-readable storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned image adjustment method of the rotating display, for example, to execute the above-described Figure 1 Steps S110 to S130 of the method, Figure 2 Steps S210 to S220 of the method, Figure 5 Steps S510 to S530 of the method, Figure 6 Steps S610 to S630 of the method, Figure 7 Steps S710 to S720 of the method, and Figure 8 Method steps S810 to S820.
[0123] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0124] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0125] It can be understood by those skilled in the art that Figures 1 to 12 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.
[0126] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0127] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0128] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0129] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0130] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0131] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0132] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0133] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0134] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for adjusting the image of a rotating display, characterized in that: Applied to a rotating display, the rotating display rotates about a preset first rotation center axis, the rotating display includes a first display screen, a plurality of first light-emitting elements are arranged on the first display screen, and the image adjustment method includes: When the target sampling point is reached, the reference angle and the first reference coordinate of each of the first light-emitting elements are respectively collected, wherein the reference angle refers to the angle between the line between the first light-emitting element and the first rotation center axis corresponding to the target sampling point and a preset horizontal baseline; Acquire the rotation rate and target time point of each of the first light-emitting elements, and determine the first target coordinates of each of the first light-emitting elements according to the target time point, each of the first reference coordinates, each of the reference angles, and the rotation rate, wherein the first target coordinates represent the position of the first light-emitting element when it reaches the target time point, and the target time point is located after the target sampling point; Image information is acquired, and when the target time point is reached, the working state of each of the first light-emitting elements is controlled according to each of the first target coordinates and the image information.
2. The image adjustment method according to claim 1, characterized in that: The image information includes a plurality of initial pixel information, and when the target time point is reached, the working state of each of the first light-emitting elements is controlled according to each of the first target coordinates and the image information, including: When the target time point is reached, determining the initial pixel information corresponding to each first light-emitting element according to the first target coordinates; The initial pixel information is filtered to obtain target pixel information corresponding to each of the first light-emitting elements.
3. The image adjustment method according to claim 2, characterized in that: The initial pixel information includes the initial grayscale value corresponding to each first light-emitting element, and the target pixel information includes the target grayscale value corresponding to each first light-emitting element. The calculation formula for filtering the initial pixel information is: Among them, C(x0, y0) represents the initial grayscale value of the first light-emitting element when the first target coordinates are (x0, y0), C(x1, y1) represents the initial grayscale value of the first light-emitting element when the first target coordinates are (x1, y1), C(x2, y1) represents the initial grayscale value of the first light-emitting element when the first target coordinates are (x2, y1), C(x1, y2) represents the initial grayscale value of the first light-emitting element when the first target coordinates are (x1, y2), C(x2, y2) represents the initial grayscale value of the first light-emitting element when the first target coordinates are (x2, y2), and the values of (x2-x1), (x0-x1), (y2-y0) and (y0-y1) are all less than the preset distance threshold.
4. The image adjustment method according to claim 1, characterized in that: The obtaining of the rotation rate of each of the first light emitting elements comprises: Acquire historical sampling points and initial angles of each of the first light-emitting elements at each of the historical sampling points; Filtering each of the initial angles to obtain a historical angle of each of the first light-emitting elements at each of the historical sampling points; The rotation rate of the first light emitting element is determined according to each of the historical angles and the corresponding historical sampling points, and each of the reference angles and the corresponding target sampling points, wherein the calculation formula of the rotation rate is: Among them, V t represents the rotation rate of the first light emitting element at the target sampling point, T i represents the i-th historical sampling point, A i represents the historical angle of the first light emitting element at the i-th historical sampling point, T n represents the nth historical sampling point, A n represents the historical angle of the first light emitting element at the nth historical sampling point, T t represents the target sampling point, A t represents the reference angle of the first light emitting element at the target time point, and n represents the number of the historical sampling points.
5. The image adjustment method according to claim 4, characterized in that: The filtering of each of the initial angles to obtain the historical angle of each of the first light-emitting elements at each of the historical sampling points includes: Taking the historical sampling point as the center, acquiring the corresponding mirror sampling point and the initial angle of each of the first light-emitting elements at the mirror sampling point; The filtering weights of the initial angles are obtained, and based on the initial angles and the corresponding filtering weights, the initial angle corresponding to the current historical sampling point is filtered to obtain the historical angle of the first light-emitting element at the current historical sampling point, wherein the sum of all the filtering weights is equal to 1, and the calculation formula of the filtering process is: Wherein, the number of the initial angles is equal to 2m+1, a t-j represents the initial angle of the first light emitting element at the tjth mirror sampling point, ω t-j represents the filtering weight corresponding to the tjth initial angle, a t+j represents the initial angle of the first light emitting element at the t+jth mirror sampling point, ω t+j represents the filtering weight corresponding to the t+jth initial angle, a t represents the initial angle of the first light emitting element at the current historical sampling point, ω t Represents the filter weight corresponding to the current historical sampling point. For any j, ω t >ω t-j >ω t-j-1 ,ω t >ω t+j >ω t+j+1 , 6. The image adjustment method according to claim 1, characterized in that: The step of determining the first target coordinates of each of the first light-emitting elements according to the target time point, each of the first reference coordinates, each of the reference angles, and the rotation rate includes: The rotation duration is determined based on the target time point and the target sampling point, the rotation angle is determined according to the rotation duration and the rotation rate, and the rotation arc is determined according to the rotation angle, wherein the calculation formula of the rotation arc is: A * =V t ×(T * -T t ) i * =A * ×π / 180° Among them, A * represents the rotation angle, T * represents the target time point, θ * Indicates rotation radians; The first target coordinates of each of the first light-emitting elements at the target time point are determined according to the first center coordinate of the first rotation center axis, each of the first reference coordinates and the target angle, wherein the calculation formula of the first target coordinates is: in, represents the first target coordinate of the first light emitting element, (M x ,M y ) represents the first reference coordinate of the first light-emitting element, represents the first center coordinate, θ * Represents the rotation in radians.
7. The image adjustment method according to claim 6, characterized in that: The rotating display further includes a second display screen and a bracket, the back of the second display screen and the back of the first display screen are respectively fixedly connected to the bracket, the back of the second display screen is close to the back of the first display screen, the second rotation center axis of the second display screen coincides with the first rotation center axis, the second display screen rotates in the same direction as the first display screen, the second display screen includes a plurality of second light emitting elements, and the picture adjustment method further includes: When the target sampling point is reached, the second reference coordinates of each of the second light-emitting elements are collected respectively; When the target time point is reached, the second target coordinates of each of the second light-emitting elements at the target time point are determined according to the second center coordinates of the second rotation center axis, each of the second reference coordinates and the target angle, wherein the calculation formula of the second target coordinates is: in, represents the second target coordinate of the second light emitting element, (N x ,N y ) represents the second reference coordinates of the second light-emitting element, represents the second center coordinates.
8. A picture adjustment device for a rotating display, characterized in that: include: Angle acquisition module, when the target sampling point is selected, the angle acquisition module 901 is used to respectively acquire the reference angle and the first reference coordinate of each of the first light-emitting elements, wherein the reference angle refers to the angle between the line between the first light-emitting element and the first rotation center axis corresponding to the target sampling point and a preset horizontal baseline; a data processing module, configured to obtain a rotation rate and a target time point of each of the first light-emitting elements, and determine a first target coordinate of each of the first light-emitting elements according to the target time point, each of the first reference coordinates, each of the reference angles, and the rotation rate, wherein the first target coordinate represents a position of the first light-emitting element when the first light-emitting element reaches the target time point, and the target time point is located after the target sampling point; The projection module is used to acquire image information, and when the target time point is reached, control the working state of each of the first light-emitting elements according to each of the first target coordinates and the image information.
9. A Ferris wheel, characterized in that: include: Swivel wheel seat; A first rotating display screen is arranged on one side of the rotating wheel seat; A tilt sensor, used to collect the angle of the first rotating display screen; A control module, wherein the inclination sensor, the rotating wheel seat and the first rotating display screen are electrically connected to the control module respectively, and the control module is used to control the rotating wheel seat and the first rotating display screen to rotate. The control module is also used to execute the picture adjustment method described in any one of claims 1 to 6 to control the first rotating display screen to display picture information.
10. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the image adjustment method for a rotating display according to any one of claims 1 to 6 when executing the computer program.
Citation Information
Patent Citations
Data processing method, rotary display device and storage medium
CN111383564A
Image processing method, device and system
CN113496670A
Intelligent display method, device and equipment of ribbon-shaped display screen and storage medium
CN114822269A
AR picture brightness adjustment method and device, equipment and storage medium
CN115100983A
Display screen rotation self-adaption method and device, computer equipment and storage medium
CN116343714A
