CN104657521A - Fluorescent drawing method based on Android - Google Patents
Fluorescent drawing method based on Android Download PDFInfo
- Publication number
- CN104657521A CN104657521A CN201310583096.4A CN201310583096A CN104657521A CN 104657521 A CN104657521 A CN 104657521A CN 201310583096 A CN201310583096 A CN 201310583096A CN 104657521 A CN104657521 A CN 104657521A
- Authority
- CN
- China
- Prior art keywords
- curves
- curve
- blur effect
- degrees
- offset
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention relates to a fluorescent drawing method based on Android; the method comprises the following steps: 1) collecting touch data of a user for generating six curves; using the shortest curve as a benchmark value 1; the widths of the six curves are respectively 8, 4, 3, 2, 1, and 1; 2) respectively coloring the six curves; obtaining user-selected colors, analyzing the key colors by HSV, extracting six colors from the key colors based on the degrees of brightness, and then respectively coloring the six curves based on the sequence; 3) generating a blur effect; the degree of the blur effect is from 0 to 1, 0 means no blur effect, whereas 1 means the maximum blur effect. The blur degrees of the six curves are respectively 0.8, 0.5, 0.2, 0, 0, and 0; 4) setting position offset; fluorescent in real life presents position offsets at different degrees due to the complexity of the light source; based on this feature, certain degrees of offset are applied to the six curves; still taking from 0 to 1 as the offset degrees, the offset degrees of the six curves are respectively 0.1, 0.15, 0, 0.5, 0.6; 5) generating the final fluorescent product based on the configurations above.
Description
Technical field
The present invention relates to a kind of fluorescent lighted drawing method based on Android.
Background technology
Fluorescent lighted drawing method based on Android is a kind of method using fluorescent effect in software simulating simulating reality, existing fluorescent lighted drawing method simply the blur effect of high for white light and respective color is superimposed, the fluorescent effect in not real reproduction in reality.
Along with improving constantly of Android phone level of hardware, numerous cellphone subscribers and the requirement of dull and stereotyped user to the reproduction level of fluorescent effect more and more higher, real fluorescent lighted drawing method is pressed close to more in the urgent need to a kind of high level in market.
Summary of the invention
For the problems referred to above, the object of this invention is to provide a kind of fluorescent lighted drawing method based on Android, fluorescent effect in reality is complicated and changeable, be made up of the gradual change of light, if only adopt the fuzzy drafting of a kind of color, fluorescent lighted drawing effect dullness unsightly, for this situation, and the prerequisite that under Android platform, hardware resource is limited, the present invention adopts six layers to redraw technology, is incorporated in fluorescent lighted drawing by the gradual change of light, the fluorescent effect in real reproduction reality, bring user more true, beautiful fluorescent lighted drawing is experienced.
For achieving the above object, the present invention takes following technical scheme:
The first step, in Android terminal, gathers the touch data of user, makes six curves.With the shortest curve for reference value 1, six curve width are respectively 8,4,3,2,1,1.
Second step, gives six curve colourings respectively.Obtain the color that user selects, decomposite key colour by HSV, by tone according to bright-dark degree, extract 6 kinds of colors, be respectively most skipper, comparatively skipper, pure blue, comparatively sapphirine, most sapphirine, white, paints in order afterwards six curves respectively.
3rd step, generates blur effect, and the degree of blur effect is be without blur effect from 0 to 1,0, and 1 is at utmost blur effect.Article six, the fog-level of curve is respectively: 0.8, and 0.5,0.2,0,0,0.
4th step, setting position offsets, the fluorescence in real life, can present position skew in various degree due to the complicacy of light source, according to this characteristic, above-mentioned six curves are done migration processing to a certain degree, remain unchanged with 0 to 1 for degrees of offset, the degrees of offset of six curves is respectively: 0.1,0.15,0,0.5,0.6.
5th step, according to above-mentioned setting, generates final fluorescence works.
The present invention is owing to taking above technical scheme, it has the following advantages: dull for the conventional fluorescent drawing practice on android system platform, intend true degree lower, by method of the present invention, can the color degree of verisimilitude of General Promotion fluorescent lighted drawing, and curve light sensation degree of verisimilitude, blur effect degree of verisimilitude, improves the really degree of fluorescent lighted drawing, adds the aesthetic feeling of fluorescent lighted drawing, through comparing, the true effect of plan of fluorescent lighted drawing significantly can be promoted.
Accompanying drawing explanation
Fig. 1 is implementation step figure of the present invention
Embodiment
Be described in detail of the present invention below in conjunction with drawings and Examples.
As shown in Figure 1, step is as follows for concrete embodiment:
The first step, in Android terminal, gathers the touch data of user, makes six curves.With the shortest curve for reference value 1, six curve width are respectively 8,4,3,2,1,1.
Second step, gives six curve colourings respectively.Obtain the color that user selects, decomposite key colour by HSV, by tone according to bright-dark degree, extract 6 kinds of colors, be respectively most skipper, comparatively skipper, pure blue, comparatively sapphirine, most sapphirine, white, paints in order afterwards six curves respectively.
3rd step, generates blur effect, and the degree of blur effect is be without blur effect from 0 to 1,0, and 1 is at utmost blur effect.Article six, the fog-level of curve is respectively: 0.8, and 0.5,0.2,0,0,0.
4th step, setting position offsets, the fluorescence in real life, can present position skew in various degree due to the complicacy of light source, according to this characteristic, above-mentioned six curves are done migration processing to a certain degree, remain unchanged with 0 to 1 for degrees of offset, the degrees of offset of six curves is respectively: 0.1,0.15,0,0.5,0.6.
5th step, according to above-mentioned setting, generates and final presses close to real fluorescent lighted drawing works.
Claims (5)
1., based on a fluorescent lighted drawing method of Android, it is characterized in that, comprise the following steps:
Step one, in Android terminal, gather the touch data of user, make six curves.With the shortest curve for reference value 1, six curve width are respectively 8,4,3,2,1,1;
Step 2, give the colouring of six curves respectively.Obtain the color that user selects, decomposite key colour by HSV, by tone according to bright-dark degree, extract 6 kinds of colors, be respectively most skipper, comparatively skipper, pure blue, comparatively sapphirine, most sapphirine, white, paints in order afterwards six curves respectively;
Step 3, generate blur effect, the degree of blur effect is be without blur effect from 0 to 1,0, and 1 is at utmost blur effect.Article six, the fog-level of curve is respectively: 0.8, and 0.5,0.2,0,0,0;
Step 4, setting position offset, fluorescence in real life, position skew in various degree can be presented due to the complicacy of light source, according to this characteristic, above-mentioned six curves are done migration processing to a certain degree, remain unchanged with 0 to 1 as degrees of offset, article six, the degrees of offset of curve is respectively: 0.1, and 0.15,0,0.5,0.6;
Step 5, according to above-mentioned setting, generate final fluorescence works.
2. the fluorescent lighted drawing method based on Android according to claim 1, is characterized in that: the curve one of described fluorescent lighted drawing has 6 kinds, with the shortest curve for reference value 1, six curve width are respectively 8,4,3,2,1,1.
3. the fluorescent lighted drawing method based on Android according to claim 1, is characterized in that: the graph color one of described fluorescent lighted drawing has six kinds, is respectively most skipper, comparatively skipper, pure blue, comparatively sapphirine, most sapphirine, white, paints in order afterwards six curves respectively.
4. the fluorescent lighted drawing method based on Android according to claim 1, is characterized in that: the curve blur effect of described fluorescent lighted drawing is.The degree of blur effect is be without blur effect from 0 to 1,0, and 1 is at utmost blur effect.Article six, the fog-level of curve is respectively: 08, and 05,0,2,0,0,0.
5. the fluorescent lighted drawing method based on Android according to claim 1, is characterized in that: above-mentioned six curves are done migration processing to a certain degree, remains unchanged with 0 to 1 as degrees of offset, article six, the degrees of offset of curve is respectively: 0.1, and 0.15,0,0.5,0.6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310583096.4A CN104657521A (en) | 2013-11-20 | 2013-11-20 | Fluorescent drawing method based on Android |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310583096.4A CN104657521A (en) | 2013-11-20 | 2013-11-20 | Fluorescent drawing method based on Android |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104657521A true CN104657521A (en) | 2015-05-27 |
Family
ID=53248647
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310583096.4A Pending CN104657521A (en) | 2013-11-20 | 2013-11-20 | Fluorescent drawing method based on Android |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104657521A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111488912A (en) * | 2020-03-16 | 2020-08-04 | 哈尔滨工业大学 | Laryngeal disease diagnosis system based on deep learning neural network |
-
2013
- 2013-11-20 CN CN201310583096.4A patent/CN104657521A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111488912A (en) * | 2020-03-16 | 2020-08-04 | 哈尔滨工业大学 | Laryngeal disease diagnosis system based on deep learning neural network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101481684B1 (en) | Icon generation method | |
US8572501B2 (en) | Rendering graphical objects based on context | |
CN104778047B (en) | A kind of content display method and terminal | |
US9147378B2 (en) | Color selection interface | |
WO2016188262A1 (en) | Method and device for desktop colour matching, terminal and computer storage medium | |
CN104076928B (en) | A kind of method for adjusting text importing image | |
CN107241637B (en) | Method for intelligently matching application icons with backboard color plates based on HSB color mode | |
CN105955585A (en) | Display method for mobile terminal and mobile terminal | |
JP2018152044A (en) | Method of producing three-dimensional code | |
CN109345612B (en) | Image generation method, device, equipment and storage medium | |
CN104239927A (en) | Colored two-dimension code generating method and decoding method | |
US20160246491A1 (en) | User interface adjusting method and apparatus using the same | |
MY154634A (en) | Method and apparatus for changing color of a skin picture in an interaction interface | |
CN104536656B (en) | For generating the method and system of the smart machine operation detail page | |
CN105451094A (en) | Subtitle color adjusting method and device | |
US9251762B2 (en) | Runtime transformation of images to match a user interface theme | |
CN104915005A (en) | Method for achieving emotional colors through colors | |
CN103606141A (en) | Method and system for realizing image display based on two-dimension code | |
CN102662962B (en) | Dynamic display method based on webpage elements | |
CN104657521A (en) | Fluorescent drawing method based on Android | |
CN101968849A (en) | Picture red eye removal method based on 3G smart phone | |
CN102768763A (en) | Method and device for outlining characters | |
CN107016976A (en) | Display control method and device and display screen system | |
CN106886404A (en) | A kind of 3D rendering devices of android | |
CN204462952U (en) | A kind of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
DD01 | Delivery of document by public notice |
Addressee: Gao Yunlong Document name: Notification of Publication of the Application for Invention |
|
DD01 | Delivery of document by public notice |
Addressee: Yan Ruli Document name: Notification of before Expiration of Request of Examination as to Substance |
|
DD01 | Delivery of document by public notice |
Addressee: Yan Ruli Document name: Notification that Application Deemed to be Withdrawn |
|
DD01 | Delivery of document by public notice | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150527 |
|
WD01 | Invention patent application deemed withdrawn after publication |