JPH0721164A - Character string image generating device - Google Patents

Character string image generating device

Info

Publication number
JPH0721164A
JPH0721164A JP5147426A JP14742693A JPH0721164A JP H0721164 A JPH0721164 A JP H0721164A JP 5147426 A JP5147426 A JP 5147426A JP 14742693 A JP14742693 A JP 14742693A JP H0721164 A JPH0721164 A JP H0721164A
Authority
JP
Japan
Prior art keywords
image
character
unit
information
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5147426A
Other languages
Japanese (ja)
Inventor
Koji Yamamoto
浩司 山本
Hidetsugu Maekawa
英嗣 前川
泰治 〆木
Taiji Shimeki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5147426A priority Critical patent/JPH0721164A/en
Publication of JPH0721164A publication Critical patent/JPH0721164A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To provide the character string image generating device which can print characters like an autography in equipment such as a word processor. CONSTITUTION:Handwritten character images of a user which are previously registered by a standard handwritten character image registration part 2 are deformed by an image deformation part 5 on the basis of information in a deformation information storage part 6 to obtain invariably different shapes and sizes even for characters of the same category. Further, an output position determination part 7 makes the output position of character images not fixed, but variable in output position on the basis of information in an output position information storage part 8, and a deformed image output part 9 outputs the deformed character images at the output positions, thereby outputting a character string image which is close to a handwriting.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はワードプロセッサ等の印
字の際に用いられる文字列イメージ生成装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string image generating device used for printing on a word processor or the like.

【0002】[0002]

【従来の技術】一般のワードプロセッサ等に使用されて
いる従来の文字列イメージ生成装置を以下に説明する。
2. Description of the Related Art A conventional character string image generating device used in a general word processor or the like will be described below.

【0003】図18はこの従来の文字列イメージ生成装
置の構成図を示すものであり、1は文字コード入力部、
200はフォント読みだし部、201はフォント格納
部、202はイメージ出力部である。
FIG. 18 is a block diagram of this conventional character string image generating apparatus, in which 1 is a character code input section,
Reference numeral 200 is a font reading unit, 201 is a font storage unit, and 202 is an image output unit.

【0004】以上のように構成された従来の文字列イメ
ージ生成装置において、文字コード入力部1は印字され
る文書中の文字を表わすコードを順次、フォント読みだ
し部200に出力する。フォント格納部201には、各
文字コードに対応した文字のイメージが格納されてお
り、フォント読みだし部200は入力されて来るコード
に対応する文字イメージをフォント格納部201から読
みだし、その文字イメージをイメージ出力部202に出
力する。次にイメージ出力部202は予め設定された一
定の位置に入力された文字イメージを出力する。
In the conventional character string image generating apparatus configured as described above, the character code input unit 1 sequentially outputs the codes representing the characters in the document to be printed to the font reading unit 200. An image of a character corresponding to each character code is stored in the font storage unit 201, and the font reading unit 200 reads a character image corresponding to an input code from the font storage unit 201, and the character image Is output to the image output unit 202. Next, the image output unit 202 outputs the character image input at a predetermined fixed position.

【0005】[0005]

【発明が解決しようとする課題】近年、ワードプロセッ
サー等の機器が一般家庭に広く普及し、プライベートな
手紙等にも用いられるようになり、より人間味のある、
手書きのような書体で印字したいという要求が高まって
いる。しかしながら上記のような構成では、各カテゴリ
の文字に対して予め設定された一定の文字イメージをそ
のままの形で整列印字するので、手で書いたように印字
できないという課題を有していた。
In recent years, devices such as word processors have become widespread in ordinary households, and have come to be used for private letters and the like, which are more humane,
There is an increasing demand for printing in a handwritten typeface. However, in the above-described configuration, since a predetermined character image preset for each category of characters is aligned and printed as it is, there is a problem that it cannot be printed as if written by hand.

【0006】本発明はかかる従来の文字列イメージ生成
装置の課題に鑑み、あたかも肉筆であるかのような文字
の印字が可能となる文字列イメージ生成装置を提供する
ことを目的とする。
In view of the problems of the conventional character string image generating apparatus, it is an object of the present invention to provide a character string image generating apparatus capable of printing a character as if it were a handwriting.

【0007】[0007]

【課題を解決するための手段】本発明は、ユーザーが出
力したい文字のコードを入力する文字コード入力部と、
標準となる手書き文字のイメージを読み込み、そのイメ
ージに対応する文字コード及び、文字ストローク等の筆
記情報を付加する標準手書き文字イメージ登録部と、前
記情報が付加されたイメージを記憶保持しておくイメー
ジ格納部と、前記文字コード入力部から入力される文字
コードが付加された文字イメージを前記イメージ格納部
から読みだすイメージ読みだし部と、例えば、前記イメ
ージ変形部が過去にどのような変形を加えたかというよ
うな、変形情報を記憶保持する変形情報記憶部と、読み
だされたイメージをその変形情報に基づいて変形するイ
メージ変形部と、前記イメージ変形部によって変形され
た文字イメージを出力する変形イメージ出力部と、イメ
ージ変形部によって変形された文字イメージをどの位置
に出力するかを決定する出力位置決定部と、前記出力位
置決定部によって決定された出力位置の情報を記憶保持
する出力位置情報記憶部を備える。
According to the present invention, a character code input section for inputting a code of a character desired to be output by a user,
An image that reads a standard handwritten character image and stores a character code corresponding to the image and a standard handwritten character image registration unit that adds writing information such as character strokes, and an image to which the information is added A storage unit, an image reading unit that reads a character image to which the character code input from the character code input unit is added from the image storage unit, and, for example, what kind of deformation the image transformation unit has made in the past. A transformation information storage unit that stores and retains transformation information, such as an image transformation unit that transforms a read image based on the transformation information, and a transformation that outputs a character image transformed by the image transformation unit. Determine where to output the image output section and the character image transformed by the image transformation section And an output position determination unit that, the output position information storage unit for storing and holding the information of the output position determined by the output position determination unit.

【0008】[0008]

【作用】本発明は前記した構成により、標準手書き文字
イメージ登録部によって予め登録されたユーザーの手書
き文字イメージを変形情報記憶部の情報に基づき、イメ
ージ変形部によって変形を加えることで、同じカテゴリ
の文字でも常に異なる形、大きさとなり、さらには出力
位置情報記憶部の情報に基づき、出力位置決定部によっ
て文字イメージの出力位置を一定にせず、出力位置に揺
らぎを持たせ、変形イメージ出力部がその出力位置に変
形された文字イメージを出力することでより手書きに近
い文字列イメージを出力することができる。
According to the present invention, according to the above-mentioned configuration, the handwriting character image of the user registered in advance by the standard handwriting character image registering unit is deformed by the image deforming unit based on the information in the deformation information storage unit so that the same category of Characters always have different shapes and sizes.Furthermore, based on the information in the output position information storage unit, the output position determination unit does not make the output position of the character image constant but gives the output position fluctuation, and the modified image output unit By outputting the transformed character image to the output position, it is possible to output a character string image closer to handwriting.

【0009】[0009]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例における文字列イ
メージ生成装置の構成図を示すものである。本実施例の
文字列イメージ生成装置について、以下にその構成とと
もに動作を説明する。
FIG. 1 is a block diagram showing a character string image generating apparatus according to an embodiment of the present invention. The operation of the character string image generation device of this embodiment will be described below together with its configuration.

