CN1154959C - System and method for serging graphics and characters - Google Patents

System and method for serging graphics and characters Download PDF

Info

Publication number
CN1154959C
CN1154959C CNB011046023A CN01104602A CN1154959C CN 1154959 C CN1154959 C CN 1154959C CN B011046023 A CNB011046023 A CN B011046023A CN 01104602 A CN01104602 A CN 01104602A CN 1154959 C CN1154959 C CN 1154959C
Authority
CN
China
Prior art keywords
pictograph
bound edge
colour
specific region
serging
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
Application number
CNB011046023A
Other languages
Chinese (zh)
Other versions
CN1369860A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB011046023A priority Critical patent/CN1154959C/en
Publication of CN1369860A publication Critical patent/CN1369860A/en
Application granted granted Critical
Publication of CN1154959C publication Critical patent/CN1154959C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention relates to a system for serging graphic characters, which comprises a graphic character region module, a contour recognition module, a serging parameter module, a soften module and a display module. The present invention also relates to a method for serging graphic characters, which comprises steps that a plurality of coordinates and data are read, and the coordinates and the data form a basic unit for graphic characters; a first special region for the graphic characters is defined; a region table is established; the first color value of the first special region is identified and marked; the serging boundary is defined; a serging color value is obtained; the first color value of the first special region is calculated; the first special region is filled to form a second special region; the second layer of the boundary is softened; the graphic characters after the serging treatment are displayed.

Description

