Lamp bead position encoding method and lamp bead position decoding method

By assigning serial numbers to the lamp beads in the display screen and performing d-code, setting the flashing transmission position encoding, and obtaining the control address through image decoding, the difficulty of encoding and decoding when the lamp beads in the display screen is irregularly arranged, and the difficulty of encoding and decoding is achieved. Fast and accurate control address acquisition.

CN119152801APending Publication Date: 2024-12-17CHIPONE TECHNOLOGY (BEIJING) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411487792.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

When the lamp beads are arranged irregularly in the display screen, it is difficult to obtain the control address of the lamp beads through traditional methods, resulting in difficulty in encoding and decoding.

Method used

The position encoding method of lamp beads is adopted. By assigning a unique serial number to each lamp bead and encoding it in d-digit, setting the flashing methods of different lamp beads to transmit position encoding; at the same time, by taking the flashing image of the lamp beads, decoding Get the serial number and control address of the lamp bead.

Benefits of technology

It realizes the rapid and accurate acquisition of the control address of the lamp beads of any arrangement method, solves the difficulty of encoding and decoding in irregular arrangements of traditional methods, and improves the efficiency and accuracy of encoding and decoding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119152801A_ABST
    Figure CN119152801A_ABST
Patent Text Reader

Abstract

The invention relates to a lamp bead position encoding method and a lamp bead position decoding method, and the encoding method comprises the steps: determining a lamp bead serial number of each lamp bead in a display screen; performing d-system coding on the lamp bead serial number of each lamp bead to serve as a position code of each lamp bead; setting a flickering mode of each lamp bead according to the position code of each lamp bead; the decoding method comprises the following steps: acquiring L first images obtained by shooting a display screen when each lamp bead flickers according to a respective corresponding flicker mode; determining a position code of each lamp bead according to the L first images; performing d-system decoding on the position code of each lamp bead, and determining a lamp bead serial number of each lamp bead; by means of the method, position coding can be conducted on the lamp bead serial numbers (corresponding to the control addresses of the lamp beads), and the position codes of the lamp beads can be conveniently and accurately transmitted; for the lamp beads arranged according to any arrangement mode, the serial numbers of the lamp beads can be quickly and accurately obtained through decoding, and then the control addresses of the lamp beads are obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a lamp bead position encoding method and a lamp bead position decoding method. Background Art

[0002] Light Emitting Diode (LED) display screens have the advantages of good display effects, customizability, and high maintainability, and are increasingly widely used in life. There are a large number of lamp beads in the display screen, and each lamp bead has a preset control address. According to the control address, the working state of the corresponding lamp bead can be controlled, for example, the brightness, color, and luminous time of the lamp bead can be controlled. The control address of the lamp bead is indexed by the row address and the column address. When the lamp beads in the display screen are neatly arranged in rows and columns, the display screen image can be captured by a camera, and the control address of the lamp bead can be obtained by analyzing the arrangement of the lamp beads in the display screen image. However, when the lamp beads in the display screen are irregularly arranged, it is difficult to obtain the control address of the lamp bead by the above method. Summary of the invention

[0003] In view of this, the present application proposes a lamp bead position encoding method, a lamp bead position decoding method, a lamp bead position encoding device, a lamp bead position decoding device, an electronic device and a storage medium. According to the lamp bead position encoding method of the present application, the lamp bead serial number (corresponding to the control address of the lamp bead) can be conveniently encoded to obtain the lamp bead position code, and the lamp bead position code can be conveniently and accurately transmitted; according to the lamp bead position decoding method of the present application, for lamp beads arranged in any arrangement on the display screen, the lamp bead serial number can be quickly and accurately obtained, and then the lamp bead control address can be obtained.

[0004] According to one aspect of the present application, a method for encoding the position of lamp beads is provided, wherein the lamp beads are located in a display screen; the method comprises: determining the lamp bead serial number of each lamp bead in the display screen; wherein different lamp beads have different lamp bead serial numbers; performing d-binary encoding on the lamp bead serial number of each lamp bead, and using the d-binary code corresponding to the lamp bead serial number of each lamp bead as the position code of each lamp bead; wherein the code lengths of the position codes of each lamp bead are the same; d is a positive integer; d≥2; and setting the flashing mode of each lamp bead according to the position code of each lamp bead; wherein different lamp beads have different flashing modes.

[0005] In a possible implementation, the method further includes: determining a correspondence between a lamp bead serial number of each lamp bead and a preset control address of each lamp bead; the control address is used to control a working state of the lamp bead.

[0006] In a possible implementation, d in the d-ary code and the code length satisfy:L >S max ; Wherein, L represents the coding length; S max It represents the largest lamp bead serial number among the lamp bead serial numbers of the lamp beads; L is a positive integer.

[0007] In a possible implementation, the flashing mode of each lamp bead is set according to the position code of each lamp bead, including: determining d brightness levels; determining the brightness level corresponding to the kth flashing of each lamp bead from the d brightness levels according to the k-th bit code in the position code of each lamp bead; wherein the number of flashings of each lamp bead is L times; 1≤k≤L.

[0008] In a possible implementation, the method further includes: based on the control address of each lamp bead, controlling each lamp bead to flash according to its corresponding flashing mode; wherein the flashing frequencies of each lamp bead are the same.

[0009] According to another aspect of the present application, a lamp bead position decoding method is provided, the method comprising: acquiring L first images obtained by photographing a display screen; wherein L represents the coding length of the position coding of each lamp bead in the display screen; the mth first image among the L first images is an image photographed when each lamp bead flashes for the mth time according to its corresponding flashing mode; 1≤m≤L; the position coding of each lamp bead is obtained by the above-mentioned lamp bead position coding method; based on the L first images, determining the position coding of each lamp bead; performing d-binary decoding on the position coding of each lamp bead to determine the lamp bead serial number of each lamp bead.