【0011】文字コード入力部1はすでに文書を文字コ
ード列として記憶保持している文書ファイルあるいは、
ユーザーから印字される文書中の文字を表わす文字コー
ドを順次、イメージ読みだし部4に出力する。
The character code input unit 1 is a document file that already stores and holds a document as a character code string, or
Character codes representing characters in the document printed by the user are sequentially output to the image reading unit 4.

【0012】次に標準手書き文字イメージ登録部2で
は、手書きあるいは印刷の文字イメージを標準文字イメ
ージとしてユーザーが予め登録する手段であるが、その
動作を図2に従って説明する。図2は標準手書き文字イ
メージ登録部2の構成図であり、20はイメージ読み取
り部、21は自動筆記情報設定部であり、22はマニュ
アル筆記情報設定部である。まず、ユーザーの書いた手
書き文字列をイメージ読み取り部20が読み取り、その
イメージを自動筆記情報設定部21に入力する。自動筆
記情報設定部21はユーザーの書いた手書き文字列から
1文字毎の領域を切り出し、切り出された各文字イメー
ジに対して文字認識処理を行い、対応する文字コードを
付加する。さらに各文字イメージに対してストロークの
抽出を行い、ストローク抽出結果と文字認識結果に基づ
いて文字イメージの始点、終点及び、文字の各ストロー
ク上に文字変形する際の規準となる点(以下、この点を
変形点と呼ぶ。)を決定し、筆記情報として付加する。
これによってユーザーが書いた文字から自動的に筆記情
報を抽出し、手書き文字イメージとともに登録ができ、
ユーザーの負担を軽減することができる。
The standard handwritten character image registration unit 2 is a means for the user to preregister a handwritten or printed character image as a standard character image. The operation will be described with reference to FIG. FIG. 2 is a configuration diagram of the standard handwritten character image registration unit 2, 20 is an image reading unit, 21 is an automatic writing information setting unit, and 22 is a manual writing information setting unit. First, the image reading unit 20 reads the handwritten character string written by the user, and inputs the image to the automatic writing information setting unit 21. The automatic writing information setting unit 21 cuts out an area for each character from the handwritten character string written by the user, performs character recognition processing on each cut out character image, and adds a corresponding character code. In addition, strokes are extracted for each character image, and based on the stroke extraction result and the character recognition result, the starting point and the end point of the character image, and the reference points for character transformation on each stroke of the character (hereinafter, this Points are called deformation points) and are added as writing information.
With this, the writing information can be automatically extracted from the characters written by the user and registered with the handwritten character image,
The burden on the user can be reduced.

【0013】次にマニュアル筆記情報設定部22は自動
筆記情報設定部21から文字イメージとそれに付加され
た筆記情報をユーザーに対して示し、ユーザーが示され
た文字イメージ、筆記情報に対して正誤を確認し、誤っ
てると判断した情報あるいは、不足していると判断した
情報に対してユーザー自身が正しい情報を入力すること
によって筆記情報を付加する。これによって誤りのない
情報が確実に登録できる。
Next, the manual handwriting information setting unit 22 shows the character image and the handwriting information added thereto to the user from the automatic handwriting information setting unit 21, and the user corrects the character image and the handwriting information. The user himself / herself adds the writing information by inputting correct information to the information that is confirmed and judged to be incorrect or the information that is judged to be insufficient. This ensures registration of error-free information.

【0014】自動筆記情報設定部21とマニュアル筆記
情報設定部22の具体的な動作を次に述べる。
Specific operations of the automatic writing information setting unit 21 and the manual writing information setting unit 22 will be described below.

【0015】図3は自動筆記情報設定部21及び、マニ
ュアル筆記情報設定部22の詳細な構成図であり、30
は文字切り出し部、31はストローク抽出部、32は文
字認識部、33は自動始点終点決定部、34は自動変形
点決定部、35は筆記情報イメージ表示部、36は文字
イメージ決定部、37は文字コード決定部、38は始点
終点決定部、39は変形点決定部である。
FIG. 3 is a detailed block diagram of the automatic writing information setting unit 21 and the manual writing information setting unit 22.
Is a character cutout unit, 31 is a stroke extraction unit, 32 is a character recognition unit, 33 is an automatic start point end point determination unit, 34 is an automatic deformation point determination unit, 35 is a writing information image display unit, 36 is a character image determination unit, and 37 is A character code determination unit, 38 is a start point / end point determination unit, and 39 is a deformation point determination unit.

【0016】文字切り出し部30は、まずイメージ読み
取り部20から入力されたイメージにおける黒画素を縦
軸と横軸に対して射影した時のヒストグラム分布を求め
る。次にヒストグラム分布の中でヒストグラム値が大き
く、ひとつの塊になっている領域を決定し、その領域の
イメージを1文字分の文字イメージと決定する。
The character clipping unit 30 first obtains a histogram distribution when black pixels in the image input from the image reading unit 20 are projected on the vertical axis and the horizontal axis. Next, in the histogram distribution, a region having a large histogram value and forming one lump is determined, and the image of the region is determined as a character image for one character.

【0017】文字切り出し部10はこのようにして手書
き文字列から切り出された1文字毎の文字イメージを順
次、ストローク抽出部31、文字認識部32、筆記情報
イメージ表示部35に出力する。以下では1文字分のイ
メージに関して説明を行なう。
The character slicing unit 10 sequentially outputs the character images for each character cut out from the handwritten character string in this manner to the stroke extraction unit 31, the character recognition unit 32, and the handwritten information image display unit 35. The image for one character will be described below.

【0018】文字認識部32は予め学習された手書き文
字イメージとの類似度を求め、類似度の最も高い標準文
字イメージに対応する文字コードをその文字イメージに
付加する文字コードとして、筆記情報イメージ表示部3
5に出力する。また対応する文字の書き出しの始点の特
徴と書き終わりの終点の特徴を自動始点終点決定部33
に出力する。始点、終点の特徴とはそれらの点が含まれ
るストロークの特徴であり、ストロークの方向や文字イ
メージの外接矩形に対する相対的な長さ、位置で表現さ
れる。
The character recognizing section 32 obtains a similarity with a handwritten character image learned in advance, and displays a writing information image as a character code for adding the character code corresponding to the standard character image having the highest similarity to the character image. Part 3
Output to 5. In addition, the characteristics of the starting point and the ending point of the corresponding writing of the corresponding character are determined as the automatic start point end point determination unit 33.
Output to. The characteristics of the start point and the end point are the characteristics of the stroke including those points, and are represented by the direction of the stroke and the relative length and position with respect to the circumscribed rectangle of the character image.

【0019】ストローク抽出部31は文字切り出し部3
0から入力される文字イメージのストローク位置を決定
する。
The stroke extracting unit 31 is a character cutting unit 3
The stroke position of the character image input from 0 is determined.

【0020】ストローク抽出部31の構成・動作を図4
を用いて説明する。図4はストローク抽出部31の構成
図であり、40はイメージ細線化部、41は端点抽出
部、42は交点抽出部、43はストローク位置決定部で
ある。
FIG. 4 shows the configuration and operation of the stroke extraction unit 31.
Will be explained. FIG. 4 is a configuration diagram of the stroke extraction unit 31, 40 is an image thinning unit, 41 is an end point extraction unit, 42 is an intersection point extraction unit, and 43 is a stroke position determination unit.

【0021】イメージ細線化部40は文字切り出し部3
0から入力される文字イメージに対して細線化処理を施
し、文字イメージを線幅が1の線イメージに変換され
る。次に端点抽出部41は線イメージ上の点に対して次
の条件を満たす点を端点としてその位置を検出する。 <端点条件>8近傍の画素のうち、1つが黒画素で残り
すべての画素が白画素である。同様に、交点抽出部42
は線イメージ上の点に対して次の条件を満たす点を交点
としてその位置を検出する。 <交点条件>8近傍の画素のうちに隣合わない3つ以上
の黒画素がある。図5はストローク位置決定部43の動
作を説明する図であり、まず端点抽出部41によって検
出された端点を始点として線イメージ上を次の端点、あ
るいは交点抽出部42によって検出された交点に達する
まで探索する。次にその経路の長さが一定長さより長い
場合に文字を構成するストローク成分としてその探索経
路の位置情報を自動始点終点決定部33と自動変形点決
定部34に出力する。また経路の長さが一定長さより短
い場合には細線化処理の際に生じたノイズとみなし出力
しない。
The image thinning unit 40 is a character cutting unit 3
A character image input from 0 is subjected to a thinning process to convert the character image into a line image having a line width of 1. Next, the end point extraction unit 41 detects the position of the point on the line image as a end point that satisfies the following conditions. <End Point Condition> Of the eight neighboring pixels, one is a black pixel and all the remaining pixels are white pixels. Similarly, the intersection extraction unit 42
Detects the position of a point on the line image with a point satisfying the following condition as an intersection. <Cross point condition> Among the eight neighboring pixels, there are three or more black pixels that are not adjacent to each other. FIG. 5 is a diagram for explaining the operation of the stroke position determination unit 43. First, the end point detected by the end point extraction unit 41 is used as a starting point to reach the next end point on the line image or the intersection point detected by the intersection point extraction unit 42. To explore. Next, when the length of the route is longer than a certain length, the position information of the searched route is output to the automatic start point end point determination unit 33 and the automatic deformation point determination unit 34 as a stroke component forming a character. If the length of the route is shorter than a certain length, it is regarded as noise generated during the thinning process and is not output.

【0022】自動始点終点決定部33はストローク抽出
部31から入力されるストローク成分のうち、文字認識
部32から入力される始点の特徴を持つストローク成分
を検出し、そのストローク成分の最も右上に位置する点
を書き出しの始点と決定し、その位置情報を出力する。
同様に、文字認識部32から入力される終点の特徴を持
つストローク成分を検出し、そのストローク成分の最も
左下に位置する点を書き出しの終点と決定し、その位置
情報を筆記情報イメージ表示部35に出力する。
The automatic start point / end point determination unit 33 detects the stroke component having the characteristics of the start point input from the character recognition unit 32 among the stroke components input from the stroke extraction unit 31, and positions the stroke component at the upper right position of the stroke component. The point to be written is determined as the starting point for writing, and the position information is output.
Similarly, the stroke component having the characteristic of the end point input from the character recognition unit 32 is detected, the point located at the lower left of the stroke component is determined as the start point of writing, and the position information thereof is written information image display unit 35. Output to.

【0023】自動変形点決定部34はストローク抽出部
31から入力されるストローク成分を一定の長さで分割
する点を変形点として、その位置情報を筆記情報イメー
ジ表示部35に出力する。
The automatic deformation point determination unit 34 outputs the position information to the handwriting information image display unit 35, with the point dividing the stroke component input from the stroke extraction unit 31 into a fixed length as the deformation point.

【0024】図6、図7、図8はマニュアル筆記情報設
定部22の動作の説明図であり、図にしたがって動作を
説明する。
FIGS. 6, 7, and 8 are explanatory diagrams of the operation of the manual writing information setting unit 22, and the operation will be described with reference to the drawings.

【0025】筆記情報イメージ表示部35はイメージ読
み取り部20から入力されたイメージを表示し、ユーザ
ーに提示する。さらに文字切り出し部30から入力され
る位置情報に従って切り出されたイメージ部分の位置を
ユーザーに提示する。また文字認識部32から入力され
る文字コード、自動始点終点決定部33から入力される
文字イメージの始点、終点の位置情報、自動変形点決定
部34から入力される文字イメージの変形点の位置情報
を表示されているイメージに対応させてユーザーに提示
する。
The writing information image display unit 35 displays the image input from the image reading unit 20 and presents it to the user. Further, the position of the image portion cut out according to the position information input from the character cutout unit 30 is presented to the user. The character code input from the character recognition unit 32, the start and end position information of the character image input from the automatic start / end point determination unit 33, and the position information of the deformation point of the character image input from the automatic deformation point determination unit 34. Is presented to the user in correspondence with the displayed image.

【0026】ユーザーは、図6に示すように筆記情報イ
メージ表示部35に表示された筆記情報及び文字イメー
ジを見て、それが誤っているかいないかを確認する。も
し誤っているならば、次に示すようにしてその誤り箇所
を修正する。
The user looks at the writing information and the character image displayed in the writing information image display section 35 as shown in FIG. 6, and confirms whether or not they are incorrect. If it is incorrect, correct the error as follows.

【0027】文字イメージ決定部36は、図7のよう
に、文字イメージの切り出しに誤りがある場合に、筆記
情報イメージ表示部35に表示されている文字イメージ
に対して正しい文字イメージ領域をユーザーが教示する
ことにより文字イメージの修正を行なう。さらに文字イ
メージ決定部36は修正された正しい文字イメージをイ
メージ格納部3へ出力する。
As shown in FIG. 7, the character image determining unit 36 allows the user to set a correct character image area for the character image displayed on the writing information image display unit 35 when the character image is cut out incorrectly. The character image is corrected by teaching. Further, the character image determination unit 36 outputs the corrected correct character image to the image storage unit 3.

【0028】文字コード決定部37は、図8のように、
文字コードに誤りがある場合に、正しい文字コードをユ
ーザーが教示することによって文字コードの修正を行な
う。さらに文字コード決定部37は修正された正しい文
字コードをイメージ格納部3へ出力する。
The character code determination unit 37, as shown in FIG.
When the character code is incorrect, the user teaches the correct character code to correct the character code. Further, the character code determination unit 37 outputs the corrected correct character code to the image storage unit 3.

【0029】始点終点決定部38は、図8のように、始
点、終点の位置情報に誤りがある場合に、正しい始点、
終点の位置情報をユーザーが教示することによって始
点、終点の位置情報の修正を行なう。さらに始点終点決
定部38は修正された正しい始点、終点の位置情報をイ
メージ格納部3へ出力する。
As shown in FIG. 8, the start-point / end-point determining unit 38 determines the correct start point if the position information of the start point and the end point is incorrect.
The position information of the start point and the end point is corrected by the user teaching the position information of the end point. Further, the start point / end point determination unit 38 outputs the corrected correct position information of the start point and end point to the image storage unit 3.

【0030】変形点決定部39は、図8のように、変形
点の位置情報に誤りがある場合に、正しい変形点の位置
情報をユーザーが教示することによって変形点の位置情
報の修正を行なう。さらに変形点決定部39は修正され
た正しい変形点の位置情報をイメージ格納部3へ出力す
る。
As shown in FIG. 8, when the position information of the deformation point is incorrect, the deformation point determination unit 39 corrects the position information of the deformation point by instructing the correct position information of the deformation point by the user. . Further, the deformation point determination unit 39 outputs the corrected position information of the correct deformation point to the image storage unit 3.

【0031】図1に示すように、イメージ格納部3に
は、これまで説明したようにして求められた文字イメー
ジを標準手書き文字イメージとして、またその文字イメ
ージに対応する文字コード、書きだしの始点と書き終わ
りの終点の位置情報、変形点の位置情報を筆記情報とし
て記憶保持する。
As shown in FIG. 1, in the image storage unit 3, the character image obtained as described above is used as a standard handwritten character image, the character code corresponding to the character image, and the start point of writing. The position information of the end point at the end of writing and the position information of the deformation point are stored and held as writing information.

【0032】イメージ読みだし部4は文字コード入力部
1から入力される文字コードと同じ文字コードを持つ文
字イメージとそれに付加されている筆記情報をイメージ
格納部3から読みだし、イメージ変形部5に出力する。
The image reading unit 4 reads a character image having the same character code as the character code input from the character code input unit 1 and the writing information added thereto from the image storage unit 3 and sends it to the image transformation unit 5. Output.

【0033】図9はイメージ変形部5の構成図であり、
71は線形変換部、72は非線形変換部、73はスムー
ジング処理部である。
FIG. 9 is a block diagram of the image transformation unit 5,
Reference numeral 71 is a linear conversion unit, 72 is a non-linear conversion unit, and 73 is a smoothing processing unit.

【0034】線形変換部71は文字イメージの全体を一
様に処理し、非線形変換部72は文字の各ストローク毎
に処理を行なう。
The linear conversion unit 71 uniformly processes the entire character image, and the non-linear conversion unit 72 processes each character stroke.

【0035】まず、線形変換部71の構成・動作を説明
する。
First, the structure and operation of the linear conversion unit 71 will be described.

【0036】図10は線形変換部71の構成図であり、
81は変換座標系決定部、82は揺らぎ値発生部、83
は変換パラメータ設定部、84はイメージ変形点変換部
である。図11は線形変換部71の動作の説明図であ
り、図に従って各構成要素の動作を説明する。
FIG. 10 is a block diagram of the linear conversion unit 71.
Reference numeral 81 is a transformed coordinate system determination unit, 82 is a fluctuation value generation unit, and 83
Is a conversion parameter setting unit, and 84 is an image deformation point conversion unit. FIG. 11 is an explanatory diagram of the operation of the linear conversion unit 71, and the operation of each component will be described with reference to the drawing.

【0037】変換座標系決定部81は文字イメージの外
接矩形から得られる図11で示すような標準座標系に対
して(数1)、(数2)で示す変換を行なう。
The conversion coordinate system determination unit 81 performs the conversion shown in (Equation 1) and (Equation 2) with respect to the standard coordinate system as shown in FIG.

【0038】[0038]

【数1】x'=k1・x・cosθ1+k2・y・sinθ2 [Equation 1] x '= k 1 · x · cos θ 1 + k 2 · y · sin θ 2

【0039】[0039]

【数2】y'=k1・x・sinθ1+k2・y・cosθ2 但し、パラメータk1、k2、θ1、θ2は変換パラメータで
あり、k1はx軸方向の伸縮率、k2はy軸方向の伸縮率、
θ1はx軸からの傾き、θ2はy軸からの傾きを表わす。
例えばk1=0.5、k2=1、θ1=2、θ2=1の時は図1
1に示すような座標系になる。
[Equation 2] y '= k 1 · x · sin θ 1 + k 2 · y · cos θ 2 where parameters k 1 , k 2 , θ 1 and θ 2 are conversion parameters, and k 1 is expansion / contraction in the x-axis direction. Rate, k 2 is the expansion / contraction rate in the y-axis direction,
θ 1 represents the inclination from the x-axis, and θ 2 represents the inclination from the y-axis.
For example, when k 1 = 0.5, k 2 = 1, θ 1 = 2, θ 2 = 1
The coordinate system is as shown in 1.

【0040】この変換パラメータの値の設定は変形情報
記憶部6と揺らぎ値発生部82と変換パラメータ設定部
83によって以下のようにして行なわれる。
The value of the conversion parameter is set by the deformation information storage unit 6, the fluctuation value generation unit 82, and the conversion parameter setting unit 83 as follows.

【0041】変形情報記憶部6は手書き文字イメージ生
成処理の初期には予め定められた変換パラメータの値を
記憶保持しており、手書き文字イメージ生成処理が開始
され、一文字分のイメージの生成が終了すると、変換パ
ラメータ設定部83から入力される変換パラメータの値
に保持している内容を更新する。
The deformation information storage unit 6 stores and holds the value of a predetermined conversion parameter in the initial stage of the handwritten character image generation process, the handwritten character image generation process is started, and the generation of the image for one character is completed. Then, the content held in the value of the conversion parameter input from the conversion parameter setting unit 83 is updated.

【0042】揺らぎ値発生部82は0を中心に予め設定
された値の範囲内の値を時系列的に発生する。但し、そ
の値の発生確率は0が最も高く、0から遠い値ほど低く
なる。揺らぎ値発生部82は発生した値を変換パラメー
タ設定部83に出力する。
The fluctuation value generator 82 generates values within a preset value range centered on 0 in time series. However, the probability of occurrence of that value is highest at 0, and becomes lower as the value is farther from 0. The fluctuation value generating unit 82 outputs the generated value to the conversion parameter setting unit 83.

【0043】変換パラメータ設定部83は変形情報記憶
部6に記憶保持されている変換パラメータの値を読みだ
し、揺らぎ値発生部82から入力される値を加算して新
たなる変換パラメータ値として変換座標系決定部81及
び、変形情報記憶部6に出力する。
The conversion parameter setting unit 83 reads out the values of the conversion parameters stored and held in the deformation information storage unit 6, adds the values input from the fluctuation value generation unit 82, and converts them as new conversion parameter values. The data is output to the system determination unit 81 and the deformation information storage unit 6.

【0044】イメージ変形点変換部84は入力される変
形点の位置情報及び、文字イメージの各画素位置を(数
1)、(数2)で表わされる変換座標にしたがって図1
1に示すように変換し、非線形変換部72に出力する。
The image deformation point conversion unit 84 receives the position information of the input deformation point and the pixel position of the character image according to the conversion coordinates represented by (Equation 1) and (Equation 2).
It is converted as shown in 1 and output to the non-linear conversion unit 72.

【0045】次に非線形変換部72の構成・動作を説明
する。
Next, the configuration and operation of the non-linear conversion section 72 will be described.

【0046】図12は非線形変換部72の構成図であ
り、100はイメージブロック化部、101は変形点摂
動部、102は摂動パラメータ設定部、103は摂動揺
らぎ値発生部、104は摂動情報記憶部、105は変形
イメージ生成部である。
FIG. 12 is a block diagram of the non-linear conversion unit 72. 100 is an image blocking unit, 101 is a deformation point perturbation unit, 102 is a perturbation parameter setting unit, 103 is a perturbation fluctuation value generation unit, and 104 is perturbation information storage. Reference numeral 105 denotes a modified image generation unit.

【0047】イメージブロック化部100にはイメージ
変形点変換部84から出力される文字イメージと変形点
の位置情報が入力される。
The image blocking unit 100 receives the character image output from the image transformation point conversion unit 84 and the position information of the transformation point.

【0048】イメージブロック化部100は入力される
変形点の位置情報に基づき、入力される文字イメージに
おいて各ストロークを変形点を一つずつ含む複数の画素
ブロックに分割し、その結果を変形イメージ生成部10
5に出力するとともに各画素ブロック内の変形点の位置
情報を変形点摂動部101に出力する。
The image blocking unit 100 divides each stroke in the input character image into a plurality of pixel blocks each including one deformation point based on the input position information of the deformation point, and generates the result as a deformed image. Part 10
5 and outputs the position information of the deformation point in each pixel block to the deformation point perturbation unit 101.

【0049】変形点摂動部101は入力される位置情報
に対して(数3)、(数4)で示す変換を行ない、変換
後の各変形点の位置座標を変形イメージ生成部105に
出力する。図13にこの変換の概念図を示す。
The transformation point perturbation unit 101 performs transformation shown in (Equation 3) and (Equation 4) on the input position information, and outputs the transformed position coordinates of each transformation point to the transformation image generation unit 105. . FIG. 13 shows a conceptual diagram of this conversion.

【0050】[0050]

【数3】x'=x+r・cosα[Equation 3] x '= x + r · cos α

【0051】[0051]

【数4】y'=y+r・sinα 但し、(x,y)は変換前の位置情報であり、(x’,
y’)は変換後の位置情報である。またr、αは摂動パ
ラメータであり、rが移動量、αが移動方向を表わす。
[Mathematical formula-see original document] y '= y + r.sinα where (x, y) is position information before conversion, and (x',
y ') is the position information after conversion. Further, r and α are perturbation parameters, where r is the amount of movement and α is the direction of movement.

【0052】この摂動パラメータの値の設定は摂動情報
記憶部104と摂動揺らぎ値発生部103と摂動パラメ
ータ設定部102によって以下のようにして行なわれ
る。
The value of the perturbation parameter is set by the perturbation information storage unit 104, the perturbation fluctuation value generation unit 103, and the perturbation parameter setting unit 102 as follows.

【0053】摂動情報記憶部103は変形点摂動部10
0によって変形点が変換される毎に摂動パラメータ設定
部102から入力される摂動パラメータの値に更新さ
れ、一つのストローク成分の変形点の変換が終了する毎
に、予め定められた摂動パラメータの値に初期化され
る。
The perturbation information storage unit 103 is the deformation point perturbation unit 10.
The value of the perturbation parameter input from the perturbation parameter setting unit 102 is updated every time the deformation point is converted by 0, and the value of the predetermined perturbation parameter is updated every time the conversion of the deformation point of one stroke component is completed. Is initialized to.

【0054】摂動揺らぎ値発生部103は0を中心に予
め設定された値の範囲内の値を時系列的に発生する。但
し、その値の発生確率は0が最も高く、0から遠い値ほ
ど低くなる。摂動揺らぎ値発生部103は発生した値を
摂動パラメータ設定部102に出力する。
The perturbation fluctuation value generator 103 generates values within a preset value range centered on 0 in a time series. However, the probability of occurrence of that value is highest at 0, and becomes lower as the value is farther from 0. The perturbation fluctuation value generation unit 103 outputs the generated value to the perturbation parameter setting unit 102.

【0055】摂動パラメータ設定部102は摂動情報記
憶部104に記憶保持されている摂動パラメータの値を
読みだし、摂動揺らぎ値発生部103から入力される値
を加算して新たなる摂動パラメータ値として変形点摂動
部101及び、摂動情報記憶部104に出力する。
The perturbation parameter setting unit 102 reads the values of the perturbation parameters stored and held in the perturbation information storage unit 104, adds the values input from the perturbation fluctuation value generation unit 103, and transforms them as new perturbation parameter values. It outputs to the point perturbation unit 101 and the perturbation information storage unit 104.

【0056】図14は変形イメージ生成部105とスム
ージング処理部73の動作の説明図である。変形イメー
ジ生成部105は各変形点の変形点摂動部101による
変換に基づいて、それらの変形点に対応するイメージブ
ロック化部100から入力される画素ブロック内にある
全ての画素の位置を図14に示すように変換する。
FIG. 14 is an explanatory diagram of the operations of the modified image generation unit 105 and the smoothing processing unit 73. Based on the transformation of each transformation point by the transformation point perturbation unit 101, the transformation image generation unit 105 determines the positions of all pixels in the pixel block input from the image blocking unit 100 corresponding to those transformation points as shown in FIG. Convert as shown in.

【0057】次に変換後の文字イメージをスムージング
処理部73に出力する。スムージング処理部73は図1
4に示す様に入力されるイメージに対して(数5)で表
わされるローパスフィルタ処理を行なうことによって画
素ブロック間の凹凸を減少させ、文字のエッジ部分を滑
らかにした後、図1の出力位置決定部7に処理後の文字
イメージを出力する。
Next, the converted character image is output to the smoothing processing unit 73. The smoothing processing unit 73 is shown in FIG.
As shown in FIG. 4, the input image is subjected to the low-pass filter process represented by (Equation 5) to reduce the unevenness between the pixel blocks and smooth the edge portion of the character. The processed character image is output to the determination unit 7.

【0058】[0058]

【数5】F(x,y) = G(Σn a=0 Σm b=0 { f(x-a,y-b)・
h(a,b) } ) 但し、f(x,y)は黒画素の画素値を1、白画素を画素値を
0としたときの処理前の文字イメージ、F(x,y)は処理後
の文字イメージ、G(x)はxが設定値よりも大きいと1、
以下の場合は0を出力する関数、h(a,b)は中心位置から
周辺へ向かって単調減少し、かつ(数6)を満たすよう
な値を持つローパスフィルタを表わすテンプレートであ
り、例えばm=3、n=3の場合、図15のようなテン
プレートが考えられる。
[Formula 5] F (x, y) = G (Σ n a = 0 Σ m b = 0 {f (xa, yb) ・
h (a, b)}) where f (x, y) is the character image before processing when the pixel value of the black pixel is 1 and the pixel value of the white pixel is 0, and F (x, y) is the processing Later character image, G (x) is 1 when x is larger than the set value,
In the following cases, a function that outputs 0, h (a, b) is a template representing a low-pass filter having a value that monotonically decreases from the center position toward the periphery and that satisfies (Equation 6). = 3 and n = 3, a template as shown in FIG. 15 can be considered.

【0059】[0059]

【数6】Σn a=0 Σm b=0 h(a,b)=1 図16は、出力位置決定部7の構成図であり、140は
前文字情報記憶部、141は連結文字辞書、142は始
点終点連結部、143は出力位置揺らぎ値発生部、14
4は黒画素位置出力部である。
## EQU6 ## Σ n a = 0 Σ m b = 0 h (a, b) = 1 FIG. 16 is a block diagram of the output position determination unit 7, where 140 is the preceding character information storage unit and 141 is the concatenated character dictionary. , 142 is a start point end point connection section, 143 is an output position fluctuation value generation section, 14
Reference numeral 4 is a black pixel position output unit.

【0060】出力位置揺らぎ値発生部143は0を中心
に予め設定された値の範囲内の値を時系列的に発生し、
その値の発生確率は0が最も高く、0から遠い値ほど低
くなる。出力位置揺らぎ値発生部143は発生した値を
黒画素位置出力部144に出力する。
The output position fluctuation value generator 143 generates values within a preset value range centered on 0 in a time series,
The probability of occurrence of that value is highest at 0, and becomes lower as the value is farther from 0. The output position fluctuation value generation unit 143 outputs the generated value to the black pixel position output unit 144.

【0061】出力位置情報記憶部8には、一文字分前に
出力した文字イメージの外接矩形の印刷用紙の座標系に
対する位置情報を記憶保持しており、一文字分の出力が
終了する毎にその時の文字イメージの外接矩形の位置情
報に内容が更新される。
The output position information storage unit 8 stores and holds position information for the coordinate system of the circumscribing rectangle of the character image output one character before, and each time the output for one character is completed, the position information is stored. The contents are updated to the position information of the circumscribed rectangle of the character image.

【0062】黒画素位置出力部144はまず、イメージ
変形部5から入力される文字イメージの黒画素の位置情
報と出力位置揺らぎ値発生部143から入力される値を
加算し、新たな黒画素の位置情報を求める。次に出力位
置情報記憶部8に記憶保持されている位置情報を読みだ
し、新たに求めた黒画素の位置情報に加算し、印刷用紙
の座標系における黒画素の位置を得、始点終点連結部1
42と変形イメージ出力部9に出力する。
The black pixel position output unit 144 first adds the position information of the black pixel of the character image input from the image transformation unit 5 and the value input from the output position fluctuation value generation unit 143 to obtain a new black pixel. Request location information. Next, the position information stored and held in the output position information storage unit 8 is read and added to the newly obtained position information of the black pixel to obtain the position of the black pixel in the coordinate system of the printing paper, and the start point end point connection unit 1
42 and the modified image output unit 9.

【0063】前文字情報記憶部140は一文字分前に変
換した文字イメージの文字コードとその文字イメージの
書き終わりの終点の印刷用紙座標系における位置座標を
記憶保持し、一文字分の変換が終了する毎にその時の文
字コードと終点位置座標に内容が更新される。また連結
文字辞書141は連結する可能性のある文字の組合せを
文字コードの組合せとして予め記憶保持している。連結
する可能性のある文字の組合せとは、例えば図17に示
すような2と0の場合である。
The previous character information storage section 140 stores and holds the character code of the character image converted one character before and the position coordinate in the print paper coordinate system of the end point of the writing of the character image, and the conversion of one character is completed. Each time, the contents are updated to the character code and the end point position coordinate at that time. Further, the concatenated character dictionary 141 previously stores and holds a combination of characters that may be concatenated as a combination of character codes. The combination of characters that may be connected is, for example, the case of 2 and 0 as shown in FIG.

【0064】始点終点連結部142は前文字コード記憶
部140に記憶保持されている文字コードと現在変換し
ている文字イメージの文字コードの組合せを連結文字辞
書141内にサーチし、もし当該組合せが存在するなら
ばある一定の頻度で前文字情報記憶部140に記憶保持
されている前文字の終点の位置情報を読みだし、前文字
の終点から黒画素位置出力部144から入力される文字
の始点の間を結ぶ線分を求め、その線分上の黒画素の位
置情報を変形イメージ出力部9に出力する。
The starting point / ending point concatenation unit 142 searches the concatenated character dictionary 141 for a combination of the character code stored and held in the previous character code storage unit 140 and the character code of the character image currently being converted, and if the combination is If present, the positional information of the end point of the previous character stored and held in the previous character information storage unit 140 is read out at a certain frequency, and the start point of the character input from the black pixel position output unit 144 from the end point of the previous character. A line segment connecting between the line segments is obtained, and position information of black pixels on the line segment is output to the modified image output unit 9.

【0065】図1の変形イメージ出力部9は出力位置決
定部7から入力される黒画素の位置情報に従って印刷用
紙に黒画素のドットを印刷する。
The modified image output unit 9 of FIG. 1 prints dots of black pixels on the printing paper according to the position information of the black pixels input from the output position determination unit 7.

【0066】以上のように本実施例によれば、自動筆記
情報設定部21によってユーザーが書いた文字列から自
動的に標準手書き文字イメージと筆記情報を登録でき、
ユーザーの負担を軽減することができる。またマニュア
ル筆記情報設定部22によって正しい標準手書き文字イ
メージと筆記情報を確実に登録することができる。また
イメージ変形部5が変形情報記憶部6に記憶保持されて
いる前文字の変形情報に基づき、標準手書き文字イメー
ジに変形を加えることによって同じカテゴリの文字でも
常に異なる形、大きさとなり、さらに出力位置決定部7
が出力位置情報記憶部8に記憶保持されている前文字の
出力位置に基づき出力位置に揺らぎを持たせて出力する
ためにより手書きに近い文字列のイメージを生成するこ
とができる。
As described above, according to this embodiment, the standard handwritten character image and the handwriting information can be automatically registered from the character string written by the user by the automatic handwriting information setting unit 21,
The burden on the user can be reduced. Further, the manual handwriting information setting unit 22 can surely register the correct standard handwritten character image and the handwriting information. Further, the image transforming unit 5 transforms the standard handwritten character image based on the transforming information of the previous character stored and held in the transforming information storage unit 6 so that the characters of the same category always have different shapes and sizes, and further output. Position determination unit 7
Is output based on the output position of the previous character stored and held in the output position information storage unit 8 with a fluctuation in the output position, so that an image of a character string close to handwriting can be generated.

【0067】なお、本発明の各手段は、コンピュータを
用いてソフトウェア的に実現し、あるいはそれら各機能
を有する専用のハード回路を用いて実現する事が出来
る。
Each means of the present invention can be realized by software using a computer, or can be realized by using a dedicated hardware circuit having each of these functions.

【0068】[0068]

【発明の効果】以上述べたところから明らかなように、
本発明によれば、標準手書き文字イメージ登録部によっ
て予め登録されたユーザーの手書き文字イメージを標準
文字イメージとするために、そのユーザーが書く字形に
近い文字イメージを生成できる。
As is apparent from the above description,
According to the present invention, since the handwritten character image of the user registered in advance by the standard handwritten character image registration unit is used as the standard character image, a character image similar to the character shape written by the user can be generated.

【0069】また、標準文字イメージに対して、変形情
報記憶部の情報に基づきイメージ変形部によって変形を
加えることで、同じカテゴリの文字でも常に異なる形、
大きさとなる。
Further, by modifying the standard character image by the image modifying unit based on the information in the modification information storage unit, characters in the same category always have different shapes,
It becomes the size.

【0070】また、出力位置情報記憶部の情報に基づ
き、出力位置決定部によって文字イメージの出力位置を
一定にせず、出力位置に揺らぎを持たせ、変形イメージ
出力部がその出力位置に変形された文字イメージを出力
することでより手書きに近い文字列イメージを出力する
ことができる。
Further, based on the information in the output position information storage unit, the output position determination unit does not make the output position of the character image constant but gives the output position fluctuation, and the modified image output unit is transformed to the output position. By outputting the character image, it is possible to output a character string image that is closer to handwriting.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明における一実施例の文字列イメージ生成
装置の構成図である。
FIG. 1 is a configuration diagram of a character string image generation device according to an embodiment of the present invention.

【図2】本発明における一実施例の標準手書き文字イメ
ージ登録部の構成図である。
FIG. 2 is a configuration diagram of a standard handwritten character image registration unit according to an embodiment of the present invention.

【図3】本発明における一実施例の自動筆記情報設定部
とマニュアル筆記情報設定部の構成図である。
FIG. 3 is a configuration diagram of an automatic writing information setting unit and a manual writing information setting unit according to an embodiment of the present invention.

【図4】本発明における一実施例のストローク抽出部の
構成図である。
FIG. 4 is a configuration diagram of a stroke extraction unit according to an embodiment of the present invention.

【図5】本発明における一実施例のストローク位置決定
部の動作の説明図である。
FIG. 5 is an explanatory diagram of an operation of a stroke position determination unit according to an embodiment of the present invention.

【図6】本発明における一実施例のマニュアル筆記情報
設定部の説明図である。
FIG. 6 is an explanatory diagram of a manual writing information setting unit according to an embodiment of the present invention.

【図7】本発明における一実施例のマニュアル筆記情報
設定部の説明図である。
FIG. 7 is an explanatory diagram of a manual writing information setting unit according to an embodiment of the present invention.

【図8】本発明における一実施例のマニュアル筆記情報
設定部の説明図である。
FIG. 8 is an explanatory diagram of a manual writing information setting unit according to an embodiment of the present invention.

【図9】本発明における一実施例のイメージ変形部の構
成図である。
FIG. 9 is a configuration diagram of an image transformation unit according to an embodiment of the present invention.

【図10】本発明における一実施例の線形変換部の構成
図である。
FIG. 10 is a configuration diagram of a linear conversion unit according to an embodiment of the present invention.

【図11】本発明における一実施例の線形変換部の動作
の説明図である。
FIG. 11 is an explanatory diagram of an operation of the linear conversion unit according to the embodiment of the present invention.

【図12】本発明における一実施例の非線形変換部の構
成図である。
FIG. 12 is a configuration diagram of a non-linear conversion unit according to an embodiment of the present invention.

【図13】本発明における一実施例の変形点摂動部の動
作の説明図である。
FIG. 13 is an explanatory diagram of an operation of a deformation point perturbation unit according to an embodiment of the present invention.

【図14】本発明における一実施例の変形イメージ生成
部の構成図である。
FIG. 14 is a configuration diagram of a modified image generation unit according to an embodiment of the present invention.

【図15】本発明における一実施例のスムージング処理
部のローパスフィルタ処理用のテンプレートの例の図で
ある。
FIG. 15 is a diagram illustrating an example of a template for low-pass filter processing of a smoothing processing unit according to an embodiment of the present invention.

【図16】本発明における一実施例の出力位置決定部の
構成図である。
FIG. 16 is a configuration diagram of an output position determining unit according to an embodiment of the present invention.

【図17】連結文字の例の図である。FIG. 17 is a diagram of an example of a connected character.

【図18】従来のイメージ生成装置の概略構成図であ
る。
FIG. 18 is a schematic configuration diagram of a conventional image generation device.

【符号の説明】[Explanation of symbols]

1 文字コード入力部 41 端点
抽出部 2 標準手書き文字イメージ登録部 42 交点
抽出部 3 イメージ格納部 43 スト
ローク位置決定部 4 イメージ読みだし部 71 線形
変換部 5 イメージ変形部 72 非線
形変換部 6 変形情報記憶部 73 スム
ージング処理部 7 出力位置決定部 81 変換
座標系決定部 8 出力位置情報記憶部 82 揺ら
ぎ値発生部 9 変形イメージ出力部 83 変換
パラメータ設定部 20 イメージ読み取り部 84 イ
メージ変形点変換部 21 自動筆記情報設定部 100 イ
メージブロック化図 22 マニュアル筆記情報設定部 101 変
形点摂動部 30 文字切り出し部 102 摂
動パラメータ設定部 31 ストローク抽出部 103 摂
動揺らぎ値発生部 32 文字認識部 104 摂
動情報記憶部 33 自動始点終点決定部 105 変
形イメージ生成部 34 自動変形点決定部 140 前
文字情報記憶部 35 筆記情報イメージ表示部 141 連
結文字辞書 36 文字イメージ決定部 142 始
点終点連結部 37 文字コード決定部 143 出
力位置揺らぎ値発生部 38 始点終点決定部 144 黒
画素位置出力部 39 変形点決定部 201 フ
ォント格納部 40 イメージ細線化部 202 フ
ォント読みだし部 203 イメージ出力部
1 Character code input unit 41 End point extraction unit 2 Standard handwritten character image registration unit 42 Intersection point extraction unit 3 Image storage unit 43 Stroke position determination unit 4 Image reading unit 71 Linear conversion unit 5 Image transformation unit 72 Non-linear transformation unit 6 Deformation information storage Part 73 Smoothing processing part 7 Output position determination part 81 Transformation coordinate system determination part 8 Output position information storage part 82 Fluctuation value generation part 9 Deformed image output part 83 Conversion parameter setting part 20 Image reading part 84 Image deformation point conversion part 21 Automatic writing Information setting unit 100 Image block diagram 22 Manual writing information setting unit 101 Deformation point perturbation unit 30 Character cutout unit 102 Perturbation parameter setting unit 31 Stroke extraction unit 103 Perturbation fluctuation value generation unit 32 Character recognition unit 104 Perturbation information storage unit 33 Automatic start point End point determination part 1 5 Deformed image generation unit 34 Automatic deformation point determination unit 140 Pre-character information storage unit 35 Writing information image display unit 141 Concatenated character dictionary 36 Character image determination unit 142 Start point / End point coupling unit 37 Character code determination unit 143 Output position fluctuation value generation unit 38 Start point end point determination unit 144 Black pixel position output unit 39 Transformation point determination unit 201 Font storage unit 40 Image thinning unit 202 Font reading unit 203 Image output unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/24 8121−5G 9192−5L G06F 15/72 355 U ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G09G 5/24 8121-5G 9192-5L G06F 15/72 355 U

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】ユーザーが出力したい文字のコードを入力
する文字コード入力部と、標準となる手書き文字のイメ
ージを読み込み、そのイメージに対応する文字コード及
び、文字ストローク等の筆記情報を付加する標準手書き
文字イメージ登録部と、前記情報が付加されたイメージ
を記憶保持しておくイメージ格納部と、前記文字コード
入力部から入力される文字コードが付加された文字イメ
ージを前記イメージ格納部から読みだすイメージ読みだ
し部と、変形情報を記憶保持する変形情報記憶部と、前
記読みだされたイメージを前記変形情報に基づいて変形
するイメージ変形部と、前記イメージ変形部によって変
形された文字イメージを出力する変形イメージ出力部と
を備えたことを特徴とする文字列イメージ生成装置。
1. A standard for inputting a code of a character desired to be output by a user, a standard handwritten character image is read, and a character code corresponding to the image and writing information such as a character stroke are added. A handwritten character image registration unit, an image storage unit that stores and holds the image to which the information is added, and a character image to which the character code input from the character code input unit is added is read from the image storage unit. An image reading unit, a deformation information storage unit that stores and holds deformation information, an image deformation unit that deforms the read image based on the deformation information, and a character image deformed by the image deformation unit is output. And a deformed image output unit for performing the character string image generation device.
【請求項2】標準手書き文字イメージ登録部は、ユーザ
ーの手書き文字のイメージを読みとるイメージ読み取り
部と、 読みとったイメージの中から文字の領域を抽出し、前記
イメージ格納部に記憶保持する文字イメージを決定する
文字切り出し部と、前記文字切り出し部によって得られ
た文字イメージを認識し、対応する文字のコードを決定
する文字認識部と、前記文字切り出し部によって得られ
た文字イメージから文字の各ストロークを抽出し、その
位置情報を出力するストローク抽出部と、前記文字認識
部から入力と前記ストローク抽出部からの入力に基づき
文字の書き出しの始点と書き終わりの終点の位置情報を
筆記情報として設定する自動始点終点決定部と、各スト
ロークを分割する点を文字を変形する際の変形点とし、
変形点の位置情報を筆記情報として設定する自動変形点
決定部とから成る自動筆記情報設定部と、を備えたこと
を特徴とする請求項1記載の文字列イメージ生成装置。
2. The standard handwritten character image registration unit extracts an image reading unit for reading an image of a user's handwritten character, extracts a character region from the read image, and stores a character image stored in the image storage unit. A character slicing unit that determines the character image obtained by the character slicing unit and a character recognizing unit that determines the code of the corresponding character, and a stroke for each character from the character image obtained by the character slicing unit. A stroke extraction unit for extracting and outputting the position information, and an automatic setting of the position information of the start point and the end point of the writing of the character as the writing information based on the input from the character recognition unit and the input from the stroke extraction unit. The start point and end point determination section, and the points that divide each stroke are the transformation points when transforming the character,
The character string image generation device according to claim 1, further comprising: an automatic writing information setting unit including an automatic deformation point determination unit that sets position information of the deformation point as writing information.
【請求項3】標準手書き文字イメージ登録部は、ユーザ
ーの手書き文字のイメージを読みとるイメージ読み取り
部と、 読みとった文字イメージを表示するイメージ表示部と、
表示されたイメージを見てユーザーが前記イメージ格納
部に記憶保持する文字イメージを設定する文字イメージ
決定部と、表示されたイメージを見てユーザーがその文
字の書き出しの始点と書き終わりの終点の位置情報を筆
記情報として設定する始点終点決定部と、表示されたイ
メージを見てユーザーが文字を変形する際の変形点の位
置情報を筆記情報として設定する変形点決定部と、表示
されたイメージを見てユーザーがそのイメージに対応す
る文字のコードを決定する文字コード決定部とから成る
マニュアル筆記情報設定部と、を備えたことを特徴とす
る請求項1記載または、請求項2記載の文字列イメージ
生成装置。
3. A standard handwritten character image registration unit, an image reading unit for reading an image of a user's handwritten character, and an image display unit for displaying the read character image.
The character image determination unit that sets the character image that the user stores and holds in the image storage unit by looking at the displayed image, and the position of the start point and the end point of the writing when the user looks at the displayed image The start point and end point determination unit that sets the information as writing information, the deformation point determination unit that sets the position information of the deformation point when the user deforms the character looking at the displayed image as the writing information, and the displayed image The character string according to claim 1 or 2, further comprising: a manual writing information setting unit including a character code determination unit that allows a user to determine a character code corresponding to the image. Image generator.
【請求項4】イメージ変形部は、文字イメージ全体に一
様な座標変換を加えることにより文字イメージ全体に変
形を加える線形変換部と、文字イメージのストローク成
分毎に変形を加える非線形変換部と、非線形変換部によ
って変換された後の文字イメージのエッジ部分を平滑化
し、細かい凸凹を除去するスムージング処理部とを備え
たことを特徴とする請求項2記載又は、請求項3記載の
文字列イメージ生成装置。
4. The image transforming unit includes a linear transforming unit that transforms the entire character image by applying uniform coordinate transformation to the entire character image, and a non-linear transforming unit that transforms each stroke component of the character image. The character string image generation according to claim 2 or 3, further comprising: a smoothing processing unit that smoothes an edge portion of the character image converted by the non-linear conversion unit and removes fine unevenness. apparatus.
【請求項5】イメージ変形部によって変形された文字イ
メージをどの位置に出力するかを決定する出力位置決定
部と、前記出力位置決定部によって決定された出力位置
の情報を記憶保持する出力位置情報記憶部とを備えたこ
とを特徴とする請求項2、請求項3又は、請求項4記載
の文字列イメージ生成装置。
5. An output position deciding unit for deciding at which position a character image transformed by the image transforming unit is to be output, and output position information for storing and holding information on the output position decided by the output position deciding unit. The character string image generation device according to claim 2, 3, or 4, further comprising: a storage unit.
JP5147426A 1993-06-18 1993-06-18 Character string image generating device Pending JPH0721164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5147426A JPH0721164A (en) 1993-06-18 1993-06-18 Character string image generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5147426A JPH0721164A (en) 1993-06-18 1993-06-18 Character string image generating device

Publications (1)

Publication Number Publication Date
JPH0721164A true JPH0721164A (en) 1995-01-24

Family

ID=15430053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5147426A Pending JPH0721164A (en) 1993-06-18 1993-06-18 Character string image generating device

Country Status (1)

Country Link
JP (1) JPH0721164A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020134557A (en) * 2019-02-13 2020-08-31 株式会社ワコム Character data generation device, method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020134557A (en) * 2019-02-13 2020-08-31 株式会社ワコム Character data generation device, method, and program

Similar Documents

Publication Publication Date Title
US5410611A (en) Method for identifying word bounding boxes in text
US6661919B2 (en) Method and apparatus for producing a hybrid data structure for displaying a raster image
JP4607633B2 (en) Character direction identification device, image forming apparatus, program, storage medium, and character direction identification method
US5729637A (en) Method and apparatus for producing a hybrid data structure for displaying a raster image
JP4777393B2 (en) Text direction determination method and system in digital image, control program, and recording medium
US5509092A (en) Method and apparatus for generating information on recognized characters
JPH08293001A (en) Image processing unit and method and optical character recognition unit and method
JP2022066321A (en) Information processing device and program
JP2000067164A (en) Method and device for pattern recognition and record medium where template generating program is recorded
JPH0721164A (en) Character string image generating device
JP2000076378A (en) Character recognizing method
JP5381225B2 (en) Information processing apparatus and program
JPH06231308A (en) Method and device for processing handwritten document
JPH0728935A (en) Document image processor
JP2023046687A (en) Information processing device, information processing method and program
JP2918363B2 (en) Character classification method and character recognition device
JP2662404B2 (en) Dictionary creation method for optical character reader
JP2827227B2 (en) Character recognition method
JPH01292586A (en) Back-up device for recognition of character
JP2755299B2 (en) Image processing method
JP3157534B2 (en) Table recognition method
JPH11250179A (en) Character reocognition device and its method
JP2973892B2 (en) Character recognition method
CN113537216A (en) Dot matrix font text line inclination correction method and device
JPH08123904A (en) Character style classification processing device