CN103150182B - A kind of method and system of mobile terminal quick-setting wallpaper - Google Patents
A kind of method and system of mobile terminal quick-setting wallpaper Download PDFInfo
- Publication number
- CN103150182B CN103150182B CN201310060557.XA CN201310060557A CN103150182B CN 103150182 B CN103150182 B CN 103150182B CN 201310060557 A CN201310060557 A CN 201310060557A CN 103150182 B CN103150182 B CN 103150182B
- Authority
- CN
- China
- Prior art keywords
- point
- user
- wallpaper
- component value
- mean
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000000605 extraction Methods 0.000 claims description 15
- 238000005070 sampling Methods 0.000 claims description 13
- 230000000052 comparative effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 235000006040 Prunus persica var persica Nutrition 0.000 description 1
- 240000006413 Prunus persica var. persica Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Color Image Communication Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method and system of mobile terminal quick-setting wallpaper, described method comprises the steps: a kind of method of mobile terminal quick-setting wallpaper, comprise the steps: that a. arranges a RGB color gamut space module, user chooses any point, obtains R, G, B component value of this point according to user's selected element; B. call wallpaper picture database, and randomly draw N number of point often opening in wallpaper picture, and obtain R, G, B component value of each point; C. calculate the distance of each some distance users selected point, and statistics often opens the root-mean-square value of all distances in wallpaper picture; D. 1 ~ 3 wallpaper picture obtaining root-mean-square value less is selected for user.The present invention is by first choosing a color of RGB color gamut space, through calculating, from a large amount of picture, choose the picture of suitable colour so that the desktop background effect that can user be found rapidly to want, the wallpaper of Rapid matching mobile terminal, convenient and swift, improve Consumer's Experience.
Description
Technical field
The present invention relates to a kind of mobile terminal wallpaper, particularly relate to a kind of method and system of mobile terminal quick-setting wallpaper.
Background technology
Mobile terminal comprises computer, mobile phone etc., cell phone wallpaper is also referred to as picture of mobile telephone usually, EFR STK, just with the desktop wallpaper functional similarity of Windows, user only need download the picture oneself liked, size is corresponding with the mobile phone screen of oneself, is sent to inside mobile phone, just can be set to the standby desktop wallpaper of mobile phone by mobile phone.
Present cell phone wallpaper software is more, and mobile phone itself also comprises more picture, and the wallpaper how choosing suitable color from a large amount of picture becomes a difficult problem.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide a kind of method and system of mobile terminal quick-setting wallpaper, the wallpaper of Rapid matching mobile terminal, convenient and swift, improve Consumer's Experience.
In order to achieve the above object, the technical solution used in the present invention is, a kind of method of mobile terminal quick-setting wallpaper, comprises the steps:
A. arrange a RGB color gamut space module, user chooses any point, obtains R, G, B component value of this point according to user's selected element, and the span of R, G, B component value is 0 ~ 255;
B. call wallpaper picture database, and randomly draw N number of point often opening in wallpaper picture, and obtain R, G, B component value of each point;
C. calculate the distance of each some distance users selected point, and statistics often opens the root-mean-square value of all distances in wallpaper picture;
D. 1 ~ 3 wallpaper picture obtaining root-mean-square value less is selected for user.
Corresponding R, G, B component value of each point of the RGB color gamut space module described in step a, user chooses any point, then corresponding R, G, B component value obtaining this point.
N described in step b be greater than zero integer, concrete numerical value is adjusted by user.
Step c is specially:
Step S101. obtains R component value hj, G component value sj and the B component value vj of user's selected element j;
Step S102. obtains R component value hi, G component value si and the B component value vi of the some i extracted;
Step S103. is according to formula
calculate the distance of i point to user's selected element j;
Step S104. calculates the distance of each extraction point to user's selected element j one by one;
Step S105. is according to the distance calculated, and calculate the root-mean-square value of N number of point, computing formula is
n represents sampling spot, and D1 ~ Dn represents the color distance of each sampling spot at RGB color gamut space middle distance user selected element, according to calculating D
ijorder determine D1 ~ Dn, if calculate first some D
ijthen be defined as D1, n-th is defined as Dn, n be greater than zero natural number.
Steps d specifically comprises:
Step S301. obtains the root-mean-square value of all wallpaper picture extraction point;
Step S302. compares each root-mean-square value, and sorts from small to large;
Less for root-mean-square value 1 ~ 3 wallpaper picture is presented in list and selects for user by step S303..
A system for the method for described mobile terminal quick-setting wallpaper, comprising:
Select module, for arranging a RGB color gamut space module, user chooses any point, obtains R, G, B component value of this point according to user's selected element, and the span of R, G, B component value is 0 ~ 255;
Calling module, for calling wallpaper picture database, and randomly draws N number of point often opening in wallpaper picture, and obtains R, G, B component value of each point;
Computing module, for calculating the distance of R, G, B value of each some distance users selected point, and statistics often opens the root-mean-square value of all distances in wallpaper picture;
Acquisition module, selects for user for 1 ~ 3 wallpaper picture obtaining root-mean-square value less.
Described computing module comprises:
First acquisition module, for obtaining R component value hj, G component value sj and the B component value vj of user's selected element j;
Second acquisition module, for obtaining R component value hi, G component value si and the B component value vi of the some i of extraction;
Distance calculation module, for according to formula
calculate the distance of i point to user's selected element j; Calculate the distance of each extraction point to user's selected element j one by one.
Root-mean-square value computing module, for the distance according to calculating, calculate the root-mean-square value of N number of point, computing formula is
n represents sampling spot, and D1 ~ Dn represents the color distance of each sampling spot at RGB color gamut space middle distance user selected element, according to calculating D
ijorder determine D1 ~ Dn, if calculate first some D
ijthen be defined as D1, n-th is defined as Dn, n be greater than zero natural number.
Described acquisition module comprises:
Root-mean-square value acquisition module, for obtaining the root-mean-square value of all wallpaper picture extraction point;
Comparative sorting module, for comparing each root-mean-square value, and sorts from small to large;
Display module, selects for user for less for root-mean-square value 1 ~ 3 wallpaper picture being presented in list.
Compared with prior art, the invention has the beneficial effects as follows: by first choosing a color of RGB color gamut space, through calculating, the picture of suitable colour is chosen so that the desktop background effect that can user be found rapidly to want from a large amount of picture, the wallpaper of Rapid matching mobile terminal, convenient and swift, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
Be described in detail, to be interpretated more in-depth technical characteristic of the present invention and advantage with reference to accompanying drawing below in conjunction with embodiment.
As shown in Figure 1, a kind of method of mobile terminal quick-setting wallpaper, comprises the steps: method flow diagram of the present invention
A. arrange a RGB color gamut space module, user chooses any point, obtains R, G, B component value of this point according to user's selected element, and the span of R, G, B component value is 0 ~ 255;
B. call wallpaper picture database, and randomly draw N number of point often opening in wallpaper picture, and obtain R, G, B component value of each point; Because current computer is integrated with fixing storehouse substantially to picture file process, bag such as, inside java language in java.awt, its principle is that each picture file format all has fixing specification, comprise the relevant information of each pixel after picture length and width, compression, after picture is resolved to computing machine, generally can preserve relevant information in internal memory, the particular location of the pixel now calculated according to uniform design sampling spot, just can directly read relevant RGB information;
C. calculate the distance of each some distance users selected point, and statistics often opens the root-mean-square value of all distances in wallpaper picture;
D. 1 ~ 3 wallpaper picture obtaining root-mean-square value less is selected for user.
Corresponding R, G, B component value of each point of the RGB color gamut space module described in step a, user chooses any point, then corresponding R, G, B component value obtaining this point.
N described in step b be greater than zero integer, concrete numerical value is adjusted by user.
Step c is specially:
Step S101. obtains R component value hj, G component value sj and the B component value vj of user's selected element j;
Step S102. obtains R component value hi, G component value si and the B component value vi of the some i extracted;
Step S103. is according to formula
calculate the distance of i point to user's selected element j; (citing: redness is 0xFF0000, green is 0x00FF00, blueness is 0x0000FF, wherein 0x represents 16 systems, after every two represent a kind of color, peach colour is 0xFFC0CB, find by calculating, distance redness is 279, and is 331 to green and blue distance, from intuitively pink be also relatively apart from redness).
Step S104. calculates the distance of each extraction point to user's selected element j one by one;
Step S105. is according to the distance calculated, and calculate the root-mean-square value of N number of point, computing formula is
n represents sampling spot, and D1 ~ Dn represents the color distance of each sampling spot at RGB color gamut space middle distance user selected element, according to calculating D
ijorder determine D1 ~ Dn, if calculate first some D
ijthen be defined as D1, n-th is defined as Dn, n be greater than zero natural number.
From statistical angle, root mean square more can overcome the impact distorting and bring, and more can react the dispersion degree of overall data.
Steps d specifically comprises:
Step S301. obtains the root-mean-square value of all wallpaper picture extraction point;
Step S302. compares each root-mean-square value, and sorts from small to large;
Less for root-mean-square value 1 ~ 3 wallpaper picture is presented in list and selects for user by step S303..
Such as system is by screening, and filter out three pictures that root mean square is minimum, user can carry out selection according to the hobby of oneself and arrange wallpaper.
A system for the method for described mobile terminal quick-setting wallpaper, comprising:
Select module, for arranging a RGB color gamut space module, user chooses any point, obtains R, G, B component value of this point according to user's selected element, and the span of R, G, B component value is 0 ~ 255;
Calling module, for calling wallpaper picture database, and randomly draws N number of point often opening in wallpaper picture, and obtains R, G, B component value of each point;
Computing module, for calculating the distance of R, G, B value of each some distance users selected point, and statistics often opens the root-mean-square value of all distances in wallpaper picture;
Acquisition module, selects for user for 1 ~ 3 wallpaper picture obtaining root-mean-square value less.
Described computing module comprises:
First acquisition module, for obtaining R component value hj, G component value sj and the B component value vj of user's selected element j;
Second acquisition module, for obtaining R component value hi, G component value si and the B component value vi of the some i of extraction;
Distance calculation module, for according to formula
calculate the distance of i point to user's selected element j; Calculate the distance of each extraction point to user's selected element j one by one.
Root-mean-square value computing module, for the distance according to calculating, calculate the root-mean-square value of N number of point, computing formula is
n represents sampling spot, and D1 ~ Dn represents the color distance of each sampling spot at RGB color gamut space middle distance user selected element, according to calculating D
ijorder determine D1 ~ Dn, if calculate first some D
ijthen be defined as D1, n-th is defined as Dn, n be greater than zero natural number.
Described acquisition module comprises:
Root-mean-square value acquisition module, for obtaining the root-mean-square value of all wallpaper picture extraction point;
Comparative sorting module, for comparing each root-mean-square value, and sorts from small to large;
Display module, selects for user for less for root-mean-square value 1 ~ 3 wallpaper picture being presented in list.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, within the protection domain that the claim that all should be considered as being submitted to by the present invention is determined.
Claims (8)
1. a method for mobile terminal quick-setting wallpaper, comprises the steps:
A. arrange a RGB color gamut space module, user chooses any point, obtains R, G, B component value of this point according to user's selected element, and the span of R, G, B component value is 0 ~ 255;
B. call wallpaper picture database, and randomly draw N number of point often opening in wallpaper picture, and obtain R, G, B component value of each point;
C. calculate the distance of each some distance users selected point, and statistics often opens the root-mean-square value of all distances in wallpaper picture;
D. 1 ~ 3 wallpaper picture obtaining root-mean-square value minimum is selected for user.
2. the method for mobile terminal quick-setting wallpaper according to claim 1, it is characterized in that: corresponding R, G, B component value of each point of the RGB color gamut space module described in step a, user chooses any point, then corresponding R, G, B component value obtaining this point.
3. the method for mobile terminal quick-setting wallpaper according to claim 2, is characterized in that: the N described in step b be greater than zero integer, concrete numerical value is adjusted by user.
4. the method for mobile terminal quick-setting wallpaper according to claim 3, it is characterized in that, step c is specially:
Step S101. obtains R component value hj, G component value sj and the B component value vj of user's selected element j;
Step S102. obtains R component value hi, G component value si and the B component value vi of the some i extracted;
Step S103. is according to formula
calculate the distance of i point to user's selected element j;
Step S104. calculates the distance of each extraction point to user's selected element j one by one;
Step S105. is according to the distance calculated, and calculate the root-mean-square value of N number of point, computing formula is
n represents sampling spot, and D1 ~ Dn represents the color distance of each sampling spot at RGB color gamut space middle distance user selected element, according to calculating D
ijorder determine D1 ~ Dn, if calculate first some D
ijthen be defined as D1, n-th is defined as Dn, n be greater than zero natural number.
5. the method for mobile terminal quick-setting wallpaper according to claim 4, it is characterized in that, steps d specifically comprises:
Step S301. obtains the root-mean-square value of all wallpaper picture extraction point;
Step S302. compares each root-mean-square value, and sorts from small to large;
Minimum for root-mean-square value 1 ~ 3 wallpaper picture is presented in list and selects for user by step S303..
6. a system for the method for the mobile terminal quick-setting wallpaper according to any one of claim 1-5, is characterized in that, comprising:
Select module, for arranging a RGB color gamut space module, user chooses any point, obtains R, G, B component value of this point according to user's selected element, and the span of R, G, B component value is 0 ~ 255;
Calling module, for calling wallpaper picture database, and randomly draws N number of point often opening in wallpaper picture, and obtains R, G, B component value of each point;
Computing module, for calculating the distance of R, G, B value of each some distance users selected point, and statistics often opens the root-mean-square value of all distances in wallpaper picture;
Acquisition module, selects for user for 1 ~ 3 wallpaper picture obtaining root-mean-square value minimum.
7. the system of the method for mobile terminal quick-setting wallpaper according to claim 6, it is characterized in that, described computing module comprises:
First acquisition module, for obtaining R component value hj, G component value sj and the B component value vj of user's selected element j;
Second acquisition module, for obtaining R component value hi, G component value si and the B component value vi of the some i of extraction;
Distance calculation module, for according to formula
calculate the distance of i point to user's selected element j; Calculate the distance of each extraction point to user's selected element j one by one;
Root-mean-square value computing module, for the distance according to calculating, calculate the root-mean-square value of N number of point, computing formula is
n represents sampling spot, and D1 ~ Dn represents the color distance of each sampling spot at RGB color gamut space middle distance user selected element, according to calculating D
ijorder determine D1 ~ Dn, if calculate first some D
ijthen be defined as D1, n-th is defined as Dn, n be greater than zero natural number.
8. the system of the method for mobile terminal quick-setting wallpaper according to claim 7, it is characterized in that, described acquisition module comprises:
Root-mean-square value acquisition module, for obtaining the root-mean-square value of all wallpaper picture extraction point;
Comparative sorting module, for comparing each root-mean-square value, and sorts from small to large;
Display module, selects for user for minimum for root-mean-square value 1 ~ 3 wallpaper picture being presented in list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310060557.XA CN103150182B (en) | 2013-02-27 | 2013-02-27 | A kind of method and system of mobile terminal quick-setting wallpaper |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310060557.XA CN103150182B (en) | 2013-02-27 | 2013-02-27 | A kind of method and system of mobile terminal quick-setting wallpaper |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103150182A CN103150182A (en) | 2013-06-12 |
CN103150182B true CN103150182B (en) | 2016-01-20 |
Family
ID=48548283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310060557.XA Expired - Fee Related CN103150182B (en) | 2013-02-27 | 2013-02-27 | A kind of method and system of mobile terminal quick-setting wallpaper |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103150182B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103389897B (en) * | 2013-07-17 | 2017-08-11 | 广东欧珀移动通信有限公司 | A kind of desktop wallpaper method to set up and device |
CN106896995B (en) * | 2015-12-21 | 2021-06-08 | 腾讯科技(深圳)有限公司 | Wallpaper configuration method and device for mobile terminal |
CN109144641B (en) * | 2018-08-14 | 2021-11-02 | 四川虹美智能科技有限公司 | Method and device for displaying image through refrigerator display screen |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1901717A (en) * | 2005-07-22 | 2007-01-24 | 三星电子株式会社 | Method and device for setting basic display screen in mobile terminal |
CN101702098A (en) * | 2009-11-18 | 2010-05-05 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and method and system for automatically switching terminal wallpaper |
CN102521258A (en) * | 2011-11-18 | 2012-06-27 | 百度在线网络技术(北京)有限公司 | Method and device for providing wallpaper picture |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005108041A (en) * | 2003-09-30 | 2005-04-21 | Toshiba Corp | Method for displaying menu screen on portable terminal and portable terminal |
US8869070B2 (en) * | 2008-12-30 | 2014-10-21 | T-Mobile Usa, Inc. | Handwriting manipulation for conducting a search over multiple databases |
-
2013
- 2013-02-27 CN CN201310060557.XA patent/CN103150182B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1901717A (en) * | 2005-07-22 | 2007-01-24 | 三星电子株式会社 | Method and device for setting basic display screen in mobile terminal |
CN101702098A (en) * | 2009-11-18 | 2010-05-05 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and method and system for automatically switching terminal wallpaper |
CN102521258A (en) * | 2011-11-18 | 2012-06-27 | 百度在线网络技术(北京)有限公司 | Method and device for providing wallpaper picture |
Also Published As
Publication number | Publication date |
---|---|
CN103150182A (en) | 2013-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105261366B (en) | Audio recognition method, speech engine and terminal | |
CN108574732B (en) | Push message processing method, computer readable storage medium and terminal equipment | |
CN101833542B (en) | Method and device for rendering fonts of user interface | |
US11392761B2 (en) | Method and apparatus for displaying table information, and electronic device and non-transitory computer-readable storage medium | |
CN103150182B (en) | A kind of method and system of mobile terminal quick-setting wallpaper | |
CN103164231A (en) | Input method virtual keyboard skin management method and device | |
CN104010124A (en) | Method and device for displaying filter effect, and mobile terminal | |
CN103064713A (en) | Method of changing terminal wallpaper automatically with weather | |
WO2015096588A1 (en) | Method and device for switching display pages | |
CN102279745A (en) | Method and system for setting appearance of mobile terminal browser | |
US9641768B2 (en) | Filter realization method and apparatus of camera application | |
JP2014501407A5 (en) | ||
CN106210854A (en) | A kind of terminal and method for information display thereof | |
US20190050379A1 (en) | Method for providing data management service having automatic cell merging function and service providing server for performing the method | |
CN109164999B (en) | Form self-adaptive display method, device, equipment and readable storage medium | |
CN109413716A (en) | A kind of method and terminal identifying device type | |
CN105005550A (en) | Table generation method and apparatus | |
CN102663785A (en) | Mobile terminal and image processing method thereof | |
CN103077697B (en) | A kind of cloud displayer supporting the full frame display of the dynamic convergent-divergent of picture | |
CN105022723A (en) | Table generating method and apparatus | |
CN102638614B (en) | Method for searching call record on multi-card mobile phone terminal | |
CN103853347A (en) | Information release method based on gravity sensing horizontal screen display of mobile terminal | |
CN109634695B (en) | Method and device for automatically adapting horizontal and vertical screens of software on SDK interface | |
CN102521129B (en) | Testing method and testing device for owner-drawing window | |
CN104951269A (en) | Method and device for automatically matching resolution rate and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160120 |