[0010] In a possible implementation manner, the method further includes: determining the control address of each lamp bead according to a correspondence between a lamp bead serial number of each lamp bead and a preset control address of each lamp bead.

[0011] In a possible implementation, determining the position code of each lamp bead based on the L first images includes: determining the brightness level of each lamp bead in the L first images; and determining the m-th bit code in the position code of each lamp bead based on the brightness level of each lamp bead in the m-th first image.

[0012] In a possible implementation, before obtaining L first images obtained by photographing the display screen, the method also includes: obtaining a second image obtained by photographing the display screen when all lamp beads in the display screen are lit; based on the second image, determining the camera coordinates of each lamp bead; the camera coordinates of each lamp bead are used to describe the position of each lamp bead in the second image.

[0013] In a possible implementation, the relative position relationship between the camera and the display screen when shooting the second image is consistent with the relative position relationship between the camera and the display screen when shooting the L first images; determining the brightness level of each lamp bead in the L first images includes: determining the position of each lamp bead in the L first images based on the camera coordinates of each lamp bead; determining the brightness level of each lamp bead in the L first images based on the position of each lamp bead in the L first images.

[0014] In a possible implementation, the signal-to-noise ratio of the L first images satisfies: log d SNR>d; wherein SNR represents the signal-to-noise ratio of the L first images.

[0015] According to another aspect of the present application, a lamp bead position coding device is provided, wherein the lamp bead is located in a display screen; the device comprises: a lamp bead serial number determination module, used to determine the lamp bead serial number of each lamp bead in the display screen; wherein different lamp beads have different lamp bead serial numbers; an encoding module, used to perform d-based encoding on the lamp bead serial number of each lamp bead, and use the d-based encoding corresponding to the lamp bead serial number of each lamp bead as the position code of each lamp bead; wherein the encoding lengths of the position codes of each lamp bead are the same; d is a positive integer; d≥2; a flashing setting module, used to set the flashing mode of each lamp bead according to the position code of each lamp bead; wherein different lamp beads have different flashing modes.

[0016] According to another aspect of the present application, a lamp bead position decoding device is provided, the device comprising: a first image acquisition module, used to acquire L first images obtained by photographing the display screen; wherein L represents the coding length of the position coding of each lamp bead in the display screen; the mth first image among the L first images is an image photographed when each lamp bead flashes for the mth time according to its corresponding flashing mode; 1≤m≤L; the position coding of each lamp bead is obtained by the above-mentioned lamp bead position coding device; a position coding determination module, used to determine the position coding of each lamp bead according to the L first images; a decoding module, used to perform d-binary decoding on the position coding of each lamp bead to determine the lamp bead serial number of each lamp bead.

[0017] According to another aspect of the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement the above-mentioned lamp bead position encoding method, or implement the above-mentioned lamp bead position decoding method, when executing the instructions stored in the memory.

[0018] According to another aspect of the present application, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions, when executed by a processor, implement the above-mentioned lamp bead position encoding method, or implement the above-mentioned lamp bead position decoding method.

[0019] According to another aspect of the present application, a computer program product is provided, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned lamp bead position encoding method, or executes the above-mentioned lamp bead position decoding method.

[0020] According to another aspect of the present application, a display device is provided, comprising the above-mentioned lamp bead position encoding device, the above-mentioned lamp bead position decoding device and a display screen.

[0021] In a possible implementation, the display screen is any one of a light emitting diode display screen, a micro light emitting diode display screen, a mini light emitting diode display screen, a quantum dot light emitting diode display screen, and an organic light emitting diode display screen.

[0022] The lamp bead position coding method and lamp bead position decoding method of the present application assign a lamp bead serial number to each lamp bead in a display screen, use the d-binary code corresponding to the lamp bead serial number of each lamp bead as the position code of each lamp bead, set the flashing mode of each lamp bead according to the position code, control each lamp bead to flash according to its corresponding position code to transmit the position code of each lamp bead, and conveniently code the position of each lamp bead and conveniently and accurately transmit the position code of each lamp bead; by shooting L display screen images when the lamp bead flashes according to its corresponding position code, determining the position code of each lamp bead according to the brightness of each lamp bead in the L display screen images, and decoding the position code to obtain the lamp bead serial number of each lamp bead, for lamp beads arranged in any arrangement in the display screen, the lamp bead serial number of each lamp bead can be quickly and accurately obtained, and then the control address of each lamp bead can be obtained according to the correspondence between the lamp bead serial number and the control address.

[0023] Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.

[0025] Figure 1 Schematic diagram showing display correction techniques.

[0026] Figure 2 A schematic diagram showing the control address of the lamp beads.

[0027] Figure 3 Schematic diagram showing regularly arranged lamp beads and irregularly arranged lamp beads.

[0028] Figure 4 A flow chart of a lamp bead position coding method according to an embodiment of the present application is shown.

[0029] Figure 5 A flow chart of a lamp bead position decoding method according to an embodiment of the present application is shown.

[0030] Figure 6 A schematic diagram showing a method for decoding lamp bead positions according to an embodiment of the present application is shown.

[0031] Figure 7 A schematic structural diagram of a lamp bead position coding device according to an embodiment of the present application is shown.

[0032] Figure 8 A schematic structural diagram of a lamp bead position decoding device according to an embodiment of the present application is shown.

