Light-emitting diode color compensation method and device, electronic device, and storage medium
Patent Information
- Application Number
- CN202411073921.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2044-08-06
AI Technical Summary
但是,有时无法或者很难确定出各灯珠的准确坐标,这样一来,对灯珠的颜色补偿也不准确
[0031] According to another aspect of this disclosure, a computer program product is provided, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described method.
Smart Images

Figure CN118840962B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display technology, and in particular to a method and apparatus for LED color compensation, electronic equipment, and storage medium. Background Technology
[0002] Due to variations in manufacturing processes, the brightness and color of the LED chips in a screen are often inconsistent after it leaves the factory. Therefore, color compensation is necessary for the LED chips in the screen.
[0003] In related technologies, images of the screen can be captured to determine the coordinates of each LED in the image. Based on the coordinates of the LEDs, compensation coefficients are determined in the image. However, sometimes it is impossible or difficult to determine the accurate coordinates of each LED, resulting in inaccurate color compensation for the LEDs. The screen still exhibits problems such as uneven color and brightness, severely impacting the user's visual experience. Summary of the Invention
[0004] In view of this, this disclosure proposes a lamp bead color compensation scheme.
[0005] According to one aspect of this disclosure, a method for compensating the color of LED beads is provided, comprising: acquiring multiple first images including a first screen, wherein a single first image includes a first LED bead in a lit state, and the distance between each first LED bead is not less than a first distance threshold; determining the image coordinates of each LED bead in the first screen based on each first image; extracting the color of each LED bead based on the image coordinates, and performing color compensation on each LED bead based on the color.
[0006] In one possible implementation, the first screen includes multiple regions, and acquiring multiple first images containing the first screen includes: acquiring the first image when only one first LED exists in at least one of the regions, wherein the individual LED in each region is lit at least once, and the individual LED corresponds to at least one first image.
[0007] In one possible implementation, determining the image coordinates of each LED in the first screen based on each of the first images includes: determining the first coordinates of the first LED in each of the first images; arranging the first coordinates in a first preset order to obtain the image coordinates of each LED in the first screen.
[0008] In one possible implementation, the first screen includes multiple regions, and the distance between each first LED in the same region in different first images is no greater than a second distance threshold. The step of acquiring multiple first images containing the first screen includes: acquiring the first image when there is only one first LED in at least one region.
[0009] In one possible implementation, the first LED bead is located at the apex of the region.
[0010] In one possible implementation, the first image includes a second LED in an off state. Based on each of the first images, determining the image coordinates of each LED in the first screen includes: determining the first coordinates of each first LED in a single region; performing interpolation on each of the first coordinates to obtain the second coordinates of the second LED in each region; and arranging each of the first coordinates and each of the second coordinates in a second preset order to obtain the image coordinates of each LED in the first screen.
[0011] In one possible implementation, the interpolation process includes either interpolation or extrapolation.
[0012] According to another aspect of this disclosure, a lamp bead color compensation device is provided, the device comprising:
[0013] The first image acquisition unit is used to acquire multiple first images including the first screen, each first image containing a first LED bead in a lit state, and the distance between each first LED bead is not less than a first distance threshold.
[0014] The LED image coordinate determination unit is used to determine the image coordinates of each LED in the first screen based on each of the first images;
[0015] The LED color compensation unit is used to extract the color of each LED based on the image coordinates, and to perform color compensation on each LED based on the color.
[0016] In one possible implementation, the first screen includes multiple regions, and the first image acquisition unit is used for:
[0017] In the case where there is only one first LED in at least one of the said regions, the first image is acquired, wherein the individual LED in each of the said regions is lit at least once, and the individual LED corresponds to at least one first image.
[0018] In one possible implementation, the LED image coordinate determination unit is used for:
[0019] Determine the first coordinates of the first LED bead in each of the first images;
[0020] Arrange the first coordinates in a first preset order to obtain the image coordinates of each LED in the first screen.
[0021] In one possible implementation, the first screen includes multiple regions, and the distance between each first LED in the same region in different first images is no greater than a second distance threshold. The first image acquisition unit is configured to:
[0022] The first image is acquired when only one of the first LED beads exists in at least one of the said areas.
[0023] In one possible implementation, the first LED bead is located at the apex of the region.
[0024] In one possible implementation, the first image includes a second LED in an off state, and the LED image coordinate determination unit is used for:
[0025] Determine the first coordinates of each first LED bead within a single region;
[0026] Interpolate each of the first coordinates to obtain the second coordinates of the second LED in each region;
[0027] The image coordinates of each LED bead in the first screen are obtained by arranging each of the first coordinates and each of the second coordinates in a second preset order.
[0028] In one possible implementation, the interpolation process includes either interpolation or extrapolation.
[0029] According to another aspect of this disclosure, an LED color compensation device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.
[0030] According to another aspect of this disclosure, a non-volatile computer-readable storage medium is provided that stores computer program instructions thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
[0031] According to another aspect of this disclosure, a computer program product is provided, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in a processor of an electronic device, the processor in the electronic device performs the above-described method.
[0032] In this embodiment, since the distance between the first LEDs in the first image is not less than a first distance, the boundaries of each first LED in the first image can be clearly displayed. Therefore, the image coordinates of each LED can be accurately extracted from each first image. Based on these extracted image coordinates, the color of each LED can be accurately extracted, and thus the color compensation coefficient of each LED can be accurately determined, improving the accuracy of color compensation for each LED.
[0033] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0034] The accompanying drawings, which are included in and form part of this specification, illustrate exemplary embodiments, features, and aspects of this disclosure together with the specification and serve to explain the principles of this disclosure.
[0035] Figure 1 This is a schematic flowchart of the LED color compensation method provided in an embodiment of the present disclosure.
[0036] Figure 2 This is a schematic diagram of the arrangement of LED beads on screen A provided in an embodiment of this disclosure.
[0037] Figure 3 This is a schematic diagram of a single region in a first image provided for an embodiment of this disclosure.
[0038] Figure 4 This is a schematic diagram of another single region in a first image provided for an embodiment of this disclosure.
[0039] Figure 5 This is a schematic diagram of the structure of the LED color compensation device provided in the embodiments of this disclosure.
[0040] Figure 6 This is a schematic diagram of the structure of an electronic device for a method of compensating LED colors, provided in an embodiment of this disclosure. Detailed Implementation
[0041] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.
[0042] In the description of this disclosure, it should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this disclosure and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this disclosure.
[0043] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise expressly specified.
[0044] In this disclosure, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this disclosure according to the specific circumstances.
[0045] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0046] After a screen leaves the factory, due to differences in manufacturing processes, the brightness and color of the LEDs are difficult to achieve uniformity. Therefore, color compensation is needed for the screen's LEDs. Although the camera's resolution is higher than the screen's resolution, due to technological limitations, the camera's resolution is finite. Therefore, images taken of the screen using a camera cannot clearly show the boundaries of each LED, and overlapping of LED boundaries may occur. This overlapping phenomenon is particularly noticeable when capturing images of high-resolution screens. As a result, it is impossible to accurately determine the image coordinates of each LED, and thus impossible to accurately extract the color of each LED, reducing the accuracy of determining the color compensation coefficients for each LED.
[0047] In view of this, this application proposes a method for LED color compensation, which can accurately compensate the color of LEDs by improving the accuracy of determining the image coordinates of each LED in the image.
[0048] Figure 1 This is a schematic flowchart illustrating the LED color compensation method provided in an embodiment of this disclosure. Figure 1 As shown, the method includes:
[0049] S11, acquire multiple first images including the first screen, each first image containing a first LED bead in a lit state, and the distance between each first LED bead is not less than a first distance threshold.
[0050] The first screen can be a screen to be color compensated. In this embodiment, some LEDs in the first screen can be lit up. For ease of description below, the lit LEDs are named the first LEDs. The distance between the first LEDs is not less than a first distance threshold. The first distance threshold can be the minimum distance between two LEDs when the camera can clearly capture the LED boundary. The first LEDs in multiple acquired first images may not be completely identical. The first LEDs in multiple acquired first images may be completely different. A single LED can correspond to at least one first image.
[0051] Figure 2 This is a schematic diagram showing the arrangement of LEDs on screen A according to an embodiment of this disclosure. Figure 2 As shown, screen A contains a total of 16 LEDs, arranged in rows of 4. The first row contains LEDs 1-4, the second row contains LEDs 5-8, the third row contains LEDs 9-12, and the fourth row contains LEDs 13-16. Furthermore, the first distance threshold is the first distance between two adjacent LEDs. Therefore, the distance between the first LEDs is not less than the first distance.
[0052] For example, LED beads 1, 4, 6, 11, 13, and 16 can be lit to obtain the first image a; LED beads 2, 5, 7, 10, and 15 can be lit to obtain the first image b; LED beads 3, 8, 9, 11, and 14 can be lit to obtain the first image c; and LED beads 1, 3, 6, 12, and 14 can be lit to obtain the first image d. A total of four first images are obtained. The first LED beads in each first image are not completely identical. LED beads 1, 3, 14, 6, and 11 each correspond to two first images, while the remaining LED beads each correspond to one first image.
[0053] For example, LED beads 1, 3, 9, and 11 can be lit to obtain the first image e; LED beads 2, 4, 10, and 12 can be lit to obtain the first image f; LED beads 5, 7, 13, and 15 can be lit to obtain the first image g; and LED beads 6, 8, 14, and 16 can be lit to obtain the first image h. A total of four first images are obtained. The first LED beads in each first image are completely different. Each LED bead corresponds to one first image.
[0054] S12, based on each of the first images, determine the image coordinates of each LED bead in the first screen.
[0055] In this embodiment of the disclosure, the image coordinates of each first LED can be extracted from each first image, and the image coordinates of the first LEDs extracted from each first image can be summarized to obtain the image coordinates of each LED in the first screen. The method for extracting the LED image coordinates is not the focus of this disclosure and will not be described in detail here.
[0056] When a single LED corresponds to more than one first image, the image coordinates of the LED can be determined from these first images respectively, and the average or truncated average of these image coordinates can be used as the image coordinates of the LED. This disclosure does not limit this.
[0057] S13, based on the image coordinates, extract the color of each LED bead, and perform color compensation on each LED bead based on the color.
[0058] In this embodiment, since the distance between the first LEDs in the first image is not less than a first distance, the boundaries of each first LED in the first image can be clearly displayed. Therefore, the image coordinates of each LED can be accurately extracted from each first image. Based on these extracted image coordinates, the color of each LED can be accurately extracted, and thus the color compensation coefficient of each LED can be accurately determined, improving the accuracy of color compensation for each LED.
[0059] In one possible implementation, the first screen includes multiple regions, and acquiring multiple first images containing the first screen includes: acquiring the first image when only one first LED exists in at least one of the regions, wherein the individual LED in each region is lit at least once, and the individual LED corresponds to at least one first image.
[0060] In this embodiment, the first screen can be divided into multiple regions, each with the same shape and area. A single LED is located within one region. A single region can be the smallest area capable of clearly displaying one LED. When acquiring an image, a first image is acquired if at least one first LED is present within a region. Preferably, the LEDs within a single region can be numbered, and LEDs with the same number in each region are simultaneously illuminated to acquire a first image. In this way, the number of LEDs in a single region equals the number of first images acquired, reducing the number of shots and improving efficiency.
[0061] In this embodiment of the disclosure, since there is only one first LED in a single region each time the first image is acquired, and the distance between first LEDs in adjacent regions is still not less than a first distance threshold, the boundaries of each first LED in the first image can be clearly displayed, improving the accuracy of determining the image coordinates of each LED in the first screen.
[0062] In one possible implementation, determining the image coordinates of each LED in the first screen based on each of the first images includes: determining the first coordinates of the first LED in each of the first images; arranging the first coordinates in a first preset order to obtain the image coordinates of each LED in the first screen.
[0063] The first preset order can be a pre-set order according to usage requirements. For example, it could be based on the LED serial number; or, for example, on the row or column number of the LEDs. Although the first LEDs in each first image may not be exactly the same, or may be completely different, each LED corresponds to at least one first image, and the first LED will not be affected by other LEDs, ensuring accurate extracted image coordinates. Furthermore, arranging them according to the first preset order to obtain the image coordinates of each LED can maintain consistency with the order in which the image coordinates of all LEDs are extracted directly from the image, improving not only the accuracy of the coordinates but also facilitating subsequent use.
[0064] In one possible implementation, the first screen includes multiple regions, and the distance between each first LED in the same region in different first images is no greater than a second distance threshold. The step of acquiring multiple first images containing the first screen includes: acquiring the first image when there is only one first LED in at least one region.
[0065] In this embodiment, the first screen can be divided into multiple regions. Each region can have the same shape and area. A single LED is located within one region. A first image is acquired when at least one first LED exists within a region. A single region in a single first image contains at most one first LED. Since multiple first images are acquired, multiple first LEDs can be identified within the same region. The distance between first LEDs within the same region does not exceed a second distance threshold.
[0066] The second distance threshold can be no greater than the first distance threshold. Subsequently, interpolation can be performed on the coordinates of the first LEDs in the same area to determine the image coordinates of LEDs that are not the first LEDs in that area. Therefore, the second distance threshold can be the maximum distance between the first LEDs that allows the image coordinate difference processing to meet the accuracy requirements. This improves the accuracy of the determined image coordinates of each LED.
[0067] For example, a single region can be a rectangle, and the second distance threshold can be the farthest distance between LEDs on the diagonal of the region. Figure 3 This is a schematic diagram of a single region in a first image provided for an embodiment of this disclosure. (See also...) Figure 3 As shown, a total of four first images were acquired. Figure 3 The displayed area is the same region on different first images. Other regions on the first images have been omitted. For ease of understanding, the displayed region is named Region A. The second distance threshold can be the distance between LED bead 1 and LED bead 9, or the second distance threshold can be the distance between LED bead 3 and LED bead 7.
[0068] like Figure 3As shown, white circles represent lit LEDs, and black circles represent unlit LEDs. From left to right, in the first image, only LED 1 is lit in region A; in the second image, only LED 2 is lit; in the third image, only LED 4 is lit; and in the fourth image, only LED 9 is lit. Therefore, region A can correspond to the following first LEDs: LED 1, LED 2, LED 4, and LED 9. The distance between each first LED is no greater than a second distance threshold.
[0069] The above is just an example. In this example, there are no restrictions on the specific location of the first LED in region A or the value of the second distance threshold.
[0070] In this embodiment of the disclosure, it is not necessary to light up each individual LED in each area of the screen at least once; only some LEDs need to be lit. This reduces the number of times images are captured and improves the efficiency of determining the coordinates of the LEDs.
[0071] In one possible implementation, the first LED bead is located at the apex of the region.
[0072] Figure 4 This is a schematic diagram of a single region in a first image provided for an embodiment of this disclosure. (See also...) Figure 4 As shown, a total of four first images were acquired. Figure 4 The displayed area is the same region on different first images. Other regions on the first images have been omitted. For ease of understanding, the displayed region is named Region B. The second distance threshold can be the distance between LED bead 1 and LED bead 9, or the second distance threshold can be the distance between LED bead 3 and LED bead 7.
[0073] like Figure 4 As shown, white circles represent lit LEDs, and black circles represent unlit LEDs. The first LED in each first image is located at the vertex of region B. Thus, the first LEDs corresponding to region B are: LED 1, LED 3, LED 7, and LED 9. The distance between each first LED is no greater than a second distance threshold. LEDs other than the first LEDs in region B can be determined by interpolation using the image coordinates of the first LEDs.
[0074] In this embodiment, since the first LED corresponding to a single region is located at the vertex of that region, only four images need to be acquired for the entire screen. This significantly improves the efficiency of determining the LED image coordinates while enhancing the accuracy of the determination.
[0075] In one possible implementation, the first image includes a second LED in an off state. Based on each of the first images, determining the image coordinates of each LED in the first screen includes: determining the first coordinates of each first LED in a single region; performing interpolation on each of the first coordinates to obtain the second coordinates of the second LED in each region; and arranging each of the first coordinates and each of the second coordinates in a second preset order to obtain the image coordinates of each LED in the first screen.
[0076] As mentioned earlier, there is at most one first LED in a single region of the first image. The first image clearly shows the boundaries of the first LEDs, so the first coordinates (image coordinates) of each first LED can be accurately determined in the first image. Not all LEDs in a single region are first LEDs; some are in an off state, and their image coordinates cannot be directly extracted. For ease of description, LEDs that have never been lit in any of the first images (in an off state) are named second LEDs. The coordinates of the second LEDs can be obtained by interpolating the first coordinates within the same region. In one possible implementation, the interpolation process includes either intrinsic interpolation or extrapolation.
[0077] For example, if the first LED is not or not all of the LEDs located at the vertices of the region, the second coordinates can be determined by a combination of interpolation and extrapolation.
[0078] For example, if the first LED is located at a vertex of the region, the second coordinates can be determined using interpolation.
[0079] Furthermore, the first and second coordinates can be arranged according to a second preset order to obtain the image coordinates of each LED on the first screen. The second preset order can be a pre-set order based on usage requirements. For example, it could be based on the LED serial number; or, for example, on the row or column number of the LEDs. The second preset order can be the same as the first preset order.
[0080] In this embodiment, the first coordinates in each region can be interpolated to obtain the second coordinates in each region; this allows us to obtain the image coordinates of each LED in the entire first screen. Especially when the first LED is located at a vertex of a region, the second coordinates can be determined using only interpolation, resulting in higher accuracy. The method of this embodiment can accurately determine the image coordinates of each LED in the first screen, handling images acquired in different ways, thus improving its versatility.
[0081] The following three embodiments illustrate the LED color compensation method of this disclosure.
[0082] Example 1
[0083] Acquire multiple first images containing a first screen, wherein each first image contains a first LED in a lit state, and the distance between each first LED in a single first image is not less than a first distance threshold. Each LED is lit at least once, and each LED corresponds to at least one first image.
[0084] The image coordinates of the first LEDs in each first image are extracted, and these image coordinates are arranged in a first preset order to obtain the image coordinates of each LED in the first screen. Based on these image coordinates, the color of each LED is extracted, and the compensation coefficient of each LED is determined based on the color of each LED, and color compensation is performed on each LED.
[0085] Because the distance between the first LEDs in a single first image is less than a first distance threshold, the first image can clearly display the boundaries of each first LED. Therefore, the image coordinates of each LED can be accurately extracted, improving the accuracy of color compensation for the LEDs.
[0086] Example 2
[0087] The first screen is divided into multiple regions. If only one of the first LEDs exists in at least one of the regions, the first image is acquired, and the distance between the first LEDs in the same region of different first images is no greater than a second distance threshold. The distance between the first LEDs in the same first image is no greater than a first distance threshold.
[0088] Extract the first coordinates of the first LED in each first image. Interpolate these coordinates to determine the second coordinates of the second LED in each region. Arrange these first and second coordinates in a second preset order to obtain the image coordinates of each LED on the first screen. Extract the color of each LED based on these image coordinates, and determine the compensation coefficient for each LED based on its color, performing color compensation on each LED.
[0089] Since the distance between the first LEDs in a single first image is less than a first distance threshold, the first image can clearly display the boundaries of each first LED. Furthermore, the distance between the first LEDs in the same region in different first images is no greater than a second distance, thus improving the accuracy of the second coordinates determined by interpolation.
[0090] Therefore, the image coordinates of each LED can be accurately extracted, which improves the accuracy of color compensation for the LEDs.
[0091] Example 3
[0092] The first screen is divided into multiple regions. If at least one of the first LEDs exists within at least one region and the first LED is located at a vertex of that region, the first image is acquired. Furthermore, the distance between each first LED in the same region of different first images is no greater than a second distance threshold. The distance between each first LED in the same first image is no greater than a first distance threshold.
[0093] Extract the first coordinates of the first LED in each first image. Interpolate these coordinates to determine the second coordinates of the second LED in each region. Arrange these first and second coordinates in a second preset order to obtain the image coordinates of each LED on the first screen. Extract the color of each LED based on these image coordinates, and determine the compensation coefficient for each LED based on its color, performing color compensation on each LED.
[0094] Because the distance between the first LEDs in a single first image is less than a first distance threshold, the first image can clearly display the boundaries of each first LED. Furthermore, the distance between the first LEDs in the same region in different first images is no greater than a second distance, thus improving the accuracy of the second coordinates determined by interpolation. Moreover, compared to extrapolation, determining the second coordinates using only interpolation is more accurate, further enhancing the accuracy of the second coordinates.
[0095] Therefore, the image coordinates of each LED can be accurately extracted, which improves the accuracy of color compensation for the LEDs.
[0096] Figure 5 This is a schematic diagram of the structure of the LED color compensation device provided in an embodiment of the present disclosure. The device 20 includes:
[0097] The first image acquisition unit 21 is used to acquire multiple first images including the first screen, each first image containing a first LED bead in a lit state, and the distance between each first LED bead is not less than a first distance threshold.
[0098] The LED image coordinate determination unit 22 is used to determine the image coordinates of each LED in the first screen based on each of the first images;
[0099] The LED color compensation unit 23 is used to extract the color of each LED based on the image coordinates, and to perform color compensation on each LED based on the color.
[0100] In one possible implementation, the first screen includes multiple regions, and the first image acquisition unit 21 is used for:
[0101] In the case where there is only one first LED in at least one of the said regions, the first image is acquired, wherein the individual LED in each of the said regions is lit at least once, and the individual LED corresponds to at least one first image.
[0102] In one possible implementation, the LED image coordinate determination unit 22 is used for:
[0103] Determine the first coordinates of the first LED bead in each of the first images;
[0104] Arrange the first coordinates in a first preset order to obtain the image coordinates of each LED in the first screen.
[0105] In one possible implementation, the first screen includes multiple regions, and the distance between each first LED in the same region in different first images is no greater than a second distance threshold. The first image acquisition unit 21 is used for:
[0106] The first image is acquired when only one of the first LED beads exists in at least one of the said areas.
[0107] In one possible implementation, the first LED bead is located at the apex of the region.
[0108] In one possible implementation, the first image includes a second LED in an off state, and the LED image coordinate determination unit 22 is used for:
[0109] Determine the first coordinates of each first LED bead within a single region;
[0110] Interpolate each of the first coordinates to obtain the second coordinates of the second LED in each region;
[0111] The image coordinates of each LED bead in the first screen are obtained by arranging each of the first coordinates and each of the second coordinates in a second preset order.
[0112] In one possible implementation, the interpolation process includes either interpolation or extrapolation.
[0113] For example, the electronic devices in this embodiment include, but are not limited to, desktop computers, televisions, mobile devices with large screens such as mobile phones and tablets, and other common electronic devices that require multiple chips to be cascaded together to achieve driving.
[0114] For example, electronic devices can also be user equipment (UE), mobile devices, user terminals, terminals, handheld devices, computing devices, or in-vehicle devices, etc. Examples of terminals include: displays, smartphones or portable devices, mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and wireless terminals in vehicle-to-everything (V2X) networks, etc. For example, a server can be a local server or a cloud server.
[0115] Figure 6 This is a schematic diagram of an electronic device for an LED color compensation method provided in an embodiment of this disclosure. For example, the electronic device 1900 can be provided as a server or a terminal device. (Refer to...) Figure 6 The electronic device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.
[0116] Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input / output (I / O) interface 1958. Electronic device 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.
[0117] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of an electronic device 1900 to perform the above-described method.
[0118] The above description is merely an exemplary embodiment of the present invention and is not intended to limit the scope of protection of the present invention, which is determined by the appended claims.
[0119] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.
[0120] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0121] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0122] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for compensating the color of LED beads, characterized in that, include: Multiple first images containing a first screen are acquired. Each first image contains a first LED in a lit state. The distance between each first LED is not less than a first distance threshold. The first screen includes multiple regions. The distance between each first LED in the same region in different first images is not greater than a second distance threshold. The first distance threshold is the minimum distance between two LEDs when the camera can clearly capture the LED boundary. The second distance threshold is the maximum distance between first LEDs that allows image coordinate interpolation processing to meet accuracy requirements. The acquisition of multiple first images including the first screen includes: The first image is acquired when only one of the first LED beads exists in at least one of the said areas; Based on each of the first images, determine the image coordinates of each LED in the first screen; The first image contains a second LED in an off state. Based on each of the first images, the image coordinates of each LED in the first screen are determined, including: Determine the first coordinates of each first LED bead within a single region; Interpolate each of the first coordinates to obtain the second coordinates of the second LED in each region; Arrange the first coordinates and the second coordinates in a second preset order to obtain the image coordinates of each LED in the first screen; Based on the image coordinates, the color of each LED bead is extracted, and color compensation is performed on each LED bead based on the color.
2. The method according to claim 1, characterized in that, The first LED bead is located at the apex of the region.
3. The method according to claim 1, characterized in that, The interpolation process includes either intrinsic interpolation or extrapolation.
4. A color compensation device for LED beads, characterized in that, include: The first image acquisition unit is used to acquire multiple first images including a first screen. Each first image contains a first LED in a lit state. The distance between each first LED is not less than a first distance threshold. The first screen includes multiple regions. The distance between each first LED in the same region in different first images is not greater than a second distance threshold. The first distance threshold is the minimum distance between two LEDs when the camera can clearly capture the LED boundary. The second distance threshold is the maximum distance between first LEDs that allows image coordinate interpolation processing to meet accuracy requirements. The LED image coordinate determination unit is used to determine the image coordinates of each LED in the first screen based on each of the first images; The LED color compensation unit is used to extract the color of each LED based on the image coordinates, and to perform color compensation on each LED based on the color. The first image acquisition unit is used for: The first image is acquired when only one of the first LED beads exists in at least one of the said areas; The first image includes a second LED in an off state. The LED image coordinate determination unit is used for: Determine the first coordinates of each first LED bead within a single region; Interpolate each of the first coordinates to obtain the second coordinates of the second LED in each region; The image coordinates of each LED bead in the first screen are obtained by arranging each of the first coordinates and each of the second coordinates in a second preset order.
5. A display device, characterized in that, It includes multiple display units and at least one LED color compensation device according to claim 4.
6. The display device according to claim 5, characterized in that, The display unit includes a display panel, which includes at least one of the following: liquid crystal display panel, micro light-emitting diode display panel, light-emitting diode display panel, mini light-emitting diode display panel, quantum dot light-emitting diode display panel, organic light-emitting diode display panel, cathode ray tube display panel, digital light processing display panel, field emission display panel, plasma display panel, electrophoretic display panel, electrowetting display panel, and small-pitch display panel.
7. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the method of any one of claims 1 to 3 when executing instructions stored in the memory.
8. A non-volatile computer-readable storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1 to 3.
Citation Information
Patent Citations
Screen lamp bead color compensation method and device, electronic equipment and storage medium
CN118379973A