System and Wan Fa that the pictograph bound edge is handled
Technical field
The present invention relates to a kind of bound edge disposal system and method thereof of pictograph.
Background technology
In many softwares of prior art, its technical finesse effect only is confined to the automatic bound edge of input text character and handles, but does not still have and can carry out the software that bound edge is handled to pictograph.Particularly modify and handle at the automatic bound edge of the figure (as the calligraphy figure) of some Freehandhand-drawing effects.Usually can only be before using these graphic files, the pre-rendered figure that contains the bound edge effect well forms the effect that bound edge is handled again.
Mirror what foregoing invention background, the method of prior art exists and can't carry out the bound edge processing to pictograph, particularly can't modify and handle, make this class pictograph can't realize that computing machine locates the shortcoming of bound edge reason automatically the automatic bound edge of the figure (as the calligraphy figure) of for example Freehandhand-drawing effect.
Summary of the invention
An object of the present invention is to provide a kind of system and method for pictograph bound edge, with the effect of the automatic bound edge of computing machine that reaches pictograph.
Because technology provided by the present invention need not be anticipated, not only can reach according to the existing graphics file bound edge modification effect of in time automatically modifying these Freehandhand-drawing effect figures.And the regional and relevant various parameters of the bound edge that can define pictograph automatically.
The bound edge disposal route of pictograph of the present invention, its fundamental purpose can realize the function that automatic bound edge is modified to various a large amount of graphic files at what, reduces the work of treatment amount with a large amount of graphic files of what, and graphic file is handled in real time.Not only can save time, more can save the space of hard disk, CD and storer.
Another purpose of the present invention is the bound edge zone and the related colour section of pictograph that can provide according to the user, automatically leach the profile of pictograph, on this profile basis, generate the needed bound edge modification effect of user, to strengthen the decorative effect of pictograph.
The present invention for the bound edge disposal route of pictograph is: at first, read the coordinate data group of pending pictograph.According to above-mentioned data set, can comply with the step in the pending shared zone of determining according to the coordinate data group of special pattern literal again, with the shared zone of definition special pattern literal.
Right Hou according to user's demand, is set up the step of the sector table of judging colour.As standard, the colour in pictograph zone and the colour of standard are carried out pixel relatively with the colour in the sector table, with this foundation as identification pictograph field color, and with the step of the colour in the section as the foundation of identification pictograph.
Next, judge the colour data of pending pictograph, whether in the specialized range of standard colour sector table, be the data step in colour sector table scope whether.If data show then that for not selected colour is not a pictograph zone colour, does not then handle.If data represent then that for being these data are pictograph zone colour data, being used for these data of mark is the step of pictograph data.
Whether chosen the step of all data, to determine whether relatively intacter all data.If comparative result then continues relatively for not, and get back to the step of the colour in the section as the foundation of identification pictograph.If comparative result promptly relatively finishes for being, then carry out according to the colour data in pictograph zone and the bound edge width of customer requirements, color in and sketch the contours of the step of bound edge scope.
Utilize the step of taking out the immediate colour of bound edge colour, to take out the bound edge colour.The step of the mean value by calculating the colour in the figure character area is utilized the mean value that calculates colour and the regional inner boundary colour of pictograph.
As fill color, fill the internal layer colour of character area profile with mean value, reach the step of softening treatment effect.As fill color, fill the internal layer of character area bound edge profile with mean value, take out simultaneously and fill the profile skin after wide outer field colour of bound edge character wheel and bound edge colour are averaged, make bound edge handle the effect that produces a kind of softening.
At last, show the pictograph of bound edge processing Hou, the pictograph behind the demonstration bound edge.Therefore, each width of cloth need carry out the pictograph that bound edge handles and all can dispose until the whole bound edges of all pictographs according to such flow process cycling.
Description of drawings
In order to make above-mentioned purpose of the present invention, other purpose, feature and advantage clearer, describe preferred embodiment in detail below in conjunction with accompanying drawing, wherein each accompanying drawing is:
Fig. 1 is the block diagram of an embodiment of pictograph bound edge disposal system of the present invention;
Fig. 2 is the process flow diagram of an embodiment of pictograph bound edge disposal route of the present invention;
Fig. 3 A is a synoptic diagram of handling an exemplary patterns literal before by the bound edge of pictograph of the present invention; With
Fig. 3 B is the synoptic diagram after the exemplary patterns literal shown in Fig. 3 A is handled by the bound edge of pictograph of the present invention.
The drawing reference numeral explanation
101 obtain the pictograph regional device
102 pictograph profile recognition devices
103 bound edge parameter setting apparatus
104 softening treating apparatus
105 display device
200 beginnings
201 read the coordinate data group of pictograph
202 determine the pictograph zone
203 set up sector table
204 identification pictographs
Whether 205 in sector table
206 marker graphic literal
Whether 207 got data
The 208 bound edge scopes that color in
209 take out colour
210 calculating mean values
211 softenings are handled
212 show
213 finish
Embodiment
It below is detailed description of the present invention.Detailed description of the present invention is shown in conjunction with an exemplary embodiment and is carried out.Some changes and advantage of the present invention are described after this, and other optimal way of subsequent discussion.
In addition, though the present invention is described in the mode of embodiment, these are described for the present invention is not restrictive.Though and used these examples, be noted that for the professional and technical personnel main part may substitute with relevant part.Therefore, method of the present invention is not limited to the description of being carried out.The method of these descriptions only proves the practicality and the applicability of the present invention and preferred embodiment.And, even the present invention be by the mode of giving an example and enumerate a preferred embodiment and be described, but the present invention does not limit the embodiment that what is enumerated.In addition, all other do not break away from replacement, pro forma change or modification or the like the situation that is equal to of the spirit and scope of the present invention that limited by appending claims, all is included in the scope of patent protection of the present invention.
The bound edge disposal system of pictograph of the present invention can be described in the block diagram as shown in Figure 1.At first utilize the step of obtaining pictograph regional device 101, to obtain the coordinate data group of the pictograph that needs processing automatically.
Call the step of figure text profile recognition device 102 again,, the profile scope of pictograph is discerned according to the various criterion that the user sets.
Next, utilize the step of bound edge parameter setting apparatus 103, figure is carried out bound edge handle.
Further, the result who bound edge is handled Hou carries out the softening processing, utilizes the step of softening treating apparatus 104 this moment.
Hou by the step of display device 105, shows the result that bound edge is handled.
The flow chart description of an embodiment of pictograph bound edge disposal route of the present invention is as follows.
As shown in Figure 2, be the journey figure of embodiment stream of pictograph bound edge disposal route of the present invention.At first, begin 200 certainly after, read the coordinate data group of first pending pictograph, promptly read the step of the coordinate data group 201 of a pending pictograph.
According to above-mentioned data set, as shown in Figure 2, pending special pattern literal shared regional 202 the step definite according to the coordinate data group is with the shared zone of definition special pattern literal.
Then, as shown in Figure 2,, set up the step of the sector table 203 of judging colour according to user's needs.
As shown in Figure 2, with the colour in the sector table as standard, the colour in pictograph zone and the colour of standard are carried out pixel relatively, and with this foundation as identification pictograph field color, i.e. conduct is with the step of the colour in the section as the foundation 204 of identification pictograph.
Next, as shown in Figure 2, judge the colour data of pending pictograph, whether in the specialized range of standard colour sector table, be data 205 step in colour sector table scope whether.
As shown in Figure 2, if data show then that for not selected colour is not a pictograph zone colour, does not then handle.If it is pictograph zone colour data that data, are then represented these data for being, represent that promptly these data are the step of pictograph data 206.
As shown in Figure 2, whether got the step of all data 207, whether relatively finished all data to understand.
In addition, determining as shown in Figure 2 if the result who determines then proceeds comparison for not, turns back to step 205.
As shown in Figure 2,, then carry out, color in and sketch the contours of the step of bound edge scope 208 according to the colour data in pictograph zone and the bound edge width of customer requirements if the result who determines promptly relatively finishes for being.According to the colour data in pictograph zone, in the bound edge width of customer requirements, color in and sketch the contours of the bound edge scope.
As shown in Figure 2, by taking out the step of the immediate colour 209 of bound edge colour, to take out the bound edge colour.
As shown in Figure 2, the step of the mean value 210 by calculating the colour in the figure character area is calculated the mean value of colour and the regional inner boundary colour of pictograph.
As shown in Figure 2, as fill color, fill the internal layer colour of character area profile, reach the step of the effect 211 of softening processing with mean value.Utilize mean value as fill color, fill the internal layer of character area bound edge profile, take out simultaneously and fill the profile skin after wide outer field colour of bound edge character wheel and bound edge colour are averaged, make bound edge handle the effect that produces a kind of softening.
As shown in Figure 2, show the pictograph after bound edge is handled, promptly show the pictograph 212 behind the bound edge.
Therefore, each width of cloth need carry out the pictograph of bound edge processing all can be operated according to such flow process circulation, disposes until the whole bound edges of all pictographs.
Specific embodiment:
As shown in Figure 3, this figure is an actual effect synoptic diagram of the present invention.Here be example with the literal bound edge in scheming, specify technology of the present invention.
One width of cloth pictograph is arranged,, need carry out bound edge and handle as " flying into ordinary hundred " of Fig. 3 A.Use and reach in literal comes back, with after the click, becoming has bound edge to modify and the effect of significantly bright (High-light) by the user.
At first, utilize Automatic Program to read the coordinate data group at " flying into ordinary hundred " five the word places in this width of cloth calligraphy of " flying into ordinary hundred " of Fig. 3 A.Then, calculate pictograph shared zone on picture.According to pre-set standard colour sector table, through more as can be known, the regional colour of this pictograph is 3,3,2, and representing its color is black, sets the width of bound edge.And according to the setting value of relevant bound edge, sketch the contours of the profile of bound edge with character area colour (being black), the approaching colour that right Hou is got with the black colour is a grey, two colours is got mean value obtain, the color of the colour representative that this is average, promptly available what is filled in the internal layer in bound edge zone.Therefore, then can obtain the softening effect shown in Fig. 3 B, the effect that Hou will be handled Hou is presented on the display screen.
In brief, the edge-coating system of the present invention's pictograph has comprised:
The first pictograph regional device is used to obtain the coordinate data group of first pictograph, so that define the first pictograph zone.The profile recognition device is according to a specific criteria, to discern the profile scope of first pictograph.The bound edge parameter devices is used to set the bound edge parameter, handles and existing second graph literal so that first pictograph is carried out bound edge.The softening device is used for softening second graph literal.And display device, be used to show the second graph literal.
The Wrapping method of pictograph of the present invention at first, reads a plurality of coordinate datas, and these a plurality of coordinate datas constitute a base unit of this pictograph.The definition pictograph is first specific region.Set up a sector table, this sector table decidable first colour.Discern first colour of first specific region.First colour of representing first specific region.Define a bound edge scope, according to first colour of first specific region.Obtain a bound edge colour.Calculate first colour of first specific region, be used to obtain one first mean value.Filling first specific region with existing one second specific region, is a color value by first mean value, is used to fill the ground floor on the border of first specific region.The second layer on softening border, second colour and the bound edge colour of the second layer by computation bound obtain second mean value.At last, show the pictograph after bound edge is handled, promptly show the pictograph behind the bound edge.Thereby the pictograph that each width of cloth need carry out the bound edge processing all can dispose until the whole bound edges of all pictographs according to such flow process cycling.
The above only is the preferred embodiments of the present invention; be not in order to restriction protection scope of the present invention; all other do not break away from the present invention that claims limited of patented claim of the present invention spirit and scope in finished be equal to and replace or revise, all be included within protection scope of the present invention.