[0033] Fig. 9 A block diagram of an electronic device 1900 according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0034] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0035] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0036] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0037] After the display screen leaves the factory, due to differences in process, the brightness and color of each lamp bead may be inconsistent, and display screen correction technology is needed to provide brightness and color correction for each lamp bead that makes up the display screen. Figure 1 A schematic diagram showing display correction technology is shown, such as Figure 1As shown, the display screen correction technology can be implemented using a high-resolution camera and a computer, and the computer is loaded with corresponding software and algorithms. The display screen correction process may include: (1) using a high-resolution camera to capture the display screen image; (2) obtaining the position and color of each lamp bead through a corresponding algorithm in the computer; (3) calculating the deviation between the color of each lamp bead and the target color; (4) performing coefficient compensation on each lamp bead to correct the deviation between the lamp bead color and the target color.

[0038] During the calibration process, obtaining the position of the lamp bead actually means obtaining the position of the lamp bead in the display driver chip, that is, obtaining the control address of the lamp bead. Figure 2 A schematic diagram showing the control address of the lamp bead, such as Figure 2 As shown, the control address of the lamp bead is indexed by the row address and the column address. For example, if you want to control the lamp bead in the R1 row and the C2 column to display white, then send a "white" control signal to the lamp bead with the control address (R1, C2), and the lamp bead at the corresponding position will display white.

[0039] Figure 3 Schematic diagram showing regularly arranged lamp beads and irregularly arranged lamp beads, such as Figure 3 As shown in (a), if the lamp beads are arranged in a regular rectangular shape, that is, the lamp beads are aligned in rows and columns, the row and column of each lamp bead can be determined by analyzing the arrangement of the lamp bead images in the display screen image, thereby determining the control address of each lamp bead; however, Figure 3 As shown in (b), if the lamp beads are not arranged in a regular rectangular shape, it is difficult to determine the control address of the lamp beads using the above method.

[0040] In view of this, the present application proposes a lamp bead position encoding method and a lamp bead position decoding method. According to the lamp bead position encoding method of the present application, the lamp bead serial number (corresponding to the control address of the lamp bead) can be conveniently encoded to obtain the lamp bead position code, and the lamp bead position code can be conveniently and accurately transmitted; according to the lamp bead position decoding method of the present application, for lamp beads arranged in any arrangement on the display screen, the lamp bead serial number can be quickly and accurately obtained, and then the lamp bead control address can be quickly and accurately obtained.

[0041] Figure 4 A flow chart of a lamp bead position coding method according to an embodiment of the present application is shown, wherein the lamp bead is located in a display screen (the lamp bead can be located in the same display screen or in a display screen composed of multiple display screens), and the method can be implemented by a display driver chip connected to the display screen, such as Figure 4 As shown, the method may include:

[0042] S401. Determine the lamp bead serial number of each lamp bead in the display screen; wherein different lamp beads have different lamp bead serial numbers, and the lamp bead serial number is an integer greater than or equal to 0.

[0043] Exemplarily, a lamp bead serial number may be assigned to each lamp bead in the display screen in a manner of increasing by 1 starting from 0. If the total number of lamp beads in the display screen is N, the largest lamp bead serial number is N-1.

[0044] For example, when the lamp beads in the display screen are arranged regularly, the lamp bead serial number can be assigned to each lamp bead in the order of rows or columns. For example, the lamp beads in the display screen are arranged in H rows and W columns, and the lamp bead serial number S of the lamp bead in the i-th row and j-th column is (i,j) It can be (i-1)*W+(j-1).

[0045] For example, when the lamp beads in the display screen are arranged irregularly, a lamp bead serial number can be randomly assigned to each lamp bead.

[0046] It should be noted that the present application does not limit the implementation method of determining the lamp bead serial number of each lamp bead in the display screen, as long as each lamp bead has a unique corresponding lamp bead serial number.

[0047] In a possible implementation, the method may further include: determining the correspondence between the lamp bead serial number of each lamp bead and the preset control address of each lamp bead; the control address is used to control the working state of the lamp bead, for example, the color, brightness, luminous time, etc. of the lamp bead can be controlled.

[0048] Exemplarily, when determining the lamp bead serial number of each lamp bead, the correspondence between the lamp bead serial number of each lamp bead and its preset control address can be determined at the same time, and the correspondence between the lamp bead serial number of each lamp bead and its control address can be recorded. For example, the lamp bead serial number of the lamp bead with a control address of (1,1) is 7, and the correspondence between the control address (1,1) and the lamp bead serial number 7 can be recorded in the display driver chip.

[0049] Exemplarily, the display screen may be any one of a light emitting diode display screen, a micro light emitting diode display screen, a mini light emitting diode display screen, a quantum dot light emitting diode display screen, and an organic light emitting diode display screen, and the lamp beads may be LED lamp beads.

[0050] S402, encode the lamp bead serial number of each lamp bead in d-base, and use the d-base code corresponding to the lamp bead serial number of each lamp bead as the position code of each lamp bead; wherein the code lengths of the position codes of each lamp bead are the same; d is a positive integer; d≥2.

[0051] For example, the d in the d-ary encoding and the encoding length L of the position encoding of each lamp bead satisfy: d L >Smax ; Among them, S max Indicates the largest lamp bead number among the lamp bead numbers of all lamp beads; L is a positive integer.

[0052] As an example, the code length L may be the code length corresponding to the d-binary code of the maximum lamp bead number. For example, the maximum lamp bead number is 10, d=2, and the binary code of 10 is 0101, then the code length L may be 4.

[0053] S403, setting the flashing mode of each lamp bead according to the position code of each lamp bead; wherein different lamp beads have different flashing modes.

[0054] In a possible implementation, setting the flashing mode of each lamp bead according to the position code of each lamp bead may include:

[0055] (1) Determine d brightness levels.

[0056] (2) According to the k-th bit code in the position code of each lamp bead, determine the brightness level corresponding to the k-th flash of each lamp bead from the d brightness levels; wherein the number of flashes of each lamp bead is L times; 1≤k≤L.

