Controlled led color method, system, apparatus and wireless earphone controlled led color method

By acquiring user images from the terminal and performing color clustering and processing, combined with the headphone display model and color picking model, the LED beads of the wireless headphone are controlled to display colors. This solves the problem of the inability to personalize LED light control in existing technologies and realizes real-time color control that is customized for users.

CN115914920BActive Publication Date: 2025-12-16HHO (HANGZHOU) DIGITAL TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211421929.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-14
Publication Date
2025-12-16
Estimated Expiration
2042-11-14

AI Technical Summary

Technical Problem

Current technology cannot achieve personalized, real-time customized control of LED light, and cannot allow everyone to choose colors according to their own preferences.

Method used

The system acquires the target image provided by the user through the terminal, performs color clustering and extraction processing, selects the closest display color based on the headphone color display model, and obtains the best display color scheme through a preset color sampling model, thereby controlling the LED light bead module of the wireless headphone to display the corresponding color.

Benefits of technology

It enables users to personalize their devices according to their preferences, and controls the color of LED beads in real time through algorithms, providing a WYSIWYG experience and meeting users' individual needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914920B_ABST
    Figure CN115914920B_ABST
Patent Text Reader

Abstract

The application discloses a kind of control LED color method, system, device and wireless earphone control LED color method, method includes: terminal obtains target picture provided by user, color clustering is carried out to target picture and extraction processing is obtained after extraction color;Select the closest display color, obtain the color that wireless earphone can display;Through preset color picking model, the color that wireless earphone can display is handled, and the best display color scheme is obtained;The terminal sends the best display color scheme to wireless earphone, and the LED lamp pearl module of wireless earphone is controlled to display corresponding color.By the method, system and device of the application, user can select color according to his own preference, in photo color picking, color reflecting photo theme can be obtained by algorithm;Through real-time control to LED lamp pearl color, it is seen as soon as it is obtained, to realize the personal customization of user;It can also meet the personal customization of user by the extraction of photo theme color.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of control technology, and in particular to a method, system, device for controlling LED color, and a method for controlling LED color using wireless headphones. Background Technology

[0002] Currently, LED light is controlled through a fixed program, with a set of LED patterns cycling. This causes the overall system composed of many LEDs to cyclically change different patterns. However, it cannot provide real-time personalized customization based on individual preferences. Summary of the Invention

[0003] This invention addresses the shortcomings of existing technologies by providing a method, system, apparatus, and readable storage medium for controlling LED color.

[0004] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0005] A method for controlling the color of an LED includes the following steps:

[0006] The terminal obtains the target image provided by the user, performs color clustering and extraction processing on the target image, and obtains the extracted colors;

[0007] Based on the headphone color display model, the closest display color is selected from the extracted colors, and the display color is converted to a color difference value to obtain the color that the wireless headphones can display.

[0008] The colors that the wireless earphones can display are processed by a preset color sampling model to obtain the optimal display color scheme;

[0009] The terminal sends the optimal color scheme to the wireless earphone and controls the LED module of the wireless earphone to display the corresponding color.

[0010] As one possible implementation, the step of performing color clustering and extraction processing on the target image to obtain the extracted colors includes the following steps:

[0011] The colors in the target image are clustered based on an aggregation algorithm, and then the colors are extracted to obtain the first color;

[0012] The first color is preprocessed to remove colors that do not meet the brightness or saturation requirements, or both, to obtain a second color that meets the brightness and saturation requirements.

[0013] The second color is selected by selecting the closest display color and excluding colors with a color difference greater than a preset threshold, thus obtaining the remaining colors;

[0014] The remaining colors are sorted by area, and N colors are selected as the extracted colors, where N represents the number of colors and is greater than or equal to 1.

[0015] As one possible implementation, the step of processing the colors that the wireless earphone can display using a preset color sampling model to obtain the optimal display color scheme includes the following steps:

[0016] Obtain the colors that the wireless headphones can display and sort them, where each color represents an RGB color value;

