CN106843649A - A kind of icon processing method, device and terminal - Google Patents

A kind of icon processing method, device and terminal Download PDF

Info

Publication number
CN106843649A
CN106843649A CN201710025502.3A CN201710025502A CN106843649A CN 106843649 A CN106843649 A CN 106843649A CN 201710025502 A CN201710025502 A CN 201710025502A CN 106843649 A CN106843649 A CN 106843649A
Authority
CN
China
Prior art keywords
icon
complementary color
opaques
vegetarian refreshments
pixel
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
CN201710025502.3A
Other languages
Chinese (zh)
Other versions
CN106843649B (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.)
BEIJING SHUKE WANGWEI TECHNOLOGY Co.,Ltd.
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710025502.3A priority Critical patent/CN106843649B/en
Publication of CN106843649A publication Critical patent/CN106843649A/en
Application granted granted Critical
Publication of CN106843649B publication Critical patent/CN106843649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a kind of icon processing method, wherein, the method includes:The pixel of icon is read line by line, it is determined that the first opaques vegetarian refreshments often gone, being calculated by pre-defined algorithm according to first opaques vegetarian refreshments carries out the complementary color rule of complementary color treatment to the icon, complementary color rule according to calculating carries out complementary color treatment to the icon, and the icon after complementary color is processed is cut to the icon of object module.The invention also discloses a kind of icon processing unit and terminal, solve the problems, such as that icon is synthesized the complex operation step for unifying style in correlation technique, by the icon that transparent pixels region be cut to after complementary color treatment object module, icon is quickly and easily cut to the unified icon of style, Consumer's Experience is improve.

Description