[0057] In another possible implementation, setting the flashing mode of each lamp bead according to the position code of each lamp bead may include:

[0058] (1) Determine d colors.

[0059] (2) According to the k-th bit code in the position code of each lamp bead, determine the color corresponding to the k-th flash of each lamp bead from the d colors; wherein the number of flashes of each lamp bead is L times; 1≤k≤L.

[0060] In one embodiment, it is assumed that there are 5 lamp beads in the display screen, and the lamp bead serial numbers are 0, 1, 2, 3, and 4. If d=2, the lamp bead serial numbers of the 5 lamp beads are binary coded respectively, and the coding length can be 3. The 3-bit binary code corresponding to the lamp bead serial number of each lamp bead is the position code of each lamp bead. The corresponding relationship between the lamp bead serial number and the position code of each lamp bead is shown in Table 1.

[0061] Table 1

[0062] Lamp bead serial number Lamp bead position coding 0 000 1 100 2 010 3 110 4 001

[0063] The flashing mode of each lamp bead can be set according to the position code of each lamp bead. Since the code length is 3, the number of flashes of each lamp bead can be 3 times.

[0064] As an example, two brightness levels can be determined, namely bright and dark, and if the code is 0, it corresponds to dark, and if the code is 1, it corresponds to bright, then the brightness level corresponding to the kth flash of each lamp bead can be determined according to the kth bit code in the position code of each lamp bead. For example, for the lamp bead with the serial number 3, the first bit code in its position code is 1, then the lamp bead can be set to brighten when it flashes for the first time; if the second bit code in its position code is 1, then the lamp bead can be set to brighten when it flashes for the second time; if the third bit code in its position code is 0, then the lamp bead can be set to not brighten when it flashes for the third time.

[0065] As another example, two colors can be determined, red and green, and the code 0 corresponds to red and the code 1 corresponds to green. Then, the color corresponding to the kth flash of each lamp bead can be determined according to the kth bit code in the position code of each lamp bead. For example, for the lamp bead with the serial number 3, the color of the lamp bead can be set to green when it flashes for the first time, green when it flashes for the second time, and red when it flashes for the third time.

[0066] In another embodiment, if d=3, the lamp bead serial number of each lamp bead in the display screen is ternary-encoded, and assuming that the maximum lamp bead serial number is 8, the encoding length can be 3. As an example, three brightness levels can be determined, namely, off, brightness 1, and brightness 2, and the code 0 corresponds to off, the code 1 corresponds to brightness 1, and the code 2 corresponds to brightness 2. Then, according to the k-th bit code in the position code of each lamp bead, the brightness level corresponding to the k-th flash of each lamp bead can be determined; for example, for the lamp bead with a serial number of 7, its position code is 120, then the brightness of the lamp bead can be set to brightness 1 when it flashes for the first time, the brightness of the second flash is set to brightness 2, and it can be set to off when it flashes for the third time. As another example, three colors can be determined, namely red, green and blue. Let the code 0 correspond to red, the code 1 correspond to green, and the code 2 correspond to blue. Then, according to the k-th bit code in the position code of each lamp bead, the color corresponding to the k-th flash of each lamp bead can be determined; for example, for the lamp bead number 7, its position code is 120, then the color of the lamp bead can be set to green when it flashes for the first time, blue when it flashes for the second time, and red when it flashes for the third time.

[0067] In a possible implementation, the method may further include: based on the control address of each lamp bead, controlling each lamp bead to flash according to its corresponding flashing mode; wherein the flashing frequencies of each lamp bead are the same.

[0068] The lamp bead position coding method of the embodiment of the present application assigns a lamp bead serial number to each lamp bead in the display screen, uses the d-binary code corresponding to the lamp bead serial number of each lamp bead as the position code of each lamp bead, sets the flashing mode of each lamp bead according to the position code, controls each lamp bead to flash according to its corresponding position code to transmit the position code of each lamp bead, and can conveniently code the position of each lamp bead and conveniently and accurately transmit the position code of each lamp bead. The lamp bead serial number of the lamp bead corresponds to its control address, so the position code of the lamp bead also corresponds to the control address of the lamp bead, that is, the control address of each lamp bead can be conveniently and accurately transmitted through the lamp bead position coding method of the embodiment of the present application.

[0069] After executing the lamp bead position encoding method of the embodiment of the present application, the value of d, the coding length L, d brightness levels (or d colors), and the coding corresponding to each brightness level (or each color) can be recorded in the display driver chip. Before executing the lamp bead position decoding method of the embodiment of the present application, the above information can be obtained from the display driver chip.

[0070] Figure 5 A flowchart of a lamp bead position decoding method according to an embodiment of the present application is shown. The method is used to decode the position of a lamp bead according to Figure 4 The lamp bead position coding method shown in the figure decodes the position of the lamp bead after position coding. The method can be executed by a device with processing capability such as a processor or a server. The method may include:

[0071] S501. Obtain L first images obtained by photographing the display screen; wherein L represents the coding length of the position coding of each lamp bead in the display screen; the mth first image among the L first images is an image captured when each lamp bead flashes for the mth time according to its corresponding flashing mode; 1≤m≤L; the position coding of each lamp bead is obtained by the above-mentioned lamp bead position coding method.

[0072] Exemplarily, the display screen may be photographed by a camera to obtain L first images, and the camera may be a high-resolution camera.

[0073] Exemplarily, the frequency of the camera taking images can be the same as the flashing frequency of the lamp beads. The display driver chip can control the lamp beads in the display screen to flash according to their corresponding flashing modes. When the lamp beads flash for the mth time, the camera can capture the mth first image.

