CN104574410A - Icon picture processing method - Google Patents

Icon picture processing method Download PDF

Info

Publication number
CN104574410A
CN104574410A CN201510028787.7A CN201510028787A CN104574410A CN 104574410 A CN104574410 A CN 104574410A CN 201510028787 A CN201510028787 A CN 201510028787A CN 104574410 A CN104574410 A CN 104574410A
Authority
CN
China
Prior art keywords
icon image
edge
pixel
calculate
value
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.)
Pending
Application number
CN201510028787.7A
Other languages
Chinese (zh)
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.)
JIUBANG COMPUTER TECHNOLOGY (GUANGZHOU) Co Ltd
Guangzhou Jiubang Digital Technology Co Ltd
Original Assignee
JIUBANG COMPUTER TECHNOLOGY (GUANGZHOU) Co Ltd
Guangzhou Jiubang Digital 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 JIUBANG COMPUTER TECHNOLOGY (GUANGZHOU) Co Ltd, Guangzhou Jiubang Digital Technology Co Ltd filed Critical JIUBANG COMPUTER TECHNOLOGY (GUANGZHOU) Co Ltd
Priority to CN201510028787.7A priority Critical patent/CN104574410A/en
Publication of CN104574410A publication Critical patent/CN104574410A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T5/92
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20192Edge enhancement; Edge preservation

Abstract

The invention discloses an icon picture processing method. The method comprises the steps that an icon picture is obtained; the edge of the icon picture is detected and extracted; the extracted edge of the icon picture is colored according to a preset color value; the colored edge of the icon picture and a preset base are combined so that background wallpaper and the icon style can be unified, and the individuation requirement of a user can be met.

Description

