Icon picture processing method
An image processing and icon technology, which is applied in the field of image processing, can solve the problems that the style of the background wallpaper and the icon cannot be unified, the icon image cannot be changed, and the icon image cannot be extracted to match the color, so as to achieve the effect of meeting individual needs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Such as figure 1 As shown, an icon image processing method includes the following steps:
[0026] S10: Obtain icon images;
[0027] S20: Detect and extract the edge of the icon image;
[0028] S30: Color the edges of the extracted icon image according to the preset color value;
[0029] S40: Synthesize the edge of the colored icon image with the preset base.
[0030] The present invention obtains icon images; detects and extracts the edges of the icon images; colorizes the edges of the extracted icon images according to preset color values; synthesizes the colored icon image edges with a preset base, so that the background wallpaper and the icon The style can be unified to meet the individual needs of users.
Embodiment 2
[0032] Such as figure 2 As shown, an icon image processing method includes the following steps:
[0033] S101: Obtain an icon image;
[0034] S201: Detect the edge of the icon image and perform extraction;
[0035] S202: Use the Sobel operator to detect and extract the edge of the icon image, traverse the pixels of each icon image, and calculate the offset position of each pixel;
[0036] S203: Calculate the horizontal and vertical grayscale differences of the red component of each pixel respectively to obtain corresponding values;
[0037] S204: Calculate the horizontal and vertical grayscale differences of the green components of each pixel respectively to obtain corresponding values;
[0038] S205: Calculate the horizontal and vertical grayscale differences of the blue component of each pixel respectively to obtain corresponding values;
[0039] S206: Calculate the horizontal and vertical integrated grayscale differences of each pixel according to the above values;
[0040] S207: Dete...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 