[0074] In a possible implementation, before acquiring L first images obtained by photographing the display screen, the method may further include:

[0075] (1) Acquire a second image of the display screen by photographing the display screen when all the lamp beads in the display screen are lit.

[0076] Exemplarily, the display driver chip can control all lamp beads in the display screen to light up, and at this time, a camera can be used to shoot the display screen to obtain a second image.

[0077] (2) Determine the camera coordinates of each lamp bead according to the second image; the camera coordinates of each lamp bead are used to describe the position of each lamp bead in the second image.

[0078] Exemplarily, a rectangular coordinate system can be established based on the second image. For example, a rectangular coordinate system can be established with the long side of the second image as the x-axis and the wide side as the y-axis. The lamp bead image corresponding to each lamp bead can be identified based on the second image. The coordinates of the center point of each lamp bead image in the rectangular coordinate system can be used as the camera coordinates of each lamp bead. The camera coordinates can describe the position of each lamp bead in the second image. The process of identifying the lamp bead image corresponding to each lamp bead and determining the coordinates of the center point of each lamp bead image can refer to the relevant technology.

[0079] Exemplarily, the relative position relationship between the camera and the display screen when shooting the second image is consistent with the relative position relationship between the camera and the display screen when shooting the L first images.

[0080] S502: Determine the position code of each lamp bead according to the L first images.

[0081] In a possible implementation, when each lamp bead flashes at d brightness levels, determining the position code of each lamp bead according to the L first images may include:

[0082] (1) Determine the brightness level of each lamp bead in the L first images.

[0083] Exemplarily, determining the brightness level of each lamp bead in the L first images may include:

[0084] Determine the position of each lamp bead in the L first images according to the camera coordinates of each lamp bead;

[0085] According to the position of each lamp bead in the L first images, the brightness level of each lamp bead in the L first images is determined.

[0086] For the L first images, a rectangular coordinate system can be established in the same way as for the second image. Since the positional relationship between the camera and the display screen does not change when taking the second image and the L first images, the position of each lamp bead in the second image and the L first images will not change. For any lamp bead in the display screen, the camera coordinates of the lamp bead in the second image are the camera coordinates of the lamp bead in the L first images, so that the position of each lamp bead in the L first images can be determined, thereby determining the brightness of each lamp bead in each first image. The method for determining the brightness of the lamp bead in each first image can refer to the relevant technology. After determining the brightness of each lamp bead in each first image, the brightness level of the lamp bead in each first image can be determined from d brightness levels.

[0087] (2) Determine the m-th bit code in the position code of each lamp bead according to the brightness level of each lamp bead in the m-th first image.

[0088] The code corresponding to the brightness level of the lamp bead in the mth first image is the mth bit code in the lamp bead position code. According to the brightness level of the lamp bead in each first image, the L-bit position code of the lamp bead can be determined.

[0089] Exemplarily, the signal-to-noise ratio of the L first images satisfies: log d SNR>d; where SNR represents the signal-to-noise ratio of L first images. The higher the signal-to-noise ratio of the first image, the more brightness levels the first image can distinguish. For a lamp bead that uses d-ary encoding for position encoding, when it flashes in a corresponding flashing mode, the brightness change can include at most d brightness levels. When the signal-to-noise ratio of the first image satisfies log d Only when SNR>d can d brightness levels be distinguished according to the first image, thereby determining the position code of each bit of the lamp bead.

[0090] In another possible implementation, when each lamp bead flashes in d colors, determining the position code of each lamp bead according to the L first images may include:

[0091] (1) Determine the color of each lamp bead in the L first images.

[0092] (2) Determine the m-th bit code in the position code of each lamp bead according to the color of each lamp bead in the m-th first image.

[0093] The steps of determining the position code of each lamp bead when each lamp bead flashes according to d colors can refer to the above steps of determining the position code of each lamp bead when each lamp bead flashes according to d brightness levels, which will not be repeated here.

[0094] S503, performing d-base decoding on the position code of each lamp bead to determine the lamp bead serial number of each lamp bead.

[0095] In a possible implementation, the method may further include: determining the control address of each lamp bead according to a correspondence between a lamp bead serial number of each lamp bead and a preset control address of each lamp bead.

[0096] Exemplarily, the correspondence between the lamp bead serial number and the control address can be obtained from the display driver chip, and the control address of each lamp bead in the display screen can be determined according to the correspondence.

[0097] The lamp bead position decoding method of the embodiment of the present application takes L display screen images when the lamp beads flash according to their corresponding position codes, determines the position code of each lamp bead according to the brightness of each lamp bead in the L display screen images, and obtains the lamp bead serial number of each lamp bead by decoding the position code. For lamp beads arranged in any arrangement in the display screen, the lamp bead serial number of each lamp bead in the display screen can be quickly and accurately determined, and then the control address of each lamp bead can be quickly and accurately determined according to the correspondence between the lamp bead serial number and the control address.

[0098] In one embodiment, assuming that the display screen contains 7 lamp beads, the control addresses are recorded as (R0, C0), (R1, C1), (R2, C2), (R3, C3), (R4, C4), (R5, C5), (R6, C6). The lamp bead positions can be encoded by a display driver chip connected to the display screen. First, assign a lamp bead serial number to each lamp bead. The lamp bead serial numbers corresponding to the lamp bead with control addresses (R0, C0), (R1, C1), (R2, C2), (R3, C3), (R4, C4), (R5, C5), (R6, C6) are 0, 1, 2, 3, 4, 5, and 6, respectively. Then, the lamp bead serial number can be binary-coded (i.e., d=2), and the coding length is 3 (i.e., L=3). The lamp bead flashing mode can be set according to the lamp bead position coding and the lamp bead can be controlled to flash according to the position coding. The number of flashes is 3 times. The brightness level at the i-th flashing is determined according to the i-th bit coding in the lamp bead position coding. The coding of 0 corresponds to off light, and the coding of 1 corresponds to light. After the lamp bead position coding is performed, the correspondence between the lamp bead serial number and the control address, d=2, L=3, 2 brightness levels (on and off light), and the coding corresponding to each brightness level (on light corresponds to coding 1, off light corresponds to coding 0) can be recorded in the display driver chip.