A kind of icon processing method, device and terminal
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of icon processing method, device and terminal.
Background technology
With the development and the popularization of terminal of internet, the customer group of terminal is increasing, while also being proposed to software More intelligence, the demand of hommization.
Most intelligent terminal operation systems, all support that third party developer develops various application programs, and at this Allow user to use in system, thus this type operating system must provide for a kind of scheme allow user can distinguish these third parties should With.In the almost all of operating system with graphical interfaces, all support to be identified by a particular picture (abbreviation icon) One third party application, and the particular picture is typically what is provided by third party application developer.
Just because of the icon of different third party applications is provided by different developers, cause the wind of numerous icons Lattice are difficult to unanimously, and final the representing for program icon list caused in operating system is in a mess, and reduces the experience of user.Mesh Before the preset limited picture resource of operating system that has, for each third party application, randomly select several pictures, with The program icon is merged by certain way, new icon is generated, so as to reach the one of global icon style to a certain extent Cause property.But the picture resource that operating system is randomly selected is unrelated with the iconic content of third party application, substantially merges Unsightly, and the icon for ultimately generating does not have predictability to icon out to third party application developer.
According to existing mobile terminal desktop icon synthetic method synthesized by icon it is more stiff, and different style does not have There is unified sense.Icon generation method in correlation technique, primary icon is adjusted to size set in advance simultaneously by it first The dominant hue of primary icon is calculated, background colour is then generated according to the dominant hue, the background colour is applied mechanically into the life of gradual change template Into icon bottom plate, finally the icon after adjustment is cut, the icon after the icon bottom plate, cutting and one is preset Icon foreground template is superimposed, and generates final icon, although being unified by the icon style that the method synthesizes, to calculate The dominant hue corresponding icon bottom plate of generation for going out icon is merged again, and step is comparatively laborious.
For, by the problem of the complex operation step of the unified style of icon synthesis, not yet proposition is solved at present in correlation technique Scheme.
The content of the invention
In consideration of it, the present invention proposes a kind of icon processing method, device and terminal, it is intended to solve icon in correlation technique The problem of the complex operation step of the unified style of synthesis.
To achieve the above object, the invention provides a kind of icon processing method, including:
The pixel of icon is read line by line, it is determined that often first opaques vegetarian refreshments of row;
Calculated by pre-defined algorithm according to first opaques vegetarian refreshments carries out complementary color treatment to the icon Complementary color rule;
Complementary color rule according to calculating carries out complementary color treatment to the icon;
Icon after complementary color is processed is cut to the icon of object module.
Optionally, the pixel of icon is read line by line, it is determined that often first opaques vegetarian refreshments of row includes:
Read the pixel value of the pixel that the icon is often gone;
When the pixel value of pixel is 255, determine that the pixel is first opaques vegetarian refreshments.
Optionally, calculated by pre-defined algorithm according to first opaques vegetarian refreshments carries out complementary color to the icon The complementary color rule for the treatment of includes:
Candidate pixel point is determined by the position of first opaques vegetarian refreshments;
The complementary color rule is calculated by pre-defined algorithm according to the candidate pixel point.
Optionally, determine that candidate pixel point includes by the position of first opaques vegetarian refreshments:
Position according to first opaques vegetarian refreshments P (x, y) determines that N number of opaques vegetarian refreshments Pi, N are more than 3 Integer, i=N;
When N is 12,4 pixels of colleague for P1 (x+1, y), P2 (x+3, y), P3 (x+2, y), P4 (x+4, y), same column 4 pixels are P5 (x, y+1), P6 (x, y+2), P7 (x, y+3), P8 (x, y+4), it is diagonal on 4 pixels be P9 (x+1, y+ 1)、P10(x+2,y+2)、P11(x+3,y+3)、P12(x+4,y+4);
Calculate the average M2, P9 of the pixel value of the average M1, P5, P6, P7, P8 of the pixel value of P1, P2, P3, P4, P10, The average M3 of the pixel value of P11, P12;
The pixel value of first opaques vegetarian refreshments P (x, y) and the difference of M1, M2, M3 are calculated, determines that difference is minimum Value be the candidate pixel point.
Optionally, calculating the complementary color rule by pre-defined algorithm according to the candidate pixel point includes:
In the case where the minimum value of difference is for M1, it is determined that carrying out completion in capable mode;
In the case where the minimum value of difference is for M2, it is determined that carrying out completion in the way of arranging;
In the case where the minimum value of difference is for M3, it is determined that carrying out completion in diagonal mode.
Optionally, the icon that the icon after complementary color is processed is cut to object module includes:
The relevant parameter of the icon of the object module is obtained, wherein, the relevant parameter includes the object module Four angles of icon and four radians;
Icon after complementary color is processed according to the relevant parameter is cut to the icon of object module.
According to another aspect of the present invention, a kind of icon processing unit is additionally provided, including:
Determining module, the pixel for reading icon line by line, it is determined that often first opaques vegetarian refreshments of row;
Computing module, for calculating to enter the icon by pre-defined algorithm according to first opaques vegetarian refreshments The complementary color rule of row complementary color treatment;
Complementary color processing module, for carrying out complementary color treatment to the icon according to the complementary color rule for calculating;
Cut module, for complementary color to be processed after icon be cut to the icon of object module.
Optionally, the determining module includes:
Reading unit, the pixel value for reading the pixel that the icon is often gone;
First determining unit, for when the pixel value of pixel is 255, determining the pixel for described first not Transparent pixels point.
Optionally, the computing module includes:
Second determining unit, candidate pixel point is determined for the position by first opaques vegetarian refreshments;
Computing unit, for calculating the complementary color rule by pre-defined algorithm according to the candidate pixel point.
Optionally, second determining unit includes:
First determination subelement, it is N number of impermeable for being determined according to the position of first opaques vegetarian refreshments P (x, y) Bright pixel Pi, N are the integer more than 3, i=N;When N is 12,4 pixels of colleague for P1 (x+1, y), P2 (x+3, y), P3 (x+2, y), (x+4, y), 4 pixels of same column are P5 (x, y+1), P6 (x, y+2), P7 (x, y+3), P8 (x, y+4) to P4, diagonally On 4 pixels be P9 (x+1, y+1), P10 (x+2, y+2), P11 (x+3, y+3), P12 (x+4, y+4);
Computation subunit, the pixel value of the average M1, P5, P6, P7, P8 of the pixel value for calculating P1, P2, P3, P4 Average M2, P9, P10, P11, P12 pixel value average M3;
Second determination subelement, pixel value and M1, M2, M3 for calculating first opaques vegetarian refreshments P (x, y) Difference, determine that the minimum value of difference is the candidate pixel point.
Optionally, the computing unit, is additionally operable to
In the case where the minimum value of difference is for M1, it is determined that carrying out completion in capable mode;
In the case where the minimum value of difference is for M2, it is determined that carrying out completion in the way of arranging;
In the case where the minimum value of difference is for M3, it is determined that carrying out completion in diagonal mode.
Optionally, the cutting module includes:
Acquiring unit, the relevant parameter of the icon for obtaining the object module, wherein, the relevant parameter includes institute State the icon of object module four angles and four radians;
Cut unit, for complementary color to be processed according to the relevant parameter after icon be cut to the icon of object module.
One of according to another aspect of the present invention, a kind of terminal is additionally provided, including above-mentioned device.
By the present invention, the pixel of icon is read line by line, it is determined that often first opaques vegetarian refreshments of row, according to described First opaques vegetarian refreshments is calculated by pre-defined algorithm carries out the complementary color rule of complementary color treatment to the icon, according to calculating The complementary color rule for going out carries out complementary color treatment to the icon, and the icon after complementary color is processed is cut to the figure of object module Mark, solves the problems, such as the complex operation step of the unified style of icon synthesis in correlation technique, by by transparent pixels region Be cut to after complementary color treatment the icon of object module, icon is quickly and easily cut to the unified icon of style, carry Consumer's Experience high.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of icon processing method according to embodiments of the present invention;
Fig. 4 is the schematic diagram one that icon according to embodiments of the present invention unifies style treatment;
Fig. 5 is the schematic diagram two that icon according to embodiments of the present invention unifies style treatment;
Fig. 6 is the schematic diagram three that icon according to embodiments of the present invention unifies style treatment;
Fig. 7 is the schematic diagram four that icon according to embodiments of the present invention unifies style treatment;
Fig. 8 is the block diagram of icon processing unit according to embodiments of the present invention;
Fig. 9 is the block diagram one of icon processing unit according to the preferred embodiment of the invention;
Figure 10 is the block diagram two of icon processing unit according to the preferred embodiment of the invention;
Figure 11 is the block diagram three of icon processing unit according to the preferred embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..
Fig. 1 shows the mobile terminal 1 00 with various assemblies, it should be understood that being not required for implementing all showing The component for going out.More or less component can alternatively be implemented.The element of mobile terminal 1 00 will be discussed in more detail below.
Wireless communication unit 110 can generally include one or more assemblies, and it allows mobile terminal 1 00 and radio communication Radio communication between system or network.For example, wireless communication unit 110 can include that broadcasting reception module 111, movement are logical At least one of letter module 112, wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), Radio Data System, the received terrestrial digital broadcasting integrated service of forward link media (MediaFLO@) Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module 115 typical case is GPS (global positioning system).According to current technology, GPS calculate from three or more satellites away from Information application triangulation from information and correct time information and for calculating, so as to according to longitude, latitude and height Degree calculates three-dimensional current location information exactly.Currently, three satellites are used simultaneously for calculating the method for position and temporal information And the error of the position and temporal information for calculating is corrected by using an other satellite.Additionally, GPS can be by real-time Ground Continuous plus current location information carrys out calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 122, the static images that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus Or the view data of video is processed.Picture frame after treatment may be displayed on display unit 151.Processed through camera 121 Picture frame afterwards can be stored in memory 160 (or other storage mediums) or sent out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal 1 00.Microphone 122 can be in telephone relation mould In formula, logging mode, speech recognition mode etc. operational mode sound (voice data), and energy are received via microphone 122 Enough is voice data by such acoustic processing.Audio (voice) data after treatment can be in the case of telephone calling model The form that being converted to can be sent to mobile communication base station via mobile communication module 112 is exported.Microphone 122 can be implemented various The noise of type eliminates (or suppression) algorithm and is being received and making an uproar of producing during sending audio signal with eliminating (or suppression) Sound or interference.
User input unit 130 can generate key input data to control mobile terminal 1 00 according to the order of user input Various operations.User input unit 130 allow the various types of information of user input, and can include keyboard, metal dome, Touch pad (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, shake Bar etc..Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include proximity transducer 141.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 1 00 One or more elements can be used for transmitting data between mobile terminal 1 00 and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it It is transferred to the path of mobile terminal 1 00.Can serve as recognizing mobile terminal 1 00 from the various command signals or electric power of base input Whether signal base on is accurately fitted within.Output unit 150 is configured to be provided with vision, audio and/or tactile manner Output signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include aobvious Show unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal 100 can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect Touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 It is that wireless communication unit 110 is received or in memory when under the isotypes such as formula, speech recognition mode, broadcast reception mode In 160 store voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide with The audio output of the specific function correlation that mobile terminal 1 00 is performed is (for example, call signal receives sound, message sink sound etc. Deng).Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180. For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and performed by controller 180.
So far, oneself according to its function through describing mobile terminal 1 00.In addition, the mobile terminal 1 00 in the embodiment of the present invention Can be such as folded form, board-type, oscillating-type, sliding-type and other various types of mobile terminals, not do herein specifically Limit.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple intelligent terminals 100, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC 280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC 280 is also structured to be formed with the BSC 275 that can be couple to base station 270 via back haul link and connects Mouthful.If any one in the interface that back haul link can be known according to Ganji is constructed, the interface can include such as Europe mark Quasi- high power capacity digital circuit/Unite States Standard high power capacity digital circuit (E1/T1), asynchronous transfer mode (ATM), procotol (IP), point-to-point protocol (PPP), frame relay, high-bit-rate digital subscriber line road (HDSL), Asymmetrical Digital Subscriber Line (ADSL) Or all kinds digital subscriber line (xDSL).It will be appreciated that system can include multiple BSC 275 as shown in Figure 2.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS 270.Or, each subregion can by two for diversity reception or more Multiple antennas are covered.Each BS 270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency Spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC 275 and at least one BS 270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS 270 can be claimed It is multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT 295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.Location information module 115 as shown in Figure 1 is (such as:GPS) it is generally configured to coordinate to obtain with satellite 300 The location information that must be wanted.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can track mobile whole Other technologies of the position at end.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb biography It is defeated.
Used as a typical operation of wireless communication system, BS 270 receives the reverse strand from various mobile terminal 1s 00 Road signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of certain base station reception is anti- Processed in specific BS 270 to link signal.The data of acquisition are forwarded to the BSC 275 of correlation.BSC provides logical Words resource allocation and the mobile management function of the coordination including the soft switching process between BS 270.BSC 275 will also be received Data be routed to MSC 280, its provide for PSTN 290 formed interface extra route service.Similarly, PSTN 290 form interface with MSC 280, and MSC and BSC 275 form interface, and BSC 275 correspondingly controls BS 270 with by forward direction Link signal is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal, a kind of icon processing method is the embodiment of the invention provides, Fig. 3 is according to the present invention The flow chart of the icon processing method of embodiment, as shown in figure 3, the method is comprised the following steps:
Step S302, reads the pixel of icon line by line, it is determined that often first opaques vegetarian refreshments of row;
Step S304, is calculated by pre-defined algorithm according to first opaques vegetarian refreshments and the icon is mended The complementary color rule of color treatment;
Step S306, complementary color treatment is carried out according to the complementary color rule for calculating to the icon;
Step S308, the icon after complementary color is processed is cut to the icon of object module.
By above-mentioned steps, the pixel of icon is read line by line, it is determined that often first opaques vegetarian refreshments of row, according to pre- Determine algorithm and calculate the complementary color rule that complementary color treatment is carried out to the icon, according to the complementary color rule for calculating to the figure Mark carries out complementary color treatment, and the icon after complementary color is processed is cut to the icon of object module, solves icon in correlation technique The problem of the complex operation step of the unified style of synthesis, by carrying out transparent pixels region to be cut to target after complementary color treatment The icon of model, is quickly and easily cut to the unified icon of style by icon, improves Consumer's Experience.
Fig. 4 is the schematic diagram one that icon according to embodiments of the present invention unifies style treatment, as shown in figure 4, application icon There is various forms in shape, in order to be unified into a kind of shape, improve aesthetic feeling, and completion treatment is carried out to icon.From icon a by mending Color is transformed into icon b, is then cut to icon c and unifies application icon shape.Read image pixel line by line, find first it is impermeable Bright pixel P, Fig. 5 are the schematic diagrames two that icon according to embodiments of the present invention unifies style treatment, as shown in figure 5, mark should Location of pixels is (x, y);By the opaques vegetarian refreshments P and its position (x, y), candidate pixel S is calculated according to pre-defined algorithm With complementary color rule, it is S treatment that transparent pixels are carried out with completion.For example, being calculated according to pre-defined algorithm:Complementary color rule is row, so The result figure of candidate pixel S complementary colors is used afterwards.
The pixel of icon is read line by line, it is determined that often first opaques vegetarian refreshments of row can include:Read the figure The pixel value of the often capable pixel of mark, when the pixel value of pixel is 255, determines the pixel for described first impermeable Bright pixel, when pixel value is less than 255, explanation is semi-transparent image vegetarian refreshments or transparent pixels point, pixel value relatively 255 It is edge pixel point.
In an alternate embodiment of the invention, calculated according to pre-defined algorithm the complementary color rule of complementary color treatment is carried out to the icon can To include:Candidate pixel point is determined by the position of first opaques vegetarian refreshments, is passed through according to the candidate pixel point Pre-defined algorithm calculates the complementary color rule.Further, candidate is determined by the position of first opaques vegetarian refreshments Pixel can include:Position according to first opaques vegetarian refreshments P (x, y) determines N number of opaques vegetarian refreshments Pi, N It is the integer more than 3, i=N;When N is 12,4 pixels of colleague for P1 (x+1, y), P2 (x+3, y), P3 (x+2, y), P4 (x+ 4, y), 4 pixels of same column are P5 (x, y+1), P6 (x, y+2), P7 (x, y+3), P8 (x, y+4), it is diagonal on 4 pixels be P9(x+1,y+1)、P10(x+2,y+2)、P11(x+3,y+3)、P12(x+4,y+4);Calculate first opaques vegetarian refreshments The pixel value of P (x, y) and the difference of M1, M2, M3, determine that the minimum value of difference is the candidate pixel point.Minimum in difference In the case of being worth for M1, it is determined that carrying out completion in capable mode;In the case where the minimum value of difference is for M2, it is determined that with the side for arranging Formula carries out completion;In the case where the minimum value of difference is for M3, it is determined that carrying out completion in diagonal mode.For example, P1, P2, P3, The pixel value of P4 is respectively 255,253,254,255, the pixel value of P5, P6, P7, P8 is respectively 252,253,255,253, P9, The pixel value of P10, P11, P12 is respectively 255,254,252,255, and the average M1 for calculating the pixel value of P1, P2, P3, P4 is 254.25, P5, the average M2 of the pixel value of P6, P7, P8 is 253.25, and the average M3 of the pixel value of P9, P10, P11, P12 is 254;If it is 254 to calculate the pixel value of opaques vegetarian refreshments P (x, y), then, with M1, the difference of M2, M3 is respectively 0.25 ,- 0.75th, 0, determine that the minimum value M3 of difference is the candidate pixel point, it is determined that carrying out completion in diagonal mode.
In another optional embodiment, being calculated according to pre-defined algorithm carries out the complementary color of complementary color treatment to the icon Rule can also include:Position according to first opaques vegetarian refreshments P (x, y) determines N number of opaques vegetarian refreshments Pi, N It is the integer more than 3, i=N;When N is 8,4 pixels of colleague for P1 (x+1, y), P2 (x+3, y), P3 (x+2, y), P4 (x+ 4, y), 4 pixels of same column are P5 (x, y+1), P6 (x, y+2), P7 (x, y+3), P8 (x, y+4);Calculate P1, P2, P3, P4 Pixel value average M1, P5, P6, P7, P8 pixel value average M2, calculate the pixel of opaques vegetarian refreshments P (x, y) The difference of value and M1, M2, determines that the minimum value of difference is the candidate pixel point, in the case where the minimum value of difference is for M1, It is determined that carrying out completion in capable mode;In the case where the minimum value of difference is for M2;Or,
4 pixels of colleague for P1 (x+1, y), P2 (x+3, y), P3 (x+2, y), P4 (x+4, y), it is diagonal on 4 pictures Element is P9 (x+1, y+1), P10 (x+2, y+2), P11 (x+3, y+3), P12 (x+4, y+4), calculates the picture of P1, P2, P3, P4 The average M3 of the pixel value of the average M1, P9, P10, P11, P12 of element value;Calculate the pixel of opaques vegetarian refreshments P (x, y) The difference of value and M1, M3, determines that the minimum value of difference is the candidate pixel point.In the case where the minimum value of difference is for M1, It is determined that carrying out completion in capable mode;In the case where the minimum value of difference is for M2, it is determined that carrying out completion in the way of arranging;In difference In the case that the minimum value of value is M3, it is determined that carrying out completion in diagonal mode.Completion is carried out in diagonal mode.Or,
4 pixels of same column are P5 (x, y+1), P6 (x, y+2), P7 (x, y+3), P8 (x, y+4), it is diagonal on 4 pictures Element is P9 (x+1, y+1), P10 (x+2, y+2), P11 (x+3, y+3), P12 (x+4, y+4), calculates the picture of P5, P6, P7, P8 The average M3 of the pixel value of the average M2, P9, P10, P11, P12 of element value;Calculate the pixel of opaques vegetarian refreshments P (x, y) The difference of value and M2, M3, determines that the minimum value of difference is the candidate pixel point.In the case where the minimum value of difference is for M2, It is determined that carrying out completion in the way of arranging;In the case where the minimum value of difference is for M3, it is determined that carrying out completion in diagonal mode.Example Such as, the pixel value of P1, P2, P3, P4 is respectively 255,253,254,255, the pixel value of P5, P6, P7, P8 is respectively 252,253, 255th, 253, the average M1 for calculating the pixel value of P1, P2, P3, P4 is 254.25, the average M2 of the pixel value of P5, P6, P7, P8 It is 253.25, if the pixel value for calculating opaques vegetarian refreshments P (x, y) is 254, then with M1, the difference of M2, M3 is respectively 0.25th, -0.75, determine that the minimum value M1 of difference is the candidate pixel point, it is determined that carrying out completion in capable mode.
Can certainly be directly same by capable mode, the mode of row, diagonal mode three kinds of modes therein at least two Shi Jinhang completions, as long as by the whole completion of transparent pixels region, even if be repeated not interfering with final effect yet.
The icon that icon after complementary color is processed is cut to object module includes:Obtain the phase of the icon of the object module Related parameter, wherein, the relevant parameter includes four angles of the icon of the object module and four radians, according to the correlation Icon after parameter processes complementary color is cut to the icon of object module.The icon of selection target model, and set the target The adaptation parameter of the icon of model, obtains other icons in addition to the icon of object module, other icons and mesh that will be got The icon for marking model is contrasted, and be adjusted to for the relevant parameter of other icons by the adaptation parameter of the icon according to object module Adaptation parameter with the icon of object module is consistent.The adaptation parameter of the icon of the object module includes the figure of the object module Target size dimension, the color of the adaptation parameter also icon including the object module of the icon of the object module, the mesh The adaptation parameter for marking the icon of model is the shape of the also icon including the object module.
During the icon contrast of the icon that will acquire and object module, specifically the icon according to object module is default Adaptation parameter is compared.When such as adaptation parameter is the size dimension of icon, icon and mesh that first com-parison and analysis are acquired Whether the size dimension for marking the icon of model is consistent, if unanimously, be not adjusted;If it is inconsistent, by the icon Size dimension is adjusted to consistent with the size dimension of the icon of object module, or can set an adjustment for size dimension Ratio, the size dimension of the icon according to adaptation parameter and adjustment ratio to acquiring is adjusted, so that the figure for obtaining Mark matches with the icon of object module, it is had a unified style with the size dimension of the icon of object module.Or Person carries out the identification of color, then by itself and object module to the icon for acquiring first when adaptation parameter is color The color of icon is contrasted, and its color is adjusted into consistent with the color of the icon of object module, so as to be consistent Property, person's adaptation parameter is shape.
Certainly, adaptation parameter can be individually for the size dimension of the icon of object module, or size dimension and color Combination, or size dimension, CF combination.When adaptation parameter is individually for the size dimension of the icon of object module When, it is only necessary to other icons that will be acquired carry out the comparing and adjustment of size dimension.When adaptation parameter is size chi During the combination of very little and color, it is necessary to carry out the comparing and adjustment of two kinds of size dimension and color.When adaptation parameter is size chi During very little, CF combination, it is necessary to carry out contrast adjustment to size dimension, three kinds of CF.
Fig. 6 is the schematic diagram three that icon according to embodiments of the present invention unifies style treatment, as shown in fig. 6, application icon There is various forms in shape, in order to be unified into a kind of shape, improve aesthetic feeling, and completion treatment is carried out to icon.From icon a by mending Color is transformed into icon b, is then cut to icon c and unifies application icon shape.Read image pixel line by line, find first it is impermeable Bright pixel P, it is (x, y) to mark the location of pixels;By the opaque pixel P and its position (x, y), according to pre-defined algorithm meter Candidate pixel S and complementary color rule are calculated, completion treatment is carried out to transparent pixels.For example, calculating complementary color rule according to pre-defined algorithm It is then the mode of row, then uses the result figure of candidate pixel complementary color.
Fig. 7 is the schematic diagram four that icon according to embodiments of the present invention unifies style treatment, as shown in fig. 7, application icon There is various forms in shape, in order to be unified into a kind of shape, improve aesthetic feeling, and completion treatment is carried out to icon.From icon a or icon B, completion is unified application icon shape.Image pixel is read line by line, first opaque pixel P is found, and marks the pixel Position is (x, y);By the opaque pixel P and its position (x, y), candidate pixel S and complementary color are calculated according to pre-defined algorithm Transparent pixels are carried out completion treatment by rule.
According to another aspect of the present invention, a kind of icon processing unit is additionally provided, Fig. 8 is according to embodiments of the present invention The block diagram of icon processing unit, as shown in figure 8, including:
Determining module 82, the pixel for reading icon line by line, it is determined that often first opaques vegetarian refreshments of row;
Computing module 84, for being calculated to the icon by pre-defined algorithm according to first opaques vegetarian refreshments Carry out the complementary color rule of complementary color treatment;
Complementary color processing module 86, for carrying out complementary color treatment to the icon according to the complementary color rule for calculating;
Cut module 88, for complementary color to be processed after icon be cut to the icon of object module.
Fig. 9 is the block diagram one of icon processing unit according to the preferred embodiment of the invention, as shown in figure 9, the determination mould Block 82 includes:
Reading unit 92, the pixel value for reading the pixel that the icon is often gone;
First determining unit 94, for when the pixel value of pixel is 255, determining that the pixel is described first Opaques vegetarian refreshments.
Figure 10 is the block diagram two of icon processing unit according to the preferred embodiment of the invention, as shown in Figure 10, the calculating Module 84 includes:
Second determining unit 102, candidate pixel point is determined for the position by first opaques vegetarian refreshments;
Computing unit 104, for calculating the complementary color rule by pre-defined algorithm according to the candidate pixel point.
Optionally, second determining unit 102 includes:
First determination subelement, it is N number of impermeable for being determined according to the position of first opaques vegetarian refreshments P (x, y) Bright pixel Pi, N are the integer more than 3, i=N;When N is 12,4 pixels of colleague for P1 (x+1, y), P2 (x+3, y), P3 (x+2, y), (x+4, y), 4 pixels of same column are P5 (x, y+1), P6 (x, y+2), P7 (x, y+3), P8 (x, y+4) to P4, diagonally On 4 pixels be P9 (x+1, y+1), P10 (x+2, y+2), P11 (x+3, y+3), P12 (x+4, y+4);
Computation subunit, the pixel value of the average M1, P5, P6, P7, P8 of the pixel value for calculating P1, P2, P3, P4 Average M2, P9, P10, P11, P12 pixel value average M3;
Second determination subelement, pixel value and M1, M2, M3 for calculating first opaques vegetarian refreshments P (x, y) Difference, determine that the minimum value of difference is the candidate pixel point.
Optionally, the computing unit 104, is additionally operable to
In the case where the minimum value of difference is for M1, it is determined that carrying out completion in capable mode;
In the case where the minimum value of difference is for M2, it is determined that carrying out completion in the way of arranging;
In the case where the minimum value of difference is for M3, it is determined that carrying out completion in diagonal mode.
Figure 11 is the block diagram three of icon processing unit according to the preferred embodiment of the invention, as shown in figure 11, the cutting Module 88 includes:
Acquiring unit 112, the relevant parameter of the icon for obtaining the object module, wherein, the relevant parameter bag Include the icon of the object module four angles and four radians;
Cut unit 114, for complementary color to be processed according to the relevant parameter after icon be cut to the figure of object module Mark.
One of another aspect according to embodiments of the present invention, additionally provides a kind of terminal, including above-mentioned device.
The embodiment of the present invention, reads the pixel of icon line by line, it is determined that often first opaques vegetarian refreshments of row, according to pre- Determine algorithm and calculate the complementary color rule that complementary color treatment is carried out to the icon, according to the complementary color rule for calculating to the figure Mark carries out complementary color treatment, and the icon after complementary color is processed is cut to the icon of object module, solves icon in correlation technique The problem of the complex operation step of the unified style of synthesis, by carrying out transparent pixels region to be cut to target after complementary color treatment The icon of model, is quickly and easily cut to the unified icon of style by icon, improves Consumer's Experience.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform the method that each embodiment of the invention is somebody's turn to do.
Obviously, those skilled in the art should be understood that above-mentioned of the invention each module or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored Performed by computing device in the storage device, and in some cases, can be with different from shown in order execution herein The step of going out or describe, or they are fabricated to each integrated circuit modules respectively, or by the multiple modules in them or Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of icon processing method, it is characterised in that including:
The pixel of icon is read line by line, it is determined that often first opaques vegetarian refreshments of row;
Being calculated by pre-defined algorithm according to first opaques vegetarian refreshments carries out the complementary color of complementary color treatment to the icon Rule;
Complementary color rule according to calculating carries out complementary color treatment to the icon;
Icon after complementary color is processed is cut to the icon of object module.
2. method according to claim 1, it is characterised in that read the pixel of icon line by line, it is determined that often the first of row Individual opaques vegetarian refreshments includes:
Read the pixel value of the pixel that the icon is often gone;
When the pixel value of pixel is 255, determine that the pixel is first opaques vegetarian refreshments.
3. method according to claim 1, it is characterised in that according to first opaques vegetarian refreshments by predetermined calculation Method calculates and the complementary color rule of complementary color treatment is carried out to the icon includes:
Candidate pixel point is determined by the position of first opaques vegetarian refreshments;
The complementary color rule is calculated by pre-defined algorithm according to the candidate pixel point.
4. method according to claim 3, it is characterised in that determined by the position of first opaques vegetarian refreshments Candidate pixel point includes:
Position according to first opaques vegetarian refreshments P (x, y) determines that N number of opaques vegetarian refreshments Pi, N are whole more than 3 Number, i=N;
When N is 12,4 pixels of colleague for P1 (x+1, y), P2 (x+3, y), P3 (x+2, y), P4 (x+4, y), 4 of same column Pixel is P5 (x, y+1), P6 (x, y+2), P7 (x, y+3), P8 (x, y+4), it is diagonal on 4 pixels be P9 (x+1, y+1), P10(x+2,y+2)、P11(x+3,y+3)、P12(x+4,y+4);
Calculate the average M2, P9 of the pixel value of the average M1, P5, P6, P7, P8 of the pixel value of P1, P2, P3, P4, P10, P11, The average M3 of the pixel value of P12;
The pixel value of first opaques vegetarian refreshments P (x, y) and the difference of M1, M2, M3 are calculated, the minimum value of difference is determined It is the candidate pixel point.
5. method according to claim 4, it is characterised in that calculated by pre-defined algorithm according to the candidate pixel point The complementary color rule includes:
In the case where the minimum value of difference is for M1, it is determined that carrying out completion in capable mode;
In the case where the minimum value of difference is for M2, it is determined that carrying out completion in the way of arranging;
In the case where the minimum value of difference is for M3, it is determined that carrying out completion in diagonal mode.
6. method according to any one of claim 1 to 5, it is characterised in that the icon after complementary color is processed is cut to The icon of object module includes:
The relevant parameter of the icon of the object module is obtained, wherein, the relevant parameter includes the icon of the object module Four angles and four radians;
Icon after complementary color is processed according to the relevant parameter is cut to the icon of object module.
7. a kind of icon processing unit, it is characterised in that including:
Determining module, the pixel for reading icon line by line, it is determined that often first opaques vegetarian refreshments of row;
Computing module, is mended for being calculated by pre-defined algorithm according to first opaques vegetarian refreshments to the icon The complementary color rule of color treatment;
Complementary color processing module, for carrying out complementary color treatment to the icon according to the complementary color rule for calculating;
Cut module, for complementary color to be processed after icon be cut to the icon of object module.
8. device according to claim 7, it is characterised in that the computing module includes:
Second determining unit, candidate pixel point is determined for the position by first opaques vegetarian refreshments;
Computing unit, for calculating the complementary color rule by pre-defined algorithm according to the candidate pixel point.
9. the device according to claim 7 or 8, it is characterised in that the cutting module includes:
Acquiring unit, the relevant parameter of the icon for obtaining the object module, wherein, the relevant parameter includes the mesh Four angles of the icon of mark model and four radians;
Cut unit, for complementary color to be processed according to the relevant parameter after icon be cut to the icon of object module.
10. a kind of terminal, it is characterised in that including the device any one of claim 7 to 9.
CN201710025502.3A 2017-01-13 2017-01-13 Icon processing method and device and terminal Active CN106843649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710025502.3A CN106843649B (en) 2017-01-13 2017-01-13 Icon processing method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710025502.3A CN106843649B (en) 2017-01-13 2017-01-13 Icon processing method and device and terminal

Publications (2)

Publication Number Publication Date
CN106843649A true CN106843649A (en) 2017-06-13
CN106843649B CN106843649B (en) 2020-07-03

Family

ID=59123478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710025502.3A Active CN106843649B (en) 2017-01-13 2017-01-13 Icon processing method and device and terminal

Country Status (1)

Country Link
CN (1) CN106843649B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423066A (en) * 2017-07-27 2017-12-01 深圳依偎控股有限公司 A kind of amending method of application icon pattern and modification device
CN109389659A (en) * 2018-09-11 2019-02-26 广州视源电子科技股份有限公司 The rendering method of mathematical formulae, device, storage medium and terminal device in PPT

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289353A (en) * 2011-09-26 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Terminal and icon management method
US20120165071A1 (en) * 2010-12-28 2012-06-28 Inventec Appliances (Shanghai) Co. Ltd. Mobile device capable of automatically switching its operation modes
CN102932519A (en) * 2011-08-08 2013-02-13 中兴通讯股份有限公司 Display method of terminal interface and terminal
CN103389856A (en) * 2013-07-22 2013-11-13 广东欧珀移动通信有限公司 Icon display method and system
CN106201212A (en) * 2016-07-19 2016-12-07 厦门美图移动科技有限公司 Generation method, device and the mobile terminal of a kind of application icon

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120165071A1 (en) * 2010-12-28 2012-06-28 Inventec Appliances (Shanghai) Co. Ltd. Mobile device capable of automatically switching its operation modes
CN102932519A (en) * 2011-08-08 2013-02-13 中兴通讯股份有限公司 Display method of terminal interface and terminal
CN102289353A (en) * 2011-09-26 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Terminal and icon management method
CN103389856A (en) * 2013-07-22 2013-11-13 广东欧珀移动通信有限公司 Icon display method and system
CN106201212A (en) * 2016-07-19 2016-12-07 厦门美图移动科技有限公司 Generation method, device and the mobile terminal of a kind of application icon

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HITWENGQI: "第六章-图像变换-卷积边界(cvCopyMakeBorder)", 《CSDN》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423066A (en) * 2017-07-27 2017-12-01 深圳依偎控股有限公司 A kind of amending method of application icon pattern and modification device
WO2019019418A1 (en) * 2017-07-27 2019-01-31 深圳依偎控股有限公司 Icon style modification method and modification device for application program
CN109389659A (en) * 2018-09-11 2019-02-26 广州视源电子科技股份有限公司 The rendering method of mathematical formulae, device, storage medium and terminal device in PPT
CN109389659B (en) * 2018-09-11 2023-08-25 广州视源电子科技股份有限公司 Rendering method and device of mathematical formula in PPT, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN106843649B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN104808944B (en) Touch operation inducing method and device
CN106791028A (en) A kind of display adjusting method, device and terminal
CN106603823A (en) Content sharing method and device and terminal
CN106873855A (en) A kind of suspension icon control method, device and terminal
CN104967802A (en) Mobile terminal, recording method of screen multiple areas and recording device of screen multiple areas
CN106550128A (en) A kind of EMS memory management process and terminal
CN106873936A (en) Electronic equipment and information processing method
CN106506778A (en) A kind of dialing mechanism and method
CN106028090A (en) Mobile terminal and video recording method thereof
CN106775336A (en) A kind of content duplication method, device and terminal
CN104731508B (en) Audio frequency playing method and device
CN106502526A (en) A kind of back-stage management method and terminal
CN106383707A (en) Picture display method and system
CN106713661A (en) Mobile terminal and text displaying method
CN106791149A (en) A kind of method of mobile terminal and control screen
CN106873981A (en) A kind of icon processing method, device and terminal
CN106843649A (en) A kind of icon processing method, device and terminal
CN106776240A (en) A kind of Task Progress display terminal and method
CN106790904A (en) The functional definition method and mobile terminal of a kind of button
CN106777251A (en) A kind of file management method and device
CN106843684A (en) A kind of device and method, the mobile terminal of editing screen word
CN106792644A (en) Mobile terminal, server and information processing method
CN104636044B (en) The method and mobile terminal of one-handed performance
CN106791567A (en) A kind of changing method and terminal
CN106569670A (en) Application processing apparatus and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200603

Address after: Room 601, floor 6, building 1, Lane ditch 1, Haidian District, Beijing 100089

Applicant after: BEIJING SHUKE WANGWEI TECHNOLOGY Co.,Ltd.

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant