Icon generation method

An icon, native technology, applied in the direction of 2D image generation, image data processing, texture/color, etc., can solve the problems of unsightly and unpredictable icons.

Active Publication Date: 2012-08-01
XIAOMI INC
View PDF4 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the image resources randomly selected by the operating system have nothing to do with the icon content of the third-party application program. Basically, the integrated icon is not beautiful, and the final generated icon is not predictable for third-party application program developers.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Icon generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0025] figure 1 It is a flow chart of icon generation in the specific embodiment of the present invention. Such as figure 1 As shown, the icon generation method includes the following steps:

[0026] Step 101, adjusting the native icon to a preset size under the same resolution environment.

[0027] Step 102, count the color value of each pixel of the native icon, and calculate the main color of the native icon. First obtain the RGB value of each pixel of the native icon, average the R values ​​of all pixels in the native icon to obtain the average R value, and average the G values ​​of all pixels in the native icon to obtain the average G value, and obtain the average G value of all pixels in the native icon The B values ​​of the pixels are summed and averaged to obtain the average B value, and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an icon generation method which comprises the following steps that: an original icon is adjusted to a preset size in the environment with the same resolution; the color value of each pixel of the original icon is calculated, and the dominant hue of the original icon is calculated; a background color is generated according to the hue angle, preset color saturation and brightness of the dominant hue; a preset color gradient template is applied to the background color, and an icon bottom plate is generated; a preset icon edge cutting template is used for cutting the adjusted icon; and the icon bottom plate, the icon after cutting and a preset icon foreground template are overlapped, and a final icon is generated. After the technical scheme of the invention is adopted, the new icon which complies with the unified style of a system can be generated, and the content consistency of the new icon is ensured as much as possible.

Description

technical field [0001] The present invention relates to the technical field of terminal user interface, in particular to an icon generation method. Background technique [0002] Most computer or smart phone operating systems support third-party developers to develop various applications and allow users to use them in this system. Therefore, such operating systems must provide a solution for users to distinguish these third-party applications. [0003] In almost all operating systems with a graphical interface, a third-party application program is supported to be identified by a specific image (icon for short), and the specific image is usually provided by a developer of the third-party application program. [0004] Just because the icons of different third-party applications are provided by different developers, the styles of many icons are difficult to be consistent, which ultimately makes the display of the program icon list in the operating system very messy and reduces t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/048
CPCG06F3/04817G06F8/38G06F9/44G06F3/048G06T11/00G06T11/001
Inventor 李伟星任恬黎万强黄江吉
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products