[0099] The position of the lamp beads can be decoded by using a camera and a computer. Before decoding the position of the lamp beads, the computer can obtain the above-mentioned recorded information from the display driver chip. Figure 6A schematic diagram showing a method for decoding the position of a lamp bead according to an embodiment of the present application is shown as follows: Figure 6 As shown, the camera can capture a display screen image when the display driver chip controls the lamp beads in the display screen to be fully lit (i.e. Figure 6 The computer can obtain image 6-1 and determine the camera coordinates of each lamp bead based on image 6-1. A rectangular coordinate system can be established with the long side of image 6-1 as the x-axis, the wide side as the y-axis, and the vertex in the upper left corner as the origin, and the lamp bead image corresponding to each lamp bead in image 6-1 can be identified. The coordinates of the center point of each lamp bead image in the rectangular coordinate system are used as the camera coordinates of each lamp bead. Then, the camera can continuously take three display screen images (i.e., when the display driver chip controls each lamp bead to flash according to the position code) Figure 6 The shooting frequency is the same as the flashing frequency of the lamp beads, that is, image 6-2a is the display screen image taken when the lamp beads flash for the first time, image 6-2b is the display screen image taken when the lamp beads flash for the second time, and image 6-2c is the display screen image taken when the lamp beads flash for the third time. The relative position relationship between the camera and the display screen remains unchanged when shooting images 6-1, 6-2a, 6-2b, and 6-2c. The computer can obtain images 6-2a, 6-2b, and 6-2c, and determine the position of each lamp bead in images 6-2a, 6-2b, and 6-2c according to the camera coordinates of each lamp bead, thereby determining the brightness of each lamp bead in images 6-2a, 6-2b, and 6-2c. If the lamp bead is not lit in the i-th image in images 6-2a, 6-2b, and 6-2c, the i-th bit in the position code of the lamp bead is 0; if the lamp bead is lit in the i-th image in images 6-2a, 6-2b, and 6-2c, the i-th bit in the position code of the lamp bead is 1; based on this, the position code of each lamp bead can be determined. The position code of each lamp bead is binary decoded to determine the lamp bead serial number of each lamp bead. According to the corresponding relationship between the lamp bead serial number and the control address, the control address of each lamp bead can be obtained.

[0100] For example, for the lamp bead located in the upper left corner of the display screen image, it is lit in image 6-2a, and the first bit of the position code of the lamp bead is 1; it is not lit in image 6-2b, and the second bit of the position code of the lamp bead is 0; it is not lit in image 6-2c, and the third bit of the position code of the lamp bead is 0; in this way, it can be determined that the position code of the lamp bead is 100, and binary decoding of the position code shows that the lamp bead serial number of the lamp bead is 1. According to the corresponding relationship between the lamp bead serial number and the control address, it can be known that the control address of the lamp bead is (R1, C1). According to the above process, the lamp bead serial number of each lamp bead in the display screen can be decoded, so that the control address of each lamp bead can be determined. Table 2 shows the relationship between the lamp bead serial number, the control address, the position code of the lamp bead, the camera coordinates of the lamp bead, the brightness of the lamp bead and the corresponding code in image 6-2a, the brightness of the lamp bead and the corresponding code in image 6-2b, the brightness of the lamp bead and the corresponding code in image 6-2c, and the decoded lamp bead serial number.

[0101] Table 2

[0102]

[0103] The lamp bead position coding method and lamp bead position decoding method of the embodiment of the present application assign serial numbers to each lamp bead in the display screen and perform position coding, then control the lamp bead to flash with different brightness to send out a coding sequence (i.e., position coding), and receive the coding sequence sent by each lamp bead by taking an image of the lamp bead flashing by a camera, and finally decode to obtain the lamp bead serial number, and then obtain the control address of each lamp bead according to the corresponding relationship between the lamp bead serial number and the control address, so as to quickly and accurately obtain the control address of each lamp bead in the display screen. For various special-shaped display screens or display screens with irregular arrangement of lamp beads, the control address of the lamp bead can also be effectively obtained from the display screen image, with fast speed and high accuracy.

[0104] The present application also proposes a lamp bead position encoding device and a lamp bead position decoding device.

[0105] Figure 7 A schematic structural diagram of a lamp bead position coding device according to an embodiment of the present application is shown, wherein the lamp bead is located in a display screen; Figure 7As shown, the device may include: a lamp bead serial number determination module 701, used to determine the lamp bead serial number of each lamp bead in the display screen; wherein, the lamp bead serial numbers of different lamp beads are different; an encoding module 702, used to encode the lamp bead serial number of each lamp bead in d-base, and use the d-base code corresponding to the lamp bead serial number of each lamp bead as the position code of each lamp bead; wherein, the encoding lengths of the position codes of each lamp bead are the same; d is a positive integer; d≥2; a flashing setting module 703, used to set the flashing mode of each lamp bead according to the position code of each lamp bead; wherein, the flashing modes of different lamp beads are different.

[0106] In a possible implementation, the device further includes: a correspondence determination module, used to determine the correspondence between the lamp bead serial number of each lamp bead and the preset control address of each lamp bead; the control address is used to control the working state of the lamp bead.

[0107] In a possible implementation, the encoding length satisfies: L >S max ; Wherein, L represents the coding length; S max It represents the largest lamp bead serial number among the lamp bead serial numbers of the lamp beads; L is a positive integer.

[0108] In a possible implementation, the flashing setting module 703 is also used to: determine d brightness levels; determine the brightness level corresponding to the kth flashing of each lamp bead from the d brightness levels according to the k-th bit code in the position code of each lamp bead; wherein the number of flashes of each lamp bead is L times; 1≤k≤L.

[0109] In a possible implementation, the device further includes: a flashing control module, which is used to control each lamp bead to flash according to its corresponding flashing mode based on a control address of each lamp bead; wherein the flashing frequencies of each lamp bead are the same.

[0110] In some embodiments, the functions or modules included in the lamp bead position coding device provided in the embodiments of the present application can be used to execute the lamp bead position coding method described in the above method embodiments. Its specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.

[0111] The lamp bead position coding device of the embodiment of the present application assigns a lamp bead serial number to each lamp bead in the display screen, uses the d-binary code corresponding to the lamp bead serial number of each lamp bead as the position code of each lamp bead, sets the flashing mode of each lamp bead according to the position code, controls each lamp bead to flash according to its corresponding position code to transmit the position code of each lamp bead, and can conveniently code the position of each lamp bead and conveniently and accurately transmit the position code of each lamp bead. The position code of the lamp bead corresponds to the control address of the lamp bead, that is, the control address of each lamp bead can be conveniently and accurately transmitted through the lamp bead position coding device of the embodiment of the present application.

[0112] Figure 8 A schematic diagram of the structure of a lamp bead position decoding device according to an embodiment of the present application is shown. Figure 8 As shown, the device may include: a first image acquisition module 801, used to acquire L first images obtained by photographing the display screen; wherein L represents the coding length of the position coding of each lamp bead in the display screen; the mth first image among the L first images is an image photographed when each lamp bead flashes for the mth time according to its corresponding flashing mode; 1≤m≤L; the position coding of each lamp bead is obtained by the above-mentioned lamp bead position decoding device; a position coding determination module 802, used to determine the position coding of each lamp bead according to the L first images; a decoding module 803, used to perform d-binary decoding on the position coding of each lamp bead to determine the lamp bead serial number of each lamp bead.

[0113] In a possible implementation, the device further includes: a control address determination module, configured to determine the control address of each lamp bead according to a correspondence between a lamp bead serial number of each lamp bead and a preset control address of each lamp bead.

[0114] In a possible implementation, the position coding determination module 802 is further used to: determine the brightness level of each lamp bead in the L first images; and determine the m-th bit code in the position coding of each lamp bead according to the brightness level of each lamp bead in the m-th first image.

[0115] In a possible implementation, the device also includes: a second image acquisition module, used to acquire a second image of the display screen when all the lamp beads in the display screen are lit, before acquiring L first images of the display screen; a camera coordinate determination module, used to determine the camera coordinates of each lamp bead based on the second image; the camera coordinates of each lamp bead are used to describe the position of each lamp bead in the second image.

[0116] In a possible implementation, the relative position relationship between the camera and the display screen when shooting the second image is consistent with the relative position relationship between the camera and the display screen when shooting the L first images; the position coding determination module 802 is also used to: determine the position of each lamp bead in the L first images according to the camera coordinates of each lamp bead; determine the brightness level of each lamp bead in the L first images according to the position of each lamp bead in the L first images.

[0117] In a possible implementation, the signal-to-noise ratio of the L first images satisfies: log d SNR>d; wherein SNR represents the signal-to-noise ratio of the L first images.

[0118] In some embodiments, the functions or modules included in the lamp bead position decoding device provided in the embodiments of the present application can be used to execute the lamp bead position decoding method described in the above method embodiments. Its specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.

[0119] The lamp bead position decoding device of the embodiment of the present application captures L display screen images when the lamp beads flash according to their corresponding position codes, determines the position code of each lamp bead according to the brightness of each lamp bead in the L display screen images, and obtains the lamp bead serial number of each lamp bead by decoding the position code. For lamp beads arranged in any arrangement on the display screen, the lamp bead serial number of each lamp bead can be determined quickly and accurately, and thus the control address of each lamp bead can be determined quickly and accurately.

[0120] The present application also proposes a display device, comprising the above Figure 7 The lamp bead position coding device shown in the above Figure 8 The lamp bead position decoding device and display screen shown.

[0121] Exemplarily, the display screen may be any one of a light emitting diode display screen, a micro light emitting diode display screen, a mini light emitting diode display screen, a quantum dot light emitting diode display screen, and an organic light emitting diode display screen.

[0122] The embodiment of the present application also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.

[0123] An embodiment of the present application also proposes an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above-mentioned lamp bead position encoding method, or implement the above-mentioned lamp bead position decoding method, when executing the instructions stored in the memory.

[0124] An embodiment of the present application also proposes a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned lamp bead position encoding method, or executes the above-mentioned lamp bead position decoding method.

[0125] Fig. 9 1 is a block diagram of an electronic device 1900 according to an embodiment of the present application. For example, the electronic device 1900 may be provided as a server or a terminal device. Fig. 9 The electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above-mentioned lamp bead position encoding method, or to perform the above-mentioned lamp bead position decoding method.

[0126] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output interface 1958 (I / O interface). The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2003. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM or similar.

[0127] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions. The above-mentioned computer program instructions can be executed by the processing component 1922 of the electronic device 1900 to complete the above-mentioned lamp bead position encoding method or the above-mentioned lamp bead position decoding method.

[0128] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.

[0129] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0130] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0131] The computer program instructions for performing the operation of the present application can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.

