WO2006051795A1 - 処理装置、プログラムおよび記録媒体 - Google Patents

処理装置、プログラムおよび記録媒体 Download PDF

Info

Publication number
WO2006051795A1
WO2006051795A1 PCT/JP2005/020481 JP2005020481W WO2006051795A1 WO 2006051795 A1 WO2006051795 A1 WO 2006051795A1 JP 2005020481 W JP2005020481 W JP 2005020481W WO 2006051795 A1 WO2006051795 A1 WO 2006051795A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
value
point
characteristic
stroke
Prior art date
Application number
PCT/JP2005/020481
Other languages
English (en)
French (fr)
Inventor
Akio Kotani
Yoshimi Asai
Satoshi Okada
Saori Oikawa
Yasuhisa Nakamura
Shigeaki Masuzawa
Original Assignee
Sharp Kabushiki Kaisha
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 Kabushiki Kaisha filed Critical Sharp Kabushiki Kaisha
Priority to CN200580046313XA priority Critical patent/CN101099195B/zh
Publication of WO2006051795A1 publication Critical patent/WO2006051795A1/ja

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • 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

Definitions

  • the present invention calculates a characteristic value indicating a characteristic characteristic of a character and determines the calculated characteristic, a program for causing the processing apparatus to execute a process, and a computer-readable computer storing the program
  • the present invention relates to a recording medium.
  • the present invention calculates a characteristic value indicating a characteristic unique to a character, a processing device that controls processing of character data based on the calculated characteristic value, and a processing device for executing the processing.
  • the present invention relates to a program and a computer-readable recording medium on which the program is recorded.
  • the opportunity to read characters or figures displayed on the liquid crystal display means provided in portable information communication devices has increased rapidly.
  • the liquid crystal display means provided in a portable information communication device for example, a mobile phone
  • the liquid crystal display means provided in a portable information communication device is small (for example, about 2 to 3 inches), and the displayed character or figure may be crushed, and the quality of the character may be impaired.
  • Patent Document 1 discloses a technique for displaying a character on a small liquid crystal display means so that the quality of the character is maintained. This technique makes it possible to adjust the position of strokes or the thickness of strokes contained in characters. Therefore, according to this technique, it is possible to prevent the displayed characters from being crushed and to generate character data indicating characters with maintained quality.
  • Patent Document 1 Japanese Patent Application Laid-Open No. 64-035483
  • the character in the claims is a character / symbol / character / symbol / mark composed of divided parts constituting a symbol or a radical like a radical. Including the pictograms to be identified, but also in the description, it becomes complicated Replace with letters as in the scope of the request.
  • Characters are required to be easy-to-read and high-quality characters in addition to pursuing a function that can be simply identified.
  • characters that are easy to see and have a good quality are used as reference characters by specialists who create the shape of each character in the subjectivity and use it as a reference character.
  • the shape of a character is a structure created by design and recognized as a character, and has various fonts.
  • the technology disclosed in the prior art is a two-dimensional restoration information (surface expansion information) that restores or approximates a reference character shape using character skeletal stroke information, character outline information, or individual correction information. ), It is a method to bring it closer to the reference character, and the pursuit of a technical method to reduce the information necessary for creating each character as much as possible has been an issue.
  • the standard for ensuring the visibility and quality of the restored character is the degree of difference between the shape of the reference character and the restored character.
  • the legibility and quality of the characters will be lost compared to the standard characters.
  • the whole image is not scaled uniformly and deformed in a distorted manner, making it difficult to see and the quality of the characters becoming worse.
  • the contents of the video are explained by showing telop characters on the display screen. This is because it is noisy if the contents of the video are explained by audio. Since the mobile phone display screen is shorter in the horizontal direction than the small vertical direction, it is necessary to make the characters vertically long in order to display many telop characters on the display screen.
  • Patent Document 1 shows a method of correcting the position of the skeleton according to the reduction ratio 'thickness information to compensate for the collapse, and how to correct it in addition to the structure information of the original surface expansion This disclosure is equivalent to the solution of the problem.
  • the conventional disclosed technique is to extract and maintain the two-dimensional restoration information necessary to restore the surface structure of the reference character shape. Place it at the close distance between the shape of the reference character and the restored character.
  • the characteristic value calculated from the character form in the present application described later is that the character form is specified from the viewpoint of specifying the character form.
  • This is not the technical disclosure in the present application, which is a method of calculating the scaled / deformed characters based on the comparison results of the characteristic values of the reference character and the scaled / modified character.
  • the present invention has been made in view of the above problems, a processing device for obtaining a reference character and a characteristic value of the target character, a program for causing a computer to execute predetermined processing, and An object is to provide a computer-readable recording medium in which this program is recorded.
  • the present invention relates to a characteristic value calculation device for calculating a characteristic value representing a characteristic specific to a character form, a program for causing a computer to execute a characteristic value calculation process, and a computer readable recording of this program It is an object to provide a simple recording medium. Means for solving the problem
  • a characteristic value representing a characteristic unique to the character form is written. It is characterized by solving the problem by handling the elements that make up the center of gravity of the character and constituting the center of gravity
  • the shape is a line 'point designed as a character, or each has an outline.
  • the form is a part characterizing the shape of the character and its background. If it is composed of unit areas or coordinate points that have values or weights in the shape and background, the range that affects the center of gravity of the character can be shown more clearly.
  • the shape corresponds to the value of the portion other than the shape, the weighting is “0”, or a constant value within a limited range.
  • the processing apparatus of the present invention includes: a first calculation unit that calculates a target characteristic value indicating a characteristic characteristic of the target character calculated as a characteristic value of the character based on a character form as a target; A reference characteristic value indicating a characteristic characteristic of the reference character calculated as a characteristic value of the character or a comparison means for comparing the target characteristic value with a predetermined reference value, and a target according to a comparison result of the comparison means Judgment means for judging the character characteristic
  • the first calculation means is based on the sum, accumulation or correlation function of the coordinate points on the area including the form of the target character.
  • a control unit that determines control of the character or the device based on the determination result of the determination unit may be included, or a first output unit that outputs shape data indicating the shape of the character based on the result may be further provided.
  • the characteristic value is further processed as a single numerical value or a characteristic value that is a coordinate value of one point in one character. The objective is achieved.
  • the characteristic value is processed as a characteristic value that is a single numerical value or a coordinate value of one point for at least one radical force of one character, thereby achieving the above object.
  • the determination criterion made by the determination means for determining the characteristic degree of the target character is determined so that the characteristic value of the target character is equivalent to, or not equivalent to, the reference characteristic value or a predetermined reference value.
  • 1st criteria for identifying any force inside or outside the range A second criterion for specifying how far a character characteristic value is relative to a reference characteristic value or a predetermined reference value, and processing of the target character based on a comparison result of characteristic values of a plurality of target characters
  • the above object is achieved by determining the characteristics of the target character in accordance with at least one of the third determination criteria for specifying the character.
  • the above object is further characterized by further comprising a function of deciding whether or not to adopt the target character according to the determination result made by the determination means for determining the characteristic level of the target character, or selecting the target character. Achieved.
  • the object is achieved in that the target character is obtained by deforming at least one stroke of the reference character or its enlarged / reduced character.
  • the characteristic value of each deformed character is compared with the characteristic value of the reference character, and the deformed character is specified based on the perspective of the center of gravity, which will be described later. It is possible to determine the order of handling and to use it as a condition for uniform processing.
  • the plurality of target characters are a plurality of target characters, characters having a uniform deformation relationship with the plurality of target characters, or at least one stroke of those expanded / reduced characters is modified.
  • the above object is achieved. Specifically, if a procedure for transforming the target character as a reference is determined, a plurality of target characters having a uniform deformation relationship can be created, and these relationships can be determined by comparing these with the reference character. wear. The deformation can be performed by the same movement as the stroke described above.
  • the reference target character may or may not be included in the target characters to be compared. If this is a reference character, it will be the same as described above.
  • the first calculation means calculates the characteristic value based on values of a plurality of pixels of a character and a plurality of coordinates respectively corresponding to the plurality of pixels, the above object is achieved.
  • the pixel value is a point value
  • the product of the position of each pixel coordinate on each axis and the point value of the pixel is a point moment
  • the value for each axis is calculated.
  • Character characteristic values with coordinates composed of values obtained by dividing the sum of the point moments of pixels in a fixed range by the sum of the point values of pixels in the predetermined range as the position of each axis
  • the point value corresponds to the mass of the coordinate point, and the coordinate force of the center of gravity obtained by Equation 3 and Equation 4 Characteristic value Is possible.
  • the characteristic value may correspond to the mass of characters or the average mass.
  • each pixel is a point-to-point value that is a new pixel value calculated by using the distance from one pixel other than the pixel and the value of both pixels.
  • the value between the two points is obtained by dividing the product of the value of the pixel and the value of one pixel other than the pixel by a predetermined power of the distance between the two pixels.
  • the above-mentioned object can be achieved by characterizing processing of a point-to-point value and a sum of two-point values with a pixel in a predetermined range other than the pixel as a new point value of the pixel.
  • points in the form are affected by all points in a predetermined range other than yourself.
  • the point-to-point value is the force that is affected by the other point.
  • the potential energy at that point is the sum of the values between the two points with all points in the specified range. It corresponds to a new point value.
  • the center of gravity is a coordinate determined by Equations 6 and 7 in “Best Mode for Carrying Out the Invention” and can correspond to the characteristic value described above.
  • the characteristic value corresponds to the potential energy or the average potential energy of the letters.
  • the value of each pixel can also be calculated with a value taking the weight value into consideration.
  • the shape of the character has at least one line on the line connecting two points of the tip of the line that forms the stroke of the character or the outline of the character and a neighboring point defined near the point, and the character shape portion The above object can be achieved by setting the inside of a region surrounded by a closed curve including a majority as a range.
  • the object can be achieved by the fact that the neighboring point is a point on the shape of the character formed by the tip of the line forming the stroke or character outline of the character and the point. .
  • the object can be achieved by the closed curve having at least one line forming the outline of the character on the line. [0033] Further, when the processing device of the present invention is viewed from a different angle, a second calculation means for calculating a characteristic value representing a characteristic specific to the character form, and a character using the calculated characteristic value. The above object can also be achieved by providing a control means for controlling the processing.
  • the above-described object is achieved by processing the characteristic value as a single numerical value or a characteristic value that is a coordinate value of one point in one character.
  • the characteristic value is processed as a characteristic value that is at least one radical force of one character, a single numerical value, or a coordinate value of one point, thereby achieving the above object.
  • the characteristic value is a characteristic value calculated based on a value of each of a plurality of pixels in a predetermined range including a character form and a plurality of coordinates corresponding to each pixel.
  • the value of each pixel is a point value
  • the product of the position of each pixel coordinate on each axis and the point value of the pixel is a point moment
  • pixels in a predetermined range with respect to each axis By characterizing the characteristic value of the character with coordinates composed of values obtained by dividing the sum of the point moments by the sum of the point values of the pixels in the predetermined range as the position of each axis, The above objective is achieved.
  • the value of each pixel is a value between two points which is a new value of the pixel calculated using a distance from one other pixel other than the pixel and a value of both pixels.
  • the above-mentioned purpose is achieved by calculating the characteristic value with the method.
  • the two-point value is obtained by dividing the product of the value of the pixel by the value of one pixel other than the pixel by a predetermined power value of the distance between the two pixels.
  • the above object is achieved by processing a sum of two-point values with a pixel that is an inter-value and is in a predetermined range other than the pixel as a new value of the pixel.
  • the above object is achieved by the feature that the value of each pixel is a value considering a weight value.
  • the character has at least one line connecting two points of the leading end of the line that forms the stroke or outline of the character and the neighboring point defined in the vicinity of the point.
  • the above object can be achieved by making the inside of a region surrounded by a closed curve including a majority of the character shape portions a range.
  • the above object can also be achieved by using a readable recording medium equipped with the program. That is, a program for causing a computer to execute a predetermined process, in which the predetermined process calculates a target characteristic value indicating a specific characteristic of the target character calculated based on the form of the target character.
  • the step of controlling the processing device and the characteristic value are processed as a single numerical value or a coordinate value of one point in one character, or at least one radical of one character is processed.
  • the above-mentioned object is achieved by using a program including a step of processing as a single numerical value or a coordinate value of one point. That is, the above object can be achieved by using a computer-readable recording medium that records a program for causing a computer to execute a predetermined process and that includes the program.
  • a program for causing a computer to execute a predetermined process wherein the predetermined process includes a step of calculating a characteristic value representing a characteristic unique to a character form, and the calculated characteristic value.
  • the character processing step and the characteristic value are processed as a single numerical value or a coordinate value of one point in one character, or at least one radical of one character is processed as a single numerical value or
  • the above object is achieved by using a program including a step of processing as a coordinate value of one point.
  • the object can be achieved by using the recording medium including the program of claim 29. Achieved.
  • the characteristic value calculated in the present invention is a value indicating the character characteristic based on the character form, and can be processed by the device as a value indicating the legibility and quality of the character.
  • FIG. 1 is a diagram showing a configuration of a character data generation device 100 according to an embodiment of the present invention.
  • FIG. 2 shows an example of character data 42a.
  • FIG. 3 is a diagram showing characters displayed in a size of 256 ⁇ 256 pixels based on character data 42a (see FIG. 2).
  • FIG. 4 is a flowchart showing a processing procedure of a character data generation program 41.
  • FIG. 5A Kanji "mapped" with a size of 24 x 24 pixels based on true character data
  • FIG. 1 A first figure.
  • FIG. 5B is a diagram showing the Chinese character “stop” mapped with a size of 24 ⁇ 24 pixels based on the authentic character data.
  • En 6A is a diagram showing a region surrounded by a polygonal border that circumscribes the real character (top).
  • En 6B] is a diagram showing a region surrounded by a polygonal border that circumscribes a real character (stop).
  • FIG. 7A is a diagram showing a Chinese character “upper” mapped in a size of 12 ⁇ 24 pixels based on simple long-character data.
  • FIG. 7B is a diagram showing the Chinese character “stop” mapped with a size of 12 ⁇ 24 pixels based on simple long character data.
  • FIG. 8A Plural deformed characters H2 to H22, plural characteristic value target areas P2 to P22 corresponding to plural deformed characters H2 to H22, and plural corresponding to plural deformed characters H2 to H22, respectively. It is a figure which shows these characteristic values.
  • FIG. 8B A plurality of modified characters K2 to K22, a plurality of characteristic value target areas L2 to L22 corresponding to each of the plurality of modified characters K2 to K22, and a plurality of corresponding to each of the plurality of modified characters ⁇ 2 to ⁇ 22 It is a figure which shows a characteristic value.
  • FIG. 9B is a diagram showing a deformed character (corrected long character) mapped at a size of 12 ⁇ 24 pixels based on the deformed character data indicating the deformed character HI 2.
  • FIG. 9B is a diagram showing a deformed character (corrected long character) mapped to a size of 12 ⁇ 24 pixels based on the deformed character data indicating the deformed character K11.
  • FIG. 10 is a diagram showing a character mapped with a predetermined pixel size based on character data and the center of mass of the character.
  • FIG. 11A is a diagram for explaining the center of gravity of the character mass calculated based on the weighted mass, in which the target area is surrounded by a polygonal border line circumscribing the character.
  • FIG. 11B is a diagram for explaining the center of gravity of the character mass calculated based on the weighted mass, in which the target region is surrounded by a curved boundary line circumscribing the character.
  • FIG. 12A is a diagram illustrating the definition of character shapes.
  • FIG. 12B is an explanatory table of the portion described in FIG. 12A.
  • FIG. 13 is an explanatory diagram in which values and weights are given to points of respective parts.
  • FIG. 14 is an explanatory diagram of a shadow portion on the outer periphery of a character outline.
  • character means a character / symbol composed of a radical in a character 'symbol' character or a divided part constituting a symbol like a radical. Alternatively, it includes a pictorial symbol identified as a mark.
  • the shape is a line 'point designed as a character, or each has an outline.
  • the portion A within the “upper” contour is the shape.
  • a form is a part that characterizes the shape of a character and its background. If it is composed of unit areas or coordinate points that have values or weights in the shape and background, the range that affects the center of gravity of the character can be shown more clearly.
  • the value of the part other than the shape the weight is "0" or the range Is equivalent to a constant value.
  • the range of the form is a stroke that can be used as a part of shape A, the vicinity of the tip of the contour line (12-1), and the vicinity It is also good as a (A + B) area inside a closed curve that defines points and connects them on the line.
  • the closed curves XI to X8 shown in the example are points on the shape and are also the end points of the tip part XI ⁇ ⁇ ⁇ including the point ⁇ 5 ⁇ ⁇ ⁇ including the point X8 X2_X3, X4_X5, X1—X8 connecting the end points Contour lines ⁇ 1 _ ⁇ 2, ⁇ 3_ ⁇ 4, ⁇ 5_ ⁇ 6, ⁇ 7— ⁇ 8 are included.
  • the shape ⁇ is included inside.
  • the inside of the closed curve formed by connecting the center point of XI and X2, the center point of X3 and X4, the center point of X5 and X6, and the center point of X7 and X8 is one.
  • the contour line of the shape may be included in the closed curve (the closed curve in Fig. 12 includes (12-3)).
  • the degree of influence on the handling of forms by interacting with each other including not only the shape of the character itself but also its surroundings by changing the values and weights in the interior and surrounding parts of the shape and coordinates.
  • Can be determined in consideration of The point that does not need to be in terms of shape is that the characteristic value of the character, which will be described later, is determined by including the environment surrounding the character, and calculation that tries to restore the shape of the character as in the conventional technology. It is also an example of what is not done.
  • FIG. 12B provides an explanation of each part of FIG. 12A.
  • Figure 13 shows an example of assigning values and weights to the points in each part.
  • the form is determined by how each region is handled, and the calculation method when the number of points is limited to a few points in the mass type / potential type described later as an example of how to calculate the center of gravity is simplified. Is shown. Specifically, it will be described later how values and weights relate to each other, indicating that “quantitative handling including characters and the surrounding environment” is possible.
  • the form depends on the value and weight to be specified, the shape part (A in Fig. 12A), the interior of the frame in the background (A'B 'C in Fig. 12A), or the shadow on the outline of the outline. (Fig. 14), pattern and color in the background, the inside of a closed curve connecting neighboring points ( ⁇ ⁇ ⁇ ), It depends on how points such as the shape part (D-shaped part) and the outside (E) outside the frame are determined. It can be conditioned by determining the values and weights of the points that take into account what kind of background environment ⁇ adjacent environment to use. Conditions can be handled in a unified manner, even if they are handled in a unified manner. The standard characteristic values can be handled uniformly, and certain parts can be individually decided. good.
  • the characteristic value of the character is determined for the character form determined by the conditions determined including the value and weight of the shape / background constituent points.
  • the character which is one of the basic ideas of the present invention
  • a characteristic value indicating the unique property of the character taking the background into account
  • one characteristic value can be calculated for a predetermined radical. That is, it is possible to characterize a character with at least one characteristic value including the surrounding environment.
  • the quantitative characteristic value representation of characters is a new concept and a new technology disclosure.
  • the concept of the center of gravity can be taken as the characteristic value.
  • the center of gravity is finally expressed in the coordinates of the center of gravity, but this can also be handled by the average mass of characters, the average potentio total mass' total potential, which can be processed by the same calculation method.
  • the concept of the center of gravity will be explained.
  • the expression of the characters is the same, but the way of finding them is also very different from the viewpoint of using them.
  • Patterns ⁇ It is also affected by the arrangement of adjacent characters on the top, bottom, left, and right. It is the center of gravity determined by the subjectivity of the person, varies from person to person, and cannot be determined quantitatively.
  • the center of gravity of the character in the present application varies from person to person like the center of gravity of the subjective character. Without any effort, a unique value is obtained regardless of who calculates it, and is a value that conforms to the form of the character, and is quantified as a parameter that can be processed by the device as a characteristic value that indicates the legibility of the character.
  • this pursuit method is a technical disclosure completely different from the conventional prior art. In other words, it is a new concept that can represent all characters with at least one eigenvalue and coordinates.
  • this is a technique in which the morphological characteristics of characters are converted into quadrants (function conversion) into quadrants where characteristic values can be aggregated, and each character is controlled based on the projection result of each character.
  • the center of gravity is a characteristic value representing a characteristic unique to the form, which is calculated by the sum / accumulation of each value at a coordinate point indicating the form of the character or a correlation function.
  • a character functions as a set of fixed codes as more discriminating codes consisting of a single character, and has a common part in structure. It is the same in general characters 'symbols' symbols.
  • general characters there is a method of reducing the amount of character storage based on the concept of selecting the same for radical selection and using it in common. In such a case, one character is assigned one characteristic. If a characteristic value is obtained for a specified radical without appearing as a value, one character can have the characteristic value by the number of the determined radical.
  • An example was shown at the radical, but the same concept is to express the symbol 'pictogram' part in the same way, and to display one symbol 'pictogram with multiple characteristic values.
  • the characteristic value as a white background, shape black, character frame, or black in the closet that is a closed curve defined by a certain method, or shape black, out of shape It is also possible to use the center of gravity calculated by changing the values and weights with gray as the synoret and gray as the background other than the synoret. It is also possible to obtain a quantitative center of gravity close to the subjective center of gravity of the character by determining the form of the character and the method of calculating the characteristic value. As a result, a range is set under a predetermined condition, and it is handled with the characteristic value as a character form.
  • the range of the character form can be considered from the case of only the shape of the character to the case where the character silhouette is painted black.
  • the position of the subjective center of gravity has also changed, and a result that can be brought closer to the subjective center of gravity is obtained by changing the value and weight of the coordinate point and the form that defines the quantitative weight. Because of the quantitative handling, it is possible to determine the characteristic value and form. • How to determine the center of gravity.
  • the target characteristic value indicating the characteristic characteristic of the target character calculated as the characteristic value of the target character based on the form of the target character and the characteristic value of the reference character
  • the target characteristic value By comparing the target characteristic value with the reference characteristic value or the predetermined reference value indicating the specific characteristic of the reference character calculated as follows, and determining the characteristic degree of the target character according to the comparison result, various characteristic values are obtained. Can be used.
  • each characteristic value of the reference character and the target character is calculated separately, and the reference characteristic value and the target characteristic value are compared.
  • the comparison result is determined under a predetermined condition, and the form data of the target character is controlled or output according to the determination result.
  • Predetermined conditions are that the comparison result is within or outside of a certain standard, and the control may be whether the comparison result is closest or distant among multiple comparison results. It may be a thing.
  • the target characters may be selected by these.
  • the outline of the character form is summarized as follows if the forces described in Fig. 12 ⁇ , Fig. 12 ⁇ , and Fig. 13 are summarized. [0065] The form will be further described.
  • the form of the character is limited to a form that can be normally recognized in terms of design, or the end point of the line that forms the stroke or outline of the character is selected.
  • the internal region of a closed curve that includes a line that passes through a predetermined selection end point is formed, or the internal region of a closed curve that is formed by a line drawn between the selection end points and the outline of the character is It is also possible to use a technique of the form.
  • the point at the tip of the stroke or contour may be on the shape or outside the shape, but may be a point near the tip.
  • the nearby points include points on the shape.
  • the nearby points include a point having a tip portion such as a stroke inside, and a point close to an outer peripheral line surrounding the shape. These can be determined individually or uniformly. In other words, this is a selective point determined by the character.
  • the area inside the closed curve including the line connecting at least two selectively defined points can be the form range. This includes the majority of the shape.
  • the shape portion and other silhouette values and weights may be changed.
  • the form of the character has at least one line on the line connecting two points of the tip of the line that forms the stroke of the character or the outline of the character and the neighboring point defined in the vicinity of the point.
  • the inside of the area surrounded by the closed curve including the majority of the shape part can be the range.
  • the neighboring point may be a point on the shape of the character formed by the tip of the line forming the stroke or the outline of the character and the point.
  • the closed curve may have at least one line forming the outline of the character on the line.
  • Various character forms can be handled by setting the value and weight of each point.
  • the center of gravity is specified by the setting of the shape of the character and the background 'position of the coordinate point within the range including the adjacent character' and the weight.
  • the calculation value of the coordinate point the product of the value of the coordinate point and the weight is used. Considering a case example, it is possible to set the form to a standard form with all peripheral weights' values set to a constant value, and if the constant value is set to 0, it can be treated as equivalent to the form. Can be handled independently of the background.
  • the range of the coordinate points of the background can be limited, for example, in a character frame, a shadow portion corresponding to the shape around the character shape, or a character synoette portion described later can be handled. . If the range of the character form is further supplemented, the inside of the outline of the shape and the background portion may have different values at each coordinate which may be changed in weighting at each coordinate point of the arithmetic expression described later. Furthermore, if there is a background color around it, it can be configured according to the color development. That is, it is a range in which the characteristic value of the character determined by the condition including the periphery of the character is calculated.
  • the character form quantitatively determines the legibility of characters that can be handled as standard, including the background environment when characters are handled in various backgrounds where the characters are used.
  • This is a development area.
  • This is a range that is determined in advance to affect the shape designed as characters and the surrounding area. If it is handled in a limited way, it is possible to treat the portion that is most strongly influenced by subjectivity in the vicinity of the character including the shape as the main form and the range to be given as the normal form.
  • the influence level can be adjusted by selecting the range and changing the weight and value in calculating the characteristic value according to the influence degree.
  • the weight of the part constituting the character is set to 1 and the background is calculated with a weight of 0, 0.5, 0.05, etc. Is possible.
  • values and weights are set for the “upper” character and background shown in FIG. Examples of methods.
  • Each point in each area A to E Pln to P6n The value of the point and the weight setting are used to determine the point value for calculating the center of gravity.
  • the case calculated in (2) is calculated as an example. Since the coordinates of each point are complicated, it is described by calculating the point value that clearly shows the difference between the two. It is clear from the formula described later that the center of gravity can be calculated using the same concept once the point value is determined.
  • the above-mentioned problem can be solved by determining the center of gravity of the character as the center of gravity of the character, which is a characteristic value representing the characteristic unique to the form of the character.
  • One way to determine the mass of a character is shown below.
  • the form of the character is a set of unit areas constituting the range defined as the form.
  • the specific value that the product part has is called the unit quantity, and the sum of the unit quantities can be the mass of the characters. If the characters are taken on coordinates, one coordinate point can be used as the unit area, and the pixel value of each coordinate point can be used as the unit amount.
  • a unit area with multiple evaluation points, and the pixel values of the coordinate points may be equivalent to the unit amount or may be the average value of the unit amount of the unit area. Examples that show unit quantities are density, and physical quantities such as gradation 'brightness' color 'illuminance' density 'brightness' and artificially set numerical values can be raised. In terms of the relative relationship with the physical mass, it can be considered in the same dimension if it is considered to be composed of thickness, force, unit length of unit area.
  • the unit amount is also a unit mass.
  • the center of gravity of a character is the center of the distribution of unit mass of the character.
  • the weight of the character including the background can be calculated by using the same concept of unit mass for the background of the character.
  • the calculation of the specific mass of a character is based on the sum of pixel values (including the sum of representative points) of all the coordinate points formed by the coordinate points in the form of the character in consideration of the effect on the mass of the character. Can be mass.
  • the position on each axis of the center of gravity coordinates of the character is the sum of the product of the unit mass of the influencing point, the position where the point is projected on each axis and the weight of each point, and the mass of the character. It is calculated by dividing.
  • X is the number of pixels in the horizontal direction
  • Y is the number of pixels in the vertical direction
  • is the number of pixels in the horizontal direction
  • the special value of the center of gravity is the potential of.
  • the characteristic value representing the characteristic unique to the character form is used as the center of gravity of the character, and the center of gravity solves the problem by obtaining the center of gravity of the character potential.
  • the center of gravity of the character is considered as a method for quantitatively determining the effect of other points on each point indicating the form of the character. The method is shown below.
  • the sum of the influence of each point of the character shape and the background on the points that form the character form is the point potential of the points that make up the character form, and all of the characters that make up the character form
  • the total point potential of the points can be said to be the potential of the characters.
  • the center of gravity of the character potential is obtained as the center of the distribution of the point potential. In other words, if the force acting on the point that affects the point determined as the form is considered, it is expressed as a vector, and the sum of all the vectors from the point determined to be affected is considered to be the vector of the point that can be affected. .
  • the emphasis is obtained by limiting the shape of the character to a shape that can be normally recognized in terms of design, or, as will be described in detail later, the character stroke is a character stroke.
  • a method is also conceivable in which the end points to be formed are selectively determined, and the inside of the area formed by the lines passing through the end points is in the form of characters. Furthermore, it is possible to easily use the method of finding the center of gravity including characters in the background. The scope of these methods can be determined by the handling of characters, and is the same regardless of the handling of the center of gravity by mass and the center of gravity by potential.
  • the points representing the form of characters and the points that affect them have values, and when viewed as the mass of each, the potential of the character can be treated as the potential energy of the character.
  • the position on each axis of the barycentric coordinates of the potential of the character is the sum of the potential energy of the affecting point, the position of the projected point on that axis, and the product of the weight of each point on each axis. It is obtained by dividing by the potential energy of. [0085] That is, if the center of gravity of the potential energy of the character (GRPx, GRPy), the distance r between the potential energy P (X, y) and P (X, y) and P (xi, yi) at each point and GRPx 'GRPy is obtained by the following equation.
  • the multiplier k is usually 2, but it may be processed with arbitrary values.
  • w is the sum of the potential energies of the points that make up the character form.
  • GRPx — P f , ⁇ ⁇ ⁇ ⁇
  • the ability to calculate and handle the characteristic values that can represent the character shape and background characteristics by determining the character form means that it has the power to have a lot of data to represent the shape.
  • This is a differentiated disclosure technology that can be handled with unique characteristic values from the point of view of handling with a code as a simple name. That is, the identification characteristic value itself expresses the characteristic of the form.
  • the bitmap coordinates of the conventional shape do not show the shape unless they are expanded, but this application can be identified by the value itself.
  • a single character may have a single characteristic value.
  • each radical can also have a characteristic value.
  • a character can be handled as a combination of multiple characteristic values instead of a single one.
  • the control for comparison and identification is several steps compared to conventional geometric comparison processing. Easy. Naturally, the method for obtaining the characteristic value described above is applied.
  • FIG. 1 shows a configuration of character data generation apparatus 100 according to the embodiment of the present invention.
  • the character data generation device 100 functions as a processing device according to the embodiment of the present invention.
  • Character data generation device 100 may be, for example, a personal computer.
  • the personal computer for example, any type of computer of a desktop type or a laptop type can be used.
  • the character data generation device 100 may be a word processor.
  • the character data generation device 100 can be any information display device such as an electronic device or an information device provided with display means capable of displaying at least one of color display and monochrome display.
  • the character data generation device 100 may be an electronic device including a powerful liquid crystal display device, a mobile information terminal that is a mobile information tool, a mobile phone including a PHS, or a communication device such as a general phone ZFAX.
  • the character data generation device 100 may be a television or a projector.
  • Character data generating apparatus 100 includes display means 10 capable of color display, control means 20 for controlling display means 10 to display characters on display means 10, and characters to be displayed on display means 10.
  • the input means 30 used for inputting the character information indicating the above to the control means 20 and the auxiliary memory 40 are included.
  • Display means 10, input means 30, and auxiliary memory 40 are connected to control means 20.
  • the character information includes, for example, a character code for identifying the character and a character size indicating the size of the character.
  • the character codes are, for example, JIS code, shift JIS code, EUC code, block code, and UNICODE.
  • any type of input device capable of inputting character information can be used.
  • a keyboard, mouse, or pen input device can be suitably used as the input means 30.
  • the character data generation device 100 is a mobile phone
  • a numeric key for designating the telephone number of the call destination may be used to input character information.
  • the size of the character displayed on the display means 10 is fixed to one in advance, the input of the character size can be omitted.
  • the character data generating apparatus 100 includes a connection means for connecting to a communication line including the Internet
  • the message data included in the e-mail received from the communication line is displayed. May be displayed on the display means 10.
  • the connection means functions as the input means 30.
  • a character data generation program 41 and data 42 necessary for executing the character data generation program 41 are stored.
  • the data 42 includes character data 42a indicating a character.
  • the character data 42a is font data, for example.
  • the font data is represented in at least one of an outline font format, a stroke format, and a bitmap format. Characters include character radicals, part of characters, and alphabets. Details of the character data generation program 41 and the character data 42a will be described later.
  • auxiliary memory 40 any type of storage device capable of storing the character data generation program 41 and the data 42 can be used.
  • a recording medium such as a hard disk, CD-ROM, MO, MD, DVD, IC card, or optical card can be suitably used.
  • the character data generation program 41 and the data 42 are not limited to being stored in the auxiliary memory 40.
  • the character data generation program 41 and the data 42 may be stored in a memory included in the control means 20, or may be stored in a ROM (not shown).
  • the ROM can be, for example, a mask ROM, EPROM, EEPROM, or flash ROM.
  • the recording medium for storing the character data generation program 41 and the data 42 carries the program and data in a fixed manner.
  • the character data generation device 100 has means for connecting to a communication line including the Internet, it is possible to download at least a part of the character data generation program 41 and data 42 from the communication line. it can.
  • the loader program necessary for downloading may be stored in advance in a ROM (not shown), or may be installed in the control means 20 from the auxiliary memory 40.
  • the control means 20 includes a CPU 21 and a main memory 22.
  • the CPU 21 controls and monitors the entire character data generating apparatus 100 and executes a character data generating program 41 stored in the auxiliary memory 40.
  • the CPU 21 generates character data based on various data stored in the main memory 22. By executing the program 41, deformed character data indicating the deformed character is generated. The generated deformed character data is temporarily stored in the main memory 22 and then output to the display means 10. The timing at which the deformed character data is output to the display means 10 is controlled by the CPU 21.
  • the main memory 22 temporarily stores data input from the input unit 30, data to be displayed on the display unit 10, and data necessary for executing the character data generation program 41.
  • the display unit 10 receives the modified character data output from the control unit 20, and the display unit 10 displays the modified character.
  • the display means 10 is, for example, a color liquid crystal display device.
  • a color liquid crystal display device a reflection type or rear pro type liquid crystal display device can be used in addition to a transmission type liquid crystal display device often used for personal computers.
  • the display means 10 is not limited to a color liquid crystal display device.
  • any color display device (a so-called XY matrix display device) having a plurality of pixels arranged in the X direction and the Y direction can be used.
  • the deformed character is not limited to being displayed on the display means.
  • the deformed characters can be printed on paper.
  • the character data generation device 100 includes a printer instead of the display means 10 or in addition to the display means 10. The printer receives the deformed character data output from the control means 20. This printer prints deformed characters on paper.
  • the deformed character data can be output to a telephone communication line including the Internet.
  • the character data generation device 100 includes connection means for connecting the character data generation device 100 to the telephone communication line instead of the display means 10 or in addition to the display means 10.
  • the character data generation device 100 outputs the modified character data to the telephone communication line via this connection means.
  • FIG. 3 shows characters displayed in a size of 256 ⁇ 256 pixels based on the character data 42a in the data 42 in the auxiliary memory.
  • Figure 3 (a) shows the Kanji character "up” displayed with a size of 256 x 256 pixels.
  • the Chinese character “above” includes stroke # 1—1, stroke # 1—2, and stroke # 1—3.
  • Stroke # 1 — 1 connects point (111, 155) and point (211, 155)
  • stroke # 1— 2 connects point (111, 2 44) and point (111, 11)
  • stroke # 1— 3 connects point (0, 11) and point (244, 11).
  • the stroke “ ⁇ ” is represented by stroke # ⁇ — ⁇ , stroke # 1—2, and stroke # 1—3.
  • Fig. 3 (b) shows the Chinese character "middle” displayed at a size of 256x256 pixels based on the character data (see Fig. 2 (b)).
  • the Chinese character “middle” includes stroke # 2 _i, stroke # 2—2, stroke # 2—3, stroke # 2—4, and stroke # 2—5.
  • Stroke # 2—1 connects point, (22, 200) to point, (22, 78), and stroke # 2—2 connects to point, (22, 200) and point, (2 22, 200) Stroke # 2—3 connects point (222, 200) and point (222, 78), and stroke # 2—4 connects point (22, 100) and point (222, 100) Stroke # 2-5 connects point (122, 244) and point (122, 0).
  • Stroke # 2_1, Stroke # 2_2, Stroke # 2—3, Stroke # 2—4, and Stroke # 2—5 represent the Chinese character “middle”.
  • FIG. 3 (c) shows the Chinese character “bottom” displayed in a size of 256 ⁇ 256 pixels.
  • the Chinese character “bottom” includes stroke # 3—1, stroke # 3—2, stroke # 3—3, and stroke # 3—4.
  • Stroke # 3—1 connects point (0, 222) and point (244, 222)
  • stroke # 3—2 connects point, (111, 222) and point, (111, 0)
  • Stroke # 3-3 connects point, (111, 166) to point, (166, 144)
  • stroke # 3-4 connects point, (166, 144) to point, (200, 100) tie.
  • the stroke “K” is expressed by stroke # 3—1, stroke # 3—2, stroke # 3—3, and stroke # 3—4.
  • FIG. 3 (d) shows the Chinese character “stop” displayed in a size of 256 ⁇ 256 pixels.
  • the Chinese character “stop” includes stroke # 4—1, stroke # 4—2, stroke # 4—3, and stroke # 4—4.
  • Stroke # 4-1 connects point (111, 155) to point (211, 155)
  • stroke # 4_2 connects point, (111, 244) to point
  • Stroke # 4-3 connects point, (0, 11) and point, (244, 11)
  • stroke # 4-4 includes point, (43, 149) and point, (43, 11) Tie.
  • Stroke # 4—1, Stroke # 4—2, Stroke # 4—3, and Stroke # 4—4 represent the Chinese character “Stop”.
  • FIG. 2 shows an example of the character data 42a in the auxiliary memory of the displayed character shown in FIG. Show.
  • the character data 42a is font data, for example.
  • FIG. 2 (a) shows character data indicating the Chinese character “up” described in the display example in FIG. 3 (a).
  • the details of the character data indicating the Chinese character “upper” will be described below with reference to FIG.
  • the Kanji “Up” includes three strokes (Stroke # 1—1, Stroke # 1—2, Stroke # 1—3).
  • the shape of the Chinese character “Up” is indicated by three strokes (Stroke # 1—1, Stroke # 1—2, Stroke # 1—3).
  • the character data includes code data 01 indicating the character code, stroke number data 02 indicating the number of strokes included in the character, stroke data 08A indicating the stroke # 1 _ 1, and stroke # 1 _ 2. Stroke data 08B indicating stroke and stroke data 08C indicating stroke # 1_3 are included.
  • Code data 01 indicates a block code 3069 indicating the Chinese character "up”.
  • the stroke number data 0 2 indicates the value “3”.
  • a value “3” in data 02 indicates that the number of strokes is three.
  • Each of stroke data 08A, stroke data 08B, and stroke data 08C indicates the number data 03 indicating the stroke number, the first data 04, the second data 05, and the coordinates of the start point of the stroke. It includes start point coordinate data 06 and end point coordinate data 07 indicating the coordinates of the end point of the stroke.
  • First data 04 indicates whether or not the stroke is movable to adjust the Y coordinate of the center of gravity of the character.
  • the Y coordinate of the center of gravity of the character indicates the balance between the upper and lower parts of the character.
  • the value force of the first data 04 is “1”, the stroke is movable, and when the value force of the first data 04 is “0”, the stroke is immovable.
  • the value of the first data 04 is, for example, set in advance for each character when the character data is created.
  • the value of the first data 04 is not limited to “0” or “1”.
  • the value of the first data 04 is arbitrary as long as it can indicate whether or not the stroke is movable.
  • Second data 05 indicates whether or not the stroke is movable to adjust the X coordinate of the center of gravity of the character.
  • the X coordinate of the center of gravity of the character indicates the balance between the left and right parts of the character.
  • the value of the second data 05 is, for example, set in advance for each character when character data is created.
  • Second The value of data 05 is not limited to “0” or “1”.
  • the value of the second data 05 is arbitrary as long as it can indicate whether or not the stroke is movable.
  • the number data 03 indicates the value “1”. This indicates that stroke # 1— 1 is the first stroke among the three strokes contained in the kanji “Up”.
  • the first data 04 indicates the value “1”. This indicates that the stroke can be moved to adjust the Y coordinate of the center of gravity of the character.
  • the second data 05 indicates the value “1”. This indicates that stroke # 1 _ 1 can be moved to adjust the X coordinate of the center of gravity of the character.
  • the start point coordinate data 06 indicates coordinates (111, 155), and the end point coordinate data 07 indicates coordinates (21 1, 155). These indicate that the stroke connects the start point (111, 155) and the end point (211, 155).
  • the number data 03 indicates the value “2”. This indicates that stroke # 1—2 is the second stroke among the three strokes included in the upper “Kanji”.
  • the first data 04 indicates the value “0”. This indicates that stroke # 1 2 cannot be moved to adjust the Y coordinate of the character's center of gravity.
  • the second data 05 indicates the value “1”. This indicates that stroke # 1 2 can be moved to adjust the X coordinate of the center of gravity of the character.
  • the start point coordinate data 06 indicates coordinates (111, 244), and the end point coordinate data 07 indicates coordinates (11 1, 11). These indicate that stroke # 1-2 connects the start point (111, 244) and the end point (111, 11).
  • the number data 03 indicates the value “3”. This indicates that stroke # 1-3 is the third stroke out of the three strokes contained in the kanji "Up”.
  • the first data 04 indicates the value “0”. This indicates that stroke # 1_3 cannot be moved to adjust the Y coordinate of the center of gravity of the character.
  • the second data 05 indicates the value “0”. This indicates that stroke # 1-3 cannot be moved to adjust the X coordinate of the center of gravity of the character.
  • the start point coordinate data 06 indicates coordinates (0, 11), and the end point coordinate data 07 indicates coordinates (244, 11). These are because stroke # 1-3 connects the start point (0, 11) and the end point (244, 11). It shows.
  • FIG. 2B shows character data indicating the Chinese character “middle” described in the display example in FIG. 3B.
  • Code data 01 indicates a block code 3570 indicating the Chinese character “middle”.
  • FIG. 2 (c) shows character data indicating the Chinese character “lower” described in the display example in FIG. 3 (c).
  • the code data 01 indicates a block code 1828 indicating the Chinese character “below”.
  • FIG. 2 (d) shows character data indicating the Chinese character “stop” described in the display example in FIG. 3 (d).
  • the code data 01 indicates a block code 2763 indicating the Chinese character “stop”.
  • the value of the first data 04 and the value of the second data 05 are not limited to the value “0” or the value “1”. As long as the first data 04 indicates whether the stroke can be moved to adjust the Y coordinate of the center of gravity of the character, the value of the first data 04 is arbitrary. As long as the second data 05 indicates whether the stroke can be moved to adjust the X coordinate of the center of gravity of the character, the value of the second data 05 is arbitrary.
  • the first data 04 may indicate the number of strokes to move to adjust the Y coordinate of the center of gravity of the character.
  • the value of the first data 04 included in the stroke data 08A is “1”
  • the value S “2” of the first data 04 included in the stroke data 08B is “1”
  • the order of the strokes to be moved is stroke # 1—1, stroke # 1—2, stroke # 1—3.
  • the second data 05 may indicate the number of strokes to move to adjust the X coordinate of the center of gravity of the character.
  • the value of the second data 05 included in the stroke data 08A is “1”
  • the value S “3” of the second data 05 included in the stroke data 08B is the first value included in the stroke data 08C. 2
  • the order of the strokes to be moved is stroke # 1—1, stroke # 1—3, and stroke # 1—2.
  • first data 04 may indicate whether or not at least one of the start point and the end point of the stroke can be moved in order to adjust the Y coordinate of the center of gravity of the character.
  • First 1 Data 05 may indicate whether or not at least one of the stroke start point and stroke end point can be moved in order to adjust the X coordinate of the center of gravity of the character.
  • the value of the first data 04 is "2"
  • only the start point of the stroke can be moved, and the value of the first data 04 is "3".
  • only the stroke end point may be movable among the stroke start and end points.
  • the value of the first data 04 is “4”
  • the start point and end point of the stroke may be movable.
  • the character code indicated by the code data 01 is not limited to the block code.
  • Other character codes for example, JIS code, shift JIS code, EUC code, UNICODE
  • JIS code JIS code
  • shift JIS code shift JIS code
  • EUC code EUC code
  • UNICODE UNICODE
  • FIG. 4 shows the processing procedure of the character data generation program 41.
  • the character data generation program 41 is executed by the CPU 21.
  • the target character of the present invention can deform at least one stroke of the reference character or its expanded / contracted character, and the plurality of target characters are uniform with the plurality of target characters or the plurality of target characters. It is also possible to transform at least one stroke of the characters in the deformation relationship or the expanded / reduced characters.
  • Step S1 Character information (character code 3069) is input to the main memory 22 via the input means 30. Character data corresponding to the input character information is read from the auxiliary memory 40 out of the character data 42a stored in the auxiliary memory 40. The read character data indicates the shape of the character. The read character data is, for example, shown in Fig. 2 (a). Is done.
  • Step S2 Based on the character data, true character data indicating the character to be transformed is generated.
  • the generated true character data is input to the main memory 22.
  • the plurality of strokes are reduced to a predetermined size so that the plurality of strokes included in the character are adapted to the size of the display area of the display means 10, and the plurality of strokes on the reduced strokes.
  • the coordinate values are quantized in a predetermined manner. In this way, authentic character data is generated based on the character data.
  • the coordinate values on a plurality of strokes are each multiplied by 24/256, and the fractional part of each coordinate value multiplied by 24/256 is rounded down.
  • FIG. 5A shows a Chinese character “upper” mapped with a size of 24 ⁇ 24 pixels based on the character data.
  • FIG. 5B shows the Chinese character “stop” mapped with a size of 24 ⁇ 24 pixels based on the authentic character data.
  • stroke # 4 end point (211, 155)
  • stroke # 4 start point (111, 24 4)
  • stroke # 4 end point (111, 11)
  • stroke # 4 3 start point (0, 11)
  • stroke # 4 Calculates multiple coordinates (19, 14), (10, 22), (10, 1), (0, 1), (22, 1) based on the end point (43, 11) of 4 Is done.
  • the predetermined method is not limited to truncation.
  • rounding up may be used. Rounding may be used as a predetermined method.
  • a desired threshold value may be used.
  • Step S3 A reference value target area that is a target for calculating a reference value is determined based on the stroke included in the authentic character.
  • the reference value target area is, for example, an area surrounded by a polygonal border that circumscribes the character.
  • FIG. 6A shows a region surrounded by a polygonal border that circumscribes the true character (top).
  • the area filled with black is surrounded by polygonal borders.
  • the vertices of the polygon are (0, 1), (22, 1), (19, 14) and (10, 22).
  • FIG. 6B shows a region surrounded by a polygonal border circumscribing a true character (stop).
  • the area filled with black is surrounded by polygonal borders.
  • the vertices of the polygon are (0, 1), (22, 1), (19, 14), (10, 22) and (4, 14).
  • Step S5 The position of the center of gravity that becomes the reference value from Equation 2 and Equation 3 from the mass w obtained in Step S4
  • Step S7 A movable stroke is selected from a plurality of strokes. Specifically, in the case of FIG. 2 (a), the first data 04 included in the stroke data is referred to, and the movable stroke # 1 1 is selected.
  • Step S8 In the case of Fig. 2 (a), stroke # 1 _ 1 is within the movable range and the stroke
  • deformed character data indicating the deformed character is generated.
  • deformed character data such as H10 in FIG. 8A (a) is generated.
  • stroke # 4 _1 and stroke # 4—4 are within the movable range, and stroke # 4-1—stroke # 4—4 are moved to generate deformed character data indicating the deformed character. Is done.
  • deformed character data such as K10 in (a) of FIG. 8B is generated.
  • H10 in FIG. 8A (a) and K10 in FIG. 8B (d) generate deformation data in a state where the movable stroke has not yet been moved.
  • step S8 to S11 Rather than generating deformation data from a position where the stroke has been moved greatly, it is easier to generate deformation data by simply deforming the position of the stroke as it is in the reference value calculated in step S5 and in step S10. This is because the number of loops from step S8 to S11 can be reduced because the calculated characteristic values are close.
  • the deformation data may be generated by moving the movable stroke largely without being limited to the method, or the deformation data may be generated from an intermediate position.
  • Deformed character data is generated based on the character data.
  • the generated deformed character data is input to the main memory 22.
  • the value of the y-coordinate component of the coordinates on multiple strokes is reduced to a predetermined size, the value of the X coordinate component is reduced to a size smaller than the predetermined size, and these reduced values are It is quantized by the method of. In this way, modified character data is generated based on the character data. For example, the value of the y coordinate component of the coordinates on multiple strokes is multiplied by 24/256, the value of the x coordinate component is multiplied by 12/256, and the multiple decimal points of the reduced multiple values are Rounded down or rounded off.
  • FIG. 7A shows a Chinese character “upper” mapped with a size of 12 ⁇ 24 pixels based on the deformed character data.
  • FIG. 7B shows the Chinese character “stop” mapped with a size of 12 ⁇ 24 pixels based on the deformed character data.
  • end point of stroke # 4-1 (211, 155), start point of stroke # 4-2 (111, 24 4), end point of stroke # 4 2 (111, 11), stroke # 4-3 Start point (0, 11), end point of stroke # 4-3 (244, 11), start point of stroke # 4-4 (43, 149), and end point of stroke # 4 4 (43, 11)
  • multiple coordinates (10, 14), (5, 22), (5, 1), (0, 1), (11, 1), (2, 14), (2, 1) are calculated The
  • a characteristic value target area that is a target for calculating a characteristic value is determined based on a stroke (shape of the deformed character) included in the deformed character.
  • the characteristic value target area is, for example, an area surrounded by a polygonal border that circumscribes the deformed character.
  • Step S10 The center-of-gravity position (GRx, GRy) serving as the reference value is obtained from Equation 2 and Equation 3 from the mass w obtained in Step S9.
  • the weight value ⁇ 1
  • Step S11 It is determined whether or not the stroke # 1-1 is further movable. Stroke
  • step S8 If it is determined that # 1-1—is further movable (Yes), the process proceeds to step S8. If it is determined that stroke # 1—1 cannot be moved further (No), the process proceeds to step S12.
  • stroke # 1—1 is translated by “1” or “ ⁇ 1” along the y axis, and stroke # 1—1 is moved along the y axis.
  • modified character data is generated.
  • steps S8 to S11 a plurality of characteristic values corresponding to the plurality of deformed characters are calculated.
  • the range of movement may be included in the criteria for determining whether or not movement is possible, and the range of movement may be limited or may be all permissible ranges.
  • FIG. 8A shows a plurality of modified characters H2 to H22, a plurality of characteristic value target areas P2 to P22 corresponding to the plurality of modified characters H2 to H22, and a plurality of modified characters H2 to H22, respectively. And a plurality of characteristic values corresponding to.
  • FIG. 8A (a) shows a plurality of deformed characters H2 to H22.
  • the modified characters H4 to H9 and the modified characters H11 to H20 are omitted.
  • FIG. 8A (b) shows a plurality of characteristic value target areas P2 to P22 corresponding to the plurality of deformed characters H2 to H22, respectively.
  • the characteristic value target areas P4 to P9 and the characteristic value target areas Pll to P20 are omitted.
  • FIG. 8A (c) shows a plurality of characteristic values corresponding to each of the plurality of modified characters H2 to H22. Show.
  • stroke # 1—1 is translated by “1” or “ ⁇ 1” along the y axis
  • stroke # 1—1 is y
  • a plurality of deformed character data are generated by being translated by “1” or “1” along the axis.
  • a plurality of modified character data indicating a plurality of modified characters (modified characters H2 to H22) are generated.
  • a characteristic value target area is determined based on the stroke included in the deformed character
  • a plurality of characteristics value target areas are determined based on the characteristic value target areas (characteristic value target areas P2 to P22).
  • the translation along the y-axis of the stroke is not limited to “1” or “_ 1”.
  • the movement distance and direction of the stroke may be arbitrary as long as the character data is followed.
  • the form of deformation of the character is not limited to the movement of the stroke.
  • the character deformation mode includes, for example, at least one of stroke movement, stroke deformation, and stroke length change.
  • the stroke that is moved, the stroke that is deformed, and the stroke force that is changed in length are not limited to being one stroke of at least one stroke included in the character. All strokes contained in a character may be moved.
  • Step S12 Each of the plurality of characteristic values is compared with the reference value. Depending on the comparison result, the similarity between each of the plurality of characteristic values and the reference value is obtained.
  • the similarity is, for example, a difference between a characteristic value and a reference value. The similarity is high when the difference between the characteristic value and the reference value is small. The similarity is low when the difference between the characteristic value and the reference value is large.
  • the degree of similarity is not limited to the difference between the characteristic value and the reference value. As long as the similarity between the characteristic value and the reference value can be shown, it is optional.
  • Step S13 The deformed character data corresponding to the selected characteristic value is output to the main memory 22.
  • the character indicated by the modified character data is a corrected long character.
  • deformed character data indicating the modified character H11 (corrected long character) corresponding to the characteristic value gl2 is output to the main memory 22.
  • the selected characteristic value may be a characteristic value within a predetermined range from the reference value G among the plurality of characteristic values g 2 to g 22.
  • a deformed character transformed character HI 2 or deformed character
  • Modified character data indicating the character H13 is output.
  • the repetition of steps S8 to S11 may be terminated.
  • the specified range for example, 8.62 -0. 3 ⁇ g ⁇ 8.62 + 0.3
  • the selected characteristic value may be a characteristic value out of a predetermined range from the reference value G among the plurality of characteristic values g2 to g22.
  • deformed character data indicating the deformed character corresponding to the characteristic value g outside the predetermined range from the reference value is output.
  • the repetition of steps S8 to S11 may be terminated.
  • the repetition of steps S8 to S11 may be terminated, and modified character data indicating the modified character may be output.
  • FIG. 8B shows a plurality of modified character K2 to K22, a plurality of characteristic value target areas L2 to L22 corresponding to a plurality of modified characters ⁇ 2 to ⁇ 22, and a plurality of modified characters ⁇ 2 to ⁇ 22, respectively. And a plurality of characteristic values corresponding to.
  • Fig. 8 (a) shows a plurality of deformed characters K2 to K22.
  • the deformed characters ⁇ 4 to ⁇ 9 and the deformed characters ⁇ 11 to ⁇ 20 are omitted.
  • Fig. 8 (b) shows a plurality of characteristic value target areas L2 to L22 corresponding to the plurality of deformed characters K2 to K22, respectively.
  • the characteristic value target areas L4 to L9 and the characteristic value target areas Lll to L20 are omitted.
  • FIG. 8B (c) shows a plurality of characteristic values corresponding to each of the plurality of deformation characters K2 to K22.
  • stroke # 4-1 is translated by "1" or “one by one” along the y-axis.
  • the length of Stroke # 4-4 decreases by "1" or "1”.
  • Stroke # 4-1 is translated by 1 along the y-axis and the length of stroke # 4-4 is shortened by 1 or 1 Generated.
  • a plurality of modified character data indicating a plurality of modified characters (modified characters K2 to K22) are generated.
  • a characteristic value target area (characteristic value target areas L2 to L22) is determined based on a stroke included in the deformed character, and a plurality of characteristics value target areas (characteristic value target areas L2 to L22) are determined.
  • a plurality of characteristic values (characteristic values h2 to h22) corresponding to each of the deformed characters (deformed characters K2 to K22) are calculated.
  • step S12 an evaluation value closest to the reference value is selected from among a plurality of characteristic values.
  • step S13 the deformed character data corresponding to the selected characteristic value is output to the main memory 22, and the process is terminated.
  • the character indicated by the modified character data is a corrected long character.
  • the deformed character data indicating the deformed character Kl 1 (corrected long character) corresponding to the characteristic value hi 1 is output to the main memory 22.
  • FIG. 9A shows a modified character (corrected long character) mapped in a size of 12 ⁇ 24 pixels based on the modified character data indicating the modified character H11.
  • the start point of stroke # 1-2 is point (5, 22), and the end point of stroke # 1-2 is point (5, 1). Furthermore, the start point of stroke # 1-3 is point (0, 1), and the end point of stroke # 1-3 is point (11, 1). Stroke # 1— 1 (start point (5, 22), and the end point of stroke # 1-2 is point (5, 1). Stroke # 1— 1 (start point (5, 22), and the end point of stroke # 1-2 is point (5, 1). Furthermore, the start point of stroke # 1-3 is point (0, 1), and the end point of stroke # 1-3 is point (11, 1). Stroke # 1— 1 (start point (5,
  • Figure 9B shows the size of 12 X 24 pixels based on the deformed character data indicating the deformed character K11 Indicates a deformed character (corrected long character) mapped with.
  • the start point of the stroke # 4 1 is the point (5, 13), and the end point of the stroke # 4 1 is the point (10, 13).
  • the starting point of stroke # 4-2 is point (5, 22), and the end of stroke # 4-2 is point (5, 1).
  • the start point of stroke # 4-3 is point (0, 1), and the end point of stroke # 4_3 is point (11, 1).
  • the start point of stroke # 4-4 is point (2, 13), and the end point of stroke # 4_4 is point (2, 1).
  • Stroke # 4_ 1 start point (5, 14), end point (10, 14): see Fig. 7B) of simple long character is stroke # 1-1 (start point (5, 13), end point ( Changed to 10, 13)).
  • Stroke # 4_4 start point (2, 14), end point (2, 1): see Fig. 7B) of simple long character is stroke # 4_4 (start point (2, 13), end point (2, 13) ))) Is changed.
  • FIG. 10 shows a character mapped with a predetermined pixel size based on the character data, and the center of mass of the character.
  • Figure 10 shows the mass of the character (“up”, “middle”, “bottom”, “stop”) mapped with the size of 24X24 pixels based on the character data.
  • the center of gravity (reference value) is indicated.
  • the reference value for the true character “above” is 8.63.
  • the reference value for the true character “medium” is 11.62.
  • the reference value for the character “lower” is 12.91.
  • the standard value for the true character “stop” is 8.92.
  • Figure 10 (b) shows a simple long character ("up”, “middle”, “bottom”, “stop") and a simple long character mapped with a 12x24 pixel size based on simple long character data It shows the center of mass (characteristic value) of the mass of long characters.
  • the characteristic value of the simple long character “above” is 8.93.
  • the characteristic value of the simple long character “medium” is 12.04.
  • the characteristic value for the simple long character “bottom” is 13.32.
  • the characteristic value of the simple long character “stop” is 9.09.
  • Figure 10 (c) shows corrected long characters (“Up”, “Medium”, “Down”, “Stop”) and corrections mapped with a 12X24 pixel size based on the corrected long character data. Indicates the center of mass (characteristic value) of the mass of a long character.
  • the characteristic value of the corrected long character “above” is 8.47.
  • the characteristic value of the corrected long character “Middle” is 11.49.
  • the characteristic value of the corrected long character “bottom” is 12.8.
  • Correction length The characteristic value of the character “stop” is 8.94.
  • the characteristic value of the corrected long character maintains the balance of the corrected long character closer to the reference value than the characteristic value of the simple long character. I can see that I was drunk.
  • the characteristic value may be calculated based on the value of the X coordinate component.
  • the X coordinate of the centroid of the mass of each of the characters included in the vertical character string may be calculated.
  • a number of characters in a vertical text string can be displayed horizontally on the display screen by transforming them horizontally into consideration by taking into account the X coordinate of the center of mass of the character mass. .
  • the center of mass of the character can be obtained by a simple calculation, and the force is almost the same as the subjective center of gravity. There is also an advantage that the amount of calculation is small and it is easy to implement in equipment.
  • the character data generation device 100 has been described above with reference to FIG. 1 and FIG.
  • the character data generation device 100 functions as a processing device according to the embodiment of the present invention.
  • the control means 20 calculates “a target characteristic value indicating a characteristic characteristic of the target character as a characteristic value of the character based on the form of the target character.
  • the character data generation apparatus of the present invention is not limited to that shown in FIG.
  • each of the above-described means may be realized by hardware, may be realized by software, or may be realized by hardware and software.
  • steps S8 to S10 are “calculating a target characteristic value indicating a characteristic unique to the target character calculated based on the target character form.
  • Steps S12 and S13 correspond to ⁇ Step for comparing the target characteristic value indicating the characteristic of the reference character with the target characteristic value '' and ⁇ Step of comparing the target character according to the comparison result of the comparison means ''.
  • the processing procedure of the present invention is not limited to that shown in FIG.
  • the processing procedure of the present invention may have an arbitrary procedure as long as each step described above can be executed.
  • “characteristic characteristic value indicating the characteristic characteristic of the reference character” is obtained by executing steps S3 to S5.
  • the procedure for obtaining the “reference characteristic value indicating the characteristic characteristic of the reference character” as the characteristic value of is not limited to executing steps S3 to S5.
  • Reference value data indicating “reference characteristic value indicating a characteristic characteristic of a reference character as a character characteristic value” is stored in advance in a memory (for example, auxiliary memory 40) included in the character data generation device 100 together with the character data. If so, the reference value can be read from this memory.
  • the memory includes a reference value table for storing reference values. When the reference value table is included in the memory, the reference value can be read from the reference value table.
  • the reference value target region is a region surrounded by a polygonal border that circumscribes the true character, and the characteristic value target region circumscribes the deformed character.
  • the reference value target area and the characteristic value target area are not limited to this form.
  • the reference value target area may be an area surrounded by a curved boundary line circumscribing the true character
  • the characteristic value target area may be an area surrounded by a curved boundary line circumscribing the deformed character.
  • the reference value target area may include only a plurality of strokes included in the true character, and the characteristic value target area may include only a plurality of strokes included in the deformed character.
  • the reference value target area may include only a polygonal boundary line circumscribing the true character, and the characteristic value target area may include only a polygonal boundary line circumscribing the deformed character.
  • the target area is surrounded by a polygonal border that circumscribes the character, and the weight is It is a figure for demonstrating the gravity center of the mass of the character calculated based on the attached mass.
  • Area (a) indicates the area on the character stroke (area filled in black) in the target area, and area (b) indicates the area other than area (a) ( Area filled with gray
  • the area (c) indicates an area other than the target area.
  • FIG. 11B is a diagram for explaining the center of gravity of the character mass calculated based on the weighted mass, in which the target region is surrounded by a curved boundary line circumscribing the character .
  • the area (a ') indicates the area on the character stroke (area filled in black), and the area (b') indicates the target area and an area other than the area (a) ( Shown in gray area).
  • a curved boundary line circumscribing a character may be defined by an arbitrary rule. For example, among points A to A on the stroke of the character, an arc (radius r, center c) passing through point A and point A, point A and
  • a point c on a straight line drawn perpendicularly from the midpoint of points A and A to the outside of the region is a curve n n + 1
  • curved lines that circumscribe characters can be defined by complex curves such as Beziers and splines.
  • the target area is surrounded by a curved boundary that circumscribes the character, and is calculated based on the weighted mass.
  • the center of mass of the character is calculated.
  • the characteristic value is not limited to the center of mass of the character mass. As long as the characteristic value is “a value indicating the characteristic characteristic of a character”, the characteristic represented by the characteristic value is arbitrary. Character characteristics are, for example, character balance. The balance of characters is, for example, the center of mass of the characters
  • P (x, y) in Equation 4 means the potential energy at which one's own point is affected. If M (x, y) is the mass of its own point and M (xi, yi) is the mass of the point that affects it, for example, a black dot is placed at M (x, y), which is its own point.
  • centroid of the potential energy of a character can be calculated as a good subjective centroid when compared to the centroid of the mass of the character. This is because humans feel the center of gravity (energy) of characters where color density is denser than where color density is dispersed.
  • the character data generation device 100 has been described above with reference to the drawings.
  • the character data generation device 100 functions as a processing device according to the embodiment of the present invention.
  • the character data generation device stores a processing program for executing the functions of the processing device.
  • This program may be stored in advance in storage means included in the character data generation device at the time of shipment of the computer. Alternatively, these programs may be stored in the storage means after the computer is shipped.
  • a user may download these programs from a specific website on the Internet for free or free of charge, and install the downloaded programs on a computer. If these programs are recorded on a computer-readable recording medium such as a flexible disk, CD-ROM, DVD_ROM, etc., these programs are copied using a reader (for example, a disk drive device). You can install it on your computer. The installed program is stored in the storage means. [0238] 8. About the program
  • the case of generating character data has been described as an example.
  • the present invention is not limited to this.
  • the present invention can also be applied to the case of calculating characteristic values instead of generating character data or in addition to generating character data.
  • a characteristic value calculation program may be used instead of the character data generation program 41 or in addition to the character data generation program 41.
  • the character data generation device functions as a characteristic value calculation device.
  • the characteristic value calculation program is executed by the CPU 21.
  • the characteristic value calculation device calculates a characteristic value and outputs the calculated characteristic value.
  • the calculated characteristic value is output to the display means 10, for example, and the display means 10 displays the characteristic value (see FIG. 1).
  • the present invention can also be applied to the case of generating graphic data in place of generating character data or in addition to generating character data.
  • a graphic data generation program may be used instead of the character data generation program 41 or in addition to the character data generation program 41.
  • the figure includes, for example, a pattern and a symbol.
  • the character data generation device functions as a graphic data generation device.
  • the graphic data generation program is executed by the CPU 21.
  • the graphic data generation device generates at least one deformed graphic data, calculates at least one characteristic value based on the generated at least one deformed graphic data, and corresponds to one of the at least one characteristic value Output deformed figure data.
  • a unique value can be obtained by anyone, such as the center of gravity of a subjective character, without being fluctuated by a person.
  • the characteristic value calculated in the present invention is a value indicating the character characteristic based on the character form, and can be processed by the device as a value indicating the legibility and quality of the character.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Character Discrimination (AREA)
  • Character Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

 本発明により、文字の固有の特性を示す特性値を算出するための装置が提供される。  本発明の処理装置は、対象となる文字の形態に基づいて、文字の特性値として前記対象文字の固有の特性を示す対象特性値を算出する第1算出手段と、文字の特性値として基準文字の固有の特性を示す基準特性値あるいは所定の基準値と前記対象特性値を比較する比較手段と、前記比較手段の比較結果に応じて、対象文字の特性度を判定する判定手段とを備える。

Description

明 細 書
処理装置、プログラムおよび記録媒体
技術分野
[0001] 本発明は、文字の固有の特性を示す特性値を算出し、算出された特性を判定する 処理装置、処理装置に処理を実行させるためのプログラムおよびこのプログラムを記 録したコンピュータ読み取り可能な記録媒体に関する。
[0002] さらに本発明は、文字の固有の特性を示す特性値を算出し、算出された特性値に 基づいて、文字データの処理を制御する処理装置、処理装置に処理を実行させるた めのプログラムおよびこのプログラムを記録したコンピュータ読み取り可能な記録媒 体に関する。
背景技術
[0003] 携帯端末 (PDA)または携帯電話などの携帯型情報通信機器の普及に伴って、携 帯型情報通信機器に備えられた液晶表示手段に表示される文字または図形を読む 機会が急増している。しかし、携帯型情報通信機器 (例えば、携帯電話)に備えられ た液晶表示手段は小さく(例えば、 2〜3インチ程度)、表示された文字または図形が 潰れ、文字の品質が損なわれることがある。
[0004] 特許文献 1には、文字の品質が保たれるように、文字を小さい液晶表示手段に表 示する技術が開示されている。この技術によって、文字に含まれるストロークの位置ま たはストロークの太さを調整することが可能になる。従って、この技術によれば、表示 された文字が潰れることを防ぎ、品質が保たれた文字を示す文字データを生成でき る。
特許文献 1 :特開昭 64— 035483号公報
発明の開示
発明が解決しょうとする課題
[0005] 本願において、特許請求の範囲における文字は、文字 ·記号 ·文字における部首あ るいは、部首のごとく記号を構成する区分けされた部分で構成された文字 ·記号ある いはマークとして識別される絵記号を含むが、明細書においても、煩雑になるので請 求の範囲と同じく文字に置き換え記述する。
[0006] 文字は、単に識別できるという機能を追及するだけでなく見やすく品位のある文字 が求められる。通常、見やすく品位のある文字は、専門家が、主観において個々の 文字の形状をデザイン的に手を加え創出して、基準文字と成し用いられる.装置等 で用いられる表示文字も基準文字の形状を可能な限り保持するビットマップパターン を個々に蓄積し、表示させれば、見やすく品位を有する文字を再現できる。
[0007] 文字の形状とは、デザイン的に作成され、文字として認識される構成であり、各種書 体を有する。
[0008] 文字のサイズを拡縮する'形を変形させた場合、その結果に対しても本来、個々に 主観に基づき修正しなければ、見やすく品位を持てないことが多レ、。しかしながら、 拡縮させた ·変形させた結果におけるビットマップパターンをすベて蓄積させると多大 なデータを保持する必要がある。
先行技術において開示されている技術は、文字の骨格ストローク情報、文字の輪郭 情報、あるいは個々の修正情報を用いて基準の文字形状に復元する、あるいは近似 する、 2次元的復元情報 (面展開情報)として取扱い保持することで、基準文字に近 づける手法であり、個々の文字の創出に必要となる情報を出来るだけ少なくできるか の技術手法の追求を課題としてきている。言い換えれば、復元文字の見やすさと品 位が、確保されている目安は、基準文字と復元文字の形状の相違度であり、相違度 =0なら同一レベルである。
文字の拡縮 ·変形を行えば基準文字に比して見やすさや品位が崩れるが、特に、全 体を均一に拡縮せずいびつに変形すると更に、見にくくなつたり品位が悪くなるケー スがある。事例的には、携帯電話で地上デジタル TVの映像を見る場合には、表示画 面にテロップ文字を現すことによって映像の内容が説明される。音声によって映像の 内容を説明すると、うるさいためである。携帯電話の表示画面は小さぐ縦方向に比 ベ横方向が短いため、多くのテロップ文字を表示画面に現すためには、文字を縦長 にする必要がある。その時に単純に文字を縦長に変形すると、文字デザインのバラン スが崩れて、文字は読みに《なる。また、文庫ビューァなどのソフトを使って携帯電 話の表示画面に小説を縦組みで表示する場合には、文字を横長にすることによって 、多くの文字を現すことができる。しかし、その時に単純に文字を横長に変形すると、 文字デザインのバランスが崩れて、同じく文字は読みに《なる。 又、縮小する際に 、太さを維持すると文字のつぶれが発生しやすい。これらを補うには個々の部分に対 する修正情報をどう保持するかが必要となり、均一処理に加えてより細かな対応が必 要となる復元が課題といえる。
[0009] 特許文献 1は、つぶれを補うために縮小率'太さ情報に応じて骨格の位置を修正す る方法を示しており、本来の面展開の構造情報に加えて補正するにはどうするかの 開示であり、前記課題解決に相当する。
[0010] 先にも記述したように、従来の開示技術は、基準文字の形状の面構造の復元に必 要な 2次元復元情報の抽出'保持であり、文字の見やすさ品位追求の目安は基準文 字と復元文字の形状の接近距離に置レ、てレ、る。
[0011] 即ち、文字形状の復元という表面的な品位の維持でなぐ後述する本願における文 字の形態から算出される固有の特性値は、文字の形態を特定しているとの視点で、 文字の形態が有する特性値の算出方法と、基準文字と拡縮 '変形文字の特性値の 比較結果により拡縮 ·変形文字を制御する手法である本願における技術開示ではな レ、。
[0012] 上記、特性値の算出手法の追求と、特性値をどう用いれば、主観的に良好となる拡 縮 ·変形文字が生成できるかの生成手法の追及が、本願の課題である。
[0013] 本発明は、上記課題に鑑みてなされたものであり、基準になる文字と、対象となる文 字の特性値を求める処理装置、コンピュータに所定の処理を実行させるためのプロ グラムおよびこのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供 することを目的とする。
[0014] さらに、本発明は、文字の形態に固有の特性を表す特性値を算出する特性値算出 装置、コンピュータに特性値算出処理を実行させるためのプログラムおよびこのプロ グラムを記録したコンピュータ読み取り可能な記録媒体を提供することを目的とする。 課題を解決するための手段
[0015] 前記、課題を解決する手段として、 文字の形態に固有の特性を表す特性値を文 字の重心とし、重心を構成する要素を取り扱うことで課題を解決することを特徴とする
[0016] 形状とは、文字としてデザインされた線'点であり、又はそれぞれが輪郭を有したも のである。
[0017] 形態とは、文字の形状とその背景を特徴付ける部分である。形状と背景において値 あるいは重み付けを有する単位面積あるいは座標点で構成するとより明確に、文字 の重心に影響を与える範囲を示せる。形状は、形状以外の部分の値、重み付けを「0 」あるいは範囲を限って一定値としたものに相当する。
[0018] 本発明の処理装置は、対象となる文字の形態に基づいて、文字の特性値として算 出された前記対象文字の固有の特性を示す対象特性値を算出する第 1算出手段と 、文字の特性値として算出された基準文字の固有の特性を示す基準特性値あるい は所定の基準値と前記対象特性値を比較する比較手段と、前記比較手段の比較結 果に応じて、対象文字の特性度を判定する判定手段
とを備え、これにより、上記目的が達成される。
[0019] 更に、本発明の処理装置を異なる角度から見ると、 前記第 1算出手段は、前記対 象文字の形態を含む領域上の座標点の累和、累積または相関関数に基づいて、前 記対象特性値を算出する手段を備えたことにより、上記目的が達成される。
[0020] 前記判定手段の判定結果に基づいて、文字あるいは装置の制御を決める制御部 をもつあるいは、結果に基づいて文字の形状を示す形状データを出力する第 1出力 手段をさらに備えてもよい。
[0021] 本発明の処理装置を異なる角度から見ると、更に、特性値は、ひとつの文字におい て、単一の数値あるいは、一点の座標値である特性値として処理されることにより、上 記目的が達成される。
[0022] 又、前記特性値は、ひとつの文字の少なくともひとつの部首力 単一の数値あるい は一点の座標値である特性値として処理されることにより、上記目的が達成される。
[0023] すなわち、前記対象文字の特性度を判定する判定手段でなされる判定基準は、対 象文字の特性値が基準特性値あるいは所定の基準値に対して等価、非等価あるい は定められた範囲に対して範囲の内外のいずれ力、を特定する第 1判定基準、対象文 字の特性値が基準特性値あるいは所定の基準値に対してどの程度の遠近度にある かを特定する第 2判定基準、複数の対象文字の特性値の比較結果に基づき前記対 象文字の処理を特定する第 3判定基準、のいづれかの少なくとも一つの判定基準に 従って、前記対象文字の特性を判定することを特徴として、上記目的が達成される。
[0024] 前記対象文字の特性度を判定する判定手段でなされる判定結果により対象文字の 採用 '不採用を決める,あるいは、対象文字の選別を行う機能を更に備える事を特徴 として、上記目的が達成される。
又、前記対象文字は、前記基準文字あるいはその拡縮文字の少なくともひとつのスト ロークを変形したものであることを特徴として、上記目的が達成される。具体的に示せ ば、基準文字'あるいはその縦横を同じ比率で拡縮した文字あるいは比率を変えて 拡縮した文字の一部を変形させる、すなわちその構成ストロークを上下に動かす、あ るいは左右に動かして各変形文字の特性値を基準文字の特性値と比較して後述す る重心位置の遠近等で変形文字の特定を行うやり方である。どの順序で扱うかどうか を決めておきその手順をもって一律処理の条件とできる。
[0025] 又、前記複数の対象文字は、複数の対象文字あるいは複数の対象文字と一律の 変形関係にある文字、あるいはそれらの拡縮文字の少なくともひとつのストロークを変 形したものであることを特徴として、上記目的が達成される。具体的に述べれば、基 準となる対象文字を変形させる手順を決めておけば一律の変形関係のある対象文 字が複数できるこれらを基準文字と比較することでそれぞれの関係を定めることがで きる。変形は、先に述べたストロークの移動とおなじでも可能である。基準となる対象 文字は、比較される対象文字に含まれても含まれなくとも良い。又これが基準文字で あれば、前に述べたものと同じになる。
[0026] 前記第 1算出手段は、文字の複数の画素の値と、前記複数の画素にそれぞれ対応 する複数の座標とに基づいて、前記特性値を算出しても、上記目的が達成される。 本発明の処理装置の特性値の算出については、画素の値を点値とし、ひとつの画素 の座標の各軸での位置と前記画素の点値との積を点モーメントとし、各軸に対する所 定の範囲の画素の点モーメントの総和を、前記所定の範囲の画素の点値の総和で 除した値を各軸の位置として求めた値で構成される座標を持って文字の特性値とし て特徴付けて、上記目的を達成できる。
「発明を実施するための最良の形態」で詳細を説明する文字の質量の重心において は、点値は、座標点の質量に相当し、式 3、式 4により求められる重心の座標力 特性 値に相当可能である。又、特性値は、文字の質量や平均質量を相当してもよい。
[0027] 又、前記各画素の値が、前記画素以外の他のひとつの画素との距離ならびに両画 素の値を用いて算出される新たな画素の値である 2点間値を用いることで特性値を 算出することを特徴付けて、上記目的を達成できる。
[0028] 即ち、前記 2点間値が、前記画素の値と前記画素以外の他のひとつの画素の値と の積を両画素間の距離の所定の累乗値で除することで求められる 2点間値であり、 前記画素以外の所定の範囲にある画素との 2点間値の累和を、前記画素の新たな 点値として処理することを特徴付けて、上記目的を達成できる。
[0029] 詳細を後述する文字のポテンシャルの重心を考える時、形態における点は、 自分 以外のあらかじめ定めた範囲の全ての点から影響を受ける。 2点間値は、他の 1点か ら受ける影響の値である力 その点のポテンシャルエネルギーは、所定の範囲の全 ての点との 2点間値の累和であり、累和が、新たな点値に相当する。その重心は、「 発明を実施するための最良の形態」での式 6、式 7によりもとめられる座標であり、前 記特性値に相当可能である。又、特性値は、文字のポテンシャルエネルギーや平均 ポテンシャルエネルギーを相当してもょレ、。
[0030] 更に、前記各画素の値は、重み値を考慮した値で算出する事もできる。前記文字 の形態が、文字のストロークあるいは文字の輪郭を形成する線の先端部ならびに点 の近傍に定めた近傍点の 2点を結んだ線を少なくとも一つ線上に有し、文字の形状 部分を過半数含んだ閉曲線で囲まれる領域の内側を範囲とすることを特徴とすること で上記目的が達成できる。
[0031] 更に、前記近傍点が、文字のストロークあるいは文字の輪郭を形成する線の先端部 ならびに点で形成される文字の形状上の点であることを特徴とすることで上記目的が 達成できる。
[0032] 前記閉曲線が、文字の輪郭を形成する線を少なくともひとつ線上に有していること を特徴とすることで上記目的が達成できる。 [0033] 更に、更に、本発明の処理装置を異なる角度から見ると、文字の形態に固有の特 性を表す特性値を算出する第 2算出手段と、前記算出された特性値を用いて文字処 理を制御する制御手段とを備えていることを特徴とすることでも上記目的を達成でき る。
[0034] 即ち、前記特性値が、ひとつの文字において、単一の数値あるいは、一点の座標 値である特性値として処理されることにより、上記目的が達成される。
[0035] 更に、前記特性値は、ひとつの文字の少なくともひとつの部首力 単一の数値ある いは一点の座標値である特性値として処理されることにより、上記目的が達成される
[0036] 更に、前記特性値は、文字の形態を含んで構成される所定の範囲にある複数の各 画素の値と、各画素に対応する複数の座標とに基づいて算出する特性値であること を特徴とすることにより、上記目的が達成される。
[0037] 更に、前記各画素の値を点値とし、ひとつの画素の座標の各軸での位置と前記画 素の点値との積を点モーメントとし、各軸に対する所定の範囲の画素の点モーメント の総和を、前記所定の範囲の画素の点値の総和で除した値を各軸の位置として求 めた値で構成される座標を持って文字の特性値として特徴とすることにより、上記目 的が達成される。
[0038] 更に、前記各画素の値が、前記画素以外の他のひとつの画素との距離ならびに両 画素の値を用いて算出される新たな前記画素の値である 2点間値を用いることで特 性値を算出することを特徴とすることにより、上記目的が達成される。
[0039] 更に、前記 2点間値力 前記画素の値と前記画素以外の他のひとつの画素の値と の積を両画素間の距離の所定の累乗値で除することで求められる 2点間値であり、 前記画素以外の所定の範囲にある画素との 2点間値の累和を、前記画素の新たな 値として処理することを特徴とすることにより、上記目的が達成される。
[0040] 更に、前記各画素の値は、重み値を考慮した値であることを特徴とすることにより、 上記目的が達成される。
[0041] 更に、前記文字の形態が、文字のストロークあるいは文字の輪郭を形成する線の先 端部ならびに点の近傍に定めた近傍点の 2点を結んだ線を少なくとも一つ線上に有 し、文字の形状部分を過半数含んだ閉曲線で囲まれる領域の内側を範囲とすること を特徴とすることにより、上記目的が達成される。
[0042] 上記に述べてきた手段を機能させるプラグラムにおいても上記目的を達成できる。
又、前記プログラムを搭載したコンビユタ一に読み取り可能な記録媒体を用いても上 記目的を達成できる。即ち、コンピュータに所定の処理を実行させるためのプロダラ ムであって、前記所定の処理は、対象となる文字の形態に基づき算出された対象文 字の固有の特性を示す対象特性値を算出するステップと、基準文字の固有の特性を 示す基準特性値と前記対象特性値を比較するステップと、前記比較手段の比較結 果に応じて、対象文字の特性度を判定するステップと、前記判定するステップの結果 に応じて、処理装置を制御するステップと、前記特性値を、ひとつの文字において、 単一の数値あるいは、一点の座標値として処理するあるいは、ひとつの文字の少なく ともひとつの部首を、単一の数値あるいは一点の座標値として処理するステップとを 包含するプログラムを用いることにより、上記目的が達成される。即ち、コンピュータに 所定の処理を実行させるためのプログラムを記録したコンピュータ読み取り可能な記 録媒体であって、前記プログラムを包含する記録媒体を用いることにより、上記目的 が達成される。
[0043] 更に、コンピュータに所定の処理を実行させるためのプログラムであって、前記所定 の処理は、文字の形態に固有の特性をあらわす特性値を算出するステップと、前記 算出された特性値を用いて文字処理を制御するステップと前記特性値を、ひとつの 文字において、単一の数値あるいは、一点の座標値として処理するあるいは、ひとつ の文字の少なくともひとつの部首を、単一の数値あるいは一点の座標値として処理す るステップとを包含するプログラムを用いることにより、上記目的が達成される。
[0044] 更に、コンピュータに所定の処理を実行させるためのプログラムを記録したコンビュ ータ読み取り可能な記録媒体であって、前記請求項 29のプログラムを包含する記録 媒体を用いることにより、上記目的が達成される。
発明の効果
[0045] 本発明の処理装置、プログラムおよび記録媒体によれば、主観的文字の重心およ び中心のように、人によりバラッカず、誰が算出しても固有の値を求めることができる 。本発明で算出される特性値は、文字の形態に基づいた文字の特性を示す値であり 、文字の見やすさ、品位を示す値として機器で処理できる。
図面の簡単な説明
[図 1]本発明の実施の形態の文字データ生成装置 100の構成を示す図である。
[図 2]文字データ 42aの一例を示す図である。
[図 3]文字データ 42a (図 2参照)に基づいて 256 X 256画素のサイズで表示された 文字を示す図である。
[図 4]文字データ生成プログラム 41の処理手順を示すフローチャートである。
[図 5A]正体文字データに基づいて 24 X 24画素のサイズでマッピングされた漢字「上
」を示す図である。
[図 5B]正体文字データに基づいて 24 X 24画素のサイズでマッピングされた漢字「止 」を示す図である。
園 6A]正体文字 (上)に外接する多角形の境界線で囲まれた領域を示す図である。 園 6B]正体文字 (止)に外接する多角形の境界線で囲まれた領域を示す図である。
[図 7A]単純長体文字データに基づいて 12 X 24画素のサイズでマッピングされた漢 字「上」を示す図である。
[図 7B]単純長体文字データに基づいて 12 X 24画素のサイズでマッピングされた漢 字「止」を示す図である。
[図 8A]複数の変形文字 H2〜H22と、複数の変形文字 H2〜H22のそれぞれに対 応する複数の特性値対象領域 P2〜P22と、複数の変形文字 H2〜H22のそれぞれ に対応する複数の特性値とを示す図である。
[図 8B]複数の変形文字 K2〜K22と、複数の変形文字 K2〜K22のそれぞれに対応 する複数の特性値対象領域 L2〜L22と、複数の変形文字 Κ2〜Κ22のそれぞれに 対応する複数の特性値とを示す図である。
[図 9Α]変形文字 HI 2を示す変形文字データに基づいて 12 X 24画素のサイズでマ ッビングされた変形文字 (補正長体文字)を示す図である。
[図 9B]変形文字 K11を示す変形文字データに基づいて 12 X 24画素のサイズでマツ ビングされた変形文字 (補正長体文字)を示す図である。 [図 10]文字データに基づいて所定の画素のサイズでマッピングされた文字と、文字の 質量の重心とを示す図である。
[図 11A]対象領域が文字に外接する多角形の境界線で囲まれており、かつ重み付け された質量に基づいて算出された文字の質量の重心について説明するための図で ある。
[図 11B]対象領域が文字に外接する曲線状の境界線で囲まれており、かつ重み付け された質量に基づいて算出された文字の質量の重心について説明するための図で ある。
[図 12A]文字の形状における定義説明の図である。
[図 12B]図 12Aで記載の部分の説明表である。
[図 13]各部の点に値と重みを与えた説明図である。
[図 14]文字の輪郭外周における影の部分の説明図である。
符号の説明
[0047] 10 表示手段
20 制御手段
30 入力手段
40 補助メモリ
100 文字データ生成装置
発明を実施するための最良の形態
[0048] 以下、図を参照して本発明の実施の形態を説明する。先にも述べたが。本願にお ける特許請求の範囲、並びに明細書において、「文字」は、文字 '記号'文字におけ る部首あるいは、部首のごとく記号を構成する区分けされた部分で構成された文字 · 記号あるいはマークとして識別される絵記号を含んでいる。
[0049] 形状とは、文字としてデザインされた線'点であり、又はそれぞれが輪郭を有したも のを示す。図 12Aでは「上」の輪郭内である Aの部分が形状である。形態とは、文字 の形状とその背景を特徴付ける部分である。形状と背景において値あるいは重み付 けを有する単位面積あるいは座標点で構成するとより明確に、文字の重心に影響を 与える範囲を示せる。形状は、形状以外の部分の値、重み付けを「0」あるいは範囲 を限つて一定値としたものに相当する。
[0050] 形態の範囲は、図 12Aで「上」を事例に取ると、形状である Aの部分としてもよぐス トローク、輪郭線の先端の近傍である(12— 1)の領域、近傍点の点を定めその結線 を線上に有する閉曲線の内部の (A+B)の領域としても良レ、。事例で示した閉曲線 XI〜X8は形状上の点であり、先端部の端点でもある点 XI · ·点 Χ5 · ·点 X8を含み 端点間を結んだ X2_X3、 X4_X5、 X1—X8を含み、更に輪郭線 Χ1 _Χ2、 Χ3_ Χ4、 Χ5_Χ6、 Χ7—Χ8を含んでいる。又 形状 Αを、内部に含んでいる。更に図 12 Aでは線を示していないが XIと X2の中心点と X3と X4の中心点、 X5と X6の中心点 、X7と X8の中心点を結んで構成される閉曲線の内部をひとつの領域としても良い。 形状の点やその周辺に存在する点に対して、値と重みを設定することで形態の設定 条件は成立する。近傍点は、近傍であれば形状上に無くてもよい。又、必要に応じて 選択的に抽出する点であっても良い。更に、形状の輪郭線を閉曲線に含んでも良い (12図 Aの閉曲線は、(12— 3)を含んでいる)。
[0051] 形態の取扱いは、形状の内部 ·周辺の各部分 ·座標における値や重み付けを変え ることで文字の形状そのものだけでなくその周辺の状況も含めて相互に影響しあう点 の影響度を考慮して定めることができる。形状上の点でなくても良いのは、後述する 文字の特性値が、文字を取り巻く環境を大きく含めて定まるものであり従来の技術の ように文字の形状を克明に復元しょうとする算出を行っているものでないことの例の 一つでもある。
[0052] 図 12Bは、図 12Aの各部の説明を、提示している。図 13では各部の点に値と重み を与えた事例を示した。即ち、各領域をどのように扱うかで形態は、定められることや 、重心の求め方として事例的に後述している質量型 ·ポテンシャル型においてとして 少ない点に限定した場合の求め方を、簡易的に示している。具体的には値と重みが どう関係するかを後述し、「文字とその取り巻く環境を含めた定量的取扱い」が可能で あること示している。
[0053] 形態は、特定する値 ·重みに対しては、形状の部分(図 12Aの A)、背景における枠 の内部(図 12Aの A'B' C)、あるいは文字を輪郭外周にある陰の部分(図 14)、背景 にある模様や色彩の部分、近傍点を結んだ閉曲線の内部 (Α·Β)、 Ρ 接する文字形 状部(Dの形状部)、枠外の外部(E)等の点をどのように定めるかで決まる。 文字を どのような背景環境 ·隣接環境で利用するかということを考慮に入れて影響を与える 点の値と重みを決めることで条件付けることができる。条件は、取り扱い方を統一した 扱いとしてもよぐ文字個々で定めて基準特性値としても良ぐあるところまでは統一し て扱う、ある部分は個別に決める等、条件を重ねて実施しても良い。
[0054] いずれにしても、形状 ·背景の構成点の値と重みを与えることを含んで定められた 条件で決まる文字の形態に対して文字の特性値が定められる。又、背景の影響を受 けない場合の文字の形態として、形状だけを形態としたり、背景を白地と定めて特定 の値を与えて形態としたりして定めることも可能となる。
[0055] 1.本発明の某本思想
本発明の基本思想の 1つである文字をその背景を含めた形態として条件付ける事 で、背景も考慮に入れた文字の固有の特性を示す特性値を算出でき、ひとつの文字 に対してひとつあるいは、所定の部首にひとつの特性値を算出することができる。即 ち、文字を少なくともひとつの特性値で周辺の環境も含んで特徴付けることが可能と なる。文字の定量的特性値表現は、新たな概念であり、新たな技術の開示である。
[0056] 特性値を表すものとして、重心という考え方が取れる。重心は、最終的に重心の座 標で表されるが、これを同じ算出方法で処理できる文字の平均質量、平均ポテンシャ ノぃ総質量'総ポテンシャルで取り扱うことも可能である。ここでは、重心の概念につい て説明する。従来、文字を取り扱う世界では、文字の重心'中心という言葉がある。文 字の表現としては同じであるが、求め方も用いる観点大きく異なっており、混同しない ため以下、補足する。文字を取り扱う場合に、観念的に、文字の評価として「文字の 重心 ·重心線」あるいは「文字の中心'中心線」の表現を用いることがある力 これは、 文字の形態(ほとんどの場合は、一定背景による一定色での形状での取り扱い) ·太 さ等の文字構成を観察した場合に文字のバランスの中心を主観的な見地において 定めるものであり、書体、形状の色'背景の色、文様 ·上下左右に隣接する文字の並 びにおいても影響を受け、あくまで人の主観で定められた重心であり、人によりバラッ キがあり、定量的に定められない。
[0057] 本願における文字の重心は、前記主観的文字の重心'中心のように人によりバラッ 力ず、誰が算出しても固有の値が求められ文字の形態に準じた値であり、文字の見 やすさ品位を示す特性値として機器で処理できるパラメータとして定量化したもので ある。又この追求方法は、従来の先行技術とも全く異なった技術開示であることは先 に述べた。即ち、すべての文字を少なくともひとつの固有値 ·座標で表現できる新し い概念である。視点を変えれば、特性値が集約できる象限に、文字の形態的特性を 象限変換 (関数変換)し、各文字の投影結果を基準に、各文字を制御する手法であ る。即ち、重心は、文字の形態を示す座標点における各値の累和 ·累積あるいは相 関関数により算出され、形態に固有の特性を表す特性値といえる。
[0058] 又、文字はひとつの文字で成り立つというより多くの弁別符号として一定の符号の 集まりとして機能しており、構造上も共通の部分を有している。一般的文字 '記号'絵 記号において同じである。特に、一般の文字の場合は、部首の選択で同じものを定 め共通に利用する考え方で文字の記憶量を削減する手法があるが、このような場合 は、ひとつの文字をひとつの特性値で現さず、定めた部首に対して特性値を求めると 、ひとつの文字は、定められた部首の数だけ特性値を持つことができる。部首で事例 を示したが、記号'絵記号の部分を同じ考え方で表現し、複数の特性値でひとつの 記号'絵記号を現すこともおなじ概念である。
[0059] 特性値を、後述で詳細に説明する文字の重心でみると、文字が記述された枠内で の重心の見方、縦'横に並んだ文字間での影響を考慮した重心、背景の色や紋様の 影響を考慮した重心、文字の形状の輪郭内の色や文様の影響等、文字とその周辺 環境に応じて基準となる文字の形態をどうするか決め、使い分けることができる。事例 的な運用を考えれば、背景は白、形状は黒、文字の枠として特性値を算出するとか、 一定の手法で定めた閉曲線であるシノレエツトの中を黒としたり、形状を黒、形状外の シノレエツトをグレー、シノレエツト以外の背景を白として値と重みを変化させて算出する 重心を使うこともできる。文字の形態の定め方や特性値の算出方法の定め方で文字 の主観的重心に近い定量的重心を求める事もできる。結果的には、所定の条件のも と範囲を設定して文字の形態としてその特性値を持って取り扱う事となる。
[0060] 実験によれば文字の重心を求める算出方法を、操作することで前記主観で定まる 文字の重心等に近づけうることが判明している。文字の形態として考察する範囲をど うするかは、文字の骨格だけを考慮に入れて評価する、あるいは、背景を考慮する等 、求める条件で範囲が代わり、重心の算出を何に依存させる力も含め選択可能であ る。たとえば、白い背景に黒い文字があった場合、文字を徐々に小さくしていくと文字 のストロークどうしが接近し、黒い塊として認知される。これは、文字のストローク端点 を結び外接した多角形の内側を黒で塗りつぶした状態と近似している。また、文字が 大きい場合は、文字のシルエットを認知することはなレ、。また、文字の大きさが変化し ていく中で、シノレエツトの中の黒いストローク以外の空間は、白から黒まで段階的に 明度が変化した状態で認知される。
[0061] 文字形態の範囲を、文字の形状だけの場合から、文字のシルエット内を黒く塗りつ ぶした場合も考えうる。この場合、主観的な重心の位置も変化しており、定量的な重 心を定める形態とその座標点の値や重みを変化させれば主観の重心に近づけうる結 果を得ており、又、定量的取り扱いゆえに特性値と形態の定め方 ·重心求め方 '影響 を受ける座標と与える座標の設定の仕方で展開できる体系的取り扱いも可能となつ ている。
[0062] 特性値の使い方を示せば、対象となる文字の形態に基づいて、文字の特性値とし て算出された前記対象文字の固有の特性を示す対象特性値と、基準の文字の特性 値として算出された基準文字の固有の特性を示す基準特性値あるいは所定の基準 値と前記対象特性値を比較し、比較結果に応じて、対象文字の特性度を判定するこ とで種々の特性値の活用が可能となる。
[0063] 事例的に記述すると、基準文字と対象文字の各特性値を個別に算出し、基準特性 値と対象特性値を比較する。比較結果を所定の条件で判定し、判定結果により対象 文字の形態データを制御するあるいは、出力する。所定の条件とは、比較結果が一 定基準の内'外、複数の比較結果の内で最も近レ、'遠い等であってもよぐ制御として は、対象文字の採用 '不採用を伴うものであってよい。又、これらによって対象文字の 選別を可能としても良い。
[0064] 2.文字の形熊の者え方
文字の形態の概略については、図 12Α·図 12Β ·図 13で前述した力 今一度まとめ れば下記のようになる。 [0065] 形態について、更に、説明すれば、文字の形態をデザイン的に通常認識し得る形 状に限定して形態とする、又は、文字のストロークあるいは輪郭を形成する線の端点 のうち、選別的に定められた選別端点を通る線を含んで構成される閉曲線の内部領 域を形態とする、あるいは選別端点間に引いた線と文字の輪郭で構成される閉曲線 の内部領域を、前記文字の形態とする手法も考えられる。
[0066] 更に、ストロークや輪郭の先端部の点は、形状上にあってもよぐ形状外にあるが先 端の近傍の点であっても良い。当然近傍の点は、形状上の点も含んでいる。前記近 傍の点には、ストローク等の先端部分が内部にある点もあり、形状を囲む外周線に近 い点もある。これらは、文字個々で定めることも、一律に定めることもできる。即ち、文 字により定まる選択的な点といえる。少なくとも選択的に定めた 2点を結ぶ線を含む 閉曲線の領域内部が、形態の範囲とできる。形状の過半数部分は、これに含まれる。
[0067] 更に、背景を考慮する際に、周辺に並んだ文字も含めて背景とし、重み付けや値 の設定で、重心を求める手法に、容易に組み込むことができる。これらの手法の範囲 は、文字の取り扱い方で定めることができる。
[0068] 尚、シルエットにおいて形状部分と他のシルエットの値や重みを変えて用いてもよ レ、。言い換えれば、前記文字の形態が、文字のストロークあるいは文字の輪郭を形 成する線の先端部ならびに点の近傍に定めた近傍点の 2点を結んだ線を少なくとも 一つ線上に有し、文字の形状部分を過半数含んだ閉曲線で囲まれる領域の内側を 範囲とできる。当然、前記近傍点が、文字のストロークあるいは文字の輪郭を形成す る線の先端部ならびに点で形成される文字の形状上の点であっても良い。更に、前 記閉曲線が、文字の輪郭を形成する線を少なくともひとつ線上に有していることもで きる。
[0069] 文字の形態は、各点の値と重みを設定することで種々取り扱える。重心を具体的に 算出する場合には、各点の座標位置が重要となる。文字の形状と背景'隣接する文 字を含む範囲にある座標点の位置 '値ならびに重みの設定により重心は特定される 。 座標点の算出上の値は、座標点の値と重みとの積が用いられる。事例的に考え れば、形態は、周辺の重み'値をすベて一定の値、としたものを標準形態とすることも 可能であり、一定の値を 0とすれば形状に等価として扱え、背景と独立に扱える。 [0070] 又、背景の座標点の範囲を限定する例えば文字枠の中、文字の形状の周辺に形 状に応じた影の部分、又後述する文字シノレエツトの部分等に限定した取り扱いもでき る。文字形態の範囲を、更に、補足すれば、形状の輪郭の内側、ならびに背景部分 は、後述する算術式の各座標点で重み付けを変えてもよぐ各座標で値を違えても 良い。更にその周辺に背景色があれば、色の展開に応じて形態とすることも可能で ある。即ち、文字の周辺を含む条件によって定まる文字の特性値を算出する範囲で ある。
[0071] 言い換えれば、文字の形態とは、文字が利用されるいろいろな背景で文字を取り扱 う場合、その背景の環境も含んで標準的に取り扱える文字の見易さを定量的に定め る策定領域である。文字としてデザインされた形状とその周辺の領域において影響を 及ぼしあうとして予め定めた範囲である。利用において限定して扱えば、形状を含め た文字の近傍において最も強く主観に影響が受ける部分を主形態、与える範囲を従 形態として取り扱うことも可能である。背景部分は、範囲を選別して影響度により特性 値の算出上の重みや値を変えたりして影響度のレベルを調節できる。
[0072] そのひとつを、事例的に言えば、文字を構成する部分の重みは 1となし、背景につ いては、 0、 0. 5、 0. 05等の重みを持たせて算出する事が可能である。
[0073] 図 13には、図 12Aで示した「上」の文字と背景、隣接する文字に対して値と重みを 設定し、後述する質量の重心、ポテンシャルの重心で用いる点値の簡易算出方法を 事例している。各領域 A〜Eの各点 Pln〜P6nの点の値と重みの設定のより重心を 求める点値が P11におレヽてレ、くらになるかを、重心を質量'ポテンシャルのレ、ずれか で求めた場合を事例的に算出している。各点の座標を示すと複雑となるので、両者 の違いが克明に出る点値の算出で記述している。重心の算出は、点値が定まれば同 じ考え方で算出できるのは後述する式から明らかである。
[0074] 3.特件値である重心力 誓量の重心である場合
文字の形態に固有の特性を表す特性値を文字の重心とし、重心は、文字の質量の 重心を求めることで、前記、課題を解決することができる。文字の質量を求めるやり方 のひとつを以下に示す。
[0075] 文字の形態は、形態として定めた範囲を構成する単位面積の集合であり、単位面 積部分が有する特定の値を単位量と呼び、単位量の総和を文字の質量とできる。文 字を、座標上に取れば、ひとつの座標点を単位面積とし、各座標点が有する画素値 を単位量とできる。複数の座評点を持って単位面積とし、その複数の座標点が持つ 画素値は、単位量に等価でも良ぐ単位面積の有する単位量の平均値であっても良 レ、。単位量を示すものを事例的にあげれば密度であり階調 '輝度'色 '照度 '濃度'明 度'等の物理量や人為的に設定した数値が上げられる。物理的な質量との相対的関 係においては、単位面積の厚さ力 単位長で構成されていると考えれば同じ次元で 考察できる。又、単位量は、単位質量でもある。
[0076] 文字の重心とは、文字の単位質量の分布の中心である。先にも述べたが、文字の 背景に対しても単位質量の考え方を同じく相当させることで背景を含んだ文字の重 心計算が可能である。文字の具体的質量の算出は、文字の質量に影響を与えること を考慮した文字の形態における座標点が構成する全ての座標点の画素値の総和( 代表的点の総和も含む)を文字の質量とできる。
[0077] 文字の重心座標の各軸上の位置は、前記影響を与える点の単位質量とその点を 各軸に投影した位置と各点の重みの積の各軸における総和を文字の質量で除する ことで求められる。
即ち、座標点 (x、 y)における質量を g [x] [y]とし、重心位置 (GRx、 GRy)とすれば 文字の形態の質量 wと GRx'GRyは、以下の式で求められる。
[0078] [数 1]
Xwidtk ~lYwidth-l
w= Y lg[ ][ y] 式 i
Xwidt -lYwidtk-ϊ
GR x=^ i ^ ヌ [x][y] x x x «x. y 式 2
y
Xwidth-i Ymdt -1
ここで、 X は水平方向の画素数であり、 Y は垂直方向の画素数であり、 ωは
width width
重み値である。
[0079] 4.特件値である重心力 ポテンシャルの 、である 前記、課題を解決する手段として、文字の形態に固有の特性を表す特性値を文字 の重心とし、重心は、文字のポテンシャルの重心を求めることで課題を解決することを 特徴とする。
文字の重心を、文字の形態の質量における重心として定量化する手法を提示したが 、主観評価では、背景からの影響や隣接する文字によりその文字の重心の設定が影 響を受ける。
[0080] その影響を考慮した文字の重心を定量的に算出する目的で、文字の形態を示す 各点へのそれ以外の点の影響を定量的に求める手法として文字におけるポテンシャ ルの重心が考えられ、その手法を以下に示す。
[0081] 文字の形態を構成する点に、文字の形状ならびに背景の各点が与える影響度の 総和が文字の形態を構成する点の点ポテンシャルであり、文字の形態を構成するす ベての点の点ポテンシャルの総禾口が、文字のポテンシャルといえる。文字のポテンシ ャルの重心は、点ポテンシャルの分布の中心として求められる。すなわち形態として 定めた点に、影響を与える点が作用する力を考えればベクトルで現され、影響を与え ると定めた点による全てのベクトルの総和が影響を与えられる点のベクトルと考えられ る。
[0082] 更に、補足すれば、文字の形態をデザイン的に通常認識し得る形状に限定して重 心を求める、あるいは詳細は、後述するが文字の形態として文字のストロークあるレ、 は輪郭を形成する端点を選別的に定め、その端点を通る線で構成される領域の内 部を文字の形態とする手法も考えられる。更に、背景に近傍に並んだ文字も含めて 重心を求める手法も容易に用いることができる。これらの手法の範囲は、文字の取り 扱い方で定めらる事ができ、質量による重心、ポテンシャルによる重心の取り扱いに 関らず、同じである。
[0083] 文字の形態を表す点とそれらに影響を与える点が値を持ちこれをおのおのの質量 と見ると文字のポテンシャルは、文字のポテンシャルエネルギーとして取り扱える。
[0084] 文字のポテンシャルの重心座標の各軸上の位置は、前記影響を与える点のポテン シャルエネルギーとその点を各軸に投影した位置と各点の重みの積の各軸における 総和を文字のポテンシャルエネルギーで除することで求められる。 [0085] 即ち、文字のポテンシャルエネルギーの重心位置(GRPx、 GRPy)とすれば 各点 のポテンシャルエネルギー P (X, y)と P (X, y)と P (xi, yi)の距離 rと GRPx'GRPyは 、以下の式で求められる。
[0086] なお、
[数 2] 丄 (
は自分自身の点が周りから影響をうけるポテンシャルエネルギーを意味する。
[数 3]
Figure imgf000021_0001
は自分自身の点を含まなレ、すべての点の総和を意味する。
[数 4]
は、 自分自身の点と影響する点のそれぞれの質量を掛け合わしたものである。
[数 5]
M
[数 7]
の距離を表し、乗数 kは、通常 2とするが仁意の値で処理しても良い。 wは、文字の形 態を構成する点のポテンシャルエネルギーの総和である。
園 M(x,y)M
式 4
Figure imgf000022_0001
式 5
1
GRPx =— Pf 、χ χ χ ω
w x'y) 式 6
Figure imgf000022_0002
[0087] 5.処理装置
前述したように、文字の形態の定め方で文字の形状や背景の特性を表現できる特 性値を算出し、取り扱えるということは、形状を表現するのに多くのデータを持ってす る力 \単なる名称としてのコードで対応付ける取り扱い方法からすれば、固有の特性 値でもって取り扱える本願は、差別化された開示技術である。即ち、識別特性値その ものが形態の特性を表現している。従来の形状のビットマップ座標はすべてを展開し ないと形状を示さないが、本願は、値そのもので識別可能である。
[0088] 基準特性値と対象特性値を比較する処理装置と同じぐ通常、ひとつの文字では、 特性値は、単一であってもよく。文字を、部首等の部分に分け、レ、くつかの部首を共 通化する場合、各部首も特性値を持たせうる。この場合文字を単一でなく複数の特 性値の組み合わせとして取り扱うこともできるが、数値化されていることで、比較'識別 等での制御は、従来の形状的比較処理に比べて数段容易である。当然、前述してい る特性値の求め方は、充当される。
[0089] 以下、図を参照して本発明の実施の形態を説明する。
[0090] 以下の説明は、単一の文字について記載している。文字を部首などに分けて複数 の特性値を持たせる場合、又は文字が絵記号などである場合も基本思想は同じであ ります。また、文字の重心は Y方向の座標と、 X方向の座標があり、以下の実施例で は重心の Y方向の座標を「重心の Y座標」、重心の X方向の座標を「重心の X座標」と して説明いる。 [0091] 図 1は、本発明の実施の形態の文字データ生成装置 100の構成を示す。 文字デ ータ生成装置 100は、本発明の実施の形態の処理装置として機能する。
[0092] 文字データ生成装置 100は、例えば、パーソナルコンピュータであり得る。パーソナ ノレコンピュータとしては、例えば、デスクトップ型またはラップトップ型の任意のタイプ のコンピュータが使用され得る。あるいは、文字データ生成装置 100は、ワードプロセ ッサであってもよレ、。さらに、文字データ生成装置 100は、カラー表示および白黒表 示のうちの少なくとも一方の表示が可能な表示手段を備えた電子機器または情報機 器などの任意の情報表示装置であり得る。例えば、文字データ生成装置 100は、力 ラー液晶表示デバイスを備えた電子機器、携帯情報ツールである携帯情報端末、 P HSを含む携帯電話機、または一般の電話機 ZFAXなどの通信機器であってもよい 。さらに、例えば、文字データ生成装置 100は、テレビまたはプロジェクタであっても よい。
[0093] 文字データ生成装置 100は、カラー表示可能な表示手段 10と、表示手段 10に文 字を表示するように表示手段 10を制御する制御手段 20と、表示手段 10に表示すベ き文字を示す文字情報を制御手段 20に入力するために使用される入力手段 30と、 補助メモリ 40とを含む。制御手段 20には、表示手段 10と、入力手段 30と、補助メモリ 40とが接続されている。
[0094] 文字情報は、例えば、文字を識別する文字コードと文字の大きさを示す文字サイズ とを含む。文字コードは、例えば、 JISコード、シフト JISコード、 EUCコード、区点コー ド、 UNICODEである。
[0095] 入力手段 30としては、文字情報を入力することが可能な任意のタイプの入力デバ イスが使用され得る。例えば、キーボード、マウス、またはペン入力装置が、入力手段 30として好適に使用され得る。文字データ生成装置 100が携帯電話機である場合に は、通話先の電話番号を指定するための数字キーが文字情報を入力するために用 レ、られてもよレ、。また、表示手段 10に表示される文字のサイズが予め 1つに固定され ている場合には、文字サイズの入力は省略され得る。
[0096] 文字データ生成装置 100がインターネットを含む通信回線に接続するための接続 手段を備えてレ、る場合には、その通信回線から受信した電子メールに含まれるメッセ ージが表示手段 10に表示されてもよい。この場合には、接続手段が、入力手段 30と して機能する。
[0097] 補助メモリ 40には、文字データ生成プログラム 41と、文字データ生成プログラム 41 を実行するために必要なデータ 42とが格納されている。データ 42は、文字を示す文 字データ 42aを含む。文字データ 42aは、例えば、フォントデータである。例えば、フ オントデータは、アウトラインフォント形式、ストローク形式およびビットマップ形式のう ちの少なくとも 1つの形式で表される。なお、文字には、文字の部首、文字の一部、ァ ルファベットなどが含まれる。文字データ生成プログラム 41と文字データ 42aとの詳 細は、後述される。
[0098] 補助メモリ 40としては、文字データ生成プログラム 41およびデータ 42を格納するこ とが可能な任意のタイプの記憶装置が使用され得る。例えば、ハードディスク、 CD- ROM, MO、 MD、 DVD, ICカード、光カードなどの記録媒体が好適に使用され得 る。
[0099] なお、文字データ生成プログラム 41およびデータ 42は、補助メモリ 40に格納される ことに限定されなレ、。例えば、文字データ生成プログラム 41およびデータ 42は、制御 手段 20に含まれるメモリに格納されてもよいし、 ROM (図示せず)に格納されてもよ レヽ。 ROMは、例えば、マスク R〇M、 EPR〇M、 EEPROM、またはフラッシュ ROM であり得る。文字データ生成プログラム 41およびデータ 42を格納する記録媒体は、 プログラムおよびデータを固定的に担持する。
[0100] 文字データ生成装置 100がインターネットを含む通信回線に接続するための手段 を備えている場合には、その通信回線から文字データ生成プログラム 41およびデー タ 42の少なくとも一部をダウンロードすることができる。この場合、ダウンロードに必要 なローダープログラムは、 ROM (図示せず)に予め格納されていてもよいし、補助メ モリ 40から制御手段 20にインストールされてもよい。
[0101] 制御手段 20は、 CPU21とメインメモリ 22とを含む。
[0102] CPU21は、文字データ生成装置 100の全体を制御および監視するとともに、補助 メモリ 40に格納されている文字データ生成プログラム 41を実行する。
[0103] CPU21は、メインメモリ 22に格納された各種のデータに基づいて文字データ生成 プログラム 41を実行することにより、変形された文字を示す変形文字データを生成す る。生成された変形文字データは、メインメモリ 22に一旦格納された後、表示手段 10 に出力される。変形文字データが表示手段 10に出力されるタイミングは、 CPU21に よって制御される。
[0104] メインメモリ 22は、入力手段 30から入力されたデータや表示手段 10に表示するた めのデータや文字データ生成プログラム 41を実行するために必要なデータを一時的 に格納する。
[0105] 表示手段 10には、制御手段 20から出力された変形文字データが入力され、表示 手段 10は、変形文字を表示する。
[0106] 表示手段 10は、例えば、カラー液晶表示デバイスである。カラー液晶表示デバイス としては、パソコンなどに多く用いられている透過型の液晶表示デバイスの他、反射 型やリアプロ型の液晶表示デバイスが使用され得る。しかし、表示手段 10は、カラー 液晶表示デバイスに限定されなレ、。表示手段 10として、 X方向および Y方向に配列 された複数のピクセルを有する任意のカラー表示装置(レ、わゆる XYマトリクス表示装 置)が使用され得る。
[0107] なお、変形文字が、表示手段に表示されることに限らない。変形文字は、紙に印刷 され得る。この場合には、文字データ生成装置 100は、表示手段 10に替えて、また は表示手段 10に加えて、プリンタを含む。このプリンタには、制御手段 20から出力さ れた変形文字データが入力される。このプリンタは、変形文字を紙に印字する。
[0108] さらに、変形文字データは、インターネットを含む電話通信回線に出力され得る。こ の場合には、文字データ生成装置 100は、表示手段 10に替えて、または表示手段 1 0に加えて、電話通信回線に文字データ生成装置 100を接続するための接続手段を 含む。文字データ生成装置 100は、この接続手段を介して、電話通信回線に変形文 字データを出力する。
[0109] 図 3は、補助メモリの中のデータ 42における文字データ 42aに基づレヽて 256 X 256 画素のサイズで表示された文字を示す。
[0110] 図 3 (a)は、 256 X 256画素のサイズで表示された漢字「上」を示す。漢字「上」は、 ストローク # 1— 1と、ストローク # 1— 2と、ストローク # 1— 3とを含む。ストローク # 1 — 1は、点(111, 155)と点(211, 155)とを結び、ストローク #1— 2は、点(111, 2 44)と点(111, 11)とを結び、ストローク #1— 3は、点(0, 11)と点(244, 11)とを結 ぶ。ストローク #ι— ιと、ストローク #1— 2と、ストローク #1— 3とによって、漢字「上」 が表現される。
[0111] 図 3(b)は、文字データ(図 2(b)参照)に基づいて 256X256画素のサイズで表示 された漢字「中」を示す。漢字「中」は、ストローク #2_iと、ストローク #2— 2と、スト ローク #2— 3と、ストローク #2— 4と、ストローク #2— 5とを含む。ストローク #2— 1 は、点、(22, 200)と点、(22, 78)とを結び、ストローク #2— 2は、点、(22, 200)と点、(2 22, 200)とを結び、ストローク #2— 3は、点、(222, 200)と点、(222, 78)とを結び、 ストローク #2— 4は、点(22, 100)と点(222, 100)とを結び、ストローク # 2— 5は、 点、(122, 244)と点、(122, 0)とを結ぶ。ストローク #2_1と、ストローク #2_2と、ス トローク #2— 3と、ストローク #2— 4と、ストローク #2— 5とによって、漢字「中」が表 現される。
[0112] 図 3(c)は、 256X256画素のサイズで表示された漢字「下」を示す。漢字「下」は、 ストローク #3— 1と、ストローク #3— 2と、ストローク #3— 3と、ストローク #3— 4とを 含む。ストローク #3— 1は、点(0, 222)と点(244, 222)とを結び、ストローク # 3— 2は、点、(111, 222)と点、(111, 0)とを結び、ストローク #3— 3は、点、(111, 166)と 点、(166, 144)とを結び、ストローク #3— 4は、点、(166, 144)と点、(200, 100)とを 結ぶ。ストローク #3— 1と、ストローク #3— 2と、ストローク #3— 3と、ストローク #3— 4とによって、漢字「下」が表現される。
[0113] 図 3(d)は、 256X256画素のサイズで表示された漢字「止」を示す。漢字「止」は、 ストローク #4—1と、ストローク #4— 2と、ストローク #4— 3と、ストローク #4— 4とを 含む。ストローク #4—1は、点、(111, 155)と点、(211, 155)とを結び、ストローク #4 _2は、点、(111, 244)と点、(111, 11)とを結び、ストローク #4— 3は、点、(0, 11)と 点、(244, 11)とを結び、ストローク #4— 4は、点、(43, 149)と点、(43, 11)とを結ぶ。 ストローク #4—1と、ストローク #4— 2と、ストローク #4— 3と、ストローク #4— 4とに よって、漢字「止」が表現される。
[0114] 図 2は、図 3で示した表示された文字の補助メモリの中の文字データ 42aの一例を 示す。文字データ 42aは、例えば、フォントデータである。
[0115] 図 2 (a)は、図 3 (a)で表示例を説明した漢字「上」を示す文字データを示す。以下、 図 2 (a)を参照して、漢字「上」を示す文字データの詳細を説明する。なお、漢字「上」 は、 3つのストローク(ストローク # 1— 1、ストローク # 1— 2、ストローク # 1— 3)を含む 。例えば、漢字「上」の形状は、 3つのストローク(ストローク # 1— 1、ストローク # 1— 2 、ストローク # 1— 3)によって示される。
[0116] 文字データは、文字コードを示すコードデータ 01と、文字に含まれたストロークの数 を示すストローク数データ 02と、ストローク # 1 _ 1を示すストロークデータ 08Aと、スト ローク # 1 _ 2を示すストロークデータ 08Bと、ストローク # 1 _ 3を示すストロークデー タ 08Cとを含む。
[0117] コードデータ 01は、漢字「上」を示す区点コード 3069を示す。ストローク数データ 0 2は、値「3」を示す。データ 02の値「3」は、ストロークの数が 3つであることを示す。
[0118] ストロークデータ 08A、ストロークデータ 08B、およびストロークデータ 08Cのそれぞ れは、ストロークのナンバーを示すナンバーデータ 03と、第 1データ 04と、第 2データ 05と、ストロークの始点の座標を示す始点座標データ 06と、ストロークの終点の座標 を示す終点座標データ 07とを含む。
[0119] 第 1データ 04は、ストロークが文字の重心の Y座標を調整するために移動可能であ るか否かを示す。文字の重心の Y座標は、文字の上部分と下部分とのバランスを示 す。第 1データ 04の値力 「1」である場合には、ストロークは移動可能であり、第 1デ ータ 04の値力 「0」である場合には、ストロークは移動不可能である。第 1データ 04 の値は、例えば、予め文字データ作成時に文字固有で設定されている。なお、第 1 データ 04の値は「0」または「1」に限定されなレ、。第 1データ 04の値は、ストロークが 移動可能か否力、を示すことができる限りは、任意である。
[0120] 第 2データ 05は、ストロークが文字の重心の X座標を調整するために移動可能であ るか否かを示す。文字の重心の X座標は、文字の左部分と右部分とのバランスを示 す。第 2データ 05の値が、「1」である場合には、ストロークは移動可能であり、第 2デ ータ 05の値力 「0」である場合には、ストロークは移動不可能である。第 2データ 05 の値は、例えば、予め文字データ作成時に文字固有で設定されている。なお、第 2 データ 05の値は「0」または「1」に限定されない。第 2データ 05の値は、ストロークが 移動可能か否かを示すことができる限りは、任意である。
[0121] 以下、ストロークデータ 08Aに含まれるデータの詳細を説明する。
[0122] ナンバーデータ 03は、値「1」を示す。これは、漢字「上」に含まれる 3つのストローク のうち、ストローク # 1— 1が 1番目のストロークであることを示す。第 1データ 04は、値 「1」を示す。これは、文字の重心の Y座標を調整するためにストローク を移動 可能であることを示す。第 2データ 05は、値「1」を示す。これは、文字の重心の X座 標を調整するためにストローク # 1 _ 1を移動可能であることを示す。
[0123] 始点座標データ 06は、座標(111 , 155)を示し、終点座標データ 07は、座標(21 1 , 155)を示す。これらは、ストローク が、始点(111 , 155)と終点(211, 15 5)とを結ぶことを示す。
[0124] 以下、ストロークデータ 08Bに含まれるデータの詳細を説明する。
[0125] ナンバーデータ 03は、値「2」を示す。これは、漢字「上」に含まれる 3つのストローク のうち、ストローク # 1— 2が 2番目のストロークであることを示す。第 1データ 04は、値 「0」を示す。これは、文字の重心の Y座標を調整するためにストローク # 1 2を移動 可能でないことを示す。第 2データ 05は、値「1」を示す。これは、文字の重心の X座 標を調整するためにストローク # 1 2を移動可能であることを示す。
[0126] 始点座標データ 06は、座標(111 , 244)を示し、終点座標データ 07は、座標(11 1 , 11)を示す。これらは、ストローク # 1— 2が、始点(111, 244)と終点(111, 11) とを結ぶことを示す。
[0127] 以下、ストロークデータ 08Cに含まれるデータの詳細を説明する。
[0128] ナンバーデータ 03は、値「3」を示す。これは、漢字「上」に含まれる 3つのストローク のうち、ストローク # 1— 3が 3番目のストロークであることを示す。第 1データ 04は、値 「0」を示す。これは、文字の重心の Y座標を調整するためにストローク # 1 _ 3を移動 可能でないことを示す。第 2データ 05は、値「0」を示す。これは、文字の重心の X座 標を調整するためにストローク # 1― 3を移動可能でなレ、ことを示す。
[0129] 始点座標データ 06は、座標(0, 11)を示し、終点座標データ 07は、座標 (244, 1 1)を示す。これらは、ストローク # 1— 3が、始点(0, 11)と終点(244, 11)とを結ぶこ とを示す。
[0130] 図 2 (b)は、図 3 (b)で表示例を説明した漢字「中」を示す文字データを示す。コード データ 01は、漢字「中」を示す区点コード 3570を示す。
[0131] 図 2 (c)は、図 3 (c)で表示例を説明した漢字「下」を示す文字データを示す。コード データ 01は、漢字「下」を示す区点コード 1828を示す。
[0132] 図 2 (d)は、図 3 (d)で表示例を説明した漢字「止」を示す文字データを示す。コード データ 01は、漢字「止」を示す区点コード 2763を示す。
[0133] 図 2 (b)、図 2 (c)および図 2 (d)において、図 2 (a)に示されるデータと同一のデー タには同一の参照符号を付し、その説明を省略する。
[0134] なお、第 1データ 04の値および第 2データ 05の値のそれぞれは、値「0」または値「 1」に限らない。第 1データ 04によって文字の重心の Y座標を調整するためにストロー クを移動可能であるか否かが示される限りは、第 1データ 04の値は、任意である。第 2データ 05によって文字の重心の X座標を調整するためにストロークを移動可能であ るか否かが示される限りは、第 2データ 05の値は、任意である。
[0135] さらに、第 1データ 04は、文字の重心の Y座標を調整するために何番目に移動する ストロークであるかを示してもよい。例えば、ストロークデータ 08Aに含まれる第 1デー タ 04の値が「1」であり、ストロークデータ 08Bに含まれる第 1データ 04の値力 S「2」であ り、ストロークデータ 08Cに含まれる第 1データ 04の値が「3」である場合には、移動さ れるストロークの順番は、ストローク # 1— 1、ストローク # 1— 2、ストローク # 1— 3の 順である。
[0136] さらに、第 2データ 05は、文字の重心の X座標を調整するために何番目に移動する ストロークであるかを示してもよい。例えば、ストロークデータ 08Aに含まれる第 2デー タ 05の値が「1」であり、ストロークデータ 08Bに含まれる第 2データ 05の値力 S「3」であ り、ストロークデータ 08Cに含まれる第 2データ 05の値が「2」である場合には、移動さ れるストロークの順番は、ストローク # 1— 1、ストローク # 1— 3、ストローク # 1— 2の 順である。
[0137] さらに、第 1データ 04は、文字の重心の Y座標を調整するためにストロークの始点 およびストロークの終点のうちの少なくとも一方を移動可能か否かを示してもよい。第 1データ 05は、文字の重心の X座標を調整するためにストロークの始点およびスト口 ークの終点のうちの少なくとも一方を移動可能か否かを示してもよい。
[0138] 例えば、第 1データ 04の値が「2」である場合には、ストロークの始点および終点のう ちストロークの始点のみが移動可能であり、第 1データ 04の値が「3」である場合には 、ストロークの始点および終点のうちストロークの終点のみが移動可能であり得る。さ らに、第 1データ 04の値が「4」である場合には、ストロークの始点および終点が移動 可能であり得る。
[0139] 図 2 (d)に示すように、ストロークデータ 08Dに含まれる第 1データ 04の値は「3」で ある。従って、ストローク # 4— 4の始点のみが移動可能である。ストローク # 4— 4の 終点は移動しなレ、。その結果、ストローク # 4— 4は変形される。
[0140] なお、コードデータ 01が示す文字コードは、区点コードに限らない。他の文字コー ド(例えば、 JISコード、シフト JISコード、 EUCコード、 UNICODE)でもよレ、。
[0141] 6.文字データ牛.成方法
図 4は、文字データ生成プログラム 41の処理手順を示す。文字データ生成プロダラ ム 41は、 CPU21によって実行される。
[0142] 以下、図 1、図 2および図 4を参照して、文字データ生成プログラム 41の処理手順を ステップごとに説明する。なお、ここでの説明は、図 5A,図 5Bで示す基準文字 (説明 の中では正体文字)を図 7A,図 7Bで示す縦長変形文字とする文字データ生成方穂 を説明しています力 ここでの処理する対象文字は、これに限定されるものではない
[0143] 例えば、本発明の対象文字は、基準文字あるいはその拡縮文字の少なくともひとつ のストロークを変形することができ、複数の対象文字においては、複数の対象文字あ るいは複数の対象文字と一律の変形関係にある文字、あるいはそれらの拡縮文字の 少なくともひとつのストロークを変形することもできるものである。
[0144] ステップ S1 :文字情報(文字コード 3069)が、入力手段 30を介してメインメモリ 22 に入力される。補助メモリ 40に格納されている文字データ 42aの中から、入力された 文字情報に対応する文字データが補助メモリ 40から読み取られる。読み取られた文 字データは、文字の形状を示す。読み取られた文字データは、例えば、図 2 (a)に示 される。
[0145] ステップ S2:文字データに基づレ、て、変形対象となる文字を示す正体文字データ が生成される。生成された正体文字データがメインメモリ 22に入力される。
[0146] 正体文字に含まれる複数のストロークが表示手段 10の表示領域の大きさに適合す るように、複数のストロークがそれぞれ所定の大きさに縮小され、縮小された複数のス トローク上の座標の値が所定の方法で量子化される。このように、文字データに基づ いて、正体文字データが生成される。
[0147] 例えば、複数のストローク上の座標値がそれぞれ 256分の 24倍され、さらに、 256 分の 24倍されたそれぞれの座標値の小数点以下が切り捨てられる。
[0148] 図 5Aは、正体文字データに基づいて 24X24画素のサイズでマッピングされた漢 字「上」を示す。
[0149] ストローク #1— 1の始点は、点(111, 155)である。従って、 256分の 24倍された x 座標成分の値 10· 4(111X24/256 = 10.4)および 256分の 24倍された y座標 成分のィ直 14. 5(155X24/256 = 14. 5)力 S算出される。さらに、 10.4および 14. 5の小数点以下が切り捨てられ、座標(10, 14)が算出される。
[0150] 同様に、ストローク #1— 1の終点(211, 155)、ストローク #1— 2の始点(111, 24 4)、ストローク #1— 2の終点(111, 11)、ストローク #1 3の始点(0, 11)、および ストローク #1 3の終点(244, 11)のそれそれに基づいて、複数の座標(19, 14)、 (10, 22)、 (10, 1)、 (0, 1)、 (22, 1)が算出される。
[0151] 図 5Bは、正体文字データに基づいて 24X24画素のサイズでマッピングされた漢 字「止」を示す。
[0152] ストローク #4—1の始点は、点(111, 155)である。従って、 256分の 24倍された x 座標成分の値 10.4(111X24/256 = 10.4)および 256分の 24倍された y座標 成分のィ直 14. 5(155X24/256 = 14. 5)力 S算出される。さらに、 10.4および 14. 5の小数点以下が切り捨てられ、座標(10, 14)が算出される。
[0153] 同様に、ストローク #4— 1の終点(211, 155)、ストローク #4— 2の始点(111, 24 4)、ストローク #4— 2の終点(111, 11)、ストローク #4— 3の始点(0, 11)、ストロー ク #4— 3の終点(244, 11)、ストローク #4— 4の始点(43, 149)、およびストローク # 4 4の終点(43, 11)のそれそれに基づいて、複数の座標(19, 14)、(10, 22) 、 (10, 1)、(0, 1)、 (22, 1)が算出される。
[0154] なお、座標値を量子化する所定の方法として、切り捨てを利用したが、所定の方法 は、切り捨てに限らない。所定の方法として、切り上げを利用してもよい。所定の方法 として、四捨五入を利用してもよい。所定の方法として、所望の閾値を利用してもよい
[0155] 再び、図 4を参照して、文字データ生成処理手順の説明を続ける。
[0156] ステップ S3 :正体文字に含まれるストロークに基づいて、基準値を算出するための 対象となる基準値対象領域が決定される。
[0157] 基準値対象領域は、例えば、正体文字に外接する多角形の境界線で囲まれた領 域である。
[0158] 図 6Aは、正体文字(上)に外接する多角形の境界線で囲まれた領域を示す。黒色 で塗り潰された領域が多角形の境界線で囲まれた領域である。多角形の複数の頂点 は、 (0, 1)、(22, 1)、 (19, 14)および(10, 22)である。
[0159] 図 6Bは、正体文字 (止)に外接する多角形の境界線で囲まれた領域を示す。黒色 で塗り潰された領域が多角形の境界線で囲まれた領域である。多角形の複数の頂点 は、 (0, 1)、(22, 1)、 (19, 14)、 (10, 22)および(4、 14)である。
[0160] 再び、図 4を参照して、文字データ生成処理手順の説明を続ける。
[0161] ステップ S4 :基準値対象領域上の座標に基づいて、文字の質量 wが式 1により求め られる。例えば、それぞれの座標(X, y)において黒いドットが置かれている場合の質 量 g[x] [y] = l、それ以外のところの質量 g[x] [y] =0した場合、図 6Aの黒く塗りつ ぶされた領域の質量 wは 300と求められる。また、図 6Bの黒く塗りつぶされた領域の 質量 wは 335になる。
[0162] ステップ S5 :ステップ S4で求めた質量 wから式 2と式 3により基準値となる重心位置
(GRx, GRy)が求められる。例えば重み値 ω = 1とした場合、図 6Αの黒く塗りつぶさ れた領域の重心位置はそれぞれ、 GRx= l l . 76, GRy = 8. 62となる。また、図 6B の黒く塗りつぶされた領域の重心位置はそれぞれ、 GRx= 11. 18, GRy = 8. 92に なる。 [0163] ステップ S7 :複数のストロークのうち移動可能なストロークが選択される。具体的に は、図 2 (a)の場合はストロークデータに含まれる第 1データ 04が参照され、移動可 能なストローク # 1 1が選択される。
[0164] 図 2 (d)の場合はストロークデータに含まれる第 1データ 04が参照され、移動可能な ストローク # 4—1とストロークの始点および終点のうちストロークの始点のみが移動可 能なストローク # 4— 4が選択される(図 2 (d)参照)。
[0165] ステップ S8:図 2 (a)の場合はストローク # 1 _ 1が移動可能な範囲内で、ストローク
# 1一 1が移動され、変形文字を示す変形文字データが生成される。例えば、図 8A の(a)の H10のような変形文字データが生成される。図 2 (d)の場合はストローク # 4 _ 1とストローク # 4— 4が移動可能な範囲で、ストローク # 4—1とストローク # 4— 4 が移動され、変形文字を示す変形文字データが生成される。例えば、図 8Bの(a)の K10のような変形文字データが生成される。図 8Aの(a)の H10と図 8B (d)の K10は 、移動可能なストロークをまだ移動させていない状態で変形データを生成している。 これは、ストロークを大きく移動したところから変形データを生成するよりも、ストローク の位置はそのままで、単純の変形して変形データを生成する方が、ステップ S5で算 出した基準値とステップ S10で算出する特性値が近い値になるために、ステップ S8 〜S11までのループの回数が少なくてすむためである。
[0166] ただし、その方法に限定されるわけではなぐ移動可能なストロークを大きく移動さ せて変形データを生成させてもよいし、途中の位置から変形データを生成してもよい
[0167] 次に具体的な手順を示す。
[0168] 文字データに基づいて、変形文字データが生成される。生成された変形文字デー タはメインメモリ 22に入力される。
[0169] 複数のストローク上の座標の y座標成分の値が所定の大きさに縮小され、 X座標成 分の値が所定の大きさより小さい大きさに縮小され、縮小されたこれらの値が所定の 方法で量子化される。このように、文字データに基づいて、変形文字データが生成さ れる。例えば、複数のストローク上の座標の y座標成分の値が 256分の 24倍され、 x 座標成分の値が 256分の 12倍され、さらに、縮小された複数の値の小数点以下が 切り捨てられ、または四捨五入される。
[0170] 図 7Aは、変形文字データに基づいて 12X24画素のサイズでマッピングされた漢 字「上」を示す。
[0171] ストローク #1— 1の始点は、点(111, 155)である。従って、 256分の 12倍された x 座標成分の値 5. 2(111X12/256 = 5. 2)および 256分の 24倍された y座標成分 のィ直 14. 5(155X24/256 = 14. 5)力 S算出される。さらに、 5. 2力 S四捨五入され、 14. 5の小数点以下が切り捨てられ、座標(5, 14)が算出される。
[0172] 同様に、ストローク #1— 1の終点(211, 155)、ストローク #1— 2の始点(111, 24 4)、ストローク #1— 2の終点(111, 11)、ストローク #1 3の始点(0, 11)、および ストローク #1— 3の終点(244, 11)のそれそれに基づいて、複数の座標(10, 14)、 (5, 22)、 (5, 1)、 (0, 1)、(11, 1)が算出される。
[0173] 図 7Bは、変形文字データに基づいて 12 X 24画素のサイズでマッピングされた漢 字「止」を示す。
[0174] ストローク #4—1の始点は、点(111, 155)である。従って、 256分の 12倍された x 座標成分の値 5. 2(111X12/256 = 5. 2)および 256分の 24倍された y座標成分 のィ直 14. 5(155X24/256 = 14. 5)力 S算出される。さらに、 5. 2力 S四捨五入され、 14. 5の小数点以下が切り捨てられ、座標(5, 14)が算出される。
[0175] 同様に、ストローク #4— 1の終点(211, 155)、ストローク #4— 2の始点(111, 24 4)、ストローク #4 2の終点(111, 11)、ストローク #4— 3の始点(0, 11)、ストロー ク #4— 3の終点(244, 11)、ストローク #4—4の始点(43, 149)、およびストローク #4 4の終点(43, 11)のそれそれに基づいて、複数の座標(10, 14)、(5, 22)、 (5, 1)、(0, 1)、 (11, 1)、 (2, 14)、 (2, 1)が算出される。
[0176] 変形文字に含まれるストローク (変形文字の形状)に基づいて、特性値を算出する ための対象となる特性値対象領域が決定される。
[0177] 特性値対象領域は、例えば、変形文字に外接する多角形の境界線で囲まれた領 域である。
[0178] 再び、図 4を参照して、文字データ生成処理手順の説明を続ける。
[0179] ステップ S9:特性値対象領域上の座標に基づいて、文字の質量 wが式 1により求め られる。例えば、それぞれの座標(X, y)において黒いドットが置かれている場合の質 量を g [x] [y] = l、それ以外のところの質量を g [x] [y] =0とした場合、図 8Aの(b) の P10の黒く塗りつぶされた領域の質量 wは 162と算出される。また、図 8Bの L10の 黒く塗りつぶされた領域の質量 wは 184と算出される。
[0180] ステップ S10 :ステップ S9で求めた質量 wから式 2と式 3により基準値となる重心位 置(GRx、 GRy)が求められる。例えば重み値 ω = 1とした場合、図 8Αの(b)の P10 の黒く塗りつぶされた領域の重心位置はそれぞれ、 GRx = 6. 31, GRy = 8. 93と算 出される。また、図 8Bの L10の黒く塗りつぶされた領域の重心位置はそれぞれ、 GR x = 5. 66、GRy = 9. 09と算出される。
[0181] ステップ S11 :ストローク # 1— 1がさらに移動可能か否かが判定される。ストローク
# 1—1がさらに移動可能であると判定された場合 (Yes)には、処理は、ステップ S8 に進む。ストローク # 1— 1がさらに移動可能でないと判定された場合 (No)には、処 理は、ステップ S 12に進む。
[0182] ステップ S8〜S11が繰り返されることによって、ストローク # 1— 1が y軸に沿って「1 」または、「ー1」ずつ平行移動され、ストローク # 1— 1が y軸に沿って「1」または、「一 1」ずつ平行移動されるごとに、変形文字データが生成される。ステップ S8〜S11が 繰り返されることによって、複数の変形文字のそれぞれに対応する複数の特性値が 算出される。移動可能か否かの判断基準の中に移動する範囲を含めてもよいし、移 動する範囲は限定されたものであっても、許されるすべての範囲であってもよい。
[0183] 図 8Aは、複数の変形文字 H2〜H22と、複数の変形文字 H2〜H22のそれぞれに 対応する複数の特性値対象領域 P2〜P22と、複数の変形文字 H2〜H22のそれぞ れに対応する複数の特性値とを示す。
[0184] 図 8A (a)は、複数の変形文字 H2〜H22を示す。なお、変形文字 H4〜H9と変形 文字 H11〜H20とは、省略する。
[0185] 図 8A (b)は、複数の変形文字 H2〜H22のそれぞれに対応する複数の特性値対 象領域 P2〜P22を示す。なお、特性値対象領域 P4〜P9と特性値対象領域 Pl l〜 P20とは、省略する。
[0186] 図 8A (c)は、複数の変形文字 H2〜H22のそれぞれに対応する複数の特性値を 示す。
[0187] 例えば、ステップ S8〜S11が繰り返えされるごとに、ストローク # 1— 1が y軸に沿つ て「1」または、「ー1」ずつ平行移動され、ストローク # 1— 1が y軸に沿って「1」または 、 「一 1」ずつ平行移動されることにより、複数の変形文字データが生成される。その 結果、複数の変形文字 (変形文字 H2〜H22)を示す複数の変形文字データが生成 される。さらに、変形文字に含まれるストロークに基づいて特性値対象領域(特性値 対象領域 P2〜P22)が決定され、さらに、特性値対象領域 (特性値対象領域 P2〜P 22)に基づいて、複数の変形文字 (変形文字 H2〜H22)のそれぞれに対応する複 数の特性値 (特性値 g2〜g22)が算出される。
[0188] なお、ストロークの y軸に沿った平行移動は、「1」または、「_ 1」ずつに限定されな レ、。ストロークの移動距離および方向は、文字データに従う限りは任意でよい。
[0189] さらに、文字の変形の形態は、ストロークの移動に限定されない。文字の変形の形 態は、例えば、ストロークの移動、ストロークの変形およびストロークの長さの変更のう ちの少なくとも 1つを含む。さらに、移動されるストローク、変形されるストロークおよび 長さが変更されるストローク力 文字に含まれる少なくとも 1つのストロークのうちの 1つ のストロークであることに限定されなレ、。文字に含まれる全てのストロークが移動され てもよい。
[0190] 再び、図 4を参照して、文字データ生成処理手順の説明を続ける。
[0191] ステップ S12 :複数の特性値のそれぞれと基準値とが比較される。比較結果に応じ て、複数の特性値のそれぞれと基準値との類似度が求められる。類似度は、例えば 、特性値と基準値との差である。特性値と基準値との差が小さい場合には類似度が 高ぐ特性値と基準値との差が大きい場合には類似度が低い。複数の特性値のうち 基準値に最も近い特性値 (類似度が高い特性値)が選択される。例えば、複数の特 性値 g2〜g22のうち基準値 G (G = 8. 62)に最も近い特性値 gl2 (8. 47)が選択さ れる(図 8A (c)参照)。
[0192] なお、類似度は、特性値と基準値との差に限定されない。特性値と基準値との類似 性を示し得る限りは、任意である。
[0193] ステップ S13 :選択された特性値に対応する変形文字データがメインメモリ 22に出 力され、処理が終了する。この変形文字データによって示される文字が、補正長体文 字である。
[0194] 例えば、特性値 gl 2に対応する変形文字 H11 (補正長体文字)を示す変形文字デ ータがメインメモリ 22に出力される。
[0195] なお、選択される特性値は、複数の特性値 g2〜g22のうち、基準値 Gから所定の範 囲内にある特性値でもよい。この場合には、基準値から所定の範囲内の特性値 g (例 えば、 8. 62-0. 3≤g≤8. 62 + 0. 3)に対応する変形文字(変形文字 HI 2または 変形文字 H13)を示す変形文字データが出力される。基準値から所定の範囲内の 特性値が算出された場合に、ステップ S8〜S11の繰り返しが終了されてもよい。この 場合には、基準値から所定の範囲内(例えば、 8. 62 -0. 3≤g≤8. 62 + 0. 3)の 特性値 (例えば、 g = 8. 43)が算出された時にステップ S8〜S11の繰り返しが終了さ れ、変形文字 (例えば、変形文字 H12)を示す変形文字データが出力されてもよい。
[0196] 選択される特性値は、複数の特性値 g2〜g22のうち、基準値 Gから所定の範囲外 にある特性値でもよい。この場合には、基準値から所定の範囲外の特性値 gに対応 する変形文字を示す変形文字データが出力される。基準値から所定の範囲外の特 性値が算出された場合に、ステップ S8〜S11の繰り返しが終了されてもよい。この場 合には、基準値から所定の範囲外の特性値が算出された時にステップ S8〜S11の 繰り返しが終了され、変形文字を示す変形文字データが出力されてもよい。
[0197] 図 8Bは、複数の変形文字 K2〜K22と、複数の変形文字 Κ2〜Κ22のそれぞれに 対応する複数の特性値対象領域 L2〜L22と、複数の変形文字 Κ2〜Κ22のそれぞ れに対応する複数の特性値とを示す。
[0198] 図 8Β (a)は、複数の変形文字 K2〜K22を示す。なお、変形文字 Κ4〜Κ9と変形 文字 Κ11〜Κ20とは、省略する。
[0199] 図 8Β (b)は、複数の変形文字 K2〜K22のそれぞれに対応する複数の特性値対 象領域 L2〜L22を示す。なお、特性値対象領域 L4〜L9と特性値対象領域 Ll l〜 L20とは、省略する。
[0200] 図 8B (c)は、複数の変形文字 K2〜K22のそれぞれに対応する複数の特性値を示 す。 [0201] 例えば、ステップ S8〜S11が繰り返されるごとに、ストローク # 4—1が y軸に沿って 「1」または、「一 1」ずつ平行移動される。ステップ S8〜S11が繰り返されるごとに、ス トローク # 4— 4の長さが「1」または、「一1」ずつ短くなる。ストローク # 4—1が y軸に 沿って「1」ずつ平行移動され、ストローク # 4— 4の長さが「1」または、「_ 1」ずつ短く されることにより、複数の変形文字データが生成される。その結果、複数の変形文字( 変形文字 K2〜K22)を示す複数の変形文字データが生成される。さらに、変形文字 に含まれるストロークに基づいて特性値対象領域(特性値対象領域 L2〜L22)が決 定され、さらに、特性値対象領域(特性値対象領域 L2〜L22)に基づいて、複数の 変形文字 (変形文字 K2〜K22)のそれぞれに対応する複数の特性値 (特性値 h2〜 h22)が算出される。
[0202] さらに、ステップ S12において、複数の特性値のうち最も基準値に近い評価値が選 択される。
[0203] 複数の特性値 h2〜h22のうち最も基準値 G (G = 8. 92)に近い特性値 hi 1 (8. 94
)が選択される(図 8B (c)参照)。
[0204] さらに、ステップ S13において、選択された特性値に対応する変形文字データがメ インメモリ 22に出力され、処理が終了する。この変形文字データによって示される文 字が、補正長体文字である。
[0205] 特性値 hi 1に対応する変形文字 Kl 1 (補正長体文字)を示す変形文字データがメ インメモリ 22に出力される。
[0206] 図 9Aは、変形文字 H11を示す変形文字データに基づいて 12 X 24画素のサイズ でマッピングされた変形文字 (補正長体文字)を示す。
[0207] ストローク # 1— 1の始点は、点(5, 12)であり、ストローク # 1— 1の終点は、点(10
, 12)である。ストローク # 1— 2の始点は、点(5, 22)であり、ストローク # 1— 2の終 点は、点(5, 1)である。さらに、ストローク # 1— 3の始点は、点(0, 1)であり、ストロー ク # 1— 3の終点は、点(11, 1)である。単純長体文字のストローク # 1— 1 (始点(5,
14)、終点(10, 14) :図 7A参照)は、補正長体文字のストローク # 1— 1 (始点(5, 1
2)、終点(10, 12) )に変更される。
[0208] 図 9Bは、変形文字 K11を示す変形文字データに基づいて 12 X 24画素のサイズ でマッピングされた変形文字 (補正長体文字)を示す。
[0209] ストローク #4 1の始点は、点(5, 13)であり、ストローク #4 1の終点は、点(10 , 13)である。ストローク #4— 2の始点は、点(5, 22)であり、ストローク #4— 2の終 点は、点(5, 1)である。ストローク #4— 3の始点は、点(0, 1)であり、ストローク #4 _ 3の終点は、点(11, 1)である。さらに、ストローク #4— 4の始点は、点(2, 13)で あり、ストローク #4_4の終点は、点(2, 1)である。単純長体文字のストローク #4_ 1 (始点(5, 14)、終点(10, 14):図 7B参照)は、補正長体文字のストローク #1-1 (始点(5, 13)、終点(10, 13))に変更される。単純長体文字のストローク #4_4( 始点(2, 14)、終点(2, 1) :図 7B参照)は、補正長体文字のストローク #4_4(始点 (2, 13)、終点(2, 13))に変更される。
[0210] 図 10は、文字データに基づいて所定の画素のサイズでマッピングされた文字と、文 字の質量の重心とを示す。
[0211] 図 10 (a)は、正体文字データに基づいて 24X24の画素のサイズでマッピングされ た正体文字(「上」、「中」、「下」、「止」)と正体文字の質量の重心(基準値)とを示す。 正体文字「上」の基準値は、 8. 63である。正体文字「中」の基準値は、 11.62である 。正体文字「下」の基準値は、 12. 91である。正体文字「止」の基準値は、 8. 92であ る。
[0212] 図 10(b)は、単純長体文字データに基づいて 12X24の画素のサイズでマッピング された単純長体文字(「上」、「中」、「下」、「止」)と単純長体文字の質量の重心(特性 値)とを示す。単純長体文字「上」の特性値は、 8. 93である。単純長体文字「中」の 特性値は、 12.04である。単純長体文字「下」の特性値は、 13. 32である。単純長 体文字「止」の特性値は、 9.09である。
[0213] 図 10 (a)と図 10 (b)とを参照すれば、正体文字を単純長体文字に変形することによ つて、単純長体文字の特性値が、基準値から大きくずれることがわかる。
[0214] 図 10(c)は、補正長体文字データに基づいて 12X24の画素のサイズでマッピング された補正長体文字(「上」、「中」、「下」、「止」)と補正長体文字の質量の重心 (特性 値)とを示す。補正長体文字「上」の特性値は、 8.47である。補正長体文字「中」の 特性値は、 11.49である。補正長体文字「下」の特性値は、 12. 8である。補正長体 文字「止」の特性値は、 8. 94である。
[0215] 図 10 (a)〜図 10 (c)を参照すれば、補正長体文字の特性値は、単純長体文字の 特性値よりも基準値に近ぐ補正長体文字のバランスが保たれたことがわかる。
[0216] 以上、 y座標成分の値に基づいて、質量の重心の Y座標を算出する実施の形態を 説明した。重心の Y座標を算出することによって、横組みの文字列に含まれる複数の 文字のそれぞれの特性値を算出してもよい。
[0217] なお、 X座標成分の値に基づいて、特性値を算出してもよい。この場合には、縦組 みの文字列に含まれる複数の文字のそれぞれの質量の重心の X座標が算出されて もよレ、。例えば、縦組みの文字列に含まれる複数の文字のそれぞれが文字の質量の 重心の X座標を考慮して横長に変形されることによって、バランスを保った多くの文字 が表示画面に表示されえる。文字の質量の重心は、簡潔な計算によって求めること が可能であり、し力 主観的な重心とほぼ一致する。計算量が少ないので機器に実 装しやすいという利点もある。
[0218] 以上、図 1および図 4を参照して、文字データ生成装置 100を説明した。文字デー タ生成装置 100は、本発明の実施の形態の処理装置として機能する。
[0219] 例えば、図 1に示される実施の形態では、制御手段 20が「対象となる文字の形態に 基づいて、文字の特性値として対象文字の固有の特性を示す対象特性値を算出す る第 1算出手段」、「文字の特性値として基準文字の固有の特性を示す基準特性値 あるいは所定の基準値と対象特性値を比較する比較手段」、「比較手段の比較結果 に応じて、対象文字の特性度を判定する判定手段」、「文字の形態に固有の特性を 表す特性値を算出する第 2算出手段」および「算出された特性値を用いて文字処理 を制御する制御手段」に対応する。しかし、本発明の文字データ生成装置が図 1に 示されるものに限定されるわけではなレ、。上述した各手段の機能が達成される限りは 、任意の構成を有する文字データ生成が本発明の範囲内に含まれ得る。例えば、上 述した各手段は、ハードウェアによって実現されてもよいし、ソフトウェアによって実現 されてもよいし、ハードウェアとソフトウェアとによって実現されてもよい。
[0220] 例えば、図 4に示される実施の形態では、ステップ S8〜ステップ S10が「対象となる 文字の形態に基づき算出された対象文字の固有の特性を示す対象特性値を算出す るステップ」に対応し、ステップ S 12およびステップ S 13が「基準文字の固有の特性を 示す基準特性値と対象特性値を比較するステップ」、「比較手段の比較結果に応じ て、対象文字の特性度を判定するステップ」、「判定するステップの結果に応じて、処 理装置を制御するステップ」および「特性値を、ひとつの文字において、単一の数値 あるいは、一点の座標値として処理するあるいは、ひとつの文字の少なくともひとつの 部首を、単一の数値あるいは一点の座標値として処理するステップ」に対応する。し かし、本発明の処理手順が図 4に示されるものに限定されるわけではなレ、。本発明の 処理手順は、上述した各ステップを実行し得る限り、任意の手順を有し得る。
[0221] 例えば、図 4に示される実施の形態では、ステップ S3〜ステップ S5を実行すること によって「文字の特性値として基準文字の固有の特性を示す基準特性値」を得たが、 「文字の特性値として基準文字の固有の特性を示す基準特性値」を得る手順は、ス テツプ S3〜ステップ S5を実行することに限定されなレ、。 「文字の特性値として基準文 字の固有の特性を示す基準特性値」を示す基準値データが、文字データと共に、文 字データ生成装置 100に含まれるメモリ(例えば、補助メモリ 40)に予め格納されてい る場合には、このメモリから基準値を読み出し得る。例えば、このメモリは、基準値を 格納するための基準値テーブルを含む。メモリに基準値テーブルが含まれている場 合には、基準値テーブルから基準値を読み出し得る。
[0222] さらに、図 4に示される実施の形態では、基準値対象領域が正体文字に外接する 多角形の境界線で囲まれた領域であり、かつ特性値対象領域が変形文字に外接す る多角形の境界線で囲まれた領域である形態を説明したが、基準値対象領域および 特性値対象領域は、この形態に限定されない。基準値対象領域が正体文字に外接 する曲線状の境界線で囲まれた領域であり、かつ特性値対象領域は、変形文字に 外接する曲線状の境界線で囲まれた領域でもよい。さらに、基準値対象領域が正体 文字に含まれる複数のストロークのみを含み、かつ特性値対象領域が変形文字に含 まれる複数のストロークのみを含んでもよい。また、基準値対象領域が正体文字に外 接する多角形の境界線のみを含み、かつ特性値対象領域が変形文字に外接する多 角形の境界線のみを含んでもよい。
[0223] 図 11Aは、対象領域が文字に外接する多角形の境界線で囲まれており、かつ重み 付けされた質量に基づいて算出された文字の質量の重心について説明するための 図である。
[0224] 領域 (a)は、対象領域のうち、文字のストローク上の領域(黒で塗り潰された領域)を 示し、領域 (b)は、対象領域のうち、領域 (a)以外の領域 (グレーで塗り潰された領域
)を示す。さらに、領域 (c)は、対象領域以外の領域を示す。
[0225] 式 1、式 2、式 3を用いて重心位置(Grx, GRy)を計算する場合、例えば、領域(a) の質量を g [x] [y] = l . 0、領域 (b)の質量を g [x] [y] = 0. 5、領域(c)の質量を g [x
] [y] = 0. 1として算出してもよい。
[0226] 図 11Bは、対象領域が文字に外接する曲線状の境界線で囲まれており、かつ重み 付けされた質量に基づいて算出された文字の質量の重心について説明するための 図である。
[0227] 対象領域のうち、領域(a' )は、文字のストローク上の領域(黒で塗り潰された領域) を示し、領域 (b ' )は、対象領域かつ領域 (a)以外の領域 (グレーで塗り潰された領域 )を示す。
[0228] 文字に外接する曲線状の境界線は任意のルールで規定し得る。例えば、文字のス トローク上の点 A〜点 Aのうち、点 Aと点 Aとを通る円弧(半径 r、中心 c )、点 Aと
1 4 1 2 1 1 2 点 Aとを通る円弧(半径 r、中心 c )、点 Aと点 Aとを通る円弧(半径!:、中心 c )に
3 2 2 3 4 3 3 よって規定しえる(図 11B参照)。
[0229] 例えば、点 Aと点 A との中点から領域の外側に垂線に引いた直線上の点 cを曲 n n+ 1
線の中心としえる。さらに、ベジエやスプラインなどの複雑な曲線によって、文字に外 接する曲線状の境界線を規定し得る。
[0230] 以下、式 1、式 2、式 3を参照して説明したように、対象領域が文字に外接する曲線 状の境界線で囲まれており、かつ重み付けされた質量に基づいて算出された文字の 質量の重心が算出される。
[0231] さらに、特性値は、文字の質量の重心に限定されない。特性値が「文字の固有の特 性を示す値」である限りは、特性値によって表される特性は任意である。文字の特性 は、例えば、文字のバランスである。文字のバランスは、例えば、文字の質量の重心
、文字のポテンシャルエネルギー質量の重心、文字に含まれるストロークの密度およ び文字の輪郭のバラツキによって表される。
[0232] 以下、ポテンシャルエネルギーの重心を説明する。
[0233] 式 4の P (x, y)は自分自身の点が周りから影響を受けるポテンシャルエネルギーを 意味する。 M (x, y)を自分自身の点の質量とし、 M (xi, yi)を影響する点の質量とし た場合、例えば、 自分自身の点である M (x, y)において黒いドットが置かれている場 合の質量 M (x, y) = l、ドットが置かれていない場合の質量 M (x, y) =0とし、周りの 点である M (xi, yi)において黒いドットが置かれている場合の質量 M (xi, yi) = l、ド ットが置かれていない場合の質量 M (xi, yi) =0とした場合、式 4で自分自身が周り 力、ら受けるポテンシャルエネルギーを計算できる。重み値 ω = 1にした場合、ポテン シャルエネルギーを考慮した重心(GRPx, GRPy)は、式 5、式 6、式 7で算出される
[0234] 文字のポテンシャルエネルギーの重心は、文字の質量の重心と比べた場合、よい 主観的な重心に近い値が算出されえる。人間は、色濃度が分散しているところより、 色濃度が密集しているところに文字の重心(エネルギー)を感じるからである。
[0235] 以上、図を参照して文字データ生成装置 100を説明した。文字データ生成装置 10 0は、本発明の実施の形態の処理装置として機能する。
[0236] 7.記録媒体について
文字データ生成装置には、上述したように、処理装置の機能を実行させるための処 理プログラムが格納されている。このプログラムは、コンピュータの出荷時に、文字デ ータ生成装置に含まれる格納手段に予め格納されていてもよい。あるいは、コンビュ ータの出荷後に、これらのプログラムを格納手段に格納するようにしてもよい。
[0237] 例えば、ユーザがインターネット上の特定のウェブサイトからこれらのプログラムを有 料または無料でダウンロードし、そのダウンロードされたプログラムをコンピュータにィ ンストールするようにしてもよレ、。これらのプログラムがフレキシブルディスク、 CD-R OM、 DVD _R〇Mなどのコンピュータ読み取り可能な記録媒体に記録されている 場合には、読取装置 (例えば、ディスクドライブ装置)を用いてこれらのプログラムをコ ンピュータにインストールするようにしてもよレ、。インストールされたプログラムは、格納 手段に格納される。 [0238] 8.プログラムについて
なお、上述した実施の形態では、文字データを生成する場合を例にとり説明したが 、本発明はこれに限定されない。文字データを生成する場合に替えて、あるいは文 字データを生成する場合に加えて、特性値を算出する場合にも本発明を適用するこ とができる。この場合、文字データ生成プログラム 41に替えて、あるいは文字データ 生成プログラム 41に加えて特性値算出プログラムを使用するようにすればよい。
[0239] 特性値算出プログラムを使用する場合には、文字データ生成装置は、特性値算出 装置として機能する。特性値算出プログラムは、 CPU21によって実行される。特性値 算出装置は、特性値を算出し、算出した特性値を出力する。算出された特性値は、 例えば、表示手段 10に出力され、表示手段 10は、特性値を表示する(図 1参照)。
[0240] 9.追加説明
さらに、文字データを生成する場合に替えて、あるいは文字データを生成する場合 に加えて、図形データを生成する場合にも本発明を適用することができる。この場合 、文字データ生成プログラム 41に替えて、あるいは文字データ生成プログラム 41に 加えて図形データ生成プログラムを使用するようにすればよい。なお、図形には、例 えば、模様、記号などが含まれる。
[0241] さらに、図形データ生成プログラムを使用する場合には、文字データ生成装置は、 図形データ生成装置として機能する。図形データ生成プログラムは、 CPU21によつ て実行される。図形データ生成装置は、少なくとも 1つの変形図形データを生成し、 生成された少なくとも 1つの変形図形データに基づいて少なくとも 1つの特性値を算 出し、少なくとも 1つの特性値のうちの 1つに対応する変形図形データを出力する。
[0242] 以上のように、本発明の好ましい実施形態を用いて本発明を例示してきたが、本発 明は、この実施形態に限定して解釈されるべきものではない。本発明は、特許請求 の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、 本発明の具体的な好ましい実施形態の記載から、本発明の記載および技術常識に 基づいて等価な範囲を実施することができることが理解される。本明細書において引 用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載さ れているのと同様にその内容が本明細書に対する参考として援用されるべきであるこ とが理解される。
産業上の利用可能性
本発明の処理装置、プログラムおよび記録媒体によれば、主観的文字の重心のよ うに、人によりバラッカず、誰が算出しても固有の値を求めることができる。本発明で 算出される特性値は、文字の形態に基づいた文字の特性を示す値であり、文字の見 やすさ、品位を示す値として機器で処理できる。

Claims

請求の範囲
[1] 対象となる文字の形態に基づいて、文字の特性値として前記対象文字の固有の特 性を示す対象特性値を算出する第 1算出手段と、
文字の特性値として基準文字の固有の特性を示す基準特性値あるいは所定の基 準値と前記対象特性値を比較する比較手段と、
前記比較手段の比較結果に応じて、対象文字の特性度を判定する判定手段と を備えた処理装置。
[2] 前記第 1算出手段は、前記対象文字の形態を含む領域上の座標点の累和、累積 または相関関数に基づいて、前記対象特性値を算出する手段を備えた、請求項 1に 記載の処理装置。
[3] 前記判定手段の結果に基づき、処理装置の制御を行う制御手段あるいは、文字デ ータを出力する第 1出力手段をさらに備えた、請求項 1乃至請求項 2に記載の処理 装置。
[4] 前記特性値は、ひとつの文字において、単一の数値あるいは、一点の座標値であ る特性値として処理される、請求項 1乃至 3に記載の処理装置。
[5] 前記特性値は、ひとつの文字の少なくともひとつの部首力 単一の数値あるいは一 点の座標値である特性値として処理される、請求項 1乃至 3に記載の処理装置。
[6] 前記対象文字の特性度を判定する判定手段でなされる判定基準は、対象文字の 特性値が基準特性値あるいは所定の基準値に対して等価、非等価あるいは定めら れた範囲に対して範囲の内外のいずれかを特定する第 1判定基準、対象文字の特 性値が基準特性値あるいは所定の基準値に対してどの程度の遠近度にあるかを特 定する第 2判定基準、複数の対象文字の特性値の比較結果に基づき前記対象文字 の処理を特定する第 3判定基準のいづれかの少なくとも一つの判定基準に従って、 前記対象文字の特性を判定する、請求項 1乃至 5記載の処理装置。
[7] 前記対象文字の特性度を判定する判定手段でなされる判定結果により、対象文字 の採用 *不採用を決める,あるいは、対象文字の選別を行う機能を更に備える、請求 項 6に記載の処理装置。
[8] 前記対象文字は、前記基準文字あるいはその拡縮文字の少なくともひとつのスト口 ークを変形したものであることを特徴とする請求項 1乃至請求項 7に記載の処理装置
[9] 前記複数の対象文字は、複数の対象文字あるいは複数の対象文字と一律の変形 関係にある文字、あるいはそれらの拡縮文字の少なくともひとつのストロークを変形し たものであることを特徴とする請求項 1乃至請求項 7に記載の処理装置
[10] 前記対象文字の特性値は、文字の形態を含んで構成される所定の範囲にある複 数の各画素の値と、各画素に対応する複数の座標とに基づいて算出する特性値で あることを特徴とする請求項 1乃至請求項 9に記載の処理装置。
[11] 前記各画素の値を点値とし、ひとつの画素の座標の各軸での位置と前記画素の点 値との積を点モーメントとし、各軸に対する所定の範囲の画素の点モーメントの総和 を、前記所定の範囲の画素の点値の総和で除した値を各軸の位置として求めた値で 構成される座標を持って文字の特性値として特徴付ける請求項 10に記載の処理装 置。
[12] 前記各画素の値が、前記画素以外の他のひとつの画素との距離ならびに両画素 の値を用いて算出される新たな前記画素の値である 2点間値を用いることで特性値 を算出することを特徴とする請求項 10乃至請求項 11に記載の処理装置。
[13] 前記 2点間値が、前記画素の値と前記画素以外の他のひとつの画素の値との積を 両画素間の距離の所定の累乗値で除することで求められる 2点間値であり、前記画 素以外の所定の範囲にある画素との 2点間値の累和を、前記画素の新たな値として 処理することを特徴とする請求項 12に記載の処理装置。
[14] 前記各画素の値は、重みを、更に、考慮した値である、請求項 10乃至請求項 13に 記載の処理装置。
[15] 前記文字の形態が文字のストロークあるいは文字の輪郭を形成する線の先端部な らびに点の近傍に定めた近傍点の 2点を結んだ線を少なくとも一つ線上に有し、文 字の形状部分を過半数含んだ閉曲線で囲まれる領域の内側であることを特徴とする 請求項 1乃至請求項 14に記載の処理装置。
[16] 前記近傍点が、文字のストロークあるいは文字の輪郭を形成する線の先端部なら びに点で形成される文字の形状上の点であることを特徴とする請求項 15に記載の処 理装置。
[17] 前記閉曲線が、文字の輪郭を形成する線を少なくともひとつ線上に有していること を特徴とする請求項 15乃至請求項 16に記載の処理装置。
[18] 文字の形態に固有の特性を表す特性値を算出する第 2算出手段と、
前記算出された特性値を用いて文字処理を制御する制御手段と
を備えた処理装置
[19] 前記特性値は、ひとつの文字において、単一の数値あるいは、一点の座標値であ る特性値として処理される、請求項 18に記載の処理装置。
[20] 前記特性値は、ひとつの文字の少なくともひとつの部首力 単一の数値あるいは一 点の座標値である特性値として処理される、請求項 18に記載の処理装置
[21] 前記特性値は、文字の形態を含んで構成される所定の範囲にある複数の各画素 の値と、各画素に対応する複数の座標とに基づいて算出する特性値であることを特 徴とする請求項 18乃至 20に記載の処理装置。
[22] 前記各画素の値を点値とし、ひとつの画素の座標の各軸での位置と前記画素の点 値との積を点モーメントとし、各軸に対する所定の範囲の画素の点モーメントの総和 を、前記所定の範囲の画素の点値の総和で除した値を各軸の位置として求めた値で 構成される座標を持って文字の特性値として特徴付ける請求項 18乃至請求項 21に 記載の処理装置。
[23] 前記各画素の値が、前記画素以外の他のひとつの画素との距離ならびに両画素 の値を用いて算出される新たな前記画素の値である 2点間値を用いることで特性値 を算出することを特徴とする請求項 21乃至請求項 22に記載の処理装置。
[24] 前記 2点間値が、前記画素の値と前記画素以外の他のひとつの画素の値との積を 両画素間の距離の所定の累乗値で除することで求められる 2点間値であり、前記画 素以外の所定の範囲にある画素との 2点間値の累和を、前記画素の新たな値として 処理することを特徴とする請求項 23に記載の処理装置。
[25] 前記各画素の値は、重み値を考慮した値である、請求項 21乃至請求項 24に記載 の処理装置。
[26] 前記文字の形態が文字のストロークあるいは文字の輪郭を形成する線の先端部な らびに点の近傍に定めた近傍点の 2点を結んだ線を少なくとも一つ線上に有し、文 字の形状部分を過半数含んだ閉曲線で囲まれる領域の内側を範囲とすることを特徴 とする請求項 1乃至請求項 26に記載の処理装置。
[27] コンピュータに所定の処理を実行させるためのプログラムであって、
前記所定の処理は、
対象となる文字の形態に基づき算出された対象文字の固有の特性を示す対象特 性値を算出するステップと、
基準文字の固有の特性を示す基準特性値と前記対象特性値を比較するステップと 前記比較手段の比較結果に応じて、対象文字の特性度を判定するステップと 前記判定するステップの結果に応じて、処理装置を制御するステップと 前記特性値を、ひとつの文字において、単一の数値あるいは、一点の座標値として 処理するあるいは、ひとつの文字の少なくともひとつの部首を、単一の数値あるいは 一点の座標値として処理するステップと
を包含する、プログラム。
[28] コンピュータに所定の処理を実行させるためのプログラムを記録したコンピュータ読 み取り可能な記録媒体であって、前記請求項 27のプログラムを包含する記録媒体。
[29] コンピュータに所定の処理を実行させるためのプログラムであって、
前記所定の処理は、
文字の形態に固有の特性をあらわす特性値を算出するステップと、
前記算出された特性値を用いて文字処理を制御するステップと、
前記特性値を、ひとつの文字において、単一の数値あるいは、一点の座標値として 処理するあるいは、ひとつの文字の少なくともひとつの部首を、単一の数値あるいは 一点の座標値として処理するステップと
を包含する、プログラム。
[30] コンピュータに所定の処理を実行させるためのプログラムを記録したコンピュータ読 み取り可能な記録媒体であって、前記請求項 29のプログラムを包含する記録媒体。
PCT/JP2005/020481 2004-11-10 2005-11-08 処理装置、プログラムおよび記録媒体 WO2006051795A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200580046313XA CN101099195B (zh) 2004-11-10 2005-11-08 处理装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004-327109 2004-11-10
JP2004327109A JP4251565B2 (ja) 2004-11-10 2004-11-10 処理装置、プログラムおよび記録媒体

Publications (1)

Publication Number Publication Date
WO2006051795A1 true WO2006051795A1 (ja) 2006-05-18

Family

ID=36336474

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/020481 WO2006051795A1 (ja) 2004-11-10 2005-11-08 処理装置、プログラムおよび記録媒体

Country Status (5)

Country Link
JP (1) JP4251565B2 (ja)
KR (1) KR100918890B1 (ja)
CN (2) CN101354781B (ja)
TW (1) TWI351018B (ja)
WO (1) WO2006051795A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007094272A1 (ja) * 2006-02-16 2007-08-23 Kaneka Corporation 硬化性組成物

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4752066B2 (ja) * 2006-07-07 2011-08-17 国立大学法人 東京大学 手書き入力処理装置、手書き入力処理方法、および手書き入力処理用プログラム
CN101814189B (zh) * 2009-02-19 2011-08-17 中国科学院微电子研究所 一种图形挖空方法
JP7090894B2 (ja) * 2018-07-26 2022-06-27 武蔵エンジニアリング株式会社 文字列表示装置および文字列表示方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09326037A (ja) * 1996-04-01 1997-12-16 Fujitsu Ltd パターン生成装置及びパターン生成のプログラムを格納した記憶媒体
JP2001222272A (ja) * 2000-02-10 2001-08-17 Nippon Telegr & Teleph Corp <Ntt> 変形文字パターン発生方法、変形文字パターン発生装置、及び変形文字パターン発生プログラムを記録した記録媒体
JP2003150289A (ja) * 2001-11-15 2003-05-23 Seiko Epson Corp 画像表示方法および画像表示システムならびに画像表示処理プログラム
JP2004101937A (ja) * 2002-09-10 2004-04-02 Seiko Epson Corp フォント最適化方法およびフォント最適化装置ならびにフォント最適化処理プログラム
JP2004258590A (ja) * 2003-02-28 2004-09-16 Seiko Epson Corp 文字フォント処理装置および文字フォント処理プログラム

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3317817B2 (ja) * 1995-07-14 2002-08-26 シャープ株式会社 文字生成装置
JP3474037B2 (ja) * 1995-10-12 2003-12-08 シャープ株式会社 文字パターン生成装置
JP3317852B2 (ja) * 1996-07-30 2002-08-26 シャープ株式会社 文字生成装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09326037A (ja) * 1996-04-01 1997-12-16 Fujitsu Ltd パターン生成装置及びパターン生成のプログラムを格納した記憶媒体
JP2001222272A (ja) * 2000-02-10 2001-08-17 Nippon Telegr & Teleph Corp <Ntt> 変形文字パターン発生方法、変形文字パターン発生装置、及び変形文字パターン発生プログラムを記録した記録媒体
JP2003150289A (ja) * 2001-11-15 2003-05-23 Seiko Epson Corp 画像表示方法および画像表示システムならびに画像表示処理プログラム
JP2004101937A (ja) * 2002-09-10 2004-04-02 Seiko Epson Corp フォント最適化方法およびフォント最適化装置ならびにフォント最適化処理プログラム
JP2004258590A (ja) * 2003-02-28 2004-09-16 Seiko Epson Corp 文字フォント処理装置および文字フォント処理プログラム

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007094272A1 (ja) * 2006-02-16 2007-08-23 Kaneka Corporation 硬化性組成物

Also Published As

Publication number Publication date
TW200634723A (en) 2006-10-01
KR100918890B1 (ko) 2009-09-23
JP2006138961A (ja) 2006-06-01
CN101354781A (zh) 2009-01-28
CN101354781B (zh) 2012-01-11
KR20070085960A (ko) 2007-08-27
CN101099195B (zh) 2010-05-26
CN101099195A (zh) 2008-01-02
JP4251565B2 (ja) 2009-04-08
TWI351018B (en) 2011-10-21

Similar Documents

Publication Publication Date Title
US6597360B1 (en) Automatic optimization of the position of stems of text characters
JP2007058868A (ja) 置換コンピュータ字体の供給方法及び装置
CN101331520A (zh) 字体提示中的笔画对比
US20070139414A1 (en) Iteratkively solving constraints in a font-hinting language
JP2010055048A (ja) 低解像度ディスプレイのためのストロークベースのフォント文字を生成する方法
EP1600896A2 (en) Character image generation
CN1702734B (zh) 当对应轮廓缺少控制点时对图形对象的适当呈现
US6614432B1 (en) Image rendering technique
JP4162670B2 (ja) シルエット化グレーフォント発生方法
WO2006051795A1 (ja) 処理装置、プログラムおよび記録媒体
JP2017003987A (ja) 文字を囲む枠の少なくとも1つの区分の大きさを変更することによるフォント変形方法
JP4726087B2 (ja) データ処理装置、データ処理方法、電子情報機器、制御プログラムおよび可読記録媒体
JP3408176B2 (ja) フォント処理装置、フォント処理方法及び記憶媒体
JP4808220B2 (ja) 文字パターン生成装置、文字パターン生成プログラムおよび可読記録媒体
WO2007015471A1 (ja) 文字データ生成装置、電子情報機器、文字データ生成プログラムおよび可読記録媒体
JP3357855B2 (ja) フォント処理装置、フォント処理方法及び記憶媒体
KR100866362B1 (ko) 표시장치, 프로그램 및 기록매체
JP4670278B2 (ja) ドキュメント表示装置及びドキュメント表示プログラム
JP2785735B2 (ja) 文字パターン出力装置
WO2006077800A1 (ja) 文字図形表示装置、プログラムおよび記録媒体
JPH0950272A (ja) アウトラインフォント生成方法およびアウトラインフォント生成装置
JP2004219937A (ja) フォント処理装置、端末装置、フォント処理方法およびフォント処理プログラム
JP2000322048A (ja) アウトラインフォント評価装置及び評価方法
JPH07186449A (ja) 文字処理装置
JPH04162088A (ja) 画像表示方式

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KM KN KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1020077013018

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 200580046313.X

Country of ref document: CN

122 Ep: pct application non-entry in european phase

Ref document number: 05803259

Country of ref document: EP

Kind code of ref document: A1