CN101960512A - Information processing device, information processing method, and program - Google Patents

Information processing device, information processing method, and program Download PDF

Info

Publication number
CN101960512A
CN101960512A CN200980106789.6A CN200980106789A CN101960512A CN 101960512 A CN101960512 A CN 101960512A CN 200980106789 A CN200980106789 A CN 200980106789A CN 101960512 A CN101960512 A CN 101960512A
Authority
CN
China
Prior art keywords
key element
pixel
line segment
gray scale
mark
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
CN200980106789.6A
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Publication of CN101960512A publication Critical patent/CN101960512A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/409Edge or detail enhancement; Noise or error suppression
    • H04N1/4092Edge or detail enhancement
    • G06T5/92
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns
    • G09G5/28Generation of individual character patterns for enhancement of character form, e.g. smoothing

Abstract

An information processing device enables shaggy to be inconspicuous in a short processing time without using data such as in a look-up table. The information processing device (1) includes a display control section (16) for determining the gray scale of the displaying pixels out of the pixels. The display control section (16) includes a distance calculating subsection (20), a gray-scale correcting subsection (21), and a display data generating subsection (22). A group of displaying pixels of one column arrayed in the direction of the line width, which are part of pixels constituting the displaying pixels of a symbol, is defined as an element pixel group. The distance calculating subsection (20) calculates the distance in the direction of the line width between an element line segment and the center point of each element pixel group including pixels overlapping with the element line segment. The gray-scale correcting subsection (21) corrects the gray scale of the pixel at one end included in the element pixel group containing the center point to a gray scale which is between a specified gray scale and the gray scale of the background of the displayed symbol and which corresponds to the calculated distance. The display data generating subsection (22) generates display data for displaying the symbol on a display screen according to the correction by the gray-scale correcting subsection (21).

Description