[0132] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0133] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0134] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0135] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can also be executed in the opposite order sometimes, depending on the function involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a dedicated hardware-based system that performs the function or action of the specification, or can be realized by a combination of special-purpose hardware and computer instructions.

[0136] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A lamp bead position coding method, characterized in that: The lamp beads are located in the display screen; the method comprises: Determine the lamp bead serial number of each lamp bead in the display screen; wherein the lamp bead serial numbers of different lamp beads are different; The lamp bead serial number of each lamp bead is encoded in d-base, and the d-base code corresponding to the lamp bead serial number of each lamp bead is used as the position code of each lamp bead; wherein the code length of the position code of each lamp bead is the same; d is a positive integer; d≥2; According to the position codes of the lamp beads, the flashing modes of the lamp beads are set; wherein different lamp beads have different flashing modes.

2. The method according to claim 1, characterized in that The method further includes: determining a corresponding relationship between a lamp bead serial number of each lamp bead and a preset control address of each lamp bead; the control address is used to control a working state of the lamp bead.

3. The method according to claim 1, characterized in that The d in the d-ary code and the code length satisfy: L >S max ; Wherein, L represents the coding length; S max It represents the largest lamp bead serial number among the lamp bead serial numbers of the lamp beads; L is a positive integer.

4. The method according to claim 3, characterized in that The step of setting the flashing mode of each lamp bead according to the position code of each lamp bead comprises: Determine d brightness levels; According to the k-th bit code in the position code of each lamp bead, the brightness level corresponding to the k-th flashing of each lamp bead is determined from the d brightness levels; wherein the number of flashes of each lamp bead is L times; 1≤k≤L.