A kind of icon image disposal route
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of icon image disposal route.
Background technology
The icon image of existing mobile terminal desktop can not convert according to background wallpaper, the color of image of background wallpaper can not be identified, color adaptation can not be carried out according to the edge of the wallpaper color extraction icon image of background, background wallpaper and icon style can not be made to unify, meet the individual demand of user.
Summary of the invention
Object of the present invention, overcomes the deficiencies in the prior art exactly, provides a kind of and can extract icon image edge and carry out painted icon image disposal route.
In order to achieve the above object, adopt following technical scheme: a kind of icon image disposal route, said method comprising the steps of:
S10, acquisition icon image;
The edge of S20, detected icon image also extracts;
S30, carry out painted to the icon image edge extracted according to default color value;
S40, by painted icon image edge with preset base synthesize.
Preferably, adopt the edge of Sobel operator detected icon image in described step S20 and extract, concrete steps are:
Travel through the pixel of each icon image, calculate the deviation post of each pixel;
Calculate the level of each pixel red component, vertical gray scale difference respectively, draw corresponding value;
Calculate the level of each pixel green component, vertical gray scale difference respectively, draw corresponding value;
Calculate the level of each pixel blue component, vertical gray scale difference respectively, draw corresponding value;
According to above-mentioned value, calculate each pixel level respectively, vertical Gray is poor;
If when type is true value, the greater in gentle vertical direction difference of fetching water;
Otherwise the mean value of gentle vertical direction difference of fetching water;
Generate boundary scan result.
Further, described method also comprises: carrying out thinning processing to detecting the edge image obtained, obtaining clear coherent edge image.
Further, described method also comprises: extract the color of background wallpaper, and the color value corresponding according to the color selecting of wallpaper carries out painted to the icon image edge extracted.
Compared with prior art, beneficial effect of the present invention is: the present invention is by obtaining icon image; The edge of detected icon image also extracts; Carry out painted to the icon image edge extracted according to the color value preset; Painted icon image edge and the base preset are synthesized, background wallpaper and icon style can be unified, meet the individual demand of user.
Accompanying drawing explanation
The process flow diagram of Fig. 1 embodiment of the present invention one icon image disposal route;
The process flow diagram of Fig. 2 embodiment of the present invention two icon image disposal route.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing and specific implementation method, be used for explaining the present invention in exemplary embodiment and description of the present invention, but not as a limitation of the invention.
Embodiment one
As shown in Figure 1, a kind of icon image disposal route, said method comprising the steps of:
S10: obtain icon image;
S20: the edge of detected icon image also extracts;
S30: carry out painted according to the color value preset to the icon image edge extracted;
S40: painted icon image edge and the base preset are synthesized.
The present invention is by obtaining icon image; The edge of detected icon image also extracts; Carry out painted to the icon image edge extracted according to the color value preset; Painted icon image edge and the base preset are synthesized, background wallpaper and icon style can be unified, meet the individual demand of user.
Embodiment two
As shown in Figure 2, a kind of icon image disposal route, said method comprising the steps of:
S101: obtain icon image;
S201: the edge of detected icon image also extracts;
S202: adopt the edge of Sobel operator detected icon image and extract, traveling through the pixel of each icon image, calculate the deviation post of each pixel;
S203: calculate the level of each pixel red component, vertical gray scale difference respectively, draw corresponding value;
S204: calculate the level of each pixel green component, vertical gray scale difference respectively, draw corresponding value;
S205: calculate the level of each pixel blue component, vertical gray scale difference respectively, draw corresponding value;
S206: according to above-mentioned value, calculates each pixel level respectively, vertical Gray is poor;
S207: judge whether type is true value, if so, then enters step S208; If not, then step S209 is entered;
S208: the greater in gentle vertical direction difference of fetching water, generates boundary scan result;
S209: the mean value of gentle vertical direction difference of fetching water, generates boundary scan result;
S210: carrying out thinning processing to detecting the edge image obtained, obtaining clear coherent edge image;
S301: the color of background wallpaper is extracted, draws color value;
S302: the color value corresponding according to the color selecting of wallpaper carries out painted to the icon image edge extracted;
S401: painted icon image edge and the base preset are synthesized.
The present invention is according to the edge of the wallpaper color extraction icon image of background and carry out color adaptation, background wallpaper and icon style can be unified, meet the individual demand of user.
If the function described in the present embodiment using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computing equipment read/write memory medium.Based on such understanding, the part of the part that the embodiment of the present invention contributes to prior art or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprising some instructions in order to make a computing equipment (can be personal computer, server, mobile computing device or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, between each embodiment same or similar part mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (4)

1. an icon image disposal route, is characterized in that, said method comprising the steps of:
S10, acquisition icon image;
The edge of S20, detected icon image also extracts;
S30, carry out painted to the icon image edge extracted according to default color value;
S40, by painted icon image edge with preset base synthesize.
2. icon image disposal route according to claim 1, is characterized in that, adopt the edge of Sobel operator detected icon image in described step S20 and extract, concrete steps are:
Travel through the pixel of each icon image, calculate the deviation post of each pixel;
Calculate the level of each pixel red component, vertical gray scale difference respectively, draw corresponding value;
Calculate the level of each pixel green component, vertical gray scale difference respectively, draw corresponding value;
Calculate the level of each pixel blue component, vertical gray scale difference respectively, draw corresponding value;
According to above-mentioned value, calculate each pixel level respectively, vertical Gray is poor;
If when type is true value, the greater in gentle vertical direction difference of fetching water;
Otherwise the mean value of gentle vertical direction difference of fetching water;
Generate boundary scan result.
3. icon image disposal route according to claim 2, is characterized in that, described method also comprises: carrying out thinning processing to detecting the edge image obtained, obtaining clear coherent edge image.
4. icon image disposal route according to claim 1, is characterized in that, described method also comprises: extract the color of background wallpaper, and the color value corresponding according to the color selecting of wallpaper carries out painted to the icon image edge extracted.
CN201510028787.7A 2015-01-20 2015-01-20 Icon picture processing method Pending CN104574410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510028787.7A CN104574410A (en) 2015-01-20 2015-01-20 Icon picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510028787.7A CN104574410A (en) 2015-01-20 2015-01-20 Icon picture processing method

Publications (1)

Publication Number Publication Date
CN104574410A true CN104574410A (en) 2015-04-29

Family

ID=53090382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510028787.7A Pending CN104574410A (en) 2015-01-20 2015-01-20 Icon picture processing method

Country Status (1)

Country Link
CN (1) CN104574410A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651991A (en) * 2016-09-12 2017-05-10 广州市久邦数码科技有限公司 Intelligent graph plastering realization method and system for doing the same
CN114816169A (en) * 2022-06-29 2022-07-29 荣耀终端有限公司 Desktop icon display method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080295028A1 (en) * 2007-05-21 2008-11-27 Sony Corporation Content display method, content display apparatus, recording medium, and server apparatus
CN102622163A (en) * 2011-03-14 2012-08-01 北京小米科技有限责任公司 Icon generation method
CN103927772A (en) * 2014-04-30 2014-07-16 厦门美图之家科技有限公司 Icon synthesizing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080295028A1 (en) * 2007-05-21 2008-11-27 Sony Corporation Content display method, content display apparatus, recording medium, and server apparatus
CN102622163A (en) * 2011-03-14 2012-08-01 北京小米科技有限责任公司 Icon generation method
CN103927772A (en) * 2014-04-30 2014-07-16 厦门美图之家科技有限公司 Icon synthesizing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651991A (en) * 2016-09-12 2017-05-10 广州市久邦数码科技有限公司 Intelligent graph plastering realization method and system for doing the same
CN106651991B (en) * 2016-09-12 2023-10-31 广州久邦世纪科技有限公司 Intelligent mapping realization method and system thereof
CN114816169A (en) * 2022-06-29 2022-07-29 荣耀终端有限公司 Desktop icon display method and device and storage medium
CN114816169B (en) * 2022-06-29 2022-11-04 荣耀终端有限公司 Desktop icon display method and device and storage medium

Similar Documents

Publication Publication Date Title
US10740963B2 (en) 3D virtual environment generating method and device
US9704055B2 (en) Occlusion render mechanism for point clouds
US10679408B2 (en) Generating a three-dimensional model from a scanned object
WO2021003825A1 (en) Video shot cutting method and apparatus, and computer device
CN104038705B (en) Video creating method and device
CN104778654A (en) Intangible cultural heritage digital display system and method thereof
US10311115B2 (en) Object search method and apparatus
KR20160116051A (en) Estimating depth from a single image
TW201804373A (en) Method and system for identifying two-dimensional code position
WO2020228326A1 (en) Visual three-dimensional scanning modeling method, system and device, and storage medium
CN103679129A (en) Method and device for identifying object in image
CN104391691A (en) Icon and text processing method
CN105608699B (en) A kind of image processing method and electronic equipment
JP2015504220A5 (en)
WO2018177112A1 (en) Object rendering method, device, storage medium, and electronic device
WO2020125062A1 (en) Image fusion method and related device
CN104408754A (en) Icon synthesis method
CN104574410A (en) Icon picture processing method
US20140098246A1 (en) Method, Apparatus and Computer-Readable Recording Medium for Refocusing Photographed Image
JP2011258036A (en) Three-dimensional shape search device, three-dimensional shape search method, and program
CN101718674A (en) Method for measuring shape parameters of particles of particulate materials
JP2018519733A5 (en)
CN105516735A (en) Representation frame acquisition method and representation frame acquisition apparatus
CN114782692A (en) House model repairing method and device, electronic equipment and readable storage medium
CN105631938B (en) Image processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150429