Signal conditioning package, information processing method and program
Technical field
The present invention relates to pass through stroke font (stroke font), make mark be presented at signal conditioning package, information processing method and program in the display frame.
Background technology
In the past, the known a kind of stroke font that has as scalable font (scaleable font).Spool font (scroll font) is data mode a kind of who is used for showing on computers the shape of literal.In addition, the spool font also is as the parameter (vector data) of center line (skeleton line) and the form of performance with the form of literal.
For example, open in the 2005-24987 communique (patent documentation 1), disclose the character display apparatus that uses the spool font the spy.
In this literal display device, the data (that is, stroke font) based on the skeleton of the literal of having represented to be called as framework data (skeleton data) are presented at literal in the display frame.
Figure 27 is the figure that has represented the data structure of above-mentioned framework data.As shown in figure 27, framework data 100 comprise: the character code 101 that is used to distinguish the kind of literal; Expression constitutes the stroke number 102 of the stroke number of a literal; And corresponding to the stroke information 103 of each stroke.In addition, in this example, a stroke is corresponding to a stroke amount in the stroke number of literal.In other words, stroke also is the part with literal of live width shown in the display frame.
In addition, in stroke information 103, comprising: the number of coordinates 104 of the number of coordinates of a plurality of points of expression formation stroke; And a plurality of coordinate datas 105 of the coordinate of a plurality of points of the stroke of expression formation respectively.
Figure 28 is the figure of data structure of the stroke data of the Chinese character (literal) of having represented relevant " wood ".As shown in figure 28, the stroke data of relevant " wood " comprises four stroke information.In other words, the stroke data of relevant " wood " comprises the data of the skeleton line of having represented four strokes.In Figure 28, show skeleton line as stroke #1~stroke #4 corresponding to the stroke of each stroke information.
For example, stroke #1 is defined as the line segment of connection source (4,192) and terminal point (245,192).In addition, stroke #3 is defined as the broken line that the line segment by line segment, tie point (41,69) and the terminal point (0,42) of line segment, tie point (72,103) and the point (41,69) of line segment, tie point (97,141) and the point (72,103) of connection source (121,192) and point (97,141) constitutes.Figure 29 is the figure of framework data of Figure 28 that has represented to illustrate the skeleton of Chinese character " wood " on coordinate plane.
In patent documentation 1, character display apparatus is after memory storage is read framework data 100, and character display apparatus is according to the character size of appointment, to the coordinate data (coordinate figure) 105 of these framework data ... carry out convergent-divergent (scaling).By this convergent-divergent, character display apparatus will be used for the coordinate data 105 of framework data 100 ... and the actual pixels coordinate system that predefined coordinate system transformation is display frame to be used.
Afterwards, the character display apparatus utilization has been represented to carry out describing of literal by the information of the skeleton line of convergent-divergent acquisition.Specifically, character display apparatus has the live width of regulation by each line segment that makes the key element that becomes skeleton line, thereby constitutes the literal that is presented at display frame.
Figure 30 is the figure of the example of the live width having represented to make above-mentioned line segment have regulation.Here, Figure 30 (a) is the example when live width is made as odd number, and Figure 30 (b) is the example when live width is made as even number.And, character display apparatus with the gray scale of the pixel of surrounding by thick line shown in this figure be set at appointment gray scale (for example, be different from background gray scale (for example, white) gray scale (for example, black)), thus character display apparatus can be in display frame visual ground display text.
But in such structure, shown in Figure 30 (a) and (b), during display text, the stair-stepping burr that produces on the oblique line (sawtooth (jaggy)) clearly in display frame.
On the other hand, open in the flat 8-138067 communique (patent documentation 2) the spy, disclose a kind of line segment aliasing and eliminated (line segment anti aliasing) device, it comprises: generation unit, and its countershaft direction with respect to line segment produces a plurality of pixel datas successively; Register, it keeps the brightness reduced rate of each pixel; And output unit, the action of itself and above-mentioned generation unit is synchronously obtained from above-mentioned register after the necessary reduced rate data, exports each pixel data.
By this device, in showing, can suppress on line segment to be called as the generation of the burr of aliasing.
Patent documentation 1: the spy opens the 2005-24987 communique
Patent documentation 2: the spy opens flat 8-138067 communique
Summary of the invention
But, the line segment figure distortion caucellation arrangement of patent documentation 2 constitutes: keep with respect to Molded Line in look-up table (LUT) and describe the reduced rate of the fraction part (d11 in the patent documentation 2 or d01 (with reference to Fig. 4 and Fig. 5 of patent documentation 2)) of the distance between the pixel, this line segment figure distortion caucellation arrangement is obtained reduced rate data (with reference to Fig. 4 and Fig. 5 of patent documentation 2) by direct with reference to this LUT.
Therefore, line segment figure distortion caucellation arrangement need be stored the individual reduced rate data of (but quantity of fraction part value) * (live width is counted) in advance in LUT.Therefore, for example in Fig. 5 of patent documentation 2, need 16 * 3=48 bytes of memory capacity.
In addition, the line segment figure distortion caucellation arrangement of patent documentation 2 can only generate line image with live width amount corresponding in LUT, therefore can not export the line image of any live width.Suppose to want to export the line image of the live width of more kind, then line segment figure distortion caucellation arrangement must keep the reduced rate data of huge quantity in LUT.Therefore, at this moment, also need more memory capacity.
And then, in patent documentation 2, owing to can reduce the brightness value of the whole pixels that belong to line, so, at this moment, need be used to reduce the computing of brightness value to whole pixels.
The present invention puts in view of the above-mentioned problems and finishes, and its purpose is to provide a kind of data such as look-up table of not using just can make sawtooth become not obvious signal conditioning package, information processing method and program in the short processing time.
According to one aspect of the present invention, signal conditioning package is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, this signal conditioning package comprises storage part, this storage portion stores is represented the information of the skeleton of mark, the information of expression skeleton comprises that the key element of each skeleton line of expression formation skeleton is the information of key element line segment, also comprise display control unit, this display control unit based on the information of expression skeleton according to gray scale with on any direction of the line direction of matrix or column direction during the mode display mark of specified live width with appointment, determine the gray scale of the display pixel in a plurality of pixels, display control unit comprises: distance calculation portion, it is in the part of the pixel groups of the display pixel that will constitute mark, be that the pixel groups of the live width amount that forms a line on the direction of live width of display pixel is when being made as the key element pixel groups, at each key element pixel groups computational element line segment and the distance of central point on the direction of live width, wherein, described central point is the central point that comprises the key element pixel groups of the pixel that overlaps with this key element line segment; Gray correction portion, the gray correction of the pixel of the end that it will be comprised in comprising the key element pixel groups of central point be between the background gray scale of the gray scale of appointment and shown mark gray scale, promptly corresponding to the gray scale of the distance that calculates by distance calculation portion; With the video data generating unit, it generates the video data that is used to make the display frame display mark based on the correction in the gray correction portion.
In addition, the pixel of a preferred end is the pixel of opposition side of the point on the described key element line segment of described distance that has been positioned at deviation in driction from this central point along described live width with respect to described central point.
In addition, preferred gray correction portion also will be on the direction of live width with the key element pixel groups that comprises the pixel of carrying out overcorrect in another end the pixel adjacent pixels, promptly be not included in pixel in this key element pixel groups, proofread and correct for the gray scale between the background gray scale of the gray scale of mark and this mark, promptly corresponding to the gray scale of the distance that calculates by distance calculation portion.
In addition, preferred gray correction portion proofreaies and correct the pixel of an end, makes along with distance is elongated, from the gray scale of mark gray scale near background, gray correction portion proofreaies and correct adjacent pixels, makes along with distance is elongated, from the gray scale of the background gray scale near mark.
In addition, preferably include: parallel detection unit, it based on the information of expression skeleton line, judges whether each key element line segment is the straight line that is parallel to line direction or column direction under the situation based on a plurality of described key element line segment display marks; With correction limit portion, its at comprise with the key element pixel groups that is judged to be the pixel that parallel key element line segment overlaps by parallel detection unit in an end pixel, on the direction of live width with this key element pixel groups in another end the pixel adjacent pixels and be not included in the pixel of this key element pixel groups, restriction is proofreaied and correct by described gray correction portion.
In addition, preferably include: correction limit portion, this correction limit portion is based on the key element line segment that is parallel to line direction or column direction, continuously in parallel key element line segment and have other key element line segment of slope with respect to this key element line segment, under the situation of display mark, if will be made as first dummy line through the line of each central point in each key element pixel groups that comprises the pixel that overlaps with parallel key element line segment, to be made as second dummy line through the central point in the key element pixel groups that comprises the pixel that overlaps with other key element line segment and perpendicular to the line of first dummy line, then satisfy under the situation of relation of regulation in the position of the position of the intersection point of second dummy line and other key element line segment and first dummy line, pixel at an end in the key element pixel groups that comprises the pixel that overlaps with this intersection point, the pixel of another end adjacent with this key element pixel groups limits the correction of the gray scale of being undertaken by gray correction portion.
In addition, preferably if in display frame, the positive dirction of X-axis is made as line direction, the negative direction of Y-axis is made as column direction, then be parallel to Y-axis and other key element line segment in first dummy line and be positioned at than first dummy line more under the situation by the position of the negative direction side of X-axis, the relation of regulation is that the X of intersection point sits the X seat target value also big relation of target value than first dummy line.
In addition, preferably if in display frame, the positive dirction of X-axis is made as line direction, the negative direction of Y-axis is made as column direction, then be parallel to Y-axis and other key element line segment in first dummy line and be positioned at than first dummy line more under the situation by the position of the positive dirction side of X-axis, the relation of regulation is that the X of intersection point sits the X seat target value also little relation of target value than first dummy line.
In addition, preferably if in display frame, the positive dirction of X-axis is made as line direction, the negative direction of Y-axis is made as column direction, then be parallel to X-axis and other key element line segment in first dummy line and be positioned at than first dummy line more under the situation by the position of the negative direction side of Y-axis, the relation of regulation is that the Y of intersection point sits the Y seat target value also big relation of target value than first dummy line.
In addition, preferably if in display frame, the positive dirction of X-axis is made as line direction, the negative direction of Y-axis is made as column direction, then be parallel to X-axis and other key element line segment in first dummy line and be positioned at than first dummy line more under the situation by the position of the positive dirction side of Y-axis, the relation of regulation is that the Y of intersection point sits the Y seat target value also little relation of target value than first dummy line.
In addition, preferably include: key element line segment correction unit, this key element line segment correction unit is based on the key element line segment that is parallel to line direction or column direction, continuously in parallel key element line segment and have other key element line segment of slope with respect to this key element line segment, under the situation of display mark, if will be made as first dummy line through the line of each central point, wherein said central point is each central point that comprises in each key element pixel groups of the pixel that overlaps with parallel key element line segment, then first dummy line overlap with pixel that first element line segment overlaps on, and under the situation that first dummy line and the second key element line segment intersect, with the length of the second key element line segment proofread and correct for only arrive with the pixel adjacent pixels that comprises the point that this intersects till length, and the length of first element line segment proofreaied and correct to arrival comprise length till the pixel of point of intersection.
In addition, preferred mark is determined color by additive color mixing, and gray correction portion passes through each primary colors correction pixels value at additive color mixing, thereby carries out the correction of gray scale.
According to another aspect of the present invention, signal conditioning package is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein, this signal conditioning package comprises: display control unit, this display control unit is based on the information of the skeleton that is stored in the expression mark in the memory storage, in display frame, according to gray scale with on any direction of the line direction of described matrix or column direction during the mode display mark of the live width of appointment with appointment, determine the gray scale of the display pixel in a plurality of pixels, the information of expression skeleton comprises that the key element of each skeleton line of expression formation skeleton is the information of key element line segment, display control unit comprises: gray correction portion, this gray correction portion is when display mark, proofread and correct the gray scale of appointment, wherein, described mark comprises as the key element line segment: the first element line segment that is parallel to line direction or column direction, continuously in this first element line segment and have the second key element line segment of slope with respect to this first element line segment; If will constitute the part of pixel groups of the display pixel of mark, promptly comprise the pixel that overlaps with the intersection point of the first element line segment and the second key element line segment and on the direction of live width the pixel groups of continuous segments amount be made as the key element pixel groups, then gray correction portion on the direction of live width with this key element pixel groups in the end the pixel adjacent pixels and be not included in pixel in this key element pixel groups, and be the pixel in the zone of the reflex angle side in the angle that forms by two continuous key element line segments, do not carry out the correction of described gray scale.
According to another aspect of the present invention, signal conditioning package is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein, this signal conditioning package comprises: display control unit, display control unit is based on the information of the skeleton that is stored in the expression mark in the memory storage, in display frame, according to gray scale with in any direction of the line direction of matrix or column direction during the mode display mark of the live width of appointment with appointment, determine the gray scale of the display pixel in a plurality of pixels, the information of expression skeleton comprises that the key element of each skeleton line of expression formation skeleton is the information of key element line segment, display control unit comprises: gray correction portion, this gray correction portion is when display mark, proofread and correct the gray scale of appointment, wherein, described mark comprises as the key element line segment: the first element line segment that is parallel to line direction or column direction, continuously in this first element line segment and have the second key element line segment of slope with respect to this first element line segment, at the pixel on pixel that overlaps about intersection point and the direction that is configured in live width with the first element line segment and the second key element line segment, the i.e. pixel in the zone of the reflex angle side in the angle that is formed by two continuous key element line segments, gray correction portion does not make the correction of the such gray scale of live width chap.
In addition, preferred display control unit also comprises: distance calculation portion, this distance calculation portion is in the part of the pixel groups of the display pixel that will constitute mark, be that the pixel groups of the live width amount that forms a line on the direction of live width of display pixel is when being made as the key element pixel groups, to each key element pixel groups computational element line segment and the distance of central point on the direction of live width, wherein, described central point is the central point that comprises the key element pixel groups of the pixel that overlaps with this key element line segment, pixel at an end of key element pixel groups, with as the pixel of another end adjacent adjacent pixels and be not included in pixel in this key element pixel groups on the direction of live width with this key element pixel groups, gray correction portion proofread and correct for the gray scale between the background gray scale of the gray scale of appointment and shown mark promptly corresponding to the gray scale of the distance that calculates by distance calculation portion.
According to another aspect of the present invention, information processing method is based on the information of the skeleton of expression mark, the gray scale that the display frame of having disposed pixel is shown rectangularly have appointment and in any direction of the line direction of described matrix or column direction the mark of the live width of appointment, this information processing method may further comprise the steps: in the part of the pixel groups of the display pixel that will constitute mark, be that the pixel groups of the live width amount that forms a line on the direction of live width of display pixel is when being made as the key element pixel groups, calculating is as the key element line segment of the key element of the skeleton line that constitutes skeleton and the step of the distance of central point on the direction of live width, wherein, described central point is the central point that comprises the key element pixel groups of the display pixel that overlaps with this key element line segment; The gray scale that will comprise the pixel of an end that is comprised in the key element pixel groups of central point is proofreaied and correct for the gray scale between the background gray scale of the gray scale of mark and this mark, promptly corresponding to the step of the gray scale of the distance that calculates; With based on correction, generate the step be used for mark is presented at the video data of display frame.
According to another aspect of the present invention, program is the program that is used to control the signal conditioning package that possesses the display frame of having disposed pixel rectangularly, program makes signal conditioning package carry out following steps, promptly in this step based on the information of the skeleton of having represented mark, in display frame, show gray scale and the mark of the live width of appointment in any direction of the line direction of matrix or column direction with appointment, if will constitute the part of pixel groups of the display pixel of mark, the pixel groups that is the live width amount that forms a line of display pixel on the direction of live width is made as the key element pixel groups, then the step of display mark may further comprise the steps: calculate key element line segment and the distance of central point on the direction of live width as the key element of the skeleton line that constitutes skeleton, wherein, described central point is the step that comprises the central point in the key element pixel groups of the display pixel that overlaps with this key element line segment; The gray scale that will comprise the pixel of the end that the key element pixel groups of central point is comprised is proofreaied and correct for the gray scale between the background gray scale of the gray scale of mark and this mark, promptly corresponding to the step of the gray scale of the distance that calculates; With based on correction, generate the step of the video data be used to make the display frame display mark.
(invention effect)
According to the present invention, can play the data of not using look-up table etc., just can in the short processing time, make sawtooth become not obvious.
Description of drawings
Fig. 1 is the block diagram that the schematic construction of signal conditioning package is shown.
Fig. 2 is the block diagram of hardware configuration that the computer system of signal conditioning package effect is played in expression.
Fig. 3 is the figure that illustrates the part of the literal after the literal correction of odd number live width.
Fig. 4 is another figure that illustrates the part of the literal after the literal correction of odd number live width.
Fig. 5 is the figure that illustrates the part of the literal after the literal correction of even number live width.
Fig. 6 is another figure of the part of the literal after literal that the even number live width is shown is proofreaied and correct.
Fig. 7 is the process flow diagram that the flow process of the processing in the signal conditioning package is shown.
Fig. 8 is the process flow diagram of details of processing that the step S5 of Fig. 7 is shown.
Fig. 9 is the figure that is used to illustrate the effect of gray correction, (a) is the figure that the literal (part) under the situation of not carrying out above-mentioned gray correction is shown, and (b) is the figure that the literal (part) that has carried out above-mentioned gray correction is shown.
Figure 10 is the process flow diagram that the flow process of the processing when carrying out direct plotting method is shown.
Figure 11 is the process flow diagram of a part that the flow process of the processing when carrying out indirect plotting method is shown.
Figure 12 is the figure of the part of the mark that obtained when being illustrated in the restriction of proofreading and correct.
Figure 13 is the key element line segment that illustrates to utilize and the figure that has carried out the part of the literal described continuously in the key element line segment of this key element line segment.
Figure 14 is the figure that the part of the literal that obtains by the function that changes correction limit portion is shown.
Figure 15 is the figure that employed each key element line segment when describing a stroke is shown.
Figure 16 is the process flow diagram that the details of the processing among the step S5 of Fig. 7 is shown.
Figure 17 be process flow diagram that the establishing method of higher limit among the step S55 of Figure 16 and lower limit is shown,
Figure 18 is the figure that the setting example of the setting example of higher limit and lower limit is shown.
Figure 19 be illustrate by the line segment correction unit before proofreading and correct the key element line segment and proofread and correct after the figure of key element line segment, (a) be the figure that the key element line segment before proofreading and correct is shown, (b) be the figure that the key element line segment after the correction is shown.
Figure 20 be the key element line segment before proofreading and correct is shown and proofread and correct after the figure of key element line segment, (a) be the figure that the key element line segment before proofreading and correct is shown, (b) be the figure that the key element line segment L20 ' after the correction is shown.
Figure 21 be the key element line segment before proofreading and correct is shown and proofread and correct after the figure of key element line segment, (a) be the figure that the key element line segment before proofreading and correct is shown, (b) be the figure that the key element line segment after the correction is shown.
Figure 22 illustrates the process flow diagram of flow process that the length of Figure 20 and key element line segment shown in Figure 21 is carried out the processing of timing.
Figure 23 is the process flow diagram that the flow process of the processing among the step S92 of Figure 22 is shown.
Figure 24 is the process flow diagram that the flow process of the processing among the step S102 of Figure 23 is shown.
Figure 25 is the process flow diagram that the flow process of the processing among the step S103 of Figure 23 is shown.
Figure 26 is the figure that literal shown when having proofreaied and correct the starting point of key element line segment and/or terminal point by the line segment correction unit is shown, and (a) is the figure that the M literal is shown, and (b) is the figure that the W literal is shown.
Figure 27 is the figure that the data structure of framework data is shown.
Figure 28 is the figure that illustrates about the data structure of the framework data of the Chinese character of " wood ".
Figure 29 is the figure that the framework data of Figure 28 are shown on coordinate plane.
Figure 30 is the figure that the example of the live width that makes line segment have regulation is shown, and (a) is the figure that the example when live width is made as odd number is shown, and (b) is the figure that the example when live width is made as even number is shown.
Among the figure: the 1-signal conditioning package; The 12-memory storage; The 13-first memory; The 14-second memory; The 15-control part; The 16-display control unit; 20-distance calculation portion; 21-gray correction portion; 22-video data generating unit; The parallel detection unit of 30-; 31-correction limit portion; 32-line segment correction unit.
Embodiment
As follows, an embodiment of signal conditioning package of the present invention is described based on Fig. 1~Figure 26.
Fig. 1 is the block diagram that the schematic construction of signal conditioning package 1 is shown.As shown in Figure 1, signal conditioning package 1 comprises: input part 10, efferent 11, memory storage 12, first memory 13, second memory 14 and control part 15.
Input part 10 is the input equipments that are used to accept from user's input.The user carries out the input of data via input part 10, thereby stores the data of this input in first memory 13.As data via input part 10 inputs, can exemplify be used for determining mark data (for example, character code), the data of the size of mark, be used for determining mark live width classification information (for example, carse, medium and small) data, be used for determining the data etc. of the color of mark.In addition, below, about the classification of the live width of mark and the color of mark, default value is stored in the memory storage 12 in advance, as long as the user via input part 10 to signal conditioning package 1 input change indication, just carry out demonstration based on default value.
Efferent 11 is to be used for based on from the indicated number of control part 15 equipment via the various results of the data of input part 10 inputs and control part 15.In addition, efferent 11 has the display frame of disposing pixel by rectangular.Below, matrix is set the XY coordinate, the positive dirction of X-axis is made as the line direction of matrix, the negative direction of Y-axis is made as the matrix column direction.That is, for the display frame that the user faces, right is made as X-direction, will goes up direction and be made as Y direction.
In addition, below, be made as efferent 11 and carry out having used the demonstration of RGB color model as an example of color model.In addition, below, the pixel value of pixel is labeled as (R, G, B).In addition, below, the value of the key element of the R in the pixel value (R, G, B) is called " value of R composition ", the value of the key element of G is called " value of G composition ", and the value of the key element of B is called " value of B composition ".
Memory storage 12 is stored the framework data of various marks by mark.In addition, memory storage 12 for example is made of hard disk unit or flash memory.Here, mark is the notion that comprises literal, figure, symbol etc.In addition, because the structure of framework data is with identical in the existing structure shown in Figure 27 and Figure 28, so omit explanation here.
First memory 13 is made of the semiconductor memory of the volatibility of RAM (Random Access Memory) etc.In addition, first memory 13 plays the directly effect of the main storage means of swap data of CPU (not shown) as control part 15.The data of storing in the data that first memory 13 temporary transient storages are imported by the user, the memory storage 12 etc.
Second memory 14 is VRAM (Video RAM), is the memory of data that is used for keeping in advance efferent 11 shown.In addition, the signal conditioning package 1 of present embodiment comprises first memory 13 and second memory 14, but also can dependently possess second memory 14, but is the memory area that VRAM uses with a part of region allocation of first memory 13.
Various processing in the control part 15 control information treating apparatus 1.
Display control unit 16 in the control part 15 comprises distance calculation portion 20, gray correction portion 21, video data generating unit 22.In addition, gray correction portion 21 comprises parallel detection unit 30, correction limit portion 31, line segment correction unit 32.In addition, each one in control part 15 and the control part 15 is a functional module, by realized the processing in these modules by the software of CPU execution described later.
Display control unit 16 makes the data presentation of handling in control part 15 in efferent 11.Specifically, display control unit 16 is storing image data in the second memory 14 that plays the VRAN effect, and exports the view data of these storages by efferent 11.
In more detail, display control unit 16 is based on framework data (information of skeleton of expression mark), according to mode with live width specified on any direction of the line direction of matrix or column direction and specified gray scale, when being presented at mark in the display frame, determine the gray scale of the display pixel in a plurality of pixels.
Below, the line of the skeleton of the mark that the coordinate data that expression is obtained based on the coordinate data (with reference to Figure 28) of framework data is carried out convergent-divergent constitutes is called " skeleton line ".That is, skeleton line is described as the line that expression changes in efferent 11 skeleton of the mark after the size when showing.
In addition, with constitute mark display pixel pixel groups a part, be that the pixel groups of the live width amount that forms a line on the online cross direction of display pixel is called " key element pixel groups ".In addition, be that line segment is called " key element line segment " with the key element of each skeleton line that constitutes the skeleton of mark.That is, the key element line segment is the line segment that becomes a key element that constitutes skeleton line, and is the line segment with certain slope.
Distance calculation portion 20 calculates above-mentioned key element line segment and the distance of central point on above-mentioned live width direction that comprises the key element pixel groups of the pixel that overlaps with this key element line segment at each key element pixel groups.
Gray correction portion 21 determines the calibration object pixel to each above-mentioned key element line segment, and rule according to the rules, to the calibration object pixel, is other gray scale with the gray correction of above-mentioned appointment.In addition, gray correction portion 21 proofreaies and correct the pixel value (that is, R composition pixel value, G composition pixel value, B composition pixel value) of each color component.Here, " correction of gray scale " be meant the pixel value of proofreading and correct each color component.In addition, the bearing calibration of the definite and concrete gray scale of calibration object pixel will be narrated in the back.
Video data generating unit 22 is based on the correction in the gray correction portion 21, and generation is used for making mark to be presented at the video data of display frame, and this video data temporarily is stored in the second memory.
In addition, with parallel detection unit 30, correction limit portion 31, the line segment correction unit 32 narrated in the back in the gray correction portion 21.
One mode of concrete structure of the signal conditioning package 1 of present embodiment is described with reference to Fig. 2 here.Fig. 2 is the block diagram of hardware configuration of the computer system 1000 of the expression effect of playing signal conditioning package 1.
As main textural element, computer system 1000 comprises: the CPU110 of executive routine; Accept the mouse 120 and the keyboard 130 of the input of the indication that the user carries out computer system 1000; The CPU110 executive routine is preserved and the data that generate or via the RAM140 of the data of mouse 120 or keyboard 130 inputs in volatibility ground; Preserve the hard disk 150 of data non-volatilely; CD-ROM (Compact Disk-Read Only Memory) drive unit 160; Monitor 170; And communication IF (Interface) 180.Connect each textural element each other by data bus.In CD-ROM drive unit 160, loaded CD-ROM161.
In addition, the input part 10 in the signal conditioning package 1 is equivalent to keyboard 130 and mouse 120, and efferent 11 is equivalent to monitor 170, and memory storage 12 is equivalent to hard disk 150, and first memory 13 and second memory 14 are equivalent to RAM140.
Processing in the computer system 1000 is to realize by the software of being carried out by each hardware and CPU110.Sometimes such software is stored in the hard disk 150 in advance.In addition, also software is kept in CD-ROM161 and other storage mediums sometimes, and circulates as program product.Perhaps, also provide acknowledgement of consignment person to provide software sometimes as Downloadable program product by the so-called information that is connected to the Internet.After such software is read out from this storage medium by CD-ROM drive unit 160 and other reading devices, after perhaps being downloaded, temporarily be stored in the hard disk 150 via communication IF 180.Read this software by CPU110 from hard disk 150, and this software is stored among the RAM140 with the form of executable program.CPU110 carries out this program.
Each textural element that constitutes computer system 1000 shown in Figure 2 is general key element.Therefore, part that also we can say internal of the present invention is the software preserved in RAM140, hard disk 150, CD-ROM161 and other storage mediums or can be via the software of network download.In addition, the action of each hardware of computer system 1000 is known actions, therefore no longer repeats detailed explanation.
In addition, as recording medium, be not limited to CD-ROM, FD (Flexible Disk), hard disk, also can use tape, magnetic tape cassette (cassette tape), CD (MO (Magnetic Optical disc)/MD (Mini Disc)/DVD (Digital Versatile Disc)), IC (Integrated Circuit, integrated circuit) blocks (comprising memory card), light-card, mask model ROM, EPROM (Electronically Programmable Read-Only Memory), EEPROM (Electroically Erasable Programmable Read-Only Memory), the medium of the program that supports regularly of semiconductor memories such as quick ROM etc.
Here the program of indication except the program that can directly carry out by CPU, also comprises the program of source program form, the program that is compressed processing, encrypted program etc.
In addition, said structure is a mode of concrete structure, also can be not comprise that above-mentioned mouse and keyboard, monitor and hard disk are included in the structure in the signal conditioning package 1.Signal conditioning package 1 also can be used as the mobile portable information terminal of electronic dictionary or mobile phone etc. and constitutes.
Under situation, also can for example use flash memory to replace hard disk 150 as such portable data assistance configuration information treating apparatus 1.In addition, also can be the structure that comprises the input media that touches pen type as input part.And then, from the viewpoint of miniaturization,, preferably use the slim monitor of LCD monitor or organic EL monitor etc. as monitor 170.In addition, from the viewpoint of miniaturization, the preferred device that reads memory card that is provided with comes replaced C D-ROM drive unit, and preferably uses this memory card to come replaced C D-ROM as recording medium.
Here, specify the processing of in gray correction portion 21, carrying out according to Fig. 3 to Fig. 6.In addition, below, the example as mark exemplifies literal and describes.
At first, based on the classification information of the live width of the dimensional data of the character code of obtaining, literal, literal and the color data of literal, display control unit 16 is determined literal, character size, the live width classification of above-mentioned literal and the color of literal.Then, display control unit 16 is based on the character size of determining, the framework data of this literal of convergent-divergent.In addition, display control unit 16 is considered the classification of the live width of above-mentioned definite character size and literal, and decision is the live width (live width of appointment) during display text in the display frame of efferent 11.And then display control unit 16 utilizes the color (pixel value) of above-mentioned definite literal, and literal is presented in the display frame.In addition, with narrate in the back literal color utilize mode.
As its result, at first illustrate when in above-mentioned display frame, showing, determined to use the situation of live width of the odd number of pixels display text of continuous row by display control unit 16.Afterwards, illustrate when in above-mentioned display frame, showing, determined to use the situation of live width of the even number pixel display text of continuous row by display control unit 16.
In addition, below, use the odd number of pixels of continuous row to show under the situation of live width at signal conditioning package 1, this live width is called " odd number live width ".On the other hand, use the even number pixel of continuous row to show under the situation of live width, this live width is called " even number live width " at signal conditioning package 1.In addition, " odd number live width " and " even number live width " is meant and carries out the preceding live width of gray correction described later.If carry out gray correction, then a part of live width chap of literal.
At this, live width is described." live width " is meant the width of the literal of X-direction or Y direction.In addition, under the situation of the width that shows literal, use the pixel (pixel groups) of continuous row.For example, be under 3 the situation, to use 3 continuous pixels in live width.
In more detail, under the situation of the width of signal conditioning package 1 performance literal, use pixel that the key element line segment that comprises skeleton line overlaps and the pixel groups (key element pixel groups) of continuous row on X-direction or Y direction.Using which pixel groups in continuous one pixel groups that is listed as in the pixel groups of continuous row on the X-direction with on Y direction is to be determined by the slope of control part 15 according to above-mentioned key element line segment.
For example, under the absolute value of the slope of key element line segment was situation more than 1, signal conditioning package 1 used the pixel groups of continuous row on X-direction to show the width of literal.On the other hand, the absolute value of the slope of key element line segment less than 1 situation under, signal conditioning package 1 uses the width of the pixel groups performance literal of continuous row on Y direction.
Fig. 3 illustrates the figure that has proofreaied and correct the part of the literal after the literal of odd number live width by gray correction portion 21.In addition, Fig. 3 also is the figure of a part that the live width direction of literal is shown.
In Fig. 3, at first, because the absolute value of the slope of key element line segment L1 is more than 1, so live width is set in X-direction by control part 15.
In addition, in the structure in the past of not carrying out based on the correction of gray correction portion 21,3 pixels of the continuous row that pixel Pa, pixel Pb, the pixel Pc of odd number live width (in Fig. 3, live width is 3) amount is such become the pixel groups that constitutes literal.The center pixel that pixel Pb becomes pixel groups is because the central point C of pixel Pb is littler in the distance of X-direction than the central point and the key element line segment L1 of other pixels in the distance of X-direction with key element line segment L1.
In the present embodiment, signal conditioning package 1 also is that above-mentioned pixel Pa, pixel Pb and pixel Pc are used as the pixel groups that constitutes literal.
Distance calculation portion 20 calculates the central point C of pixel Pb and the key element line segment L1 distance in X-direction.That is, distance calculation portion 20 calculates the distance between the some G on central point C and the key element line segment L1 | d|.In other words, the central point and the distance of putting between the G in the pixel groups that is made of pixel Pa, pixel Pb and pixel Pc calculates in distance calculation portion 20.Here, calculating above-mentioned distance | during d|, the distance between the central point of pixel is made as 1.That is, | d| gets 0 to 0.5 value.In addition, some G also is by the point on the line of each central point in each pixel that forms a line on the live width direction of literal.
The pixel Pa that gray correction portion 21 will be positioned at the opposition side of a G with respect to central point C is defined as the calibration object pixel.In addition, gray correction portion 21 also will be defined as the calibration object pixel with pixel Pc adjacent pixels Pd on X-direction.Below, this (is for example proofreaied and correct preceding character area, pixel Pa, pixel Pb, pixel Pc) in the pixel value of literal be made as (R, G, B)=(Rf, Gf, Bf), the pixel value of proofreading and correct the background in the preceding background area (for example, pixel Pd) is made as (R, G, B)=(Rb, Gb, Bb) to be described.
Gray correction portion 21 uses following formula (1)~formula (3), and pixel Pa is carried out the correction of gray scale, and pixel value (R, G, B)=(Rm, Gm, the Bm) after obtaining to proofread and correct.Then, gray correction portion 21 is made as pixel value after the correction and the gray scale of proofreading and correct this pixel Pa with the pixel value of pixel Pa.
Rm=(1-|d|)×Rf+|d|×Rb……(1)
Gm=(1-|d|)×Gf+|d|×Gb……(2)
Bm=(1-|d|)×Bf+|d|×Bb……(3)
In addition, gray correction portion 21 uses following formula (4)~formula (6), and pixel Pd is carried out the correction of gray scale, and pixel value (R, G, B)=(Rm, Gm, the Bm) after obtaining to proofread and correct.Then, gray correction portion 21 is made as pixel value after the correction and the gray scale of proofreading and correct this pixel Pd with the pixel value of pixel Pd.
Rm=|d|×Rf+(1-|d|)×Rb……(4)
Gm=|d|×Gf+(1-|d|)×Gb……(5)
Bm=|d|×Bf+(1-|d|)×Bb……(6)
As mentioned above, pixel Pa and pixel Pd are corrected as: the gray scale between the background gray scale of the gray scale of literal and literal, and promptly with the corresponding gray scale of the distance that calculates by distance calculation portion 20.
In addition, carry out following correction by 21 couples of pixel Pa of gray correction portion, promptly along with distance | the value of d| becomes big, from the gray scale of the literal gray scale near background.On the other hand, carry out following correction by 21 couples of pixel Pd of gray correction portion, promptly along with distance | the value of d| becomes big, from the gray scale of the background gray scale near literal.
In addition, if the value addition of the R composition of the pixel Pd after the value of the R composition of the pixel Pa after will proofreading and correct and the correction then becomes Rf+Rb.That is, become with the pixel that will not become the calibration object pixel (pixel Pb or pixel Pc) in the value of R composition and the identical value of value after the value addition of the R composition in the pixel of above-mentioned background.In addition, also be identical about the value of G composition and the value of B composition.
As mentioned above, signal conditioning package 1 is proofreaied and correct live width from 3 be 4, and signal conditioning package 1 utilizes pixel Pa shown in Figure 3, pixel Pb, pixel Pc and pixel Pd to constitute the part of literal.
Fig. 4 similarly illustrates the figure that has proofreaied and correct the part of the literal after the literal of odd number live width by gray correction portion 21 with Fig. 3.The difference of Fig. 4 and Fig. 3 is that the some G of key element live width L1 is positioned at a side of more leaning on the negative direction of X-axis than the central point C of the pixel Pb that becomes center pixel.
Therefore, in Fig. 4, gray correction portion 21 is defined as the calibration object pixel with pixel Pc, and will be defined as the calibration object pixel with pixel Pa adjacent pixels Pe on X-direction.At this moment, 21 couples of pixel Pc of gray correction portion carry out the correction based on above-mentioned formula (1)~(3).On the other hand, 21 couples of pixel Pe of gray correction portion carry out the correction based on above-mentioned formula (4)~(6).
Fig. 5 illustrates the figure that has proofreaied and correct the part of the literal after the literal of even number live width by gray correction portion 21.In addition, Fig. 5 also is the figure of a part that the live width direction of literal is shown.
In Fig. 5, at first, because the absolute value of the slope of key element line segment L1 is more than 1, so control part 15 similarly is set in live width on the X-direction with Fig. 3 and Fig. 4.
In addition, in the structure in the past of not carrying out based on the correction of gray correction portion 21, two pixels of the continuous row that the pixel Pf of odd number live width (in Fig. 5, live width is 2) amount and pixel Pg are such become the pixel groups that constitutes literal.Here, why pixel Ph does not become the pixel that constitutes literal, is because the central point of pixel Pf is also littler in the distance of X-direction than central point and the key element line segment L1 of pixel Ph in the distance of X-direction with key element line segment L1 but pixel Pf becomes the pixel that constitutes literal.
In the present embodiment, signal conditioning package 1 also is used as the pixel groups that constitutes literal with above-mentioned pixel Pf and pixel Pg.
Distance calculation portion 20 calculates the central point C and the distance of key element line segment L1 on X-direction of the pixel groups that is made of pixel Pf and pixel Pg.That is, distance calculation portion 20 calculates the distance of the some G on central point C and the key element line segment L1 | d|.In other words, distance calculation portion 20 calculates the central point of boundary sections of pixel Pf and pixel Pg and the key element line segment L1 distance in X-direction.Here, calculating above-mentioned distance | during d|, also the distance between the central point of pixel is made as 1.That is, | d| gets 0 to 0.5 value.
Gray correction portion 21 uses above-mentioned formula (1)~formula (3), and pixel Pf is carried out the correction of gray scale, and pixel value (R, G, B)=(Rm, Gm, the Bm) after obtaining to proofread and correct.Then, gray correction portion 21 is made as pixel value after the correction and the gray scale of proofreading and correct this pixel Pf with the pixel value of pixel Pf.
In addition, gray correction portion 21 uses above-mentioned formula (4)~formula (6), and pixel Ph is carried out the correction of gray scale, and pixel value (R, G, B)=(Rm, Gm, the Bm) after obtaining to proofread and correct.Then, gray correction portion 21 is made as pixel value after the correction and the gray scale of proofreading and correct this pixel Ph with the pixel value of pixel Ph.
As mentioned above, pixel Pf and pixel Ph are corrected as following gray scale: the gray scale between the background gray scale of the gray scale of literal and literal, and promptly with the corresponding gray scale of the distance that calculates by distance calculation portion 20.
In addition, 21 couples of pixel Pf of gray correction portion carry out following correction, promptly along with distance | and the value of d| becomes big, from the gray scale of the literal gray scale near background.On the other hand, 21 couples of pixel Ph of gray correction portion carry out following correction, promptly along with distance | and the value of d| becomes big, from the gray scale of the background gray scale near literal.
In addition, if the value addition of the R composition of the pixel Ph after the value of the R composition of the pixel Pf after will proofreading and correct and the correction then becomes Rf+Rb.That is, become with the pixel (pixel Pg) that will not become the calibration object pixel in the value of R composition and the identical value of value after the value addition of the R composition in the pixel of above-mentioned background.In addition, also be identical for the value of G composition and the value of B composition.
As mentioned above, signal conditioning package 1 is proofreaied and correct live width from 2 be 3, and signal conditioning package 1 constitutes the part of literal by pixel Pf shown in Figure 5 and pixel Ph.
Fig. 6 similarly illustrates the figure that has proofreaied and correct the part of the literal after the literal of even number live width by gray correction portion 21 with Fig. 5.The difference of Fig. 6 and Fig. 5 is that the some G of key element live width L1 is positioned at a side (left side of Fig. 6) of more leaning on the negative direction of X-axis than the central point C of the pixel groups that is made of pixel Pf and pixel Pg.
Therefore, in Fig. 6, gray correction portion 21 is defined as the calibration object pixel with pixel Pg, and will be defined as the calibration object pixel with pixel Pf adjacent pixels Pi on X-direction.At this moment, 21 couples of pixel Pg of gray correction portion carry out the correction based on above-mentioned formula (1)~(3).On the other hand, 21 couples of pixel Pi of gray correction portion carry out the correction based on above-mentioned formula (4)~(6).
In addition, because above-mentioned some G becomes computed range | the object of the processing of d|, so the following G that will put is called " process object point G ".
Fig. 7 is the process flow diagram that the flow process of the processing in the signal conditioning package 1 is shown.Especially, Fig. 5 shows signal conditioning package 1 literal is presented at situation in the display frame.
At first, display control unit 16 is obtained the character code about the literal that becomes display object, the size of literal, the classification information of word line width and the such Word message (S1) of color of literal.The literal that becomes display object both can be the literal via input part 10 inputs, perhaps also can be the literal that is stored in advance in the signal conditioning package 1.By this step S1, determine the classification of live width of literal, character size, literal and the color of literal.
After step S1, display control unit 16 is read according to the determined framework data of the above-mentioned character code of obtaining (S2) from memory storage 12.In addition, the framework data of reading temporarily are stored in the first memory 13.Then, after step S2, display control unit 16 carries out convergent-divergent (S3) based on above-mentioned definite character size to the framework data of reading.
After step S3, obtain the stroke information (S4) relevant the framework data of display control unit 16 after convergent-divergent with the skeleton line of a stroke.In addition, stroke information is with identical in the stroke information shown in the patent documentation 1.In the example of Chinese character " wood ", there are 4 stroke information about this Chinese character.
After step S4, display control unit 16 is based on the classification information of the live width of stroke information that obtains and above-mentioned definite literal, the describing of the stroke of the live width of stipulating (live width of appointment) (S5).Then, after step S5, display control unit 16 judges whether the whole strokes that are included in this literal have been carried out above-mentioned describing (S6).Here, above-mentioned " live width of regulation " is meant the live width of having carried out the literal after the correction by gray correction portion 21.
Be judged to be in S6 and whole strokes do not carried out under the above-mentioned situation about describing, signal conditioning package 1 returns processing step S4 once more.On the other hand, in S6, be judged to be whole strokes have been carried out under the above-mentioned situation about describing, a series of processing that signal conditioning package 1 finishes for this literal.
Fig. 8 is the process flow diagram of details of processing that the step S5 of Fig. 7 is shown.In addition, in Fig. 8, the absolute value that exemplifies the slope of key element line segment is the situation more than 1, and about each key element line segment, is that example describes with the Y coordinate situation littler than the Y coordinate of the terminal point of this key element line segment of the starting point of key element line segment.
In addition, below illustrate following formation: computational element line segment and above-mentioned central point C X-direction apart from the time, formerly obtain on the basis of the process object point G on the key element line segment, calculate the distance of this process object point G and central point C.
At first, distance calculation portion 20 is based on stroke information, obtains the coordinate figure (S11) of two points of two ends (starting point and terminal point) of a key element line segment.After step S11, the slope k (S12) of above-mentioned key element line segment is calculated based on the above-mentioned coordinate figure of obtaining by distance calculation portion 20.Here, with the line of live width direction (X-direction in Fig. 3 to Fig. 6), promptly the line through the center of each pixel is called " dummy line L2 ".
After step S12, distance calculation portion 20 is based on the starting point coordinate and the terminal point coordinate of this key element line segment, obtains near intersection point (S13) two ends of key element line segment, this key element line segment and above-mentioned dummy line L2.At this moment, in the pixel that the end of key element line segment overlaps, under the situation of not intersecting with the dummy line L2 at center by this pixel, the extended line and the point that this dummy line L2 intersects of this key element line segment is made as above-mentioned intersection point because the key element line segment is short.In addition, below, the intersection point of starting point side is made as " some S ", the intersection point of terminal point side is made as " some E ".
After step S13, distance calculation portion 20 is set at a S (S14) with above-mentioned process object point G.Then, after step S14, distance calculation portion 20 judges whether the live width of above-mentioned decision is odd number (S15).
Be judged as in step S15 under the situation of odd number, distance calculation portion 20 obtains the central point C (S16) of the pixel of the most approaching above-mentioned process object point G.After step S16, the distance of the 20 computing object-point G of distance calculation portion and the central point C that obtained | d| (S17).Specifically, the X that process object is put G of distance calculation portion 20 absolute value of sitting target value and the difference of the X seat target value of above-mentioned central point C is made as distance | d|.
After step S17, gray correction portion 21 with the pixel that will have above-mentioned central point C as the live width amount of the X-direction at center (that is, the live width amount before proofreading and correct) pixel groups is a benchmark, carries out corresponding to above-mentioned distance | the correction of the gray scale of d| (S18).With this pixel groups is benchmark, gray correction portion 21 carries out above-mentioned correction, thereby or as shown in Figure 4 as Fig. 3, to the pixel of an end of this pixel groups (for example, the pixel Pa of Fig. 3), carry out the correction of gray scale with the pixel adjacent pixels (for example, the pixel Pd of Fig. 3) of another end of this pixel groups.Then, after step S18, signal conditioning package 1 is advanced to step S19 with processing.
In step S15, be judged as under the situation that is not odd number the boundary sections (S20) between the pixel of the 20 the most approaching definite above-mentioned process object point G of distance calculation portion.After step S20, the distance of 20 computing object-point G of distance calculation portion and the boundary sections of determining | d| (S21).That is the distance of the 20 computing object-point G of distance calculation portion and the central point apart from line segment (being central point C) determined.Specifically, the X that process object is put G of distance calculation portion 20 X that sits target value and the boundary sections absolute value of sitting the difference of target value is made as distance | d|.
After step S21, gray correction portion 21 carries out corresponding to above-mentioned distance to be benchmark with above-mentioned central point C as the pixel groups of the live width amount of the X-direction at the center of pixel groups | the correction of the gray scale of d| (S22).With this pixel groups is benchmark, gray correction portion 21 carries out above-mentioned correction, thereby or as shown in Figure 6 as Fig. 5, to the pixel of an end of this pixel groups (for example, the pixel Pf of Fig. 5), carry out the correction of gray scale with the pixel adjacent pixels (for example, the pixel Ph of Fig. 5) of another end of this pixel groups.Then, after step S22, signal conditioning package 1 is advanced to step S19 with processing.
In step S19, distance calculation portion 20 sits the above-mentioned value k of addition on the target value at the X of process object point G, sits addition 1 on the target value at Y.After step S19, whether the coordinate figure of control part 15 judgment processing object-point G consistent with the coordinate figure of above-mentioned some E (S23).
Be judged as in step S20 under the inconsistent situation, signal conditioning package 1 is back to processing step S15 once more.On the other hand, be judged as in step S20 under the consistent situation, display control unit 16 judges whether the whole key element line segments in the skeleton line that is included in stroke have been carried out the processing (S24) to step S23 based on above-mentioned step S12.
Be not judged as in step S24 whole line segment key elements have been carried out under the situation of processing, signal conditioning package 1 is back to processing step S11 once more.On the other hand, be judged as in step S24 under the situation that whole line segment key elements have been carried out handling, signal conditioning package 1 is back to processing the step S6 of Fig. 7.
Fig. 9 is the figure that is used to illustrate the effect of above-mentioned gray correction.Fig. 9 (a) is the figure that the literal (part) when not carrying out above-mentioned gray correction is shown, and Fig. 9 (b) is the figure that the literal (part) when having carried out gray correction is shown.
Shown in Fig. 9 (a), do not carrying out under the situation of above-mentioned gray correction, sawtooth is clearly.But shown in Fig. 9 (b), by carrying out above-mentioned gray correction, sawtooth becomes not obvious as can be known, and profile becomes slick and sly.
As mentioned above because signal conditioning package 1 carries out corresponding to distance | the correction of the gray scale of d|, thus signal conditioning package 1 need be at timing with the data storage that is used for gray correction of look-up table etc. at memory storage.In addition, because signal conditioning package 1 is only according to distance | d| comes the gray scale of calculating pixel, so compare with the structure of visiting the data in look-up table by each pixel, signal conditioning package 1 can shorten the required time of gray correction.
In addition, in the data storage areas of the second memory 14 that plays the VRAM effect, under video data generating unit 22 situation of literal of gray scale that generated such as mentioned above correction, following two kinds of methods are arranged.
First method is directly to describe the method for the data of literal in second memory 14.That is, will be stored in data (that is, the video data in the demonstration) in the second memory 14, and signal conditioning package 1 carries out the method (below, be called direct plotting method) of the correction of gray scale as the background data of literal.
Second method is, with text color contribution degree described later be stored in storer beyond the second memory 14 (below, be called temporary storage) in, and signal conditioning package 1 use this literal color contributions degree update stored in the data (video data in the demonstration) in the second memory 14 method (below, be called indirect plotting method.
Below, direct plotting method at first is described, indirect plotting method is described afterwards.
Figure 10 is the process flow diagram that the flow process of the processing when carrying out direct plotting method is shown.Specifically, show the step S18 in the flow process of Fig. 8 and the process flow diagram of the processing among the step S22.
Here, for convenience of explanation, use this notion of text color contribution degree." text color contribution degree " is meant that the color (being the value of each color component in detail) that gray correction portion 21 is carried out the literal before the gray correction is made as 100, is that what value the color of the literal before the gray correction literal after to gray correction contributed.
Specifically, its text color contribution degree of the pixel Pa of Fig. 3 becomes 100 * (1-|d|).In addition, because pixel Pb and the pixel Pc of Fig. 3 do not carried out gray correction, so the text color contribution degree becomes 100.And its text color contribution degree of the pixel Pd of Fig. 3 becomes 100 * | d|.In addition, in the zone beyond pixel Pa~Pd of Fig. 3, the text color contribution degree becomes 0.
At first, display control unit 16 is determined the upgating object pixel in the second memories 14, and obtains the text color contribution degree (S31) corresponding to this pixel.After step S31, display control unit 16 judges whether the text color contribution degree is 100 (S32).
Be judged as contribution degree be in step S32 under 100 the situation, gray correction portion 21 utilizes pixel value (Rf, Gf, Bf) to upgrade the pixel value (S33) of above-mentioned upgating object pixel.That is, gray correction portion 21 utilizes text color itself that the upgating object pixel is upgraded.
On the other hand, do not judge contribution degree be in step S32 under 100 the situation, the pixel value (Rb, Gb, Bb) that gray correction portion 21 obtains above-mentioned upgating object pixel (S34).After step S34, the text color contribution degree that gray correction portion 21 uses pixel values (Rf, Gf, Bf), pixel value (Rb, Gb, Bb) and obtains calculates the pixel value (S35) after the correction.In addition, because above-mentioned formula (1)~(3) and formula (4)~(6) are used in the calculating of the pixel value after proofreading and correct, so omit its explanation here.In addition, in formula (1)~(6), use with the text color contribution degree divided by 100 value (that is, 1-|d| or | d|) calculate.
After step S35, gray correction portion 21 utilizes the pixel value after proofreading and correct to upgrade the pixel value (S36) of above-mentioned upgating object pixel.Thus, the gray scale of the pixel Pa of Fig. 3 and pixel Pd is corrected.
Figure 11 shows the process flow diagram of a part of the flow process of the processing when carrying out indirect plotting method.
At first, the upgating object pixel that display control unit 16 is determined in the above-mentioned temporary storage, and obtain and the corresponding text color contribution degree of this pixel K1 (S41).After step S41, display control unit 16 judges whether the text color contribution degree of above-mentioned upgating object pixel has been stored in the above-mentioned temporary storage (S42).
Be judged as in step S42 under the situation that stores the text color contribution degree, control part 15 judges that whether the text color contribution degree K1 that obtains is greater than the text color contribution degree K2 (S43) that has stored in step S41.On the other hand, do not judge in S42 under the situation that has stored the text color contribution degree, signal conditioning package 1 is advanced to step S44 with processing.
Be not judged as in step S43 under the big situation, signal conditioning package 1 is advanced to step S45 with processing.On the other hand, be judged as in step S43 under the big situation, signal conditioning package 1 is advanced to step S44 with processing.In step S44, the text color contribution degree of upgating object pixel is set at K1.Then, after step S44, signal conditioning package 1 is advanced to step S45 with processing.
In step S45, display control unit 16 judges whether to handle being included in a update all object pixel in the literal.Be not judged as in step S45 the update all object pixel has been carried out under the situation of processing, signal conditioning package 1 is back to S41 with processing once more.
On the other hand, in step S45, be judged as under the situation that the update all object pixel has been carried out handling, signal conditioning package 1 uses the text color contribution degree of storing in the temporary storage to calculate the pixel value of each pixel, and uses this pixel value that calculates to upgrade pixel value (S46) in the second memory 14.Upgrade processing by this, carry out the correction of gray scale.In addition, because signal conditioning package 1 uses above-mentioned formula (1)~(3) and formula (4)~(6) to calculate pixel value, so no longer repeat specification here.
Because plotting method is a structure of upgrading the pixel value in the second memory 14 on the basis of the text color contribution degree of obtaining the update all object pixel indirectly, so be different from the flow process of the Fig. 7 that describes by each stroke.
In addition, use above-mentioned direct plotting method by signal conditioning package 1, signal conditioning package 1 does not need to be used for the temporary storage of indirect plotting method.In addition, owing to do not need 14 pass on, so signal conditioning package 1 can be realized the high speed handled from temporary storage to second memory yet.
On the other hand, use indirect plotting method by signal conditioning package 1, even at the position that the key element line segment intersects, the position that the key element line segment is intensive, signal conditioning package 1 also can prevent the situation that the gray scale of text color becomes higher than the gray scale at other positions.
In addition, in above-mentioned, if the key element line segment is parallel with X-axis or parallel with Y-axis, then signal conditioning package 1 carries out the correction of above-mentioned gray scale by gray correction portion 21.But mark of being described by the key element line segment that is parallel to X-axis (part of mark) and the mark of being described by the key element line segment that is parallel to Y-axis (part of mark) just can not produce stair-stepping burr (sawtooth) originally.Therefore, preference information treating apparatus 1 only carries out the correction of above-mentioned gray scale at the key element line segment (that is the line segment of inclination) that has slope with respect to X-axis and Y-axis.
Therefore, below, descriptive information treating apparatus 1 utilizes the structure of parallel detection unit 30 and correction limit portion 31.
Parallel detection unit 30 judges based on scaled framework data (information of expression skeleton line) whether each key element line segment is the straight line parallel with X-axis or Y-axis.
Correction limit portion 31 is for comprising that the key element pixel groups with the pixel that is judged to be parallel key element line segment coincidence by parallel detection unit 30 limits correction according to the mode of not carrying out the correction of above-mentioned gray scale.
Figure 12 is the figure that the part of the mark that is obtained under the situation of the restriction that utilizes parallel detection unit 30 and correction limit portion 31 to carry out correction is shown.In addition, in Figure 12, dotted line is the line that has connected between the central point of pixel.
As shown in figure 12, key element line segment L3 is the line segment of oblique line, and key element line segment L4 is the line segment that is parallel to Y-axis.Under the situation of signal conditioning package 1 based on the part of key element line segment L3 display text, as shown in figure 12, gray correction portion 21 carries out the correction of gray scale.And by this correction, line segment is increased to 4 from 3.On the other hand, under the situation of signal conditioning package 1, as shown in figure 12, proofread and correct the correction of display part 31 restriction gray scales based on the part of key element line segment L4 display mark.
Its result, signal conditioning package 1 can make the sawtooth of the word segment of inclination become not obvious, and for the word segment that is parallel to Y-axis, the situation that can avoid literal to thicken.And then, owing to do not need the key element line segment that is parallel to X-axis or Y-axis is carried out based on distance | the computing of the gray correction of d|, so compare with the structure of this parallel key element line segment being carried out the computing of gray correction, signal conditioning package 1 can shorten the required time of demonstration.
Like this, it is following structure that correction limit portion 30 can be called: at comprise with the key element pixel groups that is judged to be the pixel that parallel key element line segment overlaps by parallel detection unit 30 in the pixel of an end (in Figure 12, pixel Pj for example), promptly not being included in pixel in this key element pixel groups (in Figure 12, for example pixel Pk) restriction gray correction portion 21 with above-mentioned another end adjacent pixels of this key element pixel groups proofreaies and correct.
In addition, use correction limit portion 31 to carry out producing following problem under the situation of correction of gray scale as described above at signal conditioning package 1.
Figure 13 is the figure of the part of the key element line segment L5 that illustrates to utilize and the literal depicted in the key element line segment L6 of this key element line segment L5 continuously.In addition, in Figure 13, carry out the restriction of above-mentioned correction by correction limit portion 31.
At this moment, as shown in figure 13,1 couple of pixel Pm of signal conditioning package and pixel Pn carry out the correction of gray scale.Therefore, in the zone of the reflex angle side in the angle that forms by key element line segment L5 and key element line segment L6 (angle is the above sides of 180 degree), can be to the outline line formation protuberance of the mark that is parallel to Y-axis.Therefore, literal seems poor effect.
Therefore, below, illustrate that the part of the function of change correction limit portion 31 makes signal conditioning package 1 prevent that literal from seeming the structure of the situation of weak effect.
Figure 14 illustrates the function of such change correction limit portion 31 and the figure of the part of the literal that obtains.Utilize above-mentioned key element line segment L5 and above-mentioned key element line segment L6 to describe under the situation of a part of literal at signal conditioning package 1, as shown in figure 15, signal conditioning package 1 does not carry out the correction of gray scale to pixel Pm and pixel Pn at least.
Below, be used to show such processing that seems effective literal based on Figure 15 to Figure 18 explanation.
Figure 15 is the figure that is illustrated in employed each key element line segment when describing some strokes.In Figure 15, record three key element line segment L10, L11, L12.In addition, in Figure 15, the starting point of key element line segment L10 is made as a H, the terminal point of key element line segment L10 and the starting point of key element line segment L11 are made as an I, the terminal point of key element line segment L11 and the terminal point of key element line segment L12 are made as a J, the terminal point of key element line segment L12 is made as a K.
In addition, suppose in scaled coordinate data that the coordinate figure of the coordinate figure of the coordinate figure of some H, some I, the coordinate figure of some J, some K is tactic according to this.And then, be made as signal conditioning package 1 and describe stroke at first based on key element line segment L10, afterwards, carry out based on the describing of the stroke of key element line segment L11, carry out describing at last based on the stroke of key element line segment L12.
And then, when signal conditioning package 1 carries out based on the describing of the stroke of key element line segment L11, key element line segment L10 is called " rendered object immediately following preceding key element line segment ", key element line segment L12 is called " the back to back key element line segment of rendered object ".In addition, in Figure 15, be above-mentioned process object point G at the point that is used on this key element line segment L11 that describes, the point handled is at first shown as an E as a S, the point that will handle at last.And then, the slope of key element line segment L11 is made as more than 1.
Below, under such definition, the particular content of handling is described.
Figure 16 is illustrated in the process flow diagram that stroke is described the details of the processing in (the step S5 of Fig. 7).
At first, obtain the framework data of display control unit 16 behind convergent-divergent key element line segment L10 coordinate figure (that is, the some H among Figure 15 and the some I coordinate figure) (S51).After step S51, distance calculation portion 20 calculates the slope (S52) of key element line segment L10.Then, after step S52, distance calculation portion 20 calculates above-mentioned some S and the coordinate figure (S53) of putting E.And then after step S53, distance calculation portion 20 puts G with process object and is set at a S (S54).
After step S54, display control unit 16 is set the higher limit Xmax and the lower limit Xmin (S55) of X-direction.Here, display control unit 16 is set the higher limit of X-direction and the reason of lower limit is because the slope of key element line segment L10 is more than 1, and forms live width in X-direction.In addition, be that slope is under the situation below 1 at the key element line segment, capping value and lower limit on Y direction.Then, after step S55, distance calculation portion 20 judges whether live width is odd number (S56).In addition, the live width here is to carry out gray correction live width before.
Being judged as in step S56 is under the situation of odd number, and distance calculation portion 20 obtains the X coordinate figure (S57) near the central point (that is central point C) of the pixel of process object point G.In addition, below, the coordinate figure of process object being put G is labeled as (Xg, Yg), the coordinate figure of central point C is labeled as (Xc, Yc).In addition, at this moment, Yg becomes identical value with Yc.That is, the coordinate figure of central point C is also represented as (Xc, Yg).
After step S57, distance calculation portion 20 judges whether Xg is the above and Xmax following (S58) of Xmin.Judge in step S58 is that distance calculation portion 20 calculates the distance of process object point G and central point C under the situation more than the Xmin and below the Xmax | d| (S59).Then, after step S39, the distance that gray correction portion 21 utilizes distance calculation portion 20 to calculate | d|, a part (with reference to Fig. 3) of describing stroke as mentioned above like that is (S60).Then, after step S60, distance calculation portion 20 adds above-mentioned k on the X of process object point G coordinate figure, and adds 1 (S61) on the Y coordinate figure of this process object point G.
On the other hand, do not judge in step S58 is under the situation more than the Xmin and below the Xmax, distance calculation portion 20 is made as the central point of the pixel groups (key element pixel groups) that is made of pixel continuous on the online cross direction with point (Xc, Yg), and display control unit 16 does not carry out gray correction as in the past but describes the part (S62) of stroke.That is, pixel Pn shown in Figure 14 and pixel Pm are not carried out the correction of gray scale, signal conditioning package 1 can make this pixel Pn, Pm keep original background color.Therefore, signal conditioning package 1 can obtain the literal that seems effective.After step S62, signal conditioning package 1 is advanced to step S61 with processing.
In addition, not judging in step S56 is under the situation of odd number, and distance calculation portion 20 obtains the coordinate figure (S63) near the central point (that is central point C) of the above-mentioned boundary sections of process object point G.
After step S63, distance calculation portion 20 judges whether Xg is the above and Xmax following (S64) of Xmin.Judge in step S64 is that distance calculation portion 20 calculates the distance of process object point G and central point C under the situation more than the Xmin and below the Xmax | d| (S65).Then, after step S59, the distance that gray correction portion 21 utilizes distance calculation portion 20 to calculate | d|, a part (with reference to Fig. 5) of describing stroke as mentioned above like that is (S66).Then, after step S66, signal conditioning package 1 is advanced to step S61 with processing.
On the other hand, not judging in step S64 is that signal conditioning package 1 is advanced to step S62 with processing under the situation more than the Xmin and below the Xmax.
After step S61, the coordinate figure of the 20 judgment processing object-point G of distance calculation portion whether with the coordinate figure identical (S67) of an E.Do not judge in step S67 under the identical situation, signal conditioning package 1 is back to processing step S56 once more.On the other hand, judge in step S67 under the identical situation, display control unit 16 judges whether the whole key element line segment L10, L11, the L12 that are comprised in the above-mentioned stroke have been carried out handling (S68).
Do not judge in step S68 under the situation that whole key element line segments have been carried out handling, signal conditioning package 1 is back to processing step S51 once more.On the other hand, in step S68, judge whole key element line segments have been carried out under the situation of processing, signal conditioning package 1 end process.
Figure 17 is the process flow diagram that the establishing method of higher limit among the step S55 of Figure 16 and lower limit is shown.In addition, describe for ease of illustrating, exemplifying for the higher limit of key element line segment L11 and the setting of lower limit.
At first, display control unit 16 is based on the coordinate figure of a H and some I, judge immediately following preceding key element line segment L10 whether be parallel to X-axis or Y-axis line segment (horizontal line or ordinate) (S71).Judge in step S71 is that display control unit 16 judges whether live width is odd number (S72) under the situation of parallel line segment.In addition, the live width here is to carry out gray correction live width before.
Judging in step S72 is under the situation of odd number, and display control unit 16 is set at lower limit Xmin the X coordinate figure (S73) of coordinate of the central point of the pixel that comprises a S.Afterwards, signal conditioning package 1 is advanced to step S76 with processing.On the other hand, not judging in step S72 is under the situation of odd number, and display control unit 16 is set at lower limit Xmin the X coordinate figure (S74) of the above-mentioned boundary sections of closest approach S.Afterwards, signal conditioning package 1 is advanced to step S56 with processing.
In addition, not judging in step S51 is that display control unit 16 is set at lower limit Xmin the value (S75) of the minimum in the desirable value of Xg under the situation of parallel line segment.Afterwards, signal conditioning package 1 is advanced to step S76 with processing.
In step S76, display control unit 16 judges based on the coordinate figure of a J with some K whether back to back key element line segment L12 is the line segment that is parallel to X-axis or Y-axis.Judge in step S76 is that display control unit 16 judges whether live width is odd number (S77) under the situation of parallel line segment.In addition, the live width here is to carry out gray correction live width before.
Judging in step S77 is under the situation of odd number, and display control unit 16 is set at higher limit Xmax the X coordinate figure (S78) of coordinate of the central point of the pixel that comprises an E.Afterwards, signal conditioning package 1 end process.On the other hand, not judging in step S77 is under the situation of odd number, and display control unit 16 is set at higher limit Xmax the X coordinate figure (S79) of the above-mentioned boundary sections of closest approach E.Afterwards, signal conditioning package 1 end process.
In addition, not judging in step S77 is that display control unit 16 is set at higher limit Xmax the value (S80) of the maximum in the desirable value of Xg under the situation of parallel line segment.Afterwards, signal conditioning package 1 end process.
Figure 18 is the figure that the setting example of the setting example of higher limit and lower limit is shown.
Figure 18 (a) is the figure that illustrates shown in the process flow diagram of Figure 17 like that about the higher limit Xmax of X coordinate, and Figure 18 (b) is the figure that illustrates shown in the process flow diagram of Figure 17 like that about the lower limit Xmin of X coordinate.In addition, Figure 18 (c) is the figure that illustrates about the higher limit Ymax of Y coordinate, and Figure 18 (b) is the figure that illustrates about the lower limit Ymin of Y coordinate.
Here, will be made as " dummy line L15 (first dummy line) " through the line of each central point in each key element pixel groups that comprises the pixel that overlaps with the key element line segment (for example, the ordinate of Figure 18 or horizontal line) that is parallel to X-axis or Y-axis.That is, if the key element line segment is parallel to X-axis, then dummy line L15 becomes the line segment that is parallel to X-axis, if the key element line segment is parallel to Y-axis, then dummy line L15 becomes the line segment that is parallel to Y-axis.In addition, the thick dotted line of Figure 13 and Figure 14 is equivalent to dummy line L15.
In addition, to be made as " dummy line L16 (second dummy line) " through the line of the central point in the key element pixel groups, promptly vertical line with described first dummy line, wherein, described key element pixel groups comprises the pixel that overlaps with other the key element line segment (for example, the oblique line section of Figure 18) that continuously has slope in above-mentioned parallel key element line segment and relative this key element line segment.That is, dummy line L16 and above-mentioned dummy line L2 are the line of live width direction (being X-direction in Fig. 3 to Fig. 6) equally, and are the lines through the center of each pixel.In addition, in Figure 14, dummy line L16 becomes the line parallel with X-direction.
As mentioned above, if defining virtual line L15 and dummy line L16, then dummy line L16 with above-mentioned other the position of intersection point of key element line segment and the position of dummy line L15 satisfy under the situation of the relation of stipulating, correction limit portion 31 can be described as following structure.Promptly, can be described as following structure: proofread and correct the pixel of an end in the key element pixel groups that display part 31 included at the pixel that will overlap with this intersection point, on described live width direction with this key element pixel groups in the pixel adjacent pixels of described another end promptly be not included in pixel in this key element pixel groups, limit and carry out the correction of gray scale by gray correction portion 21.
In addition, in Figure 14 to Figure 18, in order to show the literal that seems effective, the pixel of 31 pairs of regulations of correction limit portion (for example, the pixel Pm of Figure 14 and pixel Pn) has limited the correction of gray scale.Below, for being shown, signal conditioning package 1 seems effective literal equally, descriptive information treating apparatus 1 uses the structure of line segment correction unit 32.
The key element line segment of 32 pairs of regulations of line segment correction unit does not change the slope of key element line segment, but changes the length of key element line segment.In detail, line segment correction unit 32 is by the coordinate figure of the starting point of each key element line segment of change and the coordinate figure of terminal point, thus the length of change key element line segment.
Figure 19 illustrates by line segment correction unit 32 to proofread and correct preceding key element line segment L20, L21 and the key element line segment L20 ' after the correction, the figure of L21 '.Figure 19 (a) illustrates the key element line segment before proofreading and correct, and Figure 19 (b) illustrates the key element line segment after the correction.
Shown in Figure 19 (a), key element line segment L20 and key element line segment L21 are continuous segments.In addition, key element line segment L21 is the line segment that is parallel to Y-axis.In addition, the key element line segment L20 slope that has regulation with respect to key element line segment L21.In addition, in Figure 19 (a), key element line segment L20 has slope more than 1 to X-axis.
In addition, shown in Figure 19 (a), the starting point of key element line segment L20 is made as a T, will be made as a U, the terminal point of key element line segment L21 is made as a V as the terminal point of key element line segment L20 and the starting point of key element line segment L21.
Below, descriptive information treating apparatus 1 is proofreaied and correct key element line segment L20 and is the key element line segment L20 ' shown in Figure 19 (b), and with the concrete grammar of key element line segment L21 correction for the key element line segment L21 ' shown in Figure 19 (b).The correction of key element line segment L20 at first, is described.
Figure 20 is the figure that the key element line segment L20 ' after proofreading and correct preceding key element line segment L20 and proofreading and correct is shown.Figure 20 (a) illustrates the key element line segment L20 before proofreading and correct, and Figure 20 (b) illustrates the key element line segment L20 ' after the correction.
Here, shown in Figure 20 (a) and Figure 20 (b), will be made as " dummy line L30 (first dummy line) " through the line of each central point in each key element pixel groups that comprises the pixel that overlaps with the key element line segment L21 that is parallel to Y-axis.In addition, the intersection point with dummy line L30 and key element line segment L20 is made as " intersection point Q ".
Line segment correction unit 32 with the length of key element line segment L20 proofread and correct for only arrive with the pixel adjacent pixels that comprises above-mentioned intersection point Q till length.For example, in the example shown in Figure 20 (b), line segment correction unit 32 is carried out following correction: the X coordinate figure of the terminal point of key element line segment L20 is proofreaied and correct to deducting the value of the slope (also being made as k here) of key element line segment from the X coordinate figure of above-mentioned intersection point Q, and the Y coordinate figure of this terminal point proofreaied and correct to the Y coordinate figure from above-mentioned intersection point Q deduct 1 value.Proofread and correct by this, line segment correction unit 32 with the length of key element line segment L20 proofread and correct for only arrive with the pixel adjacent pixels that comprises above-mentioned intersection point Q till length.
The correction of key element line segment L21 then, is described.
Figure 21 is the figure that the key element line segment L21 ' after proofreading and correct preceding key element line segment L21 and proofreading and correct is shown.Figure 21 (a) illustrates the key element line segment L21 before proofreading and correct, and Figure 21 (b) illustrates the key element line segment L21 ' after the correction.
Line segment correction unit 32 proofreaies and correct the length of key element line segment L21 for reaching the length till the pixel that comprises above-mentioned intersection point Q.For example, in the example shown in Figure 21 (b), line segment correction unit 32 carries out the Y coordinate figure of the starting point of key element line segment L21 reduced 1 correction, thereby the length of key element line segment L21 is proofreaied and correct to reaching the length till the pixel that comprises above-mentioned intersection point Q.That is, the starting point of having proofreaied and correct the key element line segment L21 ' after the key element line segment L21 becomes a U '.
Figure 22 is the process flow diagram of the flow process of the processing the when length of proofreading and correct Figure 20 and key element line segment shown in Figure 21 is shown.In addition, Figure 22 illustrates the process flow diagram that stroke is described the details of the processing in (the step S5 of Fig. 7).
At first, obtain the starting point of each key element line segment and the coordinate figure of terminal point (in Figure 19, the coordinate figure of some T, some U and some V) the framework data of distance calculation portion 20 after convergent-divergent (S91).After step S91, line segment correction unit 32 is carried out the correction (S92) of the coordinate figure of above-mentioned starting point and/or terminal point.In addition, with the details of narrating in the back about step S92.
And then after step S92, line segment correction unit 32 uses the coordinate figure after proofreading and correct to generate the key element line segment, and carries out corresponding to above-mentioned distance based on this key element line segment | the correction of the gray scale of d| (S93).In addition, because step S93 is identical to the processing of step S23 with the step S12 of Fig. 8, so no longer repeat specification here.
Then, after step S93, display control unit 16 judges whether the whole key element line segments in the skeleton line that is included in stroke have been carried out processing (S94) based on above-mentioned step S92 and S93.
Judge in step S94 not under the situation that whole key element line segments are handled, signal conditioning package 1 is back to processing step S91 once more.On the other hand, judge in step S94 whole key element line segments have been carried out under the situation of processing, signal conditioning package 1 finishes processing shown in Figure 22, processing is back to the step S6 of Fig. 7.
The details of the step S92 of Figure 22 then, is described.Figure 23 is the process flow diagram that the flow process of the processing among the step S92 is shown.
At first, line segment correction unit 32 is according to the starting point of this key element line segment and the coordinate figure of terminal point, judge the key element line segment whether be oblique line (that is, being not parallel to the line of X-axis or Y-axis) (S101).
Judging in step S101 is under the situation of oblique line, and line segment correction unit 32 is carried out the starting point of key element line segment of this oblique line and/or the correction (S102) of terminal point.Then, after step S102, signal conditioning package 1 end process.
On the other hand, not judging in step S101 is under the situation of oblique line, and line segment correction unit 32 is carried out the starting point of key element line segment that this is not an oblique line and/or the correction (S103) of terminal point.Then, after step S103, signal conditioning package 1 end process.
The details of processing of the step S102 of Figure 23 then, is described.Figure 24 is the process flow diagram that the flow process of the processing among the step S102 is shown.That is, Figure 24 is the process flow diagram that illustrates the flow process of the processing of the correction of key element line segment L20.
At first, display control unit 16 is based on immediately following the starting point of preceding key element line segment and the coordinate figure of terminal point, judges whether this key element line segment before closelying follow is the line segment (S111) that is parallel to X-axis or Y-axis.In addition, display control unit 16 is not the judgement of parallel line segment under not existing immediately following the situation of preceding key element line segment (for example, under the situation of key element line segment L20).
Judge in step S111 is that display control unit 16 judges whether live width is odd number (S112) under the situation of parallel line segment.In addition, the live width here is to carry out gray correction live width before.On the other hand, not judging in step S111 is that signal conditioning package 1 is advanced to step S117 with processing under the situation of parallel line segment.
Judging in step S112 is under the situation of odd number, and display control unit 16 is set at the lower limit Xmin of X-direction the X coordinate figure (S113) of coordinate of the central point of the pixel that comprises starting point.Afterwards, signal conditioning package 1 is advanced to step S115 with processing.On the other hand, not judging in step S112 is under the situation of odd number, and display control unit 16 is set at X coordinate figure (S114) near the above-mentioned boundary sections of starting point with above-mentioned lower limit Xmin.Afterwards, signal conditioning package 1 is advanced to step S115 with processing.
In step S115, line segment correction unit 32 judges whether the X coordinate figure of starting point is littler than lower limit Xmin.In step S115, judge under the little situation, line segment correction unit 32 obtain satisfy X=Xmin straight line (promptly, above-mentioned dummy line L30) changes to (Xq+k, Yq+1) (S116) with the coordinate figure (Xq, Yq) of intersection point Q of the key element line segment that becomes process object, and with starting point.After step S116, signal conditioning package 1 is advanced to step S117 with processing.On the other hand, do not judge in step S115 under the little situation, signal conditioning package 1 is advanced to step S117 with processing.
In step S117, display control unit 16 judges based on the starting point of back to back key element line segment and the coordinate figure of terminal point whether this back to back key element line segment is the line segment that is parallel to X-axis or Y-axis.In addition, display control unit 16 is not the judgement of parallel line segment under the situation that does not have back to back key element line segment.
Judge in step S117 is that display control unit 16 judges whether live width is odd number (S118) under the situation of parallel line segment.In addition, the live width here is to carry out gray correction live width before.On the other hand, not judging in step S117 is under the situation of parallel line segment, signal conditioning package 1 end process.
Judging in step S118 is under the situation of odd number, and display control unit 16 is set at higher limit Xmax the X coordinate figure (S119) of coordinate of the central point of the pixel that comprises terminal point.Afterwards, signal conditioning package 1 is advanced to step S121 with processing.On the other hand, not judging in step S118 is under the situation of odd number, and display control unit 16 is set at X coordinate figure (S120) near the above-mentioned boundary sections of terminal point with higher limit Xmax.Afterwards, signal conditioning package 1 is advanced to step S121 with processing.
In step S121, line segment correction unit 32 judges whether the X coordinate figure of terminal point is also bigger than higher limit Xmax.In step S121, judge under the big situation, line segment correction unit 32 obtain satisfy X=Xmax straight line (promptly, above-mentioned dummy line L30) changes to (Xq-k, Yq-1) (S122) with the coordinate figure (Xq, Yq) of intersection point Q of the key element line segment that becomes process object, and with terminal point.After step S122, signal conditioning package 1 end process.For example, by step S122 key element line segment L20 is carried out the correction of terminal point.
The details of processing of the step S103 of Figure 23 then, is described.Figure 25 is the process flow diagram that the flow process of the processing among the step S103 is shown.That is, Figure 25 also is the process flow diagram that illustrates at the flow process of the processing of the correction of key element line segment L21.
At first, display control unit 16 is based on immediately following the starting point of preceding key element line segment and the coordinate figure of terminal point, judge this key element line segment before closelying follow whether be oblique line (that is, being not parallel to the line segment of X-axis or Y-axis) (S131).In addition, display control unit 16 is not the judgement of parallel line segment under the situation immediately following preceding key element line segment.
Judging in step S131 is under the situation of oblique line, and display control unit 16 judges whether live width is odd number (S132).In addition, the live width here is to carry out gray correction live width before.On the other hand, not judging in step S131 is that signal conditioning package 1 is advanced to step S137 with processing under the situation of parallel line segment.
Judging in step S132 is under the situation of odd number, and display control unit 16 is set at the higher limit Xmax of X-direction the X coordinate figure (S133) of coordinate of the central point of the pixel that comprises starting point.Afterwards, signal conditioning package 1 is advanced to step S135 with processing.On the other hand, not judging in step S132 is under the situation of odd number, and display control unit 16 is set at X coordinate figure (S134) near the above-mentioned boundary sections of starting point with higher limit Xmax.Afterwards, signal conditioning package 1 is advanced to step S135 with processing.
In step S135, line segment correction unit 32 judges whether the X coordinate figure of starting point is also bigger than higher limit Xmax.Judge in step S135 under the big situation, line segment correction unit 32 is obtained the coordinate figure (Xq, Yq) of straight line (that is, above-mentioned dummy line L30) that satisfies X=Xmax and the intersection point Q that closelys follow preceding key element line segment, and the Y coordinate figure of starting point is changed to Yq (S136).After step S136, signal conditioning package 1 is advanced to step S137 with processing.On the other hand, do not judge in step S135 under the big situation, signal conditioning package 1 is advanced to step S137 with processing.
In step S137, display control unit 16 judges based on the starting point of back to back key element line segment and the coordinate figure of terminal point whether this back to back key element line segment is oblique line.In addition, display control unit 16 is (for example, under the situation of key element line segment L21) under the situation that does not have back to back key element line segment, is not the judgement of oblique line.
Judging in step S137 is under the situation of oblique line, and display control unit 16 judges whether live width is odd number (S138).In addition, the live width here is to carry out gray correction live width before.On the other hand, not judging in step S137 is under the situation of oblique line, signal conditioning package 1 end process.
Judging in step S138 is under the situation of odd number, and display control unit 16 is set at lower limit Xmin the X coordinate figure (S139) of coordinate of the central point of the pixel that comprises terminal point.Afterwards, signal conditioning package 1 is advanced to step S141 with processing.On the other hand, not judging in step S138 is under the situation of odd number, and display control unit 16 is set at X coordinate figure (S140) near the above-mentioned boundary sections of terminal point with lower limit Xmin.Afterwards, signal conditioning package 1 is advanced to step S141 with processing.
In step S141, line segment correction unit 32 judges whether the X coordinate figure of terminal point is also littler than lower limit Xmin.Judge in step S141 under the little situation, line segment correction unit 32 is obtained the coordinate figure (Xq, Yq) of the straight line (that is, above-mentioned dummy line L30) that satisfies X=Xmin and the intersection point Q of back to back key element line segment, and the Y coordinate figure of terminal point is changed to Yq (S142).After step S142, signal conditioning package 1 end process.For example, by step S136 key element line segment L21 is carried out the correction of starting point.
Figure 26 is the figure that literal shown when having proofreaied and correct the starting point of key element line segment and/or terminal point as mentioned above like that by line segment correction unit 32 is shown.Figure 26 (a) illustrates the M literal, and Figure 26 (b) illustrates the W literal.In addition, at Figure 26 (a) with (b), white wire (line segment) is a plurality of key element line segment aggregates and the line that forms.
For example, in Figure 26 (a), in the white circle, from the center line (being equivalent to dummy line L30) of the key element line segment that is parallel to Y-axis to outstanding zone, accompanying drawing left side, proofread and correct the coordinate figure of this parallel key element line segment and continuously in the coordinate figure of the key element line segment of the oblique line of this line segment.
In Figure 26 (b), in the white circle, from the center line (being equivalent to dummy line L30) of the key element line segment that is parallel to Y-axis to outstanding zone, accompanying drawing right side, proofread and correct the coordinate figure of this parallel key element line segment and continuously in the coordinate figure of the key element line segment of the oblique line of this line segment.
As Figure 26 (a) with (b), signal conditioning package 1 can show the literal that seems effective by having used the correction of line segment correction unit 32.
In addition, under situation about constituting by line segment correction unit 32 corrective element line segments, signal conditioning package 1 is the starting point and the terminal point of corrective element line segment in advance.Therefore, do not need the aforesaid judgement that whether exceeds higher limit or lower limit.Therefore, compare with the disposal route that illustrates based on Figure 15 to Figure 18, signal conditioning package 1 can shorten the required time of demonstration.
In addition, for example shown in Figure 3 in above-mentioned, for example understand also carrying out the structure of the correction of gray scale with key element pixel groups (pixel groups that constitutes by pixel Pa, pixel Pb and pixel Pc) adjacent pixels Pd.But, being not limited thereto, signal conditioning package 1 also can be the structure of pixel Pd not being carried out the correction of gray scale.In addition, at this moment, signal conditioning package 1 also can be the structure that the gray scale of correction pixels Pc replaces the gray scale of correction pixels Pa.
In addition, in above-mentioned illustrated used the structure of RGB color model, but be not limited thereto.So long as use the color model of additive color mixing to get final product.
Should think that this disclosed embodiment all is an illustration in all respects, and be not to be restrictive.Scope of the present invention is represented by the technical scheme scope, and is not to be represented by above-mentioned explanation, and intention is to comprise the meaning that is equal to the technical scheme scope and all changes in scope.
Claims (according to the modification of the 19th of treaty)
1. (revise afterwards) a kind of signal conditioning package (1), it is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein,
Described signal conditioning package (1) comprises storage part (12), and the information of the skeleton of the described mark of this storage part (12) storage representation represents that the information of described skeleton comprises that the key element of each skeleton line of the described skeleton of expression formation is the information of key element line segment,
Described signal conditioning package (1) also comprises display control unit (16), this display control unit (16) is in the information based on the described skeleton of expression when the mode of specified live width shows described mark according to the gray scale with appointment with on any direction of the line direction of described matrix or column direction, determine the gray scale of the display pixel in described a plurality of pixel
Described display control unit (16) comprising:
Distance calculation portion (20), its part, be that the pixel groups of the live width amount that forms a line on the direction of described live width of described display pixel is when being made as the key element pixel groups in the pixel groups of the described display pixel that will constitute described mark, calculate described key element line segment and the distance of central point on the direction of described live width at each described key element pixel groups, wherein, described central point is the central point that comprises the described key element pixel groups of the pixel that overlaps with this key element line segment;
Gray correction portion (21), the gray correction of the pixel of the end that it will be comprised in comprising the described key element pixel groups of described central point be between the background gray scale of the gray scale of described appointment and shown described mark gray scale, promptly corresponding to the gray scale of the distance that calculates by described distance calculation portion (20); With
Video data generating unit (22), it is based on the correction in the described gray correction portion (21), and generation is used to make described display frame to show the video data of described mark
The pixel of a described end is the pixel of position that has been positioned at from this central point along described live width deviation in driction the opposition side of the point on the described key element line segment of described distance with respect to described central point.
2. (deletion)
3. signal conditioning package according to claim 1 (1), wherein,
Described gray correction portion (21) also will be on the direction of described live width with the key element pixel groups that comprises the pixel of carrying out described correction in another end the pixel adjacent pixels, promptly be not included in pixel in this key element pixel groups, proofread and correct for the gray scale between the background gray scale of the gray scale of described mark and this mark, promptly corresponding to the gray scale of the distance that calculates by described distance calculation portion.
4. signal conditioning package according to claim 3 (1), wherein,
Described gray correction portion (21) proofreaies and correct the pixel of a described end, makes along with described distance is elongated, and from the gray scale of described mark gray scale near described background,
Described gray correction portion (21) proofreaies and correct described adjacent pixels, makes along with described distance is elongated, from the gray scale of the described background gray scale near described mark.
5. (revise the back) according to claim 3 or 4 described signal conditioning packages (1), wherein,
Described signal conditioning package (1) comprising:
Parallel detection unit (30), it is showing under the situation of described mark based on a plurality of described key element line segments, based on the information of the described skeleton line of expression, judges whether each key element line segment is the straight line that is parallel to described line direction or described column direction; With
Correction limit portion (31), its at comprise with the described key element pixel groups that is judged to be the pixel that parallel key element line segment overlaps by described parallel detection unit (30) in a described end pixel, on the direction of described live width with this key element pixel groups in described another end the pixel adjacent pixels and be not included in the pixel of this key element pixel groups, restriction is proofreaied and correct by described gray correction portion.
6. (revise the back) according to claim 3 or 4 described signal conditioning packages (1), wherein,
Described signal conditioning package (1) comprising: correction limit portion (31), this correction limit portion (31) is based on the key element line segment that is parallel to described line direction or described column direction, continuously in described parallel key element line segment and have other key element line segment of slope with respect to this key element line segment, show under the situation of described mark, if will be made as first dummy line through the line that comprises each central point in each key element pixel groups with the pixel of described parallel key element line segment coincidence, to be made as second dummy line through the central point in the described key element pixel groups that comprises the pixel that overlaps with described other key element line segment and perpendicular to the line of described first dummy line
Then under described second dummy line and described other the position of intersection point of key element line segment and the situation of the position of described first dummy line relation that satisfies regulation, at the pixel of the pixel of the described end in the described key element pixel groups that comprises the pixel that overlaps with this intersection point, described another end adjacent with this key element pixel groups, the correction of the gray scale that restriction is undertaken by described gray correction portion.
7. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to Y-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the negative direction side of X-axis, the relation of described regulation is that the X of described intersection point sits target value and sits the also big relation of target value than the X of described first dummy line.
8. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to Y-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the positive dirction side of X-axis, the relation of described regulation is that the X of described intersection point sits target value and sits the also little relation of target value than the X of described first dummy line.
9. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to X-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the negative direction side of Y-axis, the relation of described regulation is that the Y of described intersection point sits target value and sits the also big relation of target value than the Y of described first dummy line.
10. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to X-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the positive dirction side of Y-axis, the relation of described regulation is that the Y of described intersection point sits target value and sits the also little relation of target value than the Y of described first dummy line.
(11. revise back) according to claim 3 or 4 described signal conditioning packages (1), wherein,
Described information processor (1) comprising: key element line segment correction unit (32); This key element line segment correction unit (32) is based on the key element line segment that is parallel to described line direction or described column direction, continuously in described parallel key element line segment and have other key element line segment of slope with respect to this key element line segment; Show in the situation of described mark; If will be made as through the line of each central point first dummy line; Wherein said central point is each central point that comprises in each key element pixel groups of the pixel that overlaps with described parallel key element line segment
Then described first dummy line overlap with pixel that described first element line segment overlaps on, and under the situation that described first dummy line and the described second key element line segment intersect, with the length of the described second key element line segment proofread and correct for only arrive with the pixel adjacent pixels that comprises the point that this intersects till length, and the length of described first element line segment proofreaied and correct to arrival comprise length till the pixel of point of described intersection.
(12. revise back) according to each the described signal conditioning package (1) in the claim 1,3,4, wherein,
Described mark is determined color by additive color mixing,
Described gray correction portion is by each primary colors correction pixels value at described additive color mixing, thereby carries out the correction of described gray scale.
13. a signal conditioning package (1), it is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein,
Described information processor (1) comprising: display control unit; This display control unit is based on the information of the skeleton that is stored in the described mark of expression in the storage device; In described display frame; When the mode of the live width of appointment shows described mark according to the gray scale with appointment with on any direction of the line direction of described matrix or column direction; Determine the gray scale of the display pixel in described a plurality of pixel; The information that represents described skeleton comprises that the key element of each skeleton line of the described skeleton of expression formation is the information of key element line segment
Described display control unit (16) comprising: gray correction portion (21), this gray correction portion (21) is when showing described mark, proofread and correct the gray scale of described appointment, wherein, described mark comprises as described key element line segment: be parallel to the first element line segment of described line direction or described column direction, continuously in this first element line segment and have the second key element line segment of slope with respect to this first element line segment;
If will constitute the part of pixel groups of the described display pixel of described mark, promptly comprise the pixel that overlaps with the intersection point of described first element line segment and the described second key element line segment and on the direction of described live width the pixel groups of continuous described line segment amount be made as the key element pixel groups, then described gray correction portion (21) on the direction of described live width with this key element pixel groups in the end the pixel adjacent pixels and be not included in pixel in this key element pixel groups, and be the pixel in the zone of the reflex angle side in the angle that forms by described two continuous key element line segments, do not carry out the correction of described gray scale.
14. a signal conditioning package (1), it is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein,
Described signal conditioning package, (1) comprising: display control unit, (16), display control unit, (16) based on the information of the skeleton that is stored in the described mark of expression in the memory storage, in described display frame, when the mode of the live width of appointment shows described mark according to the gray scale with appointment with in any direction of the line direction of described matrix or column direction, determine the gray scale of the display pixel in described a plurality of pixel, the information of representing described skeleton comprises that the key element of each skeleton line of the described skeleton of expression formation is the information of key element line segment
Described display control unit (16) comprising: gray correction portion (21), this gray correction portion (21) is when showing described mark, proofread and correct the gray scale of described appointment, wherein, described mark comprises as described key element line segment: be parallel to the first element line segment of described line direction or described column direction, continuously in this first element line segment and have the second key element line segment of slope with respect to this first element line segment
At the pixel on pixel that overlaps about intersection point and the direction that is configured in described live width with described first element line segment and the described second key element line segment, the i.e. pixel in the zone of the reflex angle side in the angle that is formed by described two continuous key element line segments, described gray correction portion (21) does not make the correction of the such gray scale of live width chap.
(15. revise back) according to claim 13 or 14 described signal conditioning packages (1), wherein,
Described display control unit (16) also comprises: apart from calculating part (20); This apart from calculating part (20) in the part of the pixel groups of the described display pixel that will consist of described mark, when the pixel groups of live width amount that to be described display pixel form a line in the direction of described live width is made as the key element pixel groups; Each described key element pixel groups is calculated described key element line segment and the distance of central point on the direction of described live width; Wherein, Described central point is the central point that comprises the described key element pixel groups of the pixel that overlaps with this key element line segment
At the pixel of an end of described key element pixel groups with as the pixel of another end adjacent adjacent pixels and be not included in pixel in this key element pixel groups on the direction of described live width with this key element pixel groups, described gray correction portion (21) proofread and correct for the gray scale between the background gray scale of the gray scale of described appointment and shown described mark promptly corresponding to the gray scale of the distance that calculates by described distance calculation portion (20).
(16. deletion)
(17. revising the back) a kind of information processing method, information based on the skeleton of representing mark, the gray scale that the display frame of having disposed pixel is shown rectangularly have appointment and in any direction of the line direction of described matrix or column direction the mark of the live width of appointment, wherein, described information processing method may further comprise the steps:
In the part of the pixel groups of the display pixel that will constitute described mark, be that the pixel groups of the live width amount that forms a line on the direction of described display pixel in described live width is when being made as the key element pixel groups, calculating is as the key element line segment of the key element of the skeleton line that constitutes described skeleton and the step (S17, S21) of the distance of central point on the direction of described live width, wherein, described central point is the central point that comprises the described key element pixel groups of the display pixel that overlaps with this key element line segment;
The gray scale that will comprise the pixel of an end that is comprised in the described key element pixel groups of described central point is proofreaied and correct for the gray scale between the background gray scale of the gray scale of described mark and this mark, promptly corresponding to the step (S18, S22) of the gray scale of the described distance that calculates; With
Based on described correction, generate the step (S33, S36, S46) that is used for described mark is presented at the video data of described display frame,
The pixel of a described end is the pixel of position that has been positioned at from this central point along described live width deviation in driction the opposition side of the point on the described key element line segment of described distance with respect to described central point.
(18. revise back) a kind of program, this program are that to possess the signal conditioning package of the display frame of having disposed pixel performed rectangularly,
Described program makes described signal conditioning package carry out following step (S5), in this step (S5) based on the information of the skeleton of having represented mark, in described display frame, show gray scale and the mark of the live width of appointment in any direction of the line direction of described matrix or column direction with appointment
If will constitute described mark display pixel pixel groups a part, be that the pixel groups of the live width amount that forms a line on the direction of described live width of described display pixel is made as the key element pixel groups, show that then the step (S5) of described mark may further comprise the steps:
Calculate key element line segment and the distance of central point on the direction of described live width as the key element of the skeleton line that constitutes described skeleton, wherein, described central point is the step (S17, S21) that comprises the central point in the described key element pixel groups of the display pixel that overlaps with this key element line segment;
The gray scale that will comprise the pixel of the end that the described key element pixel groups of described central point is comprised is proofreaied and correct for the gray scale between the background gray scale of the gray scale of described mark and this mark, promptly corresponding to the step (S18, S22) of the gray scale of the described distance that calculates; With
Based on described correction, generate and to be used to the step (S33, S36, S46) that makes described display frame show the video data of described mark,
The pixel of a described end is the pixel of position that has been positioned at from this central point along described live width deviation in driction the opposition side of the point on the described key element line segment of described distance with respect to described central point.

Claims (18)

1. a signal conditioning package (1), it is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein,
Described signal conditioning package (1) comprises storage part (12), and the information of the skeleton of the described mark of this storage part (12) storage representation represents that the information of described skeleton comprises that the key element of each skeleton line of the described skeleton of expression formation is the information of key element line segment,
Described signal conditioning package (1) also comprises display control unit (16), this display control unit (16) is in the information based on the described skeleton of expression when the mode of specified live width shows described mark according to the gray scale with appointment with on any direction of the line direction of described matrix or column direction, determine the gray scale of the display pixel in described a plurality of pixel
Described display control unit (16) comprising:
Distance calculation portion (20), its part, be that the pixel groups of the live width amount that forms a line on the direction of described live width of described display pixel is when being made as the key element pixel groups in the pixel groups of the described display pixel that will constitute described mark, calculate described key element line segment and the distance of central point on the direction of described live width at each described key element pixel groups, wherein, described central point is the central point that comprises the described key element pixel groups of the pixel that overlaps with this key element line segment;
Gray correction portion (21), the gray correction of the pixel of the end that it will be comprised in comprising the described key element pixel groups of described central point be between the background gray scale of the gray scale of described appointment and shown described mark gray scale, promptly corresponding to the gray scale of the distance that calculates by described distance calculation portion (20); With
Video data generating unit (22), it is based on the correction in the described gray correction portion (21), and generation is used to make described display frame to show the video data of described mark.
2. signal conditioning package according to claim 1 (1), wherein,
The pixel of a described end is the pixel of opposition side of the point on the described key element line segment of described distance that has been positioned at deviation in driction from this central point along described live width with respect to described central point.
3. signal conditioning package according to claim 1 (1), wherein,
Described gray correction portion (21) also will be on the direction of described live width with the key element pixel groups that comprises the pixel of carrying out described correction in another end the pixel adjacent pixels, promptly be not included in pixel in this key element pixel groups, proofread and correct for the gray scale between the background gray scale of the gray scale of described mark and this mark, promptly corresponding to the gray scale of the distance that calculates by described distance calculation portion.
4. signal conditioning package according to claim 3 (1), wherein,
Described gray correction portion (21) proofreaies and correct the pixel of a described end, makes along with described distance is elongated, and from the gray scale of described mark gray scale near described background,
Described gray correction portion (21) proofreaies and correct described adjacent pixels, makes along with described distance is elongated, from the gray scale of the described background gray scale near described mark.
5. signal conditioning package according to claim 3 (1), wherein,
Described signal conditioning package (1) comprising:
Parallel detection unit (30), it is showing under the situation of described mark based on a plurality of described key element line segments, based on the information of the described skeleton line of expression, judges whether each key element line segment is the straight line that is parallel to described line direction or described column direction; With
Correction limit portion (31), its at comprise with the described key element pixel groups that is judged to be the pixel that parallel key element line segment overlaps by described parallel detection unit (30) in a described end pixel, on the direction of described live width with this key element pixel groups in described another end the pixel adjacent pixels and be not included in the pixel of this key element pixel groups, restriction is proofreaied and correct by described gray correction portion.
6. signal conditioning package according to claim 3 (1), wherein,
Described signal conditioning package (1) comprising: correction limit portion (31), this correction limit portion (31) is based on the key element line segment that is parallel to described line direction or described column direction, continuously in described parallel key element line segment and have other key element line segment of slope with respect to this key element line segment, show under the situation of described mark, if will be made as first dummy line through the line that comprises each central point in each key element pixel groups with the pixel of described parallel key element line segment coincidence, to be made as second dummy line through the central point in the described key element pixel groups that comprises the pixel that overlaps with described other key element line segment and perpendicular to the line of described first dummy line
Then under described second dummy line and described other the position of intersection point of key element line segment and the situation of the position of described first dummy line relation that satisfies regulation, at the pixel of the pixel of the described end in the described key element pixel groups that comprises the pixel that overlaps with this intersection point, described another end adjacent with this key element pixel groups, the correction of the gray scale that restriction is undertaken by described gray correction portion.
7. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to Y-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the negative direction side of X-axis, the relation of described regulation is that the X of described intersection point sits target value and sits the also big relation of target value than the X of described first dummy line.
8. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to Y-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the positive dirction side of X-axis, the relation of described regulation is that the X of described intersection point sits target value and sits the also little relation of target value than the X of described first dummy line.
9. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to X-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the negative direction side of Y-axis, the relation of described regulation is that the Y of described intersection point sits target value and sits the also big relation of target value than the Y of described first dummy line.
10. signal conditioning package according to claim 6 (1), wherein,
If in described display frame, the positive dirction of X-axis is made as described line direction, the negative direction of Y-axis is made as described column direction,
Then be parallel to X-axis and described other key element line segment in described first dummy line and be positioned at than described first dummy line more under the situation by the position of the positive dirction side of Y-axis, the relation of described regulation is that the Y of described intersection point sits target value and sits the also little relation of target value than the Y of described first dummy line.
11. signal conditioning package according to claim 3 (1), wherein,
Described information processor (1) comprising: key element line segment correction unit (32); This key element line segment correction unit (32) is based on the key element line segment that is parallel to described line direction or described column direction, continuously in described parallel key element line segment and have other key element line segment of slope with respect to this key element line segment; Show in the situation of described mark; If will be made as through the line of each central point first dummy line; Wherein said central point is each central point that comprises in each key element pixel groups of the pixel that overlaps with described parallel key element line segment
Then described first dummy line overlap with pixel that described first element line segment overlaps on, and under the situation that described first dummy line and the described second key element line segment intersect, with the length of the described second key element line segment proofread and correct for only arrive with the pixel adjacent pixels that comprises the point that this intersects till length, and the length of described first element line segment proofreaied and correct to arrival comprise length till the pixel of point of described intersection.
12. signal conditioning package according to claim 1 (1), wherein,
Described mark is determined color by additive color mixing,
Described gray correction portion is by each primary colors correction pixels value at described additive color mixing, thereby carries out the correction of described gray scale.
13. a signal conditioning package (1), it is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein,
Described information processor (1) comprising: display control unit; This display control unit is based on the information of the skeleton that is stored in the described mark of expression in the storage device; In described display frame; When the mode of the live width of appointment shows described mark according to the gray scale with appointment with on any direction of the line direction of described matrix or column direction; Determine the gray scale of the display pixel in described a plurality of pixel; The information that represents described skeleton comprises that the key element of each skeleton line of the described skeleton of expression formation is the information of key element line segment
Described display control unit (16) comprising: gray correction portion (21), this gray correction portion (21) is when showing described mark, proofread and correct the gray scale of described appointment, wherein, described mark comprises as described key element line segment: be parallel to the first element line segment of described line direction or described column direction, continuously in this first element line segment and have the second key element line segment of slope with respect to this first element line segment;
If will constitute the part of pixel groups of the described display pixel of described mark, promptly comprise the pixel that overlaps with the intersection point of described first element line segment and the described second key element line segment and on the direction of described live width the pixel groups of continuous described line segment amount be made as the key element pixel groups, then described gray correction portion (21) on the direction of described live width with this key element pixel groups in the end the pixel adjacent pixels and be not included in pixel in this key element pixel groups, and be the pixel in the zone of the reflex angle side in the angle that forms by described two continuous key element line segments, do not carry out the correction of described gray scale.
14. a signal conditioning package (1), it is used to make the display frame display mark that has disposed a plurality of pixels rectangularly, wherein,
Described signal conditioning package, (1) comprising: display control unit, (16), display control unit, (16) based on the information of the skeleton that is stored in the described mark of expression in the memory storage, in described display frame, when the mode of the live width of appointment shows described mark according to the gray scale with appointment with in any direction of the line direction of described matrix or column direction, determine the gray scale of the display pixel in described a plurality of pixel, the information of representing described skeleton comprises that the key element of each skeleton line of the described skeleton of expression formation is the information of key element line segment
Described display control unit (16) comprising: gray correction portion (21), this gray correction portion (21) is when showing described mark, proofread and correct the gray scale of described appointment, wherein, described mark comprises as described key element line segment: be parallel to the first element line segment of described line direction or described column direction, continuously in this first element line segment and have the second key element line segment of slope with respect to this first element line segment
At the pixel on pixel that overlaps about intersection point and the direction that is configured in described live width with described first element line segment and the described second key element line segment, the i.e. pixel in the zone of the reflex angle side in the angle that is formed by described two continuous key element line segments, described gray correction portion (21) does not make the correction of the such gray scale of live width chap.
15. signal conditioning package according to claim 13 (1), wherein,
Described display control unit (16) also comprises: apart from calculating part (20); This apart from calculating part (20) in the part of the pixel groups of the described display pixel that will consist of described mark, when the pixel groups of live width amount that to be described display pixel form a line in the direction of described live width is made as the key element pixel groups; Each described key element pixel groups is calculated described key element line segment and the distance of central point on the direction of described live width; Wherein, Described central point is the central point that comprises the described key element pixel groups of the pixel that overlaps with this key element line segment
At the pixel of an end of described key element pixel groups with as the pixel of another end adjacent adjacent pixels and be not included in pixel in this key element pixel groups on the direction of described live width with this key element pixel groups, described gray correction portion (21) proofread and correct for the gray scale between the background gray scale of the gray scale of described appointment and shown described mark promptly corresponding to the gray scale of the distance that calculates by described distance calculation portion (20).
16. signal conditioning package according to claim 14 (1), wherein,
Described display control unit, (16) also comprise: distance calculation portion, (20), this distance calculation portion, (20) be that the pixel groups of the live width amount that forms a line on the direction of described display pixel in described live width is when being made as the key element pixel groups in the part of the pixel groups of the described display pixel that will constitute described mark, each described key element pixel groups is calculated described key element line segment and the distance of central point on the direction of described live width, wherein, described central point is the central point that comprises the described key element pixel groups of the pixel that overlaps with this key element line segment
At the pixel of an end of described key element pixel groups with as the pixel of another end adjacent adjacent pixels and be not included in pixel in this key element pixel groups on the direction of described live width with this key element pixel groups, described gray correction portion (21) proofreaies and correct for the gray scale between the background gray scale of the gray scale of described appointment and shown described mark, promptly corresponding to the gray scale of the distance that is calculated by described distance calculation portion (20).
17. information processing method, information based on the skeleton of representing mark, the gray scale that the display frame of having disposed pixel is shown rectangularly have appointment and in any direction of the line direction of described matrix or column direction the mark of the live width of appointment, wherein, described information processing method may further comprise the steps:
In the part of the pixel groups of the display pixel that will constitute described mark, be that the pixel groups of the live width amount that forms a line on the direction of described display pixel in described live width is when being made as the key element pixel groups, calculating is as the key element line segment of the key element of the skeleton line that constitutes described skeleton and the step (S17, S21) of the distance of central point on the direction of described live width, wherein, described central point is the central point that comprises the described key element pixel groups of the display pixel that overlaps with this key element line segment;
The gray scale that will comprise the pixel of an end that is comprised in the described key element pixel groups of described central point is proofreaied and correct for the gray scale between the background gray scale of the gray scale of described mark and this mark, promptly corresponding to the step (S18, S22) of the gray scale of the described distance that calculates; With
Based on described correction, generate the step (S33, S36, S46) that is used for described mark is presented at the video data of described display frame.
18. a program, this program are that to possess the signal conditioning package of the display frame of having disposed pixel performed rectangularly,
Described program makes described signal conditioning package carry out following step (S5), in this step (S5) based on the information of the skeleton of having represented mark, in described display frame, show gray scale and the mark of the live width of appointment in any direction of the line direction of described matrix or column direction with appointment
If will constitute described mark display pixel pixel groups a part, be that the pixel groups of the live width amount that forms a line on the direction of described live width of described display pixel is made as the key element pixel groups, show that then the step (S5) of described mark may further comprise the steps:
Calculate key element line segment and the distance of central point on the direction of described live width as the key element of the skeleton line that constitutes described skeleton, wherein, described central point is the step (S17, S21) that comprises the central point in the described key element pixel groups of the display pixel that overlaps with this key element line segment;
The gray scale that will comprise the pixel of the end that the described key element pixel groups of described central point is comprised is proofreaied and correct for the gray scale between the background gray scale of the gray scale of described mark and this mark, promptly corresponding to the step (S18, S22) of the gray scale of the described distance that calculates; With
Based on described correction, generate and to be used to the step (S33, S36, S46) that makes described display frame show the video data of described mark.
CN200980106789.6A 2008-02-28 2009-02-20 Information processing device, information processing method, and program Pending CN101960512A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008-048398 2008-02-28
JP2008048398A JP4361118B2 (en) 2008-02-28 2008-02-28 Information processing apparatus, information processing method, and program
PCT/JP2009/053019 WO2009107554A1 (en) 2008-02-28 2009-02-20 Information processing device, information processing method, and program

Publications (1)

Publication Number Publication Date
CN101960512A true CN101960512A (en) 2011-01-26

Family

ID=41015951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200980106789.6A Pending CN101960512A (en) 2008-02-28 2009-02-20 Information processing device, information processing method, and program

Country Status (3)

Country Link
JP (1) JP4361118B2 (en)
CN (1) CN101960512A (en)
WO (1) WO2009107554A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104145303A (en) * 2011-11-09 2014-11-12 三菱电机株式会社 Drawing device and drawing program
CN106575496A (en) * 2014-08-28 2017-04-19 Nec显示器解决方案株式会社 Display device, gradation correction map generation device, method and program for generating gradation correction map

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5255132B2 (en) * 2012-01-18 2013-08-07 シャープ株式会社 Multi-tone character display method, multi-tone character display device, multi-tone character display program, television receiver equipped with multi-tone character display device, and mobile phone equipped with multi-tone character display device machine
DE112012006274B4 (en) 2012-04-27 2018-08-23 Mitsubishi Electric Corporation Character drawing apparatus and character drawing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0720845A (en) * 1993-06-18 1995-01-24 Nec Home Electron Ltd Multi-gradational character generating device
JPH08138067A (en) * 1994-11-15 1996-05-31 Fujitsu Ltd Line segment anti-aliasing device
JP4059438B2 (en) * 2003-07-02 2008-03-12 シャープ株式会社 Graphic or character display device, display method, display program, and recording medium recording the display program
JP4079268B2 (en) * 2003-07-03 2008-04-23 シャープ株式会社 Character display device, character display method, character display program, and readable recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104145303A (en) * 2011-11-09 2014-11-12 三菱电机株式会社 Drawing device and drawing program
CN104145303B (en) * 2011-11-09 2016-08-24 三菱电机株式会社 Plotting unit and drawing practice
CN106575496A (en) * 2014-08-28 2017-04-19 Nec显示器解决方案株式会社 Display device, gradation correction map generation device, method and program for generating gradation correction map
US10157582B2 (en) 2014-08-28 2018-12-18 Nec Display Solutions, Ltd. Display device, gradation correction map generation device, gradation correction map generation method, and program
CN106575496B (en) * 2014-08-28 2019-07-23 Nec显示器解决方案株式会社 Display device, gray correction mapping generating means, gray correction mapping generating method and program

Also Published As

Publication number Publication date
JP2009204989A (en) 2009-09-10
JP4361118B2 (en) 2009-11-11
WO2009107554A1 (en) 2009-09-03

Similar Documents

Publication Publication Date Title
CN101281302B (en) Method and apparatus for compensating for display defect of flat panel display
US5119439A (en) Method of and apparatus for extracting image contour data
RU2363046C2 (en) Method of inputting and outputting information using dot pattern
JPH08511119A (en) Raster shape synthesis by direct multi-level filling
US20150138040A1 (en) Multivision display control device and multivision system
US20180260759A1 (en) Segmentation of Images
CN102047189A (en) Cutting process simulation display device, method for displaying cutting process simulation, and cutting process simulation display program
CN101960512A (en) Information processing device, information processing method, and program
CN110415186A (en) A kind of method and apparatus of image de-jittering
CN107220443A (en) A kind of BIM drawings Output of forms
CN112100795A (en) Method and device for comparing computer aided design drawings
CN102955681B (en) Image display device, method for displaying image
CN104424841A (en) Map display apparatus and display method of character strings on map
CN100437746C (en) Character display apparatus, character display method, character display program, and recording medium
CN111582222B (en) Bill image position accurate correction method based on title position reference template
CN110569493B (en) Method and system for adjusting planar design framework
CN116342745A (en) Editing method and device for lane line data, electronic equipment and storage medium
CA3056123A1 (en) Risk assessment tool
JP2786086B2 (en) Direct construction cost calculator
JP2807950B2 (en) Graphic drawing apparatus and its graphic drawing method
JP2002269576A (en) Line segment plotting method and line segment plotting device
US20230410395A1 (en) Content generation method for electronic books and computer-readable medium
JP3725976B2 (en) Typesetting method and typesetting apparatus, and recording medium recording a program for executing the processing
US20120310577A1 (en) Electronic device and method for updating coordinate systems during editing of a measuremnt program
CN116386497A (en) Display adjustment method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20110126

C20 Patent right or utility model deemed to be abandoned or is abandoned