[0017] According to a preset rule, the M LED beads in the LED bead module are color-assigned to obtain a first display color scheme suitable for the LED bead module.

[0018] As one possible implementation, the LED bead module is installed in a wireless earphone.

[0019] As one possible implementation, the target image includes:

[0020] The first image obtained by the user based on a photo taken by the terminal, or the second image selected by the user from the terminal database.

[0021] As one possible implementation, the step of processing the colors that the wireless earphone can display using a preset color sampling model to obtain the optimal display color scheme includes the following steps:

[0022] The target image is segmented according to a preset segmentation model to obtain a segmented target image;

[0023] Extract the colors that the wireless headphones can display from the middle region of each segmented target image and sort them;

[0024] According to a preset rule, the L LED beads in the LED bead module are color-assigned to obtain multiple second display color schemes suitable for the LED bead module.

[0025] As one possible implementation method, the following steps are also included:

[0026] The target image is segmented according to a preset segmentation model to obtain the segmented target image, specifically:

[0027] The target image is divided into A equal parts along a first direction;

[0028] The target image is then divided into two equal parts (B) along the second direction.

[0029] The target image is segmented into A. B portions, resulting in A B segments of the target image.

[0030] As one possible implementation method, the following steps are also included:

[0031] When it is A When segmenting the target image into B parts, A is obtained. Color scheme B;

[0032] In A Select the best display color scheme from among the B display color schemes.

[0033] An LED color control system includes an acquisition and processing module, a selection and conversion module, a scheme acquisition module, and a control and display module;

[0034] The acquisition and processing module is used to acquire the target image provided by the user, perform color clustering and extraction processing on the target image, and obtain the extracted colors;

[0035] The selection and conversion module selects the closest display color from the extracted colors based on the headphone color display model, and obtains the color conversion color difference from the display color to obtain the color that the wireless headphones can display;

[0036] The scheme acquisition module processes the colors that the wireless headphones can display using a preset color sampling model to obtain the optimal display color scheme.

[0037] The control and display module is used to send the optimal display color scheme to the wireless earphone and control the LED light bead module of the wireless earphone to display the corresponding color.

[0038] As one possible implementation, the acquisition and processing module is configured as follows:

[0039] The colors in the target image are clustered based on an aggregation algorithm, and then the colors are extracted to obtain the first color;

[0040] The first color is preprocessed to remove colors that do not meet the brightness or saturation requirements, or both, to obtain a second color that meets the brightness and saturation requirements.

[0041] The second color is selected by selecting the closest display color and excluding colors with a color difference greater than a preset threshold, thus obtaining the remaining colors;

[0042] The remaining colors are sorted by area, and N colors are selected as the extracted colors, where N represents the number of colors and is greater than or equal to 1.

[0043] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described above.

[0044] An LED color control device includes a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that the processor executes the computer program to implement the method described above.

[0045] A method for controlling LED color with wireless headphones includes the following steps:

[0046] The wireless earphone receives the optimal display color scheme sent by the terminal connected to the wireless earphone. The terminal acquires a target image provided by the user, performs color clustering and extraction processing on the target image to obtain extracted colors; selects the closest display color from the extracted colors based on the earphone's color display model, and obtains a color conversion color difference from the displayed color to obtain the color that the wireless earphone can display; and processes the color that the wireless earphone can display using a preset color sampling model to obtain the optimal display color scheme.

[0047] The wireless earphone controls the LED light bead module in the wireless earphone to display the corresponding color according to the optimal display color scheme.

[0048] As one possible implementation method, the following steps are also included:

[0049] The colors in the target image are clustered based on an aggregation algorithm, and then the colors are extracted to obtain the first color;

[0050] The first color is preprocessed to remove colors that do not meet the brightness or saturation requirements, or both, to obtain a second color that meets the brightness and saturation requirements.

[0051] The second color is selected by selecting the closest display color and excluding colors with a color difference greater than a preset threshold, thus obtaining the remaining colors;

