Icon and text processing method
A word processing and icon technology, applied in the field of image processing, can solve the problems of not being able to automatically adjust the color, not being able to recognize the color of the background wallpaper image, not being able to meet the individual needs of users, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] Such as figure 1 Shown, a kind of icon word processing method, described method comprises the following steps:
[0023] S101: Acquire the desktop wallpaper image, and extract the color value of the wallpaper image;
[0024] S201: Calculate the average brightness of the wallpaper image through the color value, and judge whether the average brightness is greater than the preset brightness value, if yes, go to step 202; if not, go to step S301;
[0025] S202: It is determined as a bright wallpaper, and the icon text becomes a dark color with an opacity value greater than 40%;
[0026] S301: Determine whether the saturation of the wallpaper image is low according to the brightness distribution of the wallpaper, if yes, go to step S302; if not, go to step S303;
[0027] S302: The icon text becomes white, and a dark shadow with an opacity value greater than 40% is superimposed;
[0028] S303: The icon text becomes white, and a light shadow with an opacity value less than 4...
Embodiment 2
[0031] Such as figure 2 Shown, a kind of icon word processing method, described method comprises the following steps:
[0032] S401: Obtain the desktop wallpaper image, traverse the pixels of the wallpaper image at preset intervals, and extract the color values of the pixels of the wallpaper image; the preset interval is 4 pixel intervals, which is beneficial to improve the processing speed.
[0033] S501: For each pixel traversed, take the R, G, and B values of its color, multiply each R, G, and B value by a preset weight, and perform a weighted sum operation, and the obtained value is used as the brightness of the pixel value;
[0034] S502: Calculate the average value of the brightness value of each pixel, and use the obtained value as the average brightness A of the image;
[0035] S503: Determine whether A is greater than the preset brightness a value, if yes, enter step S504; if not, enter step S601;
[0036] S504: Calculate the variance vr of all pixel R values,...
Embodiment 3
[0045] A method for processing icon text, said method comprising the following steps:
[0046] S701: Obtain the desktop wallpaper image, traverse the pixels of the wallpaper image at preset intervals, and extract the color values of the pixels of the wallpaper image; the preset interval is 3 pixel intervals, which is beneficial to improve the processing speed.
[0047] S801: For each pixel traversed, take the R, G, and B values of its color, multiply each R, G, and B value by a preset weight, and then perform a weighted sum operation. The weight of the preset R value is 0.299 , the weight of the G value is 0.587, the weight of the B value is 0.114, and the obtained value is used as the lightness value L of the pixel, L=R*0.299+G*0.587+B*0.114;
[0048] S802: Calculate the average value of the brightness value of each pixel, and use the obtained value as the average brightness A of the image;
[0049] S803: Judging whether A is greater than the preset brightness value a, i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