Claims (6)

1. the bound edge disposal system of a pictograph is characterized in that:
The first pictograph regional device is used to obtain the coordinate data group of first pictograph, is used to define the first pictograph zone;
The profile recognition device, its input is connected with the output of the first pictograph regional device, is used for according to specific criteria, discerns the profile scope of this first pictograph;
The bound edge parameter devices, its input is connected with the output of profile recognition device, is used to be provided with the bound edge parameter, this first pictograph is carried out bound edge handle and formation second graph literal;
The softening device, its input is connected with the output of bound edge parameter devices, is used for this second graph literal of softening; And
Display device is used to show this second graph literal.
2. the bound edge disposal system of pictograph as claimed in claim 1, wherein above-mentioned this first pictograph that obtains comprises at least and obtains processing automatically.
3. the bound edge disposal system of pictograph as claimed in claim 1, wherein above-mentioned specific criteria are the various criterions of setting according to the user.
4. the bound edge disposal route of a pictograph is characterized in that:
Read a plurality of coordinate datas, these a plurality of coordinate datas constitute the base unit of a pictograph;
Defining this pictograph is first specific region;
Set up a sector table, this sector table decidable first colour;
Discern first colour of this first specific region, be with this colour in this sector table as standard, carry out with the colour of standard that pixel relatively carries out;
This first colour of this first specific region of mark;
Defining a bound edge scope, is to carry out according to first colour of this first specific region;
Obtain the bound edge colour, obtain according to defined bound edge scope;
Calculate first colour of first specific region, thereby obtain first mean value;
Fill first specific region to form second specific region, make that this first mean value is a color value, be used to fill the ground floor on the border of this first specific region;
The second layer on this border of softening, second colour and this bound edge colour of the second layer by calculating this border obtain second mean value; With
Show this second specific region.
5. the method that pictograph bound edge as claimed in claim 4 is handled, wherein above-mentioned to set up a sector table be to set up according to user's demand.
6. the method that pictograph bound edge as claimed in claim 4 is handled, wherein above-mentioned bound edge colour is and the immediate colour of this bound edge colour.
CNB011046023A 2001-02-15 2001-02-15 System and method for serging graphics and characters Expired - Fee Related CN1154959C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011046023A CN1154959C (en) 2001-02-15 2001-02-15 System and method for serging graphics and characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011046023A CN1154959C (en) 2001-02-15 2001-02-15 System and method for serging graphics and characters