[0052] The remaining colors are sorted by area, and N colors are selected as the extracted colors, where N represents the number of colors and is greater than or equal to 1.

[0053] This invention, by adopting the above technical solutions, has significant technical effects:

[0054] Through the method, system, and apparatus of this invention, users can select colors according to their preferences. In image color extraction, the algorithm can obtain the color that reflects the theme color of the image. Through real-time control of the LED light bead color, users can achieve personalized customization with instant results. Furthermore, by extracting the theme color of the image, users can also satisfy personalized customization needs. Attached Figure Description

[0055] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0056] Figure 1 This is a flowchart illustrating the method of the present invention;

[0057] Figure 2 This is a schematic diagram of the target image segmentation method according to the present invention;

[0058] Figure 3 This is a schematic diagram of the system of the present invention;

[0059] Figure 4 This is a flowchart of Example 3;

[0060] Figure 5 This is a detailed flowchart of the present invention;

[0061] Figures 6-7 This is a schematic diagram of a specific embodiment;

[0062] Figure 8 This is a schematic diagram of the extraction of different regions;

[0063] Figure 9 This is a schematic diagram of the structure of an LED lamp bead module in one embodiment. Detailed Implementation

[0064] The present invention will be further described in detail below with reference to the embodiments. The following embodiments are explanations of the present invention, but the present invention is not limited to the following embodiments.

[0065] In all embodiments, the wireless earphones will be equipped with an LED light module, through which different lights or colors will be displayed.

[0066] Example 1:

[0067] A method for controlling LED color, such as Figure 1 As shown, it includes the following steps:

[0068] S100: The terminal obtains the target image provided by the user, performs color clustering and extraction processing on the target image, and obtains the extracted colors.

[0069] S200: Based on the headphone color display model, select the closest display color from the extracted colors, and obtain the color difference value from the display color to obtain the color that the wireless headphones can display;

[0070] S300: Processes the colors that the wireless headphones can display using a preset color sampling model to obtain the optimal display color scheme;

[0071] The S400 terminal sends the optimal display color scheme to the wireless headset, controlling the LED module of the wireless headset to display the corresponding color.

[0072] This method allows users to select colors according to their preferences. In image color extraction, the algorithm can obtain the color that reflects the theme color of the image. Through real-time control of the LED light bead colors, users can achieve personalized customization with a WYSIWYG (what you see is what you get) approach. Furthermore, by extracting the theme color of the image, users can also satisfy personalized customization needs.

[0073] In all embodiments, the target image includes: a first image obtained by the user through a camera captured by the terminal, or a second image selected by the user from the terminal database. The user can take a photo by accessing the camera via the camera icon in the upper right corner of the terminal app's interface. The terminal can use an image taken with the phone's default camera or an image from the phone's gallery, and then process the colors in the image to achieve personalized color settings. It should be noted that in this method, the image selected by the terminal may contain multiple colors, which can be determined using different color selection algorithms. It should also be noted that the terminal can select colors with different area proportions or different color saturations within the image; those skilled in the art can select multiple colors based on algorithms.

[0074] Since headphones can only display a small portion of the color range of an image, there will be significant errors in converting image colors to colors that headphones can display. Based on the magnitude of color difference and the size of the color area, colors are selected for display on the wireless headphones. Because some colors have too large a color difference, they are filtered out during selection, resulting in some relatively prominent colors not being extracted. Therefore, this invention employs the method described in this embodiment to obtain the desired colors, namely, performing color clustering and extraction processing on the target image to obtain the extracted colors, including the following steps:

[0075] The colors in the target image are clustered based on an aggregation algorithm, and then the colors are extracted to obtain the first color.

[0076] The first color is preprocessed to remove colors that do not meet the brightness or saturation requirements, or both, to obtain a second color that meets the brightness and saturation requirements.

[0077] The second color is selected by choosing the closest display color and excluding colors with a color difference greater than a preset threshold, thus obtaining the remaining colors;

