CN105677266A - Electronic equipment and icon display method thereof - Google Patents

Electronic equipment and icon display method thereof Download PDF

Info

Publication number
CN105677266A
CN105677266A CN201410660660.2A CN201410660660A CN105677266A CN 105677266 A CN105677266 A CN 105677266A CN 201410660660 A CN201410660660 A CN 201410660660A CN 105677266 A CN105677266 A CN 105677266A
Authority
CN
China
Prior art keywords
component
icon
pixel
color
primary color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410660660.2A
Other languages
Chinese (zh)
Other versions
CN105677266B (en
Inventor
孙晓明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201410660660.2A priority Critical patent/CN105677266B/en
Publication of CN105677266A publication Critical patent/CN105677266A/en
Application granted granted Critical
Publication of CN105677266B publication Critical patent/CN105677266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses electronic equipment and an icon display method thereof, relating to the field of electronic information so that the problem that conventional electronic equipment fails to clearly display icons due to the similarity between icon colors and background colors of icons. The concrete scheme comprises following steps: obtaining pre-set icons, determining the number of a first kind of pixels for pre-set icons, and correcting colors of pre-set icons when the number of the first kind of pixels is less than or equal to the first threshold value such that the number of the first kind of pixels for the corrected icons is larger than the first threshold value and displaying corrected icons on a background. The electronic equipment and the icon display method thereof are used for icon display.

Description

A kind of electronics and icon display method thereof
Technical field
The present invention relates to electronic information field, particularly relate to a kind of electronics and icon display method thereof.
Background technology
Along with the development of electronic information technology, more and more electronic apparatus application is in daily life, and the various application programs that electronics is installed also become Software tool essential in people's life.
In prior art, on electronics, the icon of some application program is close with background color, such as, at the icon of the status bar of smart mobile phone or the various application programs of notice hurdle display, because status bar or notice hurdle are generally white, the icon of some application program is because close with white or white portion is more, and user cannot clearly distinguish this part icon.
Certainly, just illustrating prior art Problems existing herein, the present invention is mainly used in solving in the electronic device, and the background color of Icon Color and icon is close and causes icon to show not clearly problem.
Summary of the invention
Embodiments of the invention provide a kind of electronics and icon display method thereof, it is possible to solve in the electronic device, and the background color of Icon Color and icon is close and causes icon to show not clearly problem.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of icon display method, comprising:
Obtain preset icon;
Determining the quantity of the first kind pixel of described preset icon, in each primary color component of each primary color component of described first kind pixel and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold;
When the quantity of described first kind pixel is less than or equals the first threshold value, the color of described preset icon is modified so that the quantity of the first kind pixel of the icon after amendment is greater than the first threshold value;
Icon after described amendment is displayed in described background.
Second aspect, the embodiment of the present invention provides a kind of electronics, comprising:
Acquiring unit, for obtaining preset icon;
Pixel cell, for determining the quantity of the first kind pixel of the described preset icon that described acquiring unit obtains, in each primary color component of each primary color component of described first kind pixel and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold;
Processing unit, for when the quantity of described first kind pixel is less than or equals the first threshold value, modifying the color of described preset icon so that the quantity of the first kind pixel of the icon after amendment is greater than the first threshold value;
Display unit, the icon after being revised by described processing unit is displayed in described background.
The icon display method that the embodiment of the present invention one provides, obtain preset icon, determine the quantity of the first kind pixel of preset icon, when the quantity of first kind pixel is less than or equals the first threshold value, the color of preset icon is modified, and the icon after amendment is displayed in background, like this, the color of the preset icon close with background color is modified, the quantity of the first kind pixel of the icon after revising is made to be greater than the first threshold value, preset icon is so just made can clearly to show in background, it is easy to identify, solve in the electronic device, the background color of Icon Color and icon is close and causes icon to show not clearly problem.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below the accompanying drawing used required in embodiment being described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of icon display method schematic flow sheet provided by the invention;
A kind of icon display method schematic flow sheet that Fig. 2 provides for the embodiment of the present invention one;
A kind of electronic devices structure schematic diagram that Fig. 3 provides for the embodiment of the present invention two.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The present invention provides a kind of icon display method, is applied to electronics, and optionally, this electronics can be smart mobile phone, panel computer etc., with reference to, shown in Fig. 1, icon display method comprises the following steps:
101, preset icon is obtained.
Preferably, this preset icon can comprise N number of pixel, N be greater than 0 integer. Optionally, this preset icon can be application program icon, it can also be the icon of display state of electronic equipment, or, this preset icon can also be the icon of display electronic functionalities pattern, such as, fresh information prompting icon, mobile phone vibration modes icon, mobile phone electricity icon etc., the concrete implication of preset icon is not limited by the present invention. Preferred further, this preset icon is a picture.
102, the quantity of the first kind pixel of preset icon is determined.
Wherein, in each primary color component of each primary color component of first kind pixel and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold. Namely the color of first kind pixel and the color distinction of background are obvious, are easy to distinguish.
Preferably, in the present invention, primary color component can comprise red R component, green G component and blue B component, and certainly, primary color component can also comprise other colors, and which primary color component specifically comprises and plant color, and the present invention does not limit. redness R is represented by the present invention, green G is represented, blueness B is represented, usually, R, G, the value of B tri-primary color components is interval [0, 255] integer in, usually, can with hexadecimal representation, R, G, the value of B tri-primary color components is the sexadecimal number between 00-ff, for each primary color component, its value is more big, represent that the color of this component is more dark, each color can represent to be six sexadecimal numbers, every two represent a primary color component, such as white can represent for " ffffff ", work as R, G, when the color of B tri-primary color components is all very dark, white will be synthesized, " 000000 " represents R, G, the color of B tri-primary color components does not all have, now, it is defaulted as black.
103, when the quantity of first kind pixel is less than or equals the first threshold value, the color of preset icon is modified.
When the quantity of first kind pixel is less than or equals the first threshold value, illustrate first kind pixel account in preset icon proportion is little, and first kind pixel is bigger with the color distinction of background, first kind pixel is more few, then the color distinction of preset icon and background is more little, preset icon is more not easy to identify in background, namely the color of preset icon and background is close, now, need by preset icon and color modify, the quantity of the first kind pixel of the icon after revising is made to be greater than the first threshold value, icon and the color distinction of background after revising like this are just obvious, it is easy to distinguish.
104, the icon after amendment is displayed in background.
Optionally, this background can be notice hurdle or the status bar of electronics, it is also possible to being the desktop background of electronics, to this, the present invention does not limit.
Icon display method provided by the invention, obtain preset icon, determine the quantity of the first kind pixel of preset icon, when the quantity of first kind pixel is less than or equals the first threshold value, the color of preset icon is modified, and the icon after amendment is displayed in background, like this, the color of the preset icon close with background color is modified, the quantity of the first kind pixel of the icon after revising is made to be greater than the first threshold value, preset icon is so just made can clearly to show in background, it is easy to identify, solve in the electronic device, the background color of Icon Color and icon is close and causes icon to show not clearly problem.
Embodiment one,
Based on the method that above-mentioned Fig. 1 is corresponding, the embodiment of the present invention one provides a kind of icon display method, preferably, it is applied to the smart mobile phone being provided with Android (Android) system, certainly, the present embodiment just illustrates, does not represent the present invention and is confined to this, with reference to, shown in Fig. 2, the icon display method that the present embodiment provides comprises the following steps:
201, initial graph target icon information is obtained.
Preferably, this initial graph target icon information comprises initial graph target width, initial graph target width and initial graph target transparency. Optionally, can according to initial graph target resource ID (Identity, identify label) it is the form of a drawable interface of picture (Android system process) by initial graph target convert information, further alternative, Android (Android) system can be passed through following codes implement:
Drawable=resource.getDrawable (icon.id); The icon information of // acquisition drawable form
Intw=drawable.getIntrinsicWidth (); The width of // acquisition icon
Inth=drawable.getIntrinsicHeight (); The height of // acquisition icon
Bitmap.Configconfig=
Drawable.getOpacity () unequal to PixelFormat.OPAQUE? Bitmap.Config.ARGB_8888:Bitmap.Config.RGB_565; // icon transparency.
202, a bitmap is generated as preset icon according to initial graph target icon information.
Preferably, can according to the bitmap (Bitmap) that icon information constructs a same size, transparency is identical obtained in step 201, a bitmap proportional to initial icon can certainly be constructed according to the icon information obtained in step 201, transparency can also regulate according to particular case, to this, the present embodiment does not limit.
Preferably, Android (Android) system can be passed through following codes implement:
Bitmapbitmap=Bitmap.createBitmap (w, h, config).
203, first kind pixel and the quantity of the 2nd class pixel is determined.
In each primary color component of each primary color component of first kind pixel and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold, and in each primary color component of each primary color component of the 2nd class pixel and the color of background, the absolute value of each primary color component difference is all less than the 3rd threshold value. Certainly, the value of Second Threshold and the 3rd threshold value can be determined according to particular case, and this is not restricted by the present invention.
Concrete, primary color component can comprise R component, G component and B component, and the present embodiment is described for RGB tri-primary color components, does not represent the present invention and is confined to this.
Optionally, can by the R of each pixel in following Code obtaining preset icon, G, B component in Android (Android) system:
The number of pixels of preset icon is: bitmap.getWidth () * bitmap.getHeight ();
For (inti=0; I <bitmap.getWidth (); I++)
For (intj=0; J <bitmap.getHeight (); J++)
Intpixel=bitmap.getPixel (i, j);
Intred=Color.red (pixel);
Intgreen=Color.green (pixel);
Intblue=Color.blue (pixel);
……………..
}
}
As above, it is possible to the R of each pixel in preset icon, G, B component are extracted respectively.
204, when the quantity of the first kind pixel of preset icon is less than or equals the first threshold value, and when the quantity of the 2nd class pixel of preset icon is greater than the quantity of first kind pixel, the color of preset icon is modified.
When the quantity of the first kind pixel of preset icon is less than or equals the first threshold value, and when the quantity of the 2nd class pixel of preset icon is greater than the quantity of first kind pixel, illustrate that the 2nd class pixel close with the color of background in preset icon is more, the first kind pixel differed greatly with background color is less, can determine that the color of preset icon and background is close, it is not easy to identify, now, the color of preset icon is modified.
Optionally, the present embodiment provides two kinds of concrete alter modes:
First kind of way, the color of the 2nd class pixel in preset icon is directly replaced to the first pre-set color, and in each primary color component of each primary color component of the first pre-set color and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold.
2nd kind of mode, carries out computing by preset algorithm respectively by each primary color component of each primary color component of each pixel of preset icon and the 2nd pre-set color.
Preferred further, primary color component comprises R component, G component and B component, it is possible to according to following formula, three primary color components of the three of each pixel of preset icon primary color components and the 2nd pre-set color are carried out computing:
R1×R2/ 255=R '1, G1×G2/ 255=G '1, B1×B2/ 255=B '1,
Wherein, R1、G1、B1It is the R component of each pixel of preset icon, G component and B component respectively. R2、G2、B2It is the R component of the 2nd pre-set color, G component and B component respectively. R '1、G’1、B’1It is the R component of each pixel of the icon after amendment, G component and B component respectively.
Certainly, the present embodiment just enumerates two kinds of preferred alter modes, does not represent the mode that the present invention revises color and is confined to these two kinds, and for the color specifically how revising preset icon, the present invention does not limit.
205, the icon after amendment is displayed in background.
Optionally, integrating step 203-204, the present embodiment take background as the status bar of white, 2nd pre-set color is for green for example is described, and the RGB component of white is 255, certainly, just illustrate herein the present embodiment one can implementation, do not represent the present embodiment and be confined to this.
N number of pixel is comprised for preset icon, when in the R component of the n-th pixel in N number of pixel of preset icon, G component and B component, at least one is more than or equal to 0 and when being less than 180, using this n-th pixel as first kind pixel, now, Second Threshold is 180, and first kind pixel can also clearly show on the status bar of white background color.
When the R component of the n-th pixel in N number of pixel of preset icon, G component and B component are all more than or equal to 180, namely the absolute value of the R component of the n-th pixel, G component and B component and 255 differences is all less than 75, using this n-th pixel as the 2nd class pixel, now, 3rd threshold value is that the 75, two class pixel is close with white.
Optionally, in smart mobile phone, an icon of status bar comprises 40 × 40 pixels, namely N is 1600, preferably, the first threshold value can be 90, when in preset icon, the quantity of first kind pixel is less than or equals 90, and the 2nd quantity of class pixel when being greater than the quantity of first kind pixel, preset icon is superposed with green.
Further alternative, it is superposed to example with the white pixel in preset icon and green, white colour is 0xffffffff, and green colour is 0xff05cb94, and two kinds of colors are carried out superposition.
Value 255 × 255/255=0xff after transparency superposition;
Value 255 × 5/255=5=0x05 after R component superposition;
Value 255 × (11+12 × 16)/255=203=0xcb after G component superposition;
Value 255 × (4+9 × 16)/255=148=0x94 after B component superposition.
So just white pixel can be superposed to green pixel.
Preferably, drawable interface can be called in Android (Android) system, by following code, icon be carried out superposition:
Drawable.setColorFilter (0xff05cb94, PorterDuff.Mode.MULTIPLY);
Wherein, MULTIPLY represents that the pattern of filtration is superposition, and optionally, transparency can according to particular case sets itself.
Like this, icon after superposition just can be clearly illustrated on status bar.
The icon display method that the embodiment of the present invention two provides, initial icon is generated bitmap as preset icon according to icon information, determine the first kind pixel of preset icon and the quantity of the 2nd class pixel, when the quantity of first kind pixel is less than or the quantity that equals the first threshold value and the 2nd class pixel is greater than the quantity of first kind pixel, modifying preset icon, and the icon after amendment is displayed in background. because the color distinction of first kind pixel and background is big, the color of the 2nd class pixel and background is close, by judging the number of first kind pixel and the 2nd class pixel quantity in preset icon, determine preset icon whether close with the color of background and it is not easy to distinguish, by in the preset icon close with background color the 2nd class pixel replace be the first pre-set color, or each carries out computing by preset algorithm respectively to each primary color component of each primary color component of element and the 2nd pre-set color by preset icon, and the color distinction of the first pre-set color and the 2nd pre-set color and background is big, it is easy to identify, preset icon is so just made can clearly to show in background, it is easy to identify, solve in the electronic device, the background color of Icon Color and icon is close and causes icon to show not clearly problem.
Embodiment two,
Based on the method that above-mentioned Fig. 1 and Fig. 2 is corresponding, the embodiment of the present invention two provides a kind of electronics, preferably, this electronics can be the smart mobile phone or the panel computer that are provided with Android (Android) system, certainly just illustrate herein, do not represent the present invention and be confined to this.With reference to, shown in Fig. 3, the electronics 30 that the present embodiment provides comprises acquiring unit 301, pixel cell 302, processing unit 303 and display unit 304.
Wherein, acquiring unit 301, for obtaining preset icon.
Pixel cell 302, for determining the quantity of the first kind pixel of the described preset icon that acquiring unit 301 obtains, in each primary color component of each primary color component of described first kind pixel and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold.
Processing unit 303, for when the quantity of first kind pixel is less than or equals the first threshold value, modifying the color of preset icon so that the quantity of the first kind pixel of the icon after amendment is greater than the first threshold value.
Display unit 304, the icon after being revised by processing unit 303 is displayed in background.
Optionally, pixel cell 302, also for determining the quantity of the 2nd class pixel of described preset icon, in each primary color component of described each primary color component of 2nd class pixel and the color of described background, the absolute value of each primary color component difference is all less than the 3rd threshold value.
Processing unit 303, is also less than for working as the quantity of the first kind pixel of preset icon or equals the first threshold value, and when the quantity of the 2nd class pixel is greater than the quantity of first kind pixel in preset icon, the color of preset icon being modified.
Further alternative, processing unit 303, also for the color of the 2nd class pixel in preset icon is directly replaced to the first pre-set color, in each primary color component of each primary color component of the first pre-set color and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold.
Optionally, processing unit 303, also for each primary color component of each primary color component of each pixel of preset icon and the 2nd pre-set color is carried out computing by preset algorithm respectively.
Further alternative, described primary color component comprises red R component, green G component and blue B component.
Processing unit 303, also for three primary color components of three primary color components of each pixel of preset icon and the 2nd pre-set color are carried out computing according to following formula.
R1×R2/ 255=R '1, G1×G2/ 255=G '1, B1×B2/ 255=B '1, wherein, R1、G1、B1It is the R component of each pixel of preset icon, G component and B component respectively. R2、G2、B2It is the R component of the 2nd pre-set color, G component and B component respectively. R '1、G’1、B’1It is the R component of each pixel of the icon after amendment, G component and B component respectively.
Optionally, acquiring unit 301, also for obtaining initial graph target icon information, initial icon is mutually corresponding with preset icon, and initial graph target icon information comprises initial graph target width, initial graph target width and initial graph target transparency. A bitmap is generated as preset icon according to initial graph target icon information.
The electronics that the embodiment of the present invention three provides, obtain preset icon, determine the quantity of the first kind pixel of preset icon, when the quantity of first kind pixel is less than or equals the first threshold value, the color of preset icon is modified, and the icon after amendment is displayed in background, like this, the color of the preset icon close with background color is modified, the quantity of the first kind pixel of the icon after revising is made to be greater than the first threshold value, preset icon is so just made can clearly to show in background, it is easy to identify, solve in the electronic device, the background color of Icon Color and icon is close and causes icon to show not clearly problem.
Through the above description of the embodiments, the technician of art can be well understood to the present invention can with hardware implementing, or firmware realizes, or their array mode realizes. when implemented in software, it is possible to above-mentioned functions is stored in computer-readable medium or transmits as the one or more instruction on computer-readable medium or code. computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium being convenient to from a place to another local transmission computer program. storage media can be any usable medium that computer can access. as example but be not limited to: computer-readable medium can comprise RAM (RandomAccessMemory, random access memory), ROM (ReadOnlyMemory, rdma read), EEPROM (ElectricallyErasableProgrammableReadOnlyMemory, electric erazable programmable read-only storage), CD-ROM (CompactDiscReadOnlyMemory, i.e. read-only optical disc) or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus, or can be used in carrying or storing the expectation with instruction or data structure form program code and can by any other medium of computer access. in addition. any connection can be suitable become computer-readable medium. such as, if software uses concentric cable, optical fiber cable, twisted-pair feeder, DSL (DigitalSubscriberLine, digital subscriber line) or the wireless technology of such as infrared rays, wireless and microwave and so on from website, server or other remote source, so the wireless technology of concentric cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared rays, wireless and microwave and so on be included in affiliated medium fixing in. as used in the present invention, plate and dish comprises CD (CompactDisc, compression laser disc), laser dish, laser disc, DVD dish (DigitalVersatileDisc, digital universal light), floppy disk and Blu-ray Disc, the duplication data of the usual magnetic of its mid-game, dish then carrys out the duplication data of optics with laser. combination above also should be included within the protection domain of computer-readable medium.
The above; it is only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any it is familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention. Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (12)

1. an icon display method, it is characterised in that, comprising:
Obtain preset icon;
Determining the quantity of the first kind pixel of described preset icon, in each primary color component of each primary color component of described first kind pixel and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold;
When the quantity of described first kind pixel is less than or equals the first threshold value, the color of described preset icon is modified so that the quantity of the first kind pixel of the icon after amendment is greater than the first threshold value;
Icon after described amendment is displayed in described background.
2. method according to claim 1, it is characterised in that, described method also comprises:
When the quantity of described first kind pixel is less than or equals the first threshold value, the color of described preset icon is modified, comprising:
Determining the quantity of the 2nd class pixel of described preset icon, in each primary color component of described each primary color component of 2nd class pixel and the color of described background, the absolute value of each primary color component difference is all less than the 3rd threshold value;
When the quantity of the first kind pixel of described preset icon is less than or equals the first threshold value, and when described in described preset icon, the quantity of the 2nd class pixel is greater than the quantity of described first kind pixel, the color of described preset icon is modified.
3. method according to claim 2, it is characterised in that, the described color by described preset icon is modified, and comprising:
The color of the 2nd class pixel in described preset icon is directly replaced to the first pre-set color, and in each primary color component of each primary color component of described first pre-set color and the color of described background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold.
4. method according to claim 1, it is characterised in that, the described color by described preset icon is modified, and comprising:
Each primary color component of each primary color component of each pixel of described preset icon and the 2nd pre-set color is carried out computing by preset algorithm respectively.
5. method according to claim 4, it is characterised in that,
Described primary color component comprises red R component, green G component and blue B component;
Each primary color component of described each pixel by described preset icon and each primary color component of described 2nd pre-set color carry out computing by preset algorithm respectively, comprising:
Three primary color components of the three of each pixel of described preset icon primary color components and described 2nd pre-set color are carried out computing according to following formula;
R1×R2/ 255=R '1, G1×G2/ 255=G '1, B1×B2/ 255=B '1, wherein, R1、G1、B1It is the R component of each pixel of described preset icon, G component and B component respectively; R2、G2、B2It is the R component of described 2nd pre-set color, G component and B component respectively; R '1、G’1、B’1It is the R component of each pixel of the icon after amendment, G component and B component respectively.
6. method according to the arbitrary item of claim 1-5, it is characterised in that, described acquisition preset icon, comprising:
Obtaining initial graph target icon information, described initial icon is mutually corresponding with described preset icon, and described initial graph target icon information comprises described initial graph target width, described initial graph target width and described initial graph target transparency;
A bitmap is generated as described preset icon according to described initial graph target icon information.
7. an electronics, it is characterised in that, comprising:
Acquiring unit, for obtaining preset icon;
Pixel cell, for determining the quantity of the first kind pixel of the described preset icon that described acquiring unit obtains, in each primary color component of each primary color component of described first kind pixel and the color of background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold;
Processing unit, for when the quantity of described first kind pixel is less than or equals the first threshold value, modifying the color of described preset icon so that the quantity of the first kind pixel of the icon after amendment is greater than the first threshold value;
Display unit, the icon after being revised by described processing unit is displayed in described background.
8. equipment according to claim 7, it is characterised in that,
Described pixel cell, it is determined that the quantity of the 2nd class pixel of described preset icon, in each primary color component of described each primary color component of 2nd class pixel and the color of described background, the absolute value of each primary color component difference is all less than the 3rd threshold value;
Described processing unit, also it is less than for working as the quantity of the first kind pixel of described preset icon or equals the first threshold value, and when described in described preset icon, the quantity of the 2nd class pixel is greater than the quantity of described first kind pixel, the color of described preset icon is modified.
9. equipment according to claim 8, it is characterised in that,
Described processing unit, also for the color of the 2nd class pixel in described preset icon is directly replaced to the first pre-set color, in each primary color component of each primary color component of described first pre-set color and the color of described background, the absolute value of at least one primary color component difference is more than or equal to Second Threshold.
10. equipment according to claim 7, it is characterised in that,
Described processing unit, also for each primary color component of each primary color component of each pixel of described preset icon and the 2nd pre-set color is carried out computing by preset algorithm respectively.
11. equipment according to claim 10, it is characterised in that,
Described primary color component comprises red R component, green G component and blue B component;
Described processing unit, also for three primary color components of three primary color components of each pixel of described preset icon and described 2nd pre-set color are carried out computing according to following formula;
R1×R2/ 255=R '1, G1×G2/ 255=G '1, B1×B2/ 255=B '1, wherein, R1、G1、B1It is the R component of each pixel of described preset icon, G component and B component respectively; R2、G2、B2It is the R component of described 2nd pre-set color, G component and B component respectively; R '1、G’1、B’1It is the R component of each pixel of the icon after amendment, G component and B component respectively.
12. equipment according to the arbitrary item of claim 7-11, it is characterised in that,
Described acquiring unit, also for obtaining initial graph target icon information, described initial icon is mutually corresponding with described preset icon, and described initial graph target icon information comprises described initial graph target width, described initial graph target width and described initial graph target transparency; A bitmap is generated as described preset icon according to described initial graph target icon information.
CN201410660660.2A 2014-11-18 2014-11-18 A kind of electronic equipment and its icon display method Active CN105677266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410660660.2A CN105677266B (en) 2014-11-18 2014-11-18 A kind of electronic equipment and its icon display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410660660.2A CN105677266B (en) 2014-11-18 2014-11-18 A kind of electronic equipment and its icon display method

Publications (2)

Publication Number Publication Date
CN105677266A true CN105677266A (en) 2016-06-15
CN105677266B CN105677266B (en) 2018-08-24

Family

ID=56944774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410660660.2A Active CN105677266B (en) 2014-11-18 2014-11-18 A kind of electronic equipment and its icon display method

Country Status (1)

Country Link
CN (1) CN105677266B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106873996A (en) * 2017-02-13 2017-06-20 广州优视网络科技有限公司 Adaptation application notifies method, device and the computing device of color under Android system
CN107479781A (en) * 2017-07-20 2017-12-15 努比亚技术有限公司 A kind of update method and terminal of application icon color
CN107807785A (en) * 2017-11-21 2018-03-16 广州视源电子科技股份有限公司 Method and system for selecting object on touch screen
CN110908765A (en) * 2019-11-29 2020-03-24 五八有限公司 Interface display method and device, terminal equipment and storage medium
CN112764849A (en) * 2021-01-05 2021-05-07 广州岸边网络科技有限公司 Desktop icon transformation method and system based on IOS (input/output system)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916168A (en) * 2010-08-31 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying application icon and mobile terminal
US20120078445A1 (en) * 2010-09-27 2012-03-29 Honeywell International Inc. Computer assisted human machine interface display
CN102508666A (en) * 2011-11-11 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting application prompt message in application program
CN103176761A (en) * 2011-12-23 2013-06-26 中国移动通信集团公司 Screen background setting method and movable terminal
CN104063123A (en) * 2014-05-28 2014-09-24 小米科技有限责任公司 Icon displaying method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916168A (en) * 2010-08-31 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying application icon and mobile terminal
US20120078445A1 (en) * 2010-09-27 2012-03-29 Honeywell International Inc. Computer assisted human machine interface display
CN102508666A (en) * 2011-11-11 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting application prompt message in application program
CN103176761A (en) * 2011-12-23 2013-06-26 中国移动通信集团公司 Screen background setting method and movable terminal
CN104063123A (en) * 2014-05-28 2014-09-24 小米科技有限责任公司 Icon displaying method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106873996A (en) * 2017-02-13 2017-06-20 广州优视网络科技有限公司 Adaptation application notifies method, device and the computing device of color under Android system
WO2018145536A1 (en) * 2017-02-13 2018-08-16 广州优视网络科技有限公司 Method and device for adapting application notification color in android system and computing equipment
CN107479781A (en) * 2017-07-20 2017-12-15 努比亚技术有限公司 A kind of update method and terminal of application icon color
CN107807785A (en) * 2017-11-21 2018-03-16 广州视源电子科技股份有限公司 Method and system for selecting object on touch screen
CN107807785B (en) * 2017-11-21 2020-06-12 广州视源电子科技股份有限公司 Method and system for selecting object on touch screen
CN110908765A (en) * 2019-11-29 2020-03-24 五八有限公司 Interface display method and device, terminal equipment and storage medium
CN112764849A (en) * 2021-01-05 2021-05-07 广州岸边网络科技有限公司 Desktop icon transformation method and system based on IOS (input/output system)
CN112764849B (en) * 2021-01-05 2023-05-23 广州岸边网络科技有限公司 Desktop icon transformation method and system based on IOS system

Also Published As

Publication number Publication date
CN105677266B (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN105677266A (en) Electronic equipment and icon display method thereof
CN104077091B (en) A kind of display processing method and electronic equipment
CN104778047A (en) Content display method and terminal
CN104536771A (en) Method and system for showing icon sequencing according to icon colors
CN104834952A (en) Intelligent two-dimension code
CN103024434A (en) Automatic test system based on image matching
CN103177226A (en) Display method and display device of peeping-preventing visible code
CN105955754B (en) A kind of user interface character displaying method and device
CN104486481A (en) Sharing method of operation setting, user equipment and sharing system
CN104462930A (en) Verification code generating method and device
CN104978186A (en) Interface skin rendering method and apparatus
CN105162637B (en) A kind of local area network visual management method and device
CN105302517A (en) Method and device for regulating display color of terminal screen
CN104303226A (en) Method and system for image dithering
CN104461614A (en) Method for processing theme resource and electronic device
CN105335939A (en) Image processing method and apparatus
US20230074060A1 (en) Artificial-intelligence-based image processing method and apparatus, electronic device, computer-readable storage medium, and computer program product
CN113316711A (en) Method and apparatus for estimating ambient light
CN112463150A (en) Method, device and equipment for adjusting font and background color and readable medium
CN113012615A (en) Display screen compensation method and device, computer readable storage medium and electronic equipment
CN105760917A (en) Three-dimensional code coding method and system
CN109862083B (en) Method, device and equipment for activating Internet of things equipment
CN111915601B (en) Abnormality test method, device and system for intelligent terminal
CN112087581A (en) Camera configuration method and device, camera and storage medium
CN104793937A (en) Start-up control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Country or region after: China

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address