Publications (2)

Publication Number Publication Date
CN1369860A CN1369860A (en) 2002-09-18
CN1154959C true CN1154959C (en) 2004-06-23

Family

ID=4653972

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011046023A Expired - Fee Related CN1154959C (en) 2001-02-15 2001-02-15 System and method for serging graphics and characters

Country Status (1)

Country Link
CN (1) CN1154959C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1313978C (en) * 2003-05-21 2007-05-02 明基电通股份有限公司 Filling method for closed zone
CN101192212B (en) * 2006-11-20 2012-09-05 中兴通讯股份有限公司 System and method for implementing font with frame on terminal
CN102768763A (en) * 2011-05-05 2012-11-07 方正国际软件(北京)有限公司 Method and device for outlining characters

Also Published As

Publication number Publication date
CN1369860A (en) 2002-09-18

Similar Documents

Publication Publication Date Title
CN1320510C (en) System and method for cache optimized data formatting
CN1203453C (en) Automatic coloring of exposed pixels during zone processing of image
CN1113666A (en) Graphic edge system
CN110414451A (en) It is a kind of based on end-to-end licence plate recognition method, device, equipment and storage medium
CN1722175A (en) Method and apparatus for operating improved stencil shadow awl
CN106600544A (en) Anti-aliasing method and anti-aliasing system based on texture mapping
CN108664454A (en) E-book page display method, device and terminal device
CN1267859C (en) Method for drawing picture on two-dimensional screen
CN106504205A (en) A kind of image defogging method and terminal
CN101059756A (en) Device and method for user operating sheltered area
CN1296597A (en) Representative color designating method using reliability
CN101783022B (en) Method for integrally symbolizing road net based on painter algorithm
CN1302441C (en) Image processing method and device thereof
CN1154959C (en) System and method for serging graphics and characters
CN106650611A (en) Method and apparatus for recognizing color of vehicle body
CN1140282A (en) Information processing method and apparatus
CN1221124C (en) Image processor and image output appts.
CN1831555A (en) Processing method for local correction of remote sensing image
CN110335322A (en) Roads recognition method and road Identification device based on image
CN1737823A (en) Image processing method and apparatus of same
CN1207673C (en) Half-tone dot eliminating method and its system
CN1549671A (en) Method for automatic generating device mark in printed circuit board design
CN1639767A (en) Display control method, information display device and medium
CN1862544A (en) Method and apparatus for configurating PCB design document auxiliary information
CN108874392A (en) User's guideline interface generation method and device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040623

Termination date: 20110215