[0078] Sort the remaining colors by area, and select N colors as the extracted colors, where N represents the number of colors and is greater than or equal to 1.

[0079] Colors that do not meet the requirements for brightness or saturation, or both, are eliminated. The elimination range can be: S (saturation < 10%, directly eliminated) or (brightness < 30%, directly eliminated) or L (saturation < 20% and brightness < 50%). The remaining saturation and brightness ranges that meet the conditions are the second color. In this embodiment, the preset threshold color difference can be determined as follows: using the CIEDE2000 color difference algorithm, DeltaE <= 1.0 is imperceptible to the human eye; DeltaE 1-2 shows a difference that can be perceived upon careful observation; DeltaE 2-10 shows a difference that can be perceived at a glance; DeltaE 11-49 indicates that the similarity of colors is greater than their opposites; DeltaE 100 indicates that the color is completely distorted. For example, colors with a color difference > 30 can be excluded, and the remaining colors are those that meet the requirements. The remaining colors are sorted by area. For example, the first three colors with Delta E < 5 are selected sequentially; the remaining colors with Delta E < 10 are selected sequentially; if there are fewer than three colors, the remaining colors with the smallest Delta E difference are selected. In one embodiment, the colors that the wireless headphones can display are processed using a preset color sampling model to obtain the optimal display color scheme. This includes the following steps: obtaining the colors that the wireless headphones can display and sorting them, where each color represents an RGB color value; allocating colors to M LEDs in the LED module according to a preset rule to obtain a first display color scheme suitable for the LED module. In this scheme, if the target image is not segmented, an optimal display color scheme can be obtained, and this optimal display color scheme is ultimately displayed in the LED module.

[0080] See appendix Figure 5 - Appendix Figure 7 If the input is a target image, then follow the instructions in the appendix. Figure 5 The process is followed, and ultimately three colors can be selected, such as... Figure 6 and Figure 7 ,actually Figure 6 and Figure 7 Since the image is colored, it must be converted to grayscale and then displayed in the LED module according to the selected optimal display color scheme.

[0081] In addition, the colors that the wireless headphones can display are processed by a preset color sampling model to obtain the optimal display color scheme, including the following steps:

[0082] The target image is segmented according to a preset segmentation model to obtain a segmented target image;

[0083] Extract the colors that the wireless headphones can display from the middle region of each segmented target image and sort them.

[0084] According to a preset rule, the L LED beads in the LED bead module are color-assigned to obtain multiple second display color schemes suitable for the LED bead module.

[0085] In one embodiment, in order to obtain multiple second display color schemes, the target image is segmented according to a preset segmentation model to obtain a segmented target image. Specifically, the target image is divided into A equal parts from a first direction; then the target image is divided into B equal parts from a second direction; the target image is then divided into A... B portions, resulting in A B segments of the target image. A The subsequent processing of segmented target images B is the same as the processing of a single target image, ultimately resulting in A. Type B display color scheme refers to the multiple secondary display color schemes mentioned earlier. Based on these multiple secondary display color schemes, users can choose their favorite and most satisfactory secondary display color scheme, which is the optimal display color scheme.

[0086] In one embodiment, to meet the user's personalized customization needs, a preprocessing process for the target image is also included: extracting data based on multiple selected regions in the target image, such as... Figure 8 As shown, during the extraction process, regions larger than the selected area are extracted, resulting in multiple extracted regions. These regions are then clustered using an aggregation algorithm, and color extraction is performed. Finally, multiple display color schemes are obtained, allowing users to choose the best display color scheme that suits their preferences.

[0087] Alternatively, the preprocessing process for the target image is as follows:

[0088] Considering that current LED bead modules can only display colors and cannot display background patterns and colors simultaneously, a structural improvement is made to the LED bead module. Due to the structural improvement, it will be able to display background patterns and colors.

[0089] The LED module consists of a bottom light-emitting base plate and upper LED beads. The bottom light-emitting base plate is used to display the background pattern, and the upper LED beads are used to display the color. Figure 9 As shown, Figure 9A specific structure is given, with a light-emitting base plate 1 at the bottom and LED beads 2 on top. The light-emitting base plate 1 is only used to display the background pattern, while the LED beads 2 are used to display the color.

[0090] The target image is selected by choosing multiple areas based on user preferences. Background patterns and colors are then extracted from all selected areas, resulting in multiple background patterns and colors. Assuming there are N background patterns and colors, the possible combinations of background patterns and colors are: Users can select a set to display according to their preferences.

[0091] In addition, when displaying background patterns and colors, the terminal needs to adjust the resolution according to the size of the bottom light-emitting base plate and the upper LED beads, so that the background patterns and colors are displayed more clearly.

[0092] Since the background pattern and color need to be displayed simultaneously, they may affect each other during display. Therefore, color tolerance needs to be calculated before display. The tolerance calculation formula is R=(r1-r2); G=(g1-g2); B=(b1-b2), then color difference = max(R,G,B)positive+max(|R|,|G|,|B|)negative;

[0093] For example, for red (r1:255, g1:0, b1:0) and its complementary color (r2:225, g2:5, b2:10), R=30; G=-5; B=-10. Because RGB can be positive or negative, the color difference = max(R, G, B)positive + max(|R|, |G|, |B|)negative = 60. This tolerance design allows for a smoother display of background patterns and colors, preventing them from appearing too abrupt.

[0094] In one embodiment, the optimal display color scheme is also obtained through the following method:

[0095] For example, the terminal can directly obtain the color display scheme input by the user.

[0096] For method one, users can input their desired color on the terminal's app. For example, the mobile app can set the displayed color to be a single color or a mixed color. A single color can be understood as the LED bead module displaying one color or a group of similar colors. If a mixed color is displayed, it can be understood as the LED bead module displaying colors with a certain arrangement relationship or a mixture of several colors. By obtaining the color display scheme directly input by the user, the optimal display color scheme can be provided. Users can select the desired display color scheme on the terminal's app interface.

[0097] Method 2: The terminal provides the optimal display color scheme based on the user's usage scenario when wearing wireless headphones or their heart rate.

[0098] This mode allows for personalized customization of user scenarios. For example, when running outdoors, the LED module can display the optimal color scheme based on the exercise conditions. Alternatively, different color schemes corresponding to different heart rates can be pre-set. As the terminal monitors the heart rate during exercise or other situations, it matches the pre-set color schemes corresponding to different heart rates, resulting in a display scheme for the current heart rate that the LED module will display. It should be noted that those skilled in the art can configure the scenarios and modes according to actual needs; this is merely an example and does not constitute a limitation of this application.

[0099] Example 2:

[0100] A system for controlling LED color, such as Figure 2 As shown, it includes an acquisition and processing module 100, a selection and conversion module 200, a scheme acquisition module 300, and a control and display module 400;

[0101] The acquisition and processing module 100 is used to acquire the target image provided by the user, perform color clustering and extraction processing on the target image, and obtain the extracted colors.

[0102] Select conversion module 200, select the closest display color from the extracted colors based on the headphone color display model, and obtain the color conversion color difference from the display color to obtain the color that the wireless headphones can display;

[0103] The scheme acquisition module 300 processes the colors that the wireless headphones can display using a preset color sampling model to obtain the optimal display color scheme;

[0104] The control display module 400 is used to send the optimal display color scheme to the wireless headset and control the LED light bead module of the wireless headset to display the corresponding color.

[0105] The acquisition and processing module is set as follows:

[0106] The colors in the target image are clustered based on an aggregation algorithm, and then the colors are extracted to obtain the first color.

[0107] The first color is preprocessed to remove colors that do not meet the brightness or saturation requirements, or both, to obtain a second color that meets the brightness and saturation requirements.

[0108] The second color is selected by choosing the closest display color and excluding colors with a color difference greater than a preset threshold, thus obtaining the remaining colors;

[0109] Sort the remaining colors by area, and select N colors as the extracted colors, where N represents the number of colors and is greater than or equal to 1.

[0110] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0111] Example 3:

[0112] This embodiment describes an implementation on a wireless headset, illustrating a method for controlling LED color using a wireless headset. Figure 4 As shown, it includes the following steps:

[0113] S110. The wireless earphone receives the optimal display color scheme sent by the terminal connected to the wireless earphone. The terminal obtains a target image provided by the user, performs color clustering and extraction processing on the target image to obtain the extracted color; selects the closest display color from the extracted color based on the earphone color display model, and obtains the color difference value of the display color to obtain the color that the wireless earphone can display; processes the color that the wireless earphone can display through a preset color picking model to obtain the optimal display color scheme.

[0114] S120: The wireless earphone controls the LED light bead module in the wireless earphone to display the corresponding color according to the optimal display color scheme.

[0115] In one embodiment, the following steps are also included:

[0116] The colors in the target image are clustered based on an aggregation algorithm, and then the colors are extracted to obtain the first color.

[0117] The first color is preprocessed to remove colors that do not meet the brightness or saturation requirements, or both, to obtain a second color that meets the brightness and saturation requirements.

[0118] The second color is selected by choosing the closest display color and excluding colors with a color difference greater than a preset threshold, thus obtaining the remaining colors;

[0119] Sort the remaining colors by area, and select N colors as the extracted colors, where N represents the number of colors and is greater than or equal to 1.

[0120] The implementation method in this embodiment is the same as that in Embodiment 1, and you can refer to the specific content of Embodiment 1.

[0121] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0122] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0123] This invention is described with reference to flowchart illustrations and / or block diagrams of the method, terminal device (system), and computer program product according to the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0124] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0126] Furthermore, it should be noted that the shapes and names of the parts and components described in the specific embodiments described in this specification may differ. All equivalent or simple variations made to the structure, features, and principles described in this patent concept are included within the protection scope of this patent. Those skilled in the art to which this invention pertains may make various modifications or additions to the described specific embodiments or use similar methods to replace them, as long as they do not depart from the structure of this invention or exceed the scope defined in these claims, they should all fall within the protection scope of this invention.

Claims

1. A method for controlling the color of an LED, characterized in that, Includes the following steps: The terminal obtains the target image provided by the user, performs color clustering and extraction processing on the target image, and selects N colors as the extracted colors, where N represents the number of color types and is greater than or equal to 1. Based on the headphone color display model, the closest display color is selected from the extracted colors, and the display color is converted to a color difference value to obtain the color that the wireless headphones can display. The colors that the wireless earphones can display are processed by a preset color sampling model to obtain the optimal display color scheme; The terminal sends the optimal color scheme to the wireless earphone and controls the LED module of the wireless earphone to display the corresponding color. The LED lamp bead module includes a bottom light-emitting base plate and upper LED lamp beads. The bottom light-emitting base plate is used to display the background pattern, and the upper LED lamp beads are used to display the color. The target image is selected by choosing multiple areas based on user preferences. Background patterns and colors are then extracted from all selected areas, resulting in multiple background patterns and colors. Assuming there are N background patterns and colors, the possible combinations of background patterns and colors are: Users can select a set to display according to their preferences.

2. The method for controlling LED color according to claim 1, characterized in that, The process of processing the colors that the wireless earphones can display using a preset color sampling model to obtain the optimal display color scheme includes the following steps: Obtain the colors that the wireless headphones can display and sort them, where each color represents an RGB color value; According to a preset rule, the M LED beads in the LED bead module are color-assigned to obtain a first display color scheme suitable for the LED bead module.

3. The method for controlling LED color according to claim 1, characterized in that, The LED light bead module is installed in the wireless earphone.

4. The method for controlling LED color according to claim 1, characterized in that, The target image includes: The first image obtained by the user based on a photo taken by the terminal, or the second image selected by the user from the terminal database.

5. The method for controlling LED color according to claim 1, characterized in that, The process of processing the colors that the wireless earphones can display using a preset color sampling model to obtain the optimal display color scheme includes the following steps: The target image is segmented according to a preset segmentation model to obtain a segmented target image; Extract the colors that the wireless headphones can display from the middle region of each segmented target image and sort them; According to a preset rule, the L LED beads in the LED bead module are color-assigned to obtain multiple second display color schemes suitable for the LED bead module.

6. The method for controlling LED color according to claim 5, characterized in that, It also includes the following steps: The target image is segmented according to a preset segmentation model to obtain the segmented target image, specifically: The target image is divided into A equal parts along a first direction; The target image is then divided into two equal parts (B) along the second direction. The target image is segmented into A. B portions, resulting in A B segments of the target image.

7. The method for controlling LED color according to claim 6, characterized in that, It also includes the following steps: When it is A When segmenting the target image into B parts, A is obtained. Color scheme B; In A Select the best display color scheme from among the B display color schemes.

8. A system for controlling LED color, characterized in that, It includes an acquisition and processing module, a selection and conversion module, a scheme acquisition module, and a control and display module; The acquisition and processing module is used to acquire the target image provided by the user, perform color clustering and extraction processing on the target image, and select N colors as the extracted colors, where N represents the number of color types and is greater than or equal to 1. The selection and conversion module selects the closest display color from the extracted colors based on the headphone color display model, and obtains the color conversion color difference from the display color to obtain the color that the wireless headphones can display; The scheme acquisition module processes the colors that the wireless headphones can display using a preset color sampling model to obtain the optimal display color scheme. The control and display module is used to send the optimal display color scheme to the wireless earphone and control the LED light bead module of the wireless earphone to display the corresponding color; The LED lamp bead module includes a bottom light-emitting base plate and upper LED lamp beads. The bottom light-emitting base plate is used to display the background pattern, and the upper LED lamp beads are used to display the color. The target image is selected by choosing multiple areas based on user preferences. Background patterns and colors are then extracted from all selected areas, resulting in multiple background patterns and colors. Assuming there are N background patterns and colors, the possible combinations of background patterns and colors are: Users can select a set to display according to their preferences.

9. The LED color control system according to claim 8, characterized in that, The acquisition and processing module is configured as follows: The colors in the target image are clustered based on an aggregation algorithm, and then the colors are extracted to obtain the first color; The first color is preprocessed to remove colors that do not meet the brightness or saturation requirements, or both, to obtain a second color that meets the brightness and saturation requirements. The second color is selected by selecting the closest display color and excluding colors with a color difference greater than a preset threshold, thus obtaining the remaining colors; The remaining colors are sorted by area, and N colors are selected as the extracted colors, where N represents the number of colors and is greater than or equal to 1.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.

11. A device for controlling LED color, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.

12. A method for controlling LED color with wireless headphones, characterized in that, Includes the following steps: The wireless earphone receives the optimal display color scheme sent by the terminal connected to the wireless earphone. The terminal obtains a target image provided by the user, performs color clustering and extraction processing on the target image, and selects N colors as the extracted colors, where N represents the number of color types and is greater than or equal to 1. Based on the earphone's color display model, the closest display color is selected from the extracted colors, and the display color is converted to a color difference value to obtain the color that the wireless earphone can display. The optimal display color scheme is obtained by processing the colors that the wireless earphone can display using a preset color sampling model. The wireless earphone controls the LED bead module to display the corresponding color according to the optimal display color scheme; The LED lamp bead module includes a bottom light-emitting base plate and upper LED lamp beads. The bottom light-emitting base plate is used to display the background pattern, and the upper LED lamp beads are used to display the color. The target image is selected by choosing multiple areas based on user preferences. Background patterns and colors are then extracted from all selected areas, resulting in multiple background patterns and colors. Assuming there are N background patterns and colors, the possible combinations of background patterns and colors are: Users can select a set to display according to their preferences.

Citation Information

Patent Citations

  • Color picker

    CN107771313A