5. The method according to claim 2, characterized in that: The method further comprises: Based on the control address of each lamp bead, each lamp bead is controlled to flash according to its corresponding flashing mode; wherein the flashing frequency of each lamp bead is the same.

6. A method for decoding the position of a lamp bead, characterized in that: The method comprises: Acquire L first images obtained by photographing the display screen; wherein L represents the coding length of the position coding of each lamp bead in the display screen; the mth first image among the L first images is an image obtained when each lamp bead flashes for the mth time according to its corresponding flashing mode; 1≤m≤L; the position coding of each lamp bead is obtained by the method described in any one of claims 1 to 5; Determine the position code of each lamp bead according to the L first images; The position codes of the lamp beads are decoded in d-hexadecimal to determine the lamp bead serial numbers of the lamp beads.

7. The method according to claim 6, characterized in that The method further comprises: The control address of each lamp bead is determined according to the corresponding relationship between the lamp bead serial number of each lamp bead and the preset control address of each lamp bead.

8. The method according to claim 6, characterized in that The step of determining the position codes of the lamp beads according to the L first images includes: Determine the brightness level of each lamp bead in the L first images; According to the brightness level of each lamp bead in the m-th first image, the m-th bit code in the position code of each lamp bead is determined.

9. The method according to claim 8, characterized in that Before acquiring L first images obtained by photographing the display screen, the method further includes: Acquire a second image obtained by photographing the display screen when all lamp beads in the display screen are lit; According to the second image, the camera coordinates of each lamp bead are determined; the camera coordinates of each lamp bead are used to describe the position of each lamp bead in the second image.

10. The method according to claim 9, characterized in that The relative position relationship between the camera and the display screen when shooting the second image is consistent with the relative position relationship between the camera and the display screen when shooting the L first images; The determining the brightness level of each lamp bead in the L first images includes: Determine the position of each lamp bead in the L first images according to the camera coordinates of each lamp bead; According to the position of each lamp bead in the L first images, the brightness level of each lamp bead in the L first images is determined.

11. The method according to claim 6, characterized in that The signal-to-noise ratio of the L first images satisfies: log d SNR>d; wherein SNR represents the signal-to-noise ratio of the L first images.

12. A lamp bead position coding device, characterized in that: The lamp beads are located in the display screen; the device comprises: A lamp bead serial number determination module, used to determine the lamp bead serial number of each lamp bead in the display screen; wherein different lamp beads have different lamp bead serial numbers; A coding module, used for performing d-binary coding on the lamp bead serial number of each lamp bead, and using the d-binary coding corresponding to the lamp bead serial number of each lamp bead as the position coding of each lamp bead; wherein the coding length of the position coding of each lamp bead is the same; d is a positive integer; d≥2; The flashing setting module is used to set the flashing mode of each lamp bead according to the position code of each lamp bead; wherein different lamp beads have different flashing modes.

13. A lamp bead position decoding device, characterized in that: The device comprises: A first image acquisition module is used to acquire L first images obtained by photographing the display screen; wherein L represents the coding length of the position coding of each lamp bead in the display screen; the mth first image among the L first images is an image photographed when each lamp bead flashes for the mth time according to its corresponding flashing mode; 1≤m≤L; the position coding of each lamp bead is obtained by the device described in claim 12; A position code determination module, used to determine the position code of each lamp bead according to the L first images; The decoding module is used to perform d-binary decoding on the position code of each lamp bead to determine the lamp bead serial number of each lamp bead.

14. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method of any one of claims 1-5, or the method of any one of claims 6-11 when executing the instructions stored in the memory.

15. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented, or the method according to any one of claims 6 to 11 is implemented.

16. A display device, characterized in that: It comprises the lamp bead position encoding device as claimed in claim 12, the lamp bead position decoding device as claimed in claim 13 and a display screen.

17. The display device according to claim 16, characterized in that The display screen is any one of a light emitting diode display screen, a micro light emitting diode display screen, a mini light emitting diode display screen, a quantum dot light emitting diode display screen, and an organic light emitting diode display screen.

Citation Information

Cited By

  • Lamp bead position recognition method and apparatus, computer device, and program product

    WO2026157471A1