JP2003015628A - Device and program for handwritten character font generation, and character entry form for handwritten character font generation - Google Patents

Device and program for handwritten character font generation, and character entry form for handwritten character font generation

Info

Publication number
JP2003015628A
JP2003015628A JP2001196954A JP2001196954A JP2003015628A JP 2003015628 A JP2003015628 A JP 2003015628A JP 2001196954 A JP2001196954 A JP 2001196954A JP 2001196954 A JP2001196954 A JP 2001196954A JP 2003015628 A JP2003015628 A JP 2003015628A
Authority
JP
Japan
Prior art keywords
rectangular frame
character
image
font
handwritten
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
JP2001196954A
Other languages
Japanese (ja)
Inventor
Koichi Hashimoto
浩一 橋本
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.)
Riso Kagaku Corp
Original Assignee
Riso Kagaku Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Riso Kagaku Corp filed Critical Riso Kagaku Corp
Priority to JP2001196954A priority Critical patent/JP2003015628A/en
Publication of JP2003015628A publication Critical patent/JP2003015628A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily generate a font of characters that the user oneself handwrites, to obtain font characters of sufficient sizes, and to enable the person who enters the characters to obtain the font characters of intended sizes. SOLUTION: A device is equipped with a 1st rectangular frame image cutting means which cuts an image out of a 1st rectangular frame, a 2nd rectangular frame erasing means which erases a 2nd rectangular frame, a character circumscribed rectangle applying means which applies a character frame circumscribed with a character part, a character enlargement rate calculating means which calculates the enlargement rate of the character part, a character enlarging means which compares the maximum enlargement rate calculated from the size of the 1st rectangular frame and the size of the 2nd rectangular frame with the enlargement rate and enlarges the character part according to a larger value, and a font data generating means which generates a handwritten character font composed of handwritten characters from images having been enlarged.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ワープロやプリン
タ等に用いるフォントの作成技術に係り、特に手書き文
字のフォント作成技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for creating a font used in a word processor, a printer or the like, and more particularly to a technique for creating a font for handwritten characters.

【0002】[0002]

【従来の技術】近年、パソコンの普及により、はがきや
手紙などの文章をパソコンにインストールされたワープ
ロ・ソフトなどで作成し、パソコンに接続されたプリン
タ等を用いて印刷するといったことが、容易に、且つ、
広く一般に利用されるようになってきている。
2. Description of the Related Art In recent years, with the spread of personal computers, it is easy to create text such as postcards and letters with word processing software installed in personal computers and print them using a printer or the like connected to the personal computers. ,and,
It is becoming widely used.

【0003】ワープロを用いて文章を作成することの利
点は、何度でも容易に書き直しができるために、自由自
在な編集が可能なことである。ここでいう「編集」と
は、文章中の言葉を追加、削除、変更したり、文や段落
の順序を入れ替えたりすることである。
An advantage of creating a sentence using a word processor is that it can be freely rewritten any number of times, so that it can be freely edited. "Editing" here means adding, deleting, changing words in a sentence, or changing the order of sentences and paragraphs.

【0004】このようなワープロが普及する以前は、文
章は肉筆により直接紙の上に書かれていた。その際に
は、下書き、校正、清書といった工程を経る必要があっ
た。
Before the spread of such word processors, sentences were written directly on paper with a handwriting. In that case, it was necessary to go through the steps of drafting, proofreading, and clear copy.

【0005】一方、ワープロを用いる場合には、編集機
能により作成した下書き原稿を校正すれば、それがその
まま清書になる。
On the other hand, in the case of using a word processor, if a draft document created by the editing function is proofread, it becomes a plain copy as it is.

【0006】このように、ワープロを使用することによ
り便益を一度享受すると、紙に直接文字を書くことで文
章を作成する作業は非常に面倒に感じられるものであ
る。従って、前記のように、はがきや手紙に書く文章も
ワープロを用いて作成されるに至ったわけである。
As described above, once the benefits are obtained by using the word processor, the work of creating a sentence by directly writing a character on paper is very troublesome. Therefore, as described above, texts to be written on postcards and letters have also been created using word processors.

【0007】通常、パソコンにインストールされている
ワープロ・ソフトを用いて作成された文章は、そのパソ
コンに搭載されているデジタル・フォントを使用してラ
スター画像(ビットマップ画像)化され、ビットマップ
画像を印刷するレーザ・ビーム・プリンタやインク・ジ
ェット・プリンタといった印刷装置に出力される。
Usually, a sentence created by using word processing software installed in a personal computer is converted into a raster image (bitmap image) using a digital font installed in the personal computer, and a bitmap image is created. Is output to a printing device such as a laser beam printer or an ink jet printer that prints.

【0008】ディジタル・フォントには多数の種類があ
り、文章の種類に応じて使い分けられる。和文フォント
としては「明朝体」「ゴシック体」などの標準文字フォ
ントが、多く使われている。
There are many types of digital fonts, which are used according to the type of sentence. As Japanese fonts, standard character fonts such as "Mincho type" and "Gothic type" are often used.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、前記の
ような標準文字フォントによって出力された文字は、綺
麗ではあるものの、書き手の個性が反映されない。はが
きや手紙などは、書き手から読み手に情報を伝達するた
めの媒体であり、情報自体に個性があれば目的を達する
ことができるという冷めた見方をする人もいるが、一方
で、肉筆で書くことにより自分の心がこめられると感じ
る人や、肉筆で書かれたものを受け取るとありがたく感
じる人も多く、そのような感性は理屈で説明できるもの
ではない。
However, although the characters output by the standard character font as described above are beautiful, they do not reflect the personality of the writer. Postcards and letters are a medium for transmitting information from the writer to the reader, and some people take a cold view that the purpose can be achieved if the information itself has individuality, while writing with handwriting There are many people who feel that their hearts are filled with things, and many people are grateful when they receive something written with a handwriting, and such sensitivity cannot be explained reasonably.

【0010】ワープロを用いて作成した文章を自分の手
書き文字で出力する手段があれば、ワープロのもつ利点
である自由自在な編集機能の便宜を享受しつつ、心のこ
もった手書き文字で出力することができるが、このよう
な仕組みは現時点では提供されていない。
[0010] If there is a means for outputting a sentence created using a word processor as one's own handwritten characters, the handwritten character can be output with heartfelt handwriting while enjoying the convenience of the free editing function which is the advantage of the word processor. Yes, but no such mechanism is currently available.

【0011】本発明は、以上に述べた状況を鑑みて成さ
れたものであり、ユーザ自身の手書き文字によるフォン
トを容易に作成することができ、且つ、出来上がるフォ
ントを表示あるいは印刷した際に十分な大きさのフォン
ト文字が得られ、更に、文字の記入者が意図する大きさ
のフォント文字を得ることができる手書き文字フォント
作成装置、手書き文字フォント作成プログラム、及び手
書き文字フォント作成用文字記入用紙を提供することを
目的とする。
The present invention has been made in view of the above-described situation, and it is possible to easily create a font by a user's own handwritten character, and it is sufficient when a completed font is displayed or printed. Handwritten character font creation device, handwritten character font creation program, and character entry sheet for handwritten character font creation that can obtain font characters of various sizes and further obtain font characters of the size intended by the character writer The purpose is to provide.

【0012】[0012]

【課題を解決するための手段】上記課題を解決するため
に、本発明に係る手書き文字フォント作成装置の特徴
は、ユーザによる手書き文字が記入済みの文字記入用紙
を読取って、得られた文字画像から手書き文字で構成さ
れる手書き文字フォントを作成する手書き文字フォント
作成装置であって、(1)読取った前記文字記入用紙の
画像から、第1矩形枠の枠内画像を切り出す第1矩形枠
内画像切出し手段と、(2)切り出した前記第1矩形枠
の枠内画像から第2矩形枠を消去し、消去後画像を得る
第2矩形枠消去手段と、(3)前記消去後画像の文字部
分に外接する文字外接矩形を当てはめる文字外接矩形当
てはめ手段と、(4)前記文字外接矩形のサイズと前記
第1矩形枠のサイズとから、前記消去後画像の文字部分
の拡大率を算出する文字拡大率算出手段と、(5)前記
第1矩形枠のサイズと前記第2矩形枠のサイズとから算
出される最大拡大率と、前記拡大率とを比較し、比較し
た結果大きい方の値により、前記消去後画像の文字部分
を拡大し、拡大後画像を得る文字拡大手段と、(6)前
記拡大後画像から手書き文字で構成される手書き文字フ
ォントを作成するフォントデータ作成手段とを備えるこ
とを特徴とする。
In order to solve the above-mentioned problems, the feature of the handwritten character font creating apparatus according to the present invention is that a character image obtained by reading a character entry sheet on which handwritten characters are written by a user is obtained. A handwritten character font creation device for creating a handwritten character font composed of handwritten characters from (1) a first rectangular frame for cutting out an image within a frame of a first rectangular frame from an image of the read character entry sheet Image cropping means, (2) second rectangular frame erasing means for erasing the second rectangular frame from the in-frame image of the cropped first rectangular frame, and obtaining an image after erasing, (3) characters of the after-erasing image A character circumscribing rectangle fitting means for fitting a character circumscribing rectangle circumscribing the portion, and (4) calculating the enlargement ratio of the character portion of the erased image from the size of the character circumscribing rectangle and the size of the first rectangular frame. Character enlargement ratio calculation means, (5) The maximum enlargement ratio calculated from the size of the first rectangular frame and the size of the second rectangular frame, and the enlargement ratio are compared, and the larger value as a result of comparison. According to this, the character portion of the erased image is enlarged, and the character enlarging means for obtaining the enlarged image, and (6) the font data creating means for creating a handwritten character font composed of handwritten characters from the enlarged image. It is characterized by

【0013】また、本発明に係る手書きフォント作成用
文字記入用紙の特徴は、ユーザによる手書き文字が文字
記入欄に記入されて、前記手書きフォント作成装置にて
読取られる、手書きフォント作成用文字記入用紙であっ
て、ユーザによる手書き文字が記入される前記文字記入
欄は、文字記入欄に記入された文字部分を切り出すため
の第1矩形枠と、前記第1矩形枠の内側に配置される第
2矩形枠とから構成されることを特徴とする。
A feature of the character entry sheet for handwritten font creation according to the present invention is that the handwritten font created by the user is entered in the character entry field and read by the handwritten font creation apparatus. In the character entry field in which handwritten characters by the user are entered, a first rectangular frame for cutting out the character portion entered in the character entry field and a second rectangular frame arranged inside the first rectangular frame are provided. It is characterized by being composed of a rectangular frame.

【0014】ここで「文字」とは、言葉を視覚的に表す
ために、点や線の組み合わせによって言語を一区切りご
とに記号化したものをいい、「フォント」とは、同一の
書体で作られた「文字」の集合をいう。
Here, the "letter" means a word that is symbolically separated by a combination of dots and lines to visually represent a word, and the "font" is made in the same typeface. A set of characters.

【0015】「フォント文字」とは、「フォント」の中
の一区切りに記号化されたものをいい、「フォント」を
構成する一つの「文字」に対応する。
The "font character" refers to a character that is symbolized in one section of the "font" and corresponds to one "character" forming the "font".

【0016】「手書き文字フォント」とは、ユーザによ
って手書きされた文字を同一書体としてみなしたものを
いい、「フォントデータ」とは、「フォント」をデータ
化したものであり、ファイル形式は、ビットマップ形式
であっても、ベジェ曲線やスプライン曲線などの方程式
の集合からなるベクター形式であってもよい。また、手
書き感をより忠実に再現するために、モノクロ階調をも
つビットマップ形式であってもよいし、カラーで階調を
もつビットマップ形式であってもよい。
The "handwritten character font" means that the characters handwritten by the user are regarded as the same typeface, and the "font data" means that the "font" is converted into data and the file format is bit. It may be a map format or a vector format composed of a set of equations such as Bezier curve and spline curve. Further, in order to more faithfully reproduce the feeling of handwriting, a bitmap format having monochrome gradations or a bitmap format having color gradations may be used.

【0017】本発明の特徴によれば、手書きフォント作
成用文字記入用紙の文字記入欄は、文字を記入するため
の範囲の制限を与える第1矩形枠と、第1矩形枠の内側
に配置される第2矩形枠とから構成されている。従っ
て、文字の記入者は第1矩形枠の制限範囲を意識するこ
となく、第2矩形枠一杯に記入することを目安に、文字
を記入していけば良いため、出来上がるフォントを表示
あるいは印刷した際に十分な大きさのフォント文字を得
ることができる。仮に、記入した文字が第2矩形枠に重
なった場合あるいは枠からはみ出た場合でも、第1矩形
枠からはみ出ない限り、文字を切り取られずに抽出され
るし、また、第2矩形枠そのものは消去されるため、出
来上がりの文字フォント中に第2矩形枠が含まれること
もない。
According to a feature of the present invention, the character entry field of the character entry sheet for creating a handwritten font is arranged inside the first rectangular frame and the first rectangular frame which limits the range for entering characters. And a second rectangular frame. Therefore, it is sufficient for the person who entered the character to fill in the second rectangular frame without paying attention to the limited range of the first rectangular frame. Therefore, the completed font is displayed or printed. In this case, a font character of a sufficiently large size can be obtained. Even if the entered character overlaps the second rectangular frame or extends out of the frame, the character is extracted without being cut off unless it extends out of the first rectangular frame, and the second rectangular frame itself is deleted. Therefore, the finished character font does not include the second rectangular frame.

【0018】また、記入された文字の拡大率は、記入さ
れた文字の外接矩形のサイズが第2矩形枠のサイズ以下
の場合には、第2矩形枠のサイズと第1矩形枠のサイズ
とから算出される最大拡大率で拡大され、記入された文
字の外接矩形のサイズが第2矩形枠のサイズを超える場
合には、文字外接矩形のサイズと第1矩形枠のサイズと
から算出される文字毎の拡大率で拡大される。従って、
第2矩形枠より意図的に小さく書かれた文字は上記最大
拡大率で拡大されるため、記入者の意図した余白をもっ
た大きさの文字に拡大される。また、第2矩形枠よりは
み出すように書かれた文字は上記文字毎の拡大率で拡大
されるため、第2矩形枠よりはみ出した部分も切り取ら
れることなく、且つ、余白が最小になるように拡大され
る。
Further, when the size of the circumscribed rectangle of the written character is equal to or smaller than the size of the second rectangular frame, the enlargement ratio of the written character is the size of the second rectangular frame and the size of the first rectangular frame. When the size of the circumscribed rectangle of the written character exceeds the size of the second rectangular frame, the size is calculated from the size of the character circumscribed rectangle and the size of the first rectangular frame. It is enlarged at the enlargement ratio for each character. Therefore,
Characters that are intentionally written smaller than the second rectangular frame are enlarged at the above-described maximum enlargement ratio, and thus are enlarged to have a size having a margin intended by the writer. Further, since the characters that are written so as to extend beyond the second rectangular frame are enlarged at the enlargement ratio for each character, the portions that extend beyond the second rectangular frame are not cut off, and the margin is minimized. Expanded.

【0019】尚、第1矩形枠、第2矩形枠、及び文字外
接矩形のサイズの求め方は様々考えられるが、例えば、
それぞれの矩形枠の辺長を用いることで簡単に実現する
ことができる。
Various methods can be considered for obtaining the sizes of the first rectangular frame, the second rectangular frame, and the character circumscribing rectangle.
This can be easily realized by using the side length of each rectangular frame.

【0020】また、本発明において、第2矩形枠を消去
するための技術的解決手段として、第2矩形枠の線幅を
所定の閾値以下で文字記入用紙に形成しておき、所定の
閾値以下の線を第2矩形枠として検出して消去する。こ
の第2矩形枠の線幅は、記入される文字の線幅よりも十
分に細い線になるように、上記閾値を設定するべきであ
る。
Further, in the present invention, as a technical solution for erasing the second rectangular frame, the line width of the second rectangular frame is formed on the character entry paper at a predetermined threshold value or less, and the line width is set at the predetermined threshold value or less. Is detected as the second rectangular frame and erased. The threshold value should be set so that the line width of the second rectangular frame is sufficiently thinner than the line width of the characters to be written.

【0021】あるいは、第2矩形枠を消去するための技
術的解決手段として、第2矩形枠を所定の色により文字
記入用紙に形成しておき、所定の色で形成されている線
を第2矩形枠として検出して消去する。この第2矩形枠
を形成する所定の色は、文字記入用紙の地の色及び記入
される文字の色と色度上十分に距離のある色を選択する
べきである。
Alternatively, as a technical solution for erasing the second rectangular frame, the second rectangular frame is formed on the character entry sheet in a predetermined color, and the line formed in the predetermined color is the second line. It is detected as a rectangular frame and deleted. As the predetermined color forming the second rectangular frame, a color that is sufficiently chromatically separated from the background color of the character entry sheet and the color of the entered character should be selected.

【0022】あるいはまた、第2矩形枠を消去するため
の技術的解決手段として、第2矩形枠を所定の閾値より
低い濃度で文字記入用紙に形成しておき、所定の閾値以
下の濃度で形成されている線を第2矩形枠として検出し
て消去する。この第2矩形枠の濃度は、記入される文字
の濃度よりも十分低い濃度になるように、上記閾値を設
定するべきである。
Alternatively, as a technical solution for erasing the second rectangular frame, the second rectangular frame is formed on the character entry sheet at a density lower than a predetermined threshold value and formed at a density lower than the predetermined threshold value. The line drawn is detected as a second rectangular frame and erased. The threshold value should be set so that the density of the second rectangular frame is sufficiently lower than the density of the written character.

【0023】[0023]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態について詳しく説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0024】図2は本実施形態に係る手書き文字フォン
ト作成装置1の構成例である。図示するように、手書き
文字フォント作成装置1は、文字記入用紙入力手段とし
てのイメージ・スキャナ5と、文字記入用紙出力手段と
してのプリンタ20と、パーソナルコンピュータ10と
から構成されている。
FIG. 2 shows a configuration example of the handwritten character font creation device 1 according to the present embodiment. As shown in the figure, the handwritten character font creation device 1 is composed of an image scanner 5 as a character entry sheet input means, a printer 20 as a character entry sheet output means, and a personal computer 10.

【0025】尚、本発明に係る手書き文字フォント作成
装置1の構成はこれに限定されるものではなく、例え
ば、上記各装置が一体化されて手書き文字フォント作成
装置1を形成するような構成としても良いし、また、プ
リンタ20がネットワーク回線(図示せず)を介して、
パーソナルコンピュータ10と接続するような構成とし
ても良い。
The configuration of the handwritten character font creation device 1 according to the present invention is not limited to this. For example, as a configuration in which the above respective devices are integrated to form the handwritten character font creation device 1. Alternatively, the printer 20 may be connected via a network line (not shown),
The configuration may be such that it is connected to the personal computer 10.

【0026】図3は、手書き文字フォントを作成・登録
する場合の概略処理を例示するフローチャートである。
FIG. 3 is a flow chart exemplifying a schematic process for creating and registering a handwritten character font.

【0027】はじめに、パーソナルコンピュータ10に
て、文字記入用紙30aを出力するための画像データを
作成し、作成した画像データをプリンタ20にて文字記
入用紙30aに印刷・出力する(Step01)。
First, the personal computer 10 creates image data for outputting the character entry sheet 30a, and the printer 20 prints and outputs the created image data on the character entry sheet 30a (Step 01).

【0028】文字記入用紙30aのレイアウト例を図4
に示す。図4に示した例では、1枚の文字記入用紙30
aに33a〜33mのm行分が確保されており、1つの
行には、n文字分のフォント文字を記入できるように、
第1矩形枠40により形成される文字記入欄が配置され
ている。ここで作成される文字記入用紙30aの出力枚
数は、ユーザ毎に必要とするフォント文字の数に応じて
変化し、ページ数表示欄32にページ番号が出力され
る。
A layout example of the character entry sheet 30a is shown in FIG.
Shown in. In the example shown in FIG. 4, one character entry sheet 30
m lines of 33a to 33m are secured in a, so that n lines of font characters can be entered in one line.
A character entry field formed by the first rectangular frame 40 is arranged. The number of output sheets of the character entry sheet 30a created here changes according to the number of font characters required for each user, and the page number is output to the page number display field 32.

【0029】この文字記入用紙30aには、用紙のペー
ジを識別するためのバーコード31が印刷されている。
また、ユーザ自身が手書きで文字を記入する文字記入欄
の近傍には、記入すべき標準文字フォントのフォント文
字34a〜34nがそれぞれ印刷されている。従って、
ユーザはこの標準文字フォントのフォント文字34a〜
34nを見ながら、第1矩形枠40内の文字記入欄に肉
筆で文字を埋めていけば良い。
A bar code 31 for identifying the page of the sheet is printed on the character entry sheet 30a.
In addition, font characters 34a to 34n of standard character fonts to be entered are printed in the vicinity of the character entry field where the user himself / herself writes characters. Therefore,
The user selects the font characters 34a-
Characters may be filled in with a handwriting in the character entry field in the first rectangular frame 40 while watching 34n.

【0030】更に、それらの近傍には文字毎にキャンセ
ル用チェック枠35a〜35nが配置されており、第1
矩形枠40内の文字記入欄に記入する文字を書き損じた
場合に、ユーザはこのキャンセル用チェック枠35a〜
35nに印(例えば、レ点、枠内塗りつぶしなど)をつ
ける。
Further, cancel check frames 35a to 35n are arranged for each character near them, and
When a character to be entered in the character entry field in the rectangular frame 40 is written incorrectly, the user can check the cancellation frames 35a to 35c.
A mark (for example, a check mark or a fill in the frame) is added to 35n.

【0031】ここで「書き損じ」とは、例えば、漢字の
偏を書き誤る、漢字の旁を構成する横線の本数が3本で
あるところを4本にしてしまった、思った通りのバラン
スで偏と旁を配置することができなかった、などといっ
た様々な要因による記入ミスをいう。
Here, the "missing writing" means, for example, miswriting the deviation of the kanji, changing the place where the number of horizontal lines forming the kanji character is three to four, and adjusting the balance as expected. It means an entry error due to various factors, such as being unable to place Straw.

【0032】尚、記入に用いる筆記具は特に限定され
ず、例えば、万年筆、ボールペン、毛筆等、一般に用い
られているあるゆる筆記具を用いることができる。
The writing instrument used for writing is not particularly limited, and any commonly used writing instrument such as a fountain pen, a ballpoint pen, and a writing brush can be used.

【0033】再び図3に戻って、ユーザは、プリンタに
て印刷・出力された文字記入用紙30aに手書きで文字
を記入し、記入済み文字記入用紙30bをイメージ・ス
キャナにセットする(Step02)。
Returning to FIG. 3 again, the user manually writes characters on the character entry sheet 30a printed / output by the printer, and sets the completed letter entry sheet 30b in the image scanner (Step 02).

【0034】イメージ・スキャナ5は、手書き文字が記
入された文字記入用紙30bを読み込んで、画像データ
として入力する(Step03)。
The image scanner 5 reads the character entry sheet 30b on which handwritten characters are entered and inputs it as image data (Step 03).

【0035】次に、入力した文字記入用紙30bの画像
データに対して、切出し・画像処理等の一連の処理を施
して、手書き文字フォントを構成する文字画像を作成す
る。尚、この一連の処理については、後で詳細に説明す
る。(Step04)そして、作成された文字画像をもとに、
文字コードに対応したフォント文字が作成され(Step0
5)、登録文字DB(データベース)に作成・更新され
る(Step06)。
Next, the input image data of the character entry sheet 30b is subjected to a series of processes such as clipping and image processing to create a character image that constitutes a handwritten character font. The series of processes will be described in detail later. (Step04) And, based on the created character image,
A font character corresponding to the character code is created (Step0
5) Created / updated in the registered character DB (database) (Step 06).

【0036】以上の各処理によって、ユーザによって手
書きされた文字からなるデジタル・フォントを作成する
ことができる。
By the above processes, a digital font composed of characters handwritten by the user can be created.

【0037】ところで、上記の処理によって手書きフォ
ントを作成すると、次のような問題が考えられる。図4
に例示したような文字記入用紙30aにて、第1矩形枠
40で形成される文字記入欄にユーザが文字を記入する
際に、第1矩形枠40からはみ出ないように気をつけて
記入するため、自ずと記入された文字は小さめになりが
ちである。つまり、記入された文字の上下左右に必要以
上に余白が生じがちであることから、作成された手書き
文字フォントを用いて文書等を作成すると、文字間隔や
行間隔が必要以上に空いてしまうことになる。
By the way, when a handwritten font is created by the above processing, the following problems can be considered. Figure 4
When the user writes a character in the character entry field formed by the first rectangular frame 40 on the character entry sheet 30a as illustrated in FIG. 3, be careful not to go out of the first rectangular frame 40. Therefore, the characters that are naturally written tend to be small. In other words, blank spaces are likely to appear above, below, to the left and right of the entered characters, so when you create a document, etc. using the created handwritten character font, the character spacing and line spacing will be unnecessarily large. become.

【0038】そこで、記入された文字の上下左右に生じ
た余白を取り除くために、図14に示すように、記入さ
れた文字のサイズと第1矩形枠40のサイズとから拡大
率を求め、求めた拡大率によって文字画像を拡大する方
法が考えられる。図14(b)は、同図(a)の文字画
像を拡大することで、余分な余白を取り除いた例を示し
ている。
Therefore, in order to remove the margins on the upper, lower, left and right sides of the written character, as shown in FIG. 14, the enlargement ratio is obtained from the size of the written character and the size of the first rectangular frame 40, and is calculated. A method of enlarging a character image with a different enlarging ratio can be considered. FIG. 14B shows an example in which an extra blank space is removed by enlarging the character image in FIG.

【0039】ところが、最も大きなサイズの文字から算
出した拡大率を、図15(a)に例示するような比較的
小さく記入された文字に適用すると、図15(b)に示
すように、無視できない余白が生じてしまう。
However, when the enlargement ratio calculated from the largest size character is applied to a relatively small character as illustrated in FIG. 15 (a), it cannot be ignored as shown in FIG. 15 (b). Margins are created.

【0040】一方、記入された文字毎に、記入された文
字のサイズと第1矩形枠40のサイズとから拡大率を求
めて拡大すれば、全ての文字について余分な余白を一様
に取り除くことができる。しかしながら、例えば、
「関」の文字と比較して「日」「口」「国」などの文字
を小さめに書くことを好むユーザもいる。そのようなユ
ーザは、「日」「口」「国」などの文字については、上
下左右にある程度の余白をもたせてフォント画像を作成
したいと考えるであろう。
On the other hand, if the enlargement ratio is calculated from the size of the entered character and the size of the first rectangular frame 40 for each entered character and the enlargement is performed, the extra margin is uniformly removed for all the characters. You can However, for example,
Some users prefer to write letters such as "day,""mouth," and "country" smaller than the letters of "Seki." Such a user may want to create a font image with some margins on the top, bottom, left, and right for characters such as “day”, “mouth”, and “country”.

【0041】そこで、本実施形態では、出来上がるフォ
ントを表示あるいは印刷した際に十分な大きさのフォン
ト文字が得られ、更に、文字の記入者(ユーザ)が意図
する大きさのフォント文字を得ることができる手書き文
字フォント作成装置について、詳細に説明する。
Therefore, in the present embodiment, a font character of a sufficient size can be obtained when the finished font is displayed or printed, and further, a font character of a size intended by the character writer (user) can be obtained. A handwritten character font creation device capable of performing the above will be described in detail.

【0042】図6は、図4に示した文字記入用紙30a
における第1矩形枠40内の1文字分の文字記入欄をピ
ックアップした図である。図示したように、ユーザが文
字を記入する文字記入欄は第1矩形枠40により形成さ
れており、更に、第1矩形枠40の内側には第2矩形枠
38が配置されている。
FIG. 6 shows the character entry sheet 30a shown in FIG.
It is the figure which picked up the character entry column for 1 character in the 1st rectangular frame 40 in. As shown in the figure, the character entry field for the user to enter characters is formed by the first rectangular frame 40, and further, the second rectangular frame 38 is arranged inside the first rectangular frame 40.

【0043】〔第1矩形枠〕第1矩形枠40は、記入さ
れた文字を形成する画像を切り出すための枠であり、こ
の枠からはみ出した部分は切り取られる。尚、記入され
た文字が第1矩形枠40の枠上に重なった部分を活かす
ような仕様にしても良いし、あるいは重なった部分は切
り取るような仕様にしても良い。第1矩形枠40と第2
矩形枠38との間には所定の間隙を設けてあるため、ユ
ーザは第1矩形枠40に重ならないように文字を記入す
ることは困難ではないため、重なった部分は切り取るよ
うな仕様にしてもユーザに不便を感じさせない。
[First Rectangular Frame] The first rectangular frame 40 is a frame for cutting out an image forming a written character, and a portion protruding from this frame is cut out. Incidentally, the specification may be such that the portion where the written characters overlap the frame of the first rectangular frame 40 is utilized, or the overlapping portion is cut off. First rectangular frame 40 and second
Since a predetermined gap is provided between the rectangular frame 38 and the user, it is not difficult for the user to write characters so as not to overlap the first rectangular frame 40. Does not make the user feel inconvenient.

【0044】〔第2矩形枠〕第2矩形枠38は、ユーザ
が文字を記入する際の目安となる枠である。出来上がり
のフォントにおいて、上下左右に余分な余白が生じない
ようにしたい場合には、この第2矩形枠38内に一杯に
文字を記入すれば良い。第2矩形枠38は、後述するよ
うに、後の処理により消去されるため、たとえ、第2矩
形枠38に文字が重なったり、はみ出したりしても、第
1矩形枠40からはみ出ない限り、記入された文字は切
り取られずに抽出される。
[Second Rectangular Frame] The second rectangular frame 38 is a frame that serves as a guide when the user enters characters. In the finished font, if it is desired to prevent extra margins on the top, bottom, left and right sides, it is sufficient to fill the second rectangular frame 38 with characters. As will be described later, the second rectangular frame 38 is erased by a later process, so that even if characters overlap the second rectangular frame 38 or if the characters overlap the second rectangular frame 38, as long as the characters do not protrude from the first rectangular frame 40, The entered characters are extracted without being cut off.

【0045】また、出来上がりのフォントにおいて、上
下左右にある程度の余白が生じるように、つまり意図的
に小さめの文字にしたい場合には、第2矩形枠38を目
安に枠内に余白をもたせて文字を記入すれば良い。
In the finished font, if a certain amount of white space is generated in the upper, lower, left, and right, that is, if it is desired to intentionally make the character small, the second rectangular frame 38 is used as a guide and a margin is provided within the frame. Should be entered.

【0046】第1矩形枠40と第2矩形枠38との間隙
の大きさは、ユーザが筆記用具を用いて根詰めて書かな
くても、文字が第1矩形枠40からはみ出ない程度にす
れば良い。一例として、ユーザが細字の万年筆(線の太
さは約0.5mm)を使用して文字を記入する場合に
は、第1矩形枠40の辺長を10mmの正方形とし、第
1矩形枠40の辺長を8mmの正方形としておけば良
い。
The size of the gap between the first rectangular frame 40 and the second rectangular frame 38 should be such that the characters do not protrude from the first rectangular frame 40 even if the user does not write it down with a writing instrument. Good. As an example, when the user writes a character using a fine fountain pen (the thickness of the line is about 0.5 mm), the first rectangular frame 40 has a side length of 10 mm square, and the first rectangular frame 40 The side length may be a square of 8 mm.

【0047】図1は、図2に示した手書き文字フォント
作成装置1の機能ブロックを例示したブロック図であ
り、図5は、図3に示した手書き文字フォント作成・登
録処理の中の、特にStep03〜Step04に係る処理を、更に
詳細に表現したフローチャートである。パーソナルコン
ピュータ10には、上記フローチャートの処理手順に従
って以下に説明する各部の制御を行う手書き文字フォン
ト作成プログラムが搭載されており、パーソナルコンピ
ュータ10内部のCPU(図示せず)は、このプログラ
ムに規定される手続きに従って、手書き文字フォント作
成装置1の一連の処理制御を行う。
FIG. 1 is a block diagram exemplifying the functional blocks of the handwritten character font creation device 1 shown in FIG. 2, and FIG. 5 is particularly a part of the handwritten character font creation / registration process shown in FIG. It is the flowchart which expressed the process concerning Step03-Step04 in more detail. The personal computer 10 is equipped with a handwritten character font creation program that controls each part described below according to the processing procedure of the above flowchart, and the CPU (not shown) inside the personal computer 10 is defined by this program. A series of processing control of the handwritten character font creation device 1 is performed according to the procedure.

【0048】パーソナルコンピュータ本体10は、文字
記入用紙画像作成手段11、第1矩形枠内画像切出し手
段12、第2矩形枠消去手段13、外接矩形当てはめ手
段14、拡大率算出手段15、第1矩形枠辺長記憶手段
16、第2矩形枠辺長記憶手段17、最大拡大率算出手
段18、文字拡大手段19、フォントデータ作成手段2
1、フォントデータ記憶手段22などを備えている。
The personal computer main body 10 includes a character entry sheet image creating means 11, a first rectangular frame image cutting means 12, a second rectangular frame erasing means 13, a circumscribing rectangle fitting means 14, an enlargement ratio calculating means 15, and a first rectangle. Frame side length storage means 16, second rectangular frame side length storage means 17, maximum enlargement ratio calculation means 18, character enlargement means 19, font data creation means 2
1, font data storage means 22 and the like.

【0049】〔文字記入用紙画像作成手段〕文字記入用
紙画像作成手段11は、ユーザ個人の用途に応じた特定
数の文字コードに対応する文字を、ユーザ自身が手書き
で記入する文字記入用紙30aを印刷するための画像デ
ータを作成する。尚、第1矩形枠40の辺長は第1矩形
枠辺長記憶手段16に、第2矩形枠38の辺長は第2矩
形枠辺長記憶手段17に、それぞれ記憶されている。文
字記入用紙画像作成手段11は、それぞれの辺長データ
に基づいて、文字記入用紙30aの印刷画像を作成し、
プリンタ20にて印刷・出力する。
[Character Entry Sheet Image Creating Means] The character entry sheet image creating section 11 creates a character entry sheet 30a in which the user himself or herself writes the characters corresponding to a specific number of character codes according to the individual use of the user. Create image data for printing. The side length of the first rectangular frame 40 is stored in the first rectangular frame side length storage means 16, and the side length of the second rectangular frame 38 is stored in the second rectangular frame side length storage means 17, respectively. The character entry sheet image creating means 11 creates a print image of the character entry sheet 30a based on each side length data,
The printer 20 prints and outputs.

【0050】〔第1矩形枠内画像切出し手段〕イメージ
・スキャナ5は、手書き文字が記入された文字記入用紙
30bを読み込んで、画像データとして入力する(Step
11)。
[First Rectangular Frame Image Cutting-Out Means] The image scanner 5 reads the character entry sheet 30b in which handwritten characters are entered and inputs it as image data (Step
11).

【0051】第1矩形枠内画像切出し手段12は、イメ
ージ・スキャナ5が入力した記入済みの文字記入用紙3
0bの画像から、各文字の第1矩形枠40内画像を切り
出す。尚、文字記入用紙30b上の第1矩形枠40の位
置、第1矩形枠40に対応する文字の文字コードは文字
記入用紙画像作成手段11に記憶しておき、入力した記
入済み文字記入用紙30bの画像における所定の目印か
らの相対位置により、各文字の第1矩形枠40内画像を
切り出す(Step12)。
The first rectangular frame image cutting-out means 12 is a filled-in character entry sheet 3 input by the image scanner 5.
The image in the first rectangular frame 40 of each character is cut out from the image of 0b. The position of the first rectangular frame 40 on the character entry sheet 30b and the character code of the character corresponding to the first rectangular frame 40 are stored in the character entry sheet image creating means 11 and the entered completed character entry sheet 30b is entered. The image in the first rectangular frame 40 of each character is cut out according to the relative position from the predetermined mark in the image (step 12).

【0052】この目印としては、例えば、文字記入用紙
30bの最も左上の第1矩形枠40を利用する。この最
も左上の第1矩形枠40の上部及び左部を余白にしてお
けば、イメージ・スキャナ5が入力した文字記入用紙3
0bの画像の左上余白から矩形枠を探索することで、最
初に見つかる枠を目印となる第1矩形枠40として認識
することができる。
As the mark, for example, the upper left first rectangular frame 40 of the character entry sheet 30b is used. If the upper and left portions of the uppermost first rectangular frame 40 are left blank, the character entry sheet 3 input by the image scanner 5
By searching for a rectangular frame from the upper left margin of the image of 0b, the first frame found can be recognized as the first rectangular frame 40 serving as a mark.

【0053】イメージ・スキャナ5の読取り精度が悪い
場合には、入力した文字記入用紙30b画像に対して、
回転による位置補正を施す。その場合には、文字記入用
紙画像作成手段12にて文字記入用紙30aの印刷画像
を作成する際に、文字記入用紙30aの四隅にトンボを
配置するようにしておく。そして、第1矩形枠内画像切
出し手段12にて、イメージ・スキャナ5が入力した文
字記入用紙30b画像の四隅からトンボを検出し、各ト
ンボを結ぶ線とイメージ・スキャナ5の走査方向との傾
きを算出し、算出した傾きをアフィン変換による図形変
換を用いて補正する。アフィン変換による図形変換の具
体的方法は、例えば、「画像処理の基本技法(技法入門
編)」(長谷川、他、技術評論社)などに記載されてい
る。
If the reading accuracy of the image scanner 5 is poor, for the input character entry sheet 30b image,
Perform position correction by rotation. In that case, when creating the print image of the character entry sheet 30a by the character entry sheet image creating means 12, the register marks are arranged at the four corners of the character entry sheet 30a. Then, the image cutting means 12 in the first rectangular frame detects the registration marks from the four corners of the image of the character entry sheet 30b input by the image scanner 5, and the inclination between the line connecting the registration marks and the scanning direction of the image scanner 5. Is calculated, and the calculated inclination is corrected using the figure conversion by the affine transformation. A specific method of figure conversion by affine transformation is described in, for example, "Basic Techniques for Image Processing (Introduction to Techniques)" (Hasegawa et al., Technical Review Company).

【0054】〔第2矩形枠消去手段〕第2矩形枠消去手
段13は、図7に例示するように、第1矩形枠内画像切
出し手段12が切り出した第1矩形枠内画像から、第2
矩形枠38を消去し、第2矩形枠消去後画像として出力
する(Step13)。
[Second Rectangular Frame Erasing Means] The second rectangular frame erasing means 13, as shown in FIG. 7, selects the second rectangular frame image from the first rectangular frame image cut out by the first rectangular frame image cutting means 12.
The rectangular frame 38 is erased and output as an image after the second rectangular frame is erased (Step 13).

【0055】この第2矩形枠38の消去処理について
は、後で更に詳細に説明する。
The erasing process of the second rectangular frame 38 will be described in more detail later.

【0056】〔外接矩形当てはめ手段〕外接矩形当ては
め手段14は、第2矩形枠消去手段13が出力した第2
矩形枠消去後画像について、図8(a)〜(b)に例示
するように、その文字部分に外接する文字外接矩形39
を当てはめて抽出する(Step14)。
[Circulating Rectangle Fitting Means] The circumscribing rectangle fitting means 14 outputs the second rectangular frame erasing means 13 outputs the second rectangle.
Regarding the image after the rectangular frame is erased, as illustrated in FIGS. 8A and 8B, a character circumscribed rectangle 39 circumscribing the character portion is circumscribed.
And apply (step 14).

【0057】図7(a)〜(b)において、第2矩形枠
消去後画像の上端の座標をAreaMaxY、下端の座標をArea
MinY、右端の座標をAreaMaxX、左端の座標をAreaMinXと
し、文字外接矩形39の上端の座標をMaxY[n]、下端の
座標をMinY[n]、右端の座標をMaxX[n]、左端の座標をMi
nX[n]とする。
In FIGS. 7A and 7B, the coordinates of the upper end of the image after erasing the second rectangular frame are AreaMaxY and the coordinates of the lower end are Area.
MinY, the rightmost coordinate is AreaMaxX, the leftmost coordinate is AreaMinX, the uppermost coordinate of the character circumscribed rectangle 39 is MaxY [n], the lowermost coordinate is MinY [n], the rightmost coordinate is MaxX [n], the leftmost coordinate. To Mi
Let nX [n].

【0058】〔拡大率算出手段〕拡大率算出手段15
は、第1矩形枠辺長記憶手段16に記憶されている第1
矩形枠40の辺長と、文字外接矩形39の辺長とから、
文字毎の拡大率を次式により算出する。
[Expansion Ratio Calculation Means] Expansion ratio calculation means 15
Is the first stored in the first rectangular frame side length storage means 16.
From the side length of the rectangular frame 40 and the side length of the character circumscribed rectangle 39,
The enlargement ratio for each character is calculated by the following formula.

【0059】[0059]

【数1】拡大率=第1矩形枠40の辺長/文字外接矩形
39の辺長 〔第1矩形枠辺長記憶手段〕第1矩形枠辺長記憶手段1
6は、文字記入用紙30aに印刷される第1矩形枠40
の辺長を予め記憶する。
## EQU1 ## Enlargement ratio = side length of first rectangular frame 40 / side length of character circumscribed rectangle 39 [first rectangular frame side length storage means] first rectangular frame side length storage means 1
6 is a first rectangular frame 40 printed on the character entry sheet 30a
The side length of is previously stored.

【0060】〔第2矩形枠辺長記憶手段〕第1矩形枠辺
長記憶手段17は、文字記入用紙30aに印刷される第
2矩形枠38の辺長を予め記憶する。
[Second Rectangular Frame Side Length Storage Means] The first rectangular frame side length storage means 17 previously stores the side length of the second rectangular frame 38 printed on the character entry sheet 30a.

【0061】〔最大拡大率算出手段〕最大拡大率算出手
段18は、第1矩形枠辺長記憶手段16に記憶されてい
る第1矩形枠40の辺長と、第2矩形枠辺長記憶手段1
7に記憶されている第2矩形枠38の辺長とから、最大
拡大率を次式により算出する。
[Maximum Enlargement Ratio Calculation Means] The maximum enlargement ratio calculation means 18 includes the side length of the first rectangular frame 40 stored in the first rectangular frame side length storage means 16 and the second rectangular frame side length storage means. 1
From the side length of the second rectangular frame 38 stored in No. 7, the maximum expansion rate is calculated by the following equation.

【0062】[0062]

【数2】最大拡大率=第1矩形枠40の辺長/第2矩形
枠38の辺長 ここで、第1矩形枠40と第2矩形枠38が共に正方形
で、第1矩形枠40の辺長が10mm、第2矩形枠38
の辺長が8mmであるとすると、最大拡大率は10÷8
=1.25となる。
## EQU00002 ## Maximum enlargement ratio = side length of first rectangular frame 40 / side length of second rectangular frame 38 Here, the first rectangular frame 40 and the second rectangular frame 38 are both squares, and the first rectangular frame 40 Side length is 10 mm, second rectangular frame 38
If the side length is 8 mm, the maximum expansion rate is 10/8
= 1.25.

【0063】尚、この最大拡大率は、予め算出して最大
拡大率算出手段18内に記憶しておいても良い。
The maximum expansion rate may be calculated in advance and stored in the maximum expansion rate calculating means 18.

【0064】〔文字拡大手段〕文字拡大手段19は、第
1矩形枠40の辺長と第2矩形枠38の辺長とを比較し
(Step15)、文字の拡大率を以下のように決定し、文字
外接矩形39を当てはめて抽出された文字画像を拡大す
る。
[Character Enlarging Means] The character enlarging means 19 compares the side length of the first rectangular frame 40 with the side length of the second rectangular frame 38 (Step 15) and determines the character enlargement ratio as follows. , The character circumscribing rectangle 39 is applied to enlarge the extracted character image.

【0065】(1)(文字外接矩形39≦第2矩形枠3
8の辺長)である場合 予め最大拡大率算出手段18にて算出した最大拡大率に
より、文字画像を拡大する(Step18)。
(1) (Character circumscribed rectangle 39 ≦ second rectangular frame 3)
8), the character image is enlarged by the maximum enlargement ratio calculated in advance by the maximum enlargement ratio calculating means 18 (Step 18).

【0066】ユーザが第2矩形枠38内ぎりぎりに収ま
るように文字を記入した場合や、図9(a)に示すよう
に第2矩形枠38よりも意図的に小さく記入した場合に
は、ユーザは第2矩形枠38と記入された文字の文字外
接矩形39との間の余白を、出来上がりのフォント画像
に反映させることを望んでいる。従って、その文字の文
字外接矩形39に関係なく、上記最大拡大率により拡大
することで、図9(c)に示すように、余白をもたせる
ことができる。
When the user writes a character so that the character fits within the second rectangular frame 38, or when the user intentionally writes the character smaller than the second rectangular frame 38 as shown in FIG. Wants to reflect the margin between the second rectangular frame 38 and the character circumscribing rectangle 39 of the entered character in the finished font image. Therefore, regardless of the character circumscribing rectangle 39 of the character, by enlarging at the maximum enlargement ratio, it is possible to provide a margin as shown in FIG. 9C.

【0067】(2)(文字外接矩形39>第2矩形枠3
8の辺長)である場合 拡大率算出手段15にて文字毎の拡大率を算出し(Step
16)、算出した拡大率により、文字画像を拡大する(St
ep17)。
(2) (Character circumscribed rectangle 39> second rectangular frame 3)
8), the enlargement ratio calculation means 15 calculates the enlargement ratio for each character (Step
16) Enlarge the character image according to the calculated enlargement ratio (St
ep17).

【0068】図9(b)に示すように、ユーザが第2矩
形枠38からはみ出すように記入した場合には、上記文
字毎の拡大率で拡大する。これにより、第2矩形枠38
からはみ出した部分も切り取られることなく、作成され
るフォント画像の余白が最小になるように拡大される。
As shown in FIG. 9B, when the user fills out the second rectangular frame 38, the image is enlarged at the enlargement ratio for each character. As a result, the second rectangular frame 38
The portion protruding from is not cut off, and is enlarged so that the margin of the created font image is minimized.

【0069】図9(b)の「七」の文字の文字外接矩形
39の左右方向(X方向)に着目して、拡大率を求める
と、次式により表現することができる。
When the enlargement ratio is obtained by paying attention to the horizontal direction (X direction) of the character circumscribing rectangle 39 of the character "7" in FIG. 9B, it can be expressed by the following equation.

【0070】[0070]

【数3】拡大率=(AreaMaxX−AreaMinX)/(MaxX[2]
−MinX[2]) 図7(d)は、上記式により求めた拡大率で拡大した例
を示している。左右の余白部分は全くカットされてい
る。
[Equation 3] Expansion rate = (AreaMaxX-AreaMinX) / (MaxX [2]
-MinX [2]) FIG. 7D shows an example of enlargement at the enlargement ratio obtained by the above equation. The left and right margins are completely cut.

【0071】以上のStep12〜Step18の処理を文字記入用
紙30bに記入されている文字数分繰り返し(Step1
9)、更に、それを文字記入用紙30bの枚数分繰り返
す(Step20)。
The above steps 12 to 18 are repeated for the number of characters entered in the character entry form 30b (Step 1
9) Further, this is repeated for the number of character entry sheets 30b (Step 20).

【0072】〔フォントデータ作成手段〕フォントデー
タ作成手段21は、文字拡大手段19が拡大処理を施し
た拡大後の文字画像を、文字コードに対応したフォント
文字として作成する。
[Font Data Creating Means] The font data creating means 21 creates the enlarged character image subjected to the enlargement processing by the character enlarging means 19 as a font character corresponding to the character code.

【0073】〔フォントデータ記憶手段〕フォントデー
タ記憶手段22は、フォントデータ作成手段18が作成
したフォント文字を登録文字DBに記憶する。
[Font Data Storage Means] The font data storage means 22 stores the font characters created by the font data creation means 18 in the registered character DB.

【0074】(第2矩形枠消去手段の実施例1)次に、
第2矩形枠消去手段13の具体的な実施形態について詳
細に説明する。
(First Embodiment of Second Rectangular Frame Erasing Means) Next,
A specific embodiment of the second rectangular frame erasing means 13 will be described in detail.

【0075】図10は、第2矩形枠消去手段13の第1
の実施例における機能構成を例示するブロック図であ
る。図示したように、第1の実施例における第2矩形枠
消去手段13は、二値化手段41、横線検出手段42、
横線消去手段43、縦線検出手段44、縦線消去手段4
5を備えている。ここで、用いられる文字記入用紙30
bの第2矩形枠38は、筆記具により記入される文字の
線よりも十分細い線で形成しておく。
FIG. 10 shows the first of the second rectangular frame erasing means 13.
3 is a block diagram illustrating a functional configuration in the embodiment of FIG. As shown in the figure, the second rectangular frame erasing means 13 in the first embodiment includes a binarizing means 41, a horizontal line detecting means 42,
Horizontal line erasing means 43, vertical line detecting means 44, vertical line erasing means 4
It is equipped with 5. The character entry form 30 used here
The second rectangular frame 38b is formed with a line that is sufficiently thinner than the line of the character written by the writing instrument.

【0076】〔二値化手段〕二値化手段41は、第1矩
形枠40内画像を、「0」(白画素)か「1」(黒画
素)かの二値画像に変換する。尚、この二値化手段41
を、イメージ・スキャナ5あるいは第1矩形枠内画像切
出し手段12に備えるようにしても良い。
[Binarizing Means] The binarizing means 41 converts the image in the first rectangular frame 40 into a binary image of "0" (white pixels) or "1" (black pixels). Incidentally, this binarizing means 41
May be provided in the image scanner 5 or the first rectangular frame image cutting-out means 12.

【0077】例えば、第1矩形枠40内画像が8ビット
のモノクロ画像である場合には、8ビットの値(0〜2
55)を所定の閾値により二値化する。この閾値は、文
字記入用紙30bの地の色が「0」(白画素)になり、
文字記入用紙30bに記入された文字を形成するインク
の濃度が「1」(黒画素)になるような値に設定する。
For example, when the image in the first rectangular frame 40 is an 8-bit monochrome image, an 8-bit value (0 to 2)
55) is binarized by a predetermined threshold. As for this threshold, the background color of the character entry sheet 30b is "0" (white pixel),
The value is set so that the density of the ink forming the characters written on the character writing sheet 30b becomes "1" (black pixel).

【0078】第1矩形枠40内画像が赤(R)、緑
(G)、青(B)の3色、それぞれ8ビットからなるカ
ラー画像の場合には、上記3色のうち緑(G)を取り、
緑(G)のデータについて、8ビットのモノクロ画像の
場合と同様に、8ビットの値(0〜255)を所定の閾
値により二値化する。緑(G)の信号は可視光の波長範
囲の中心波長近辺にピークをもつ画像センサにより出力
されるため、文字記入用紙30bに文字を記入するため
の筆記具で一般に使用される黒やブルーブラックなどの
インクの濃度と、用紙の地の色の濃度とを高いコントラ
ストで分別することができる。
When the image in the first rectangular frame 40 is a color image having three colors of red (R), green (G), and blue (B), each of which has 8 bits, green (G) of the above three colors is used. Take
With respect to the green (G) data, the 8-bit value (0 to 255) is binarized by a predetermined threshold value as in the case of the 8-bit monochrome image. Since the green (G) signal is output by the image sensor having a peak near the center wavelength of the visible light wavelength range, black or blue black, which is generally used in writing instruments for writing characters on the character writing sheet 30b, is used. It is possible to separate the density of the ink and the density of the background color of the paper with high contrast.

【0079】〔横線検出手段〕横線検出手段42は、二
値化手段41が変換した第1矩形枠内二値画像の第2矩
形枠38の横線を検出するために、第1矩形枠内二値画
像の縦方向の黒ラン(縦に連続する黒画素が作る画像の
断片)を抽出する。黒ランの長さが所定の閾値以下であ
れば、その黒ランは第2矩形枠38の横線を構成する細
線であるとして検出し、横線検出信号を出力する。この
閾値は、筆記具により記入される文字を構成する線が検
出されず、第2矩形枠38の細線のみが検出されるよう
に設定する。
[Horizontal Line Detecting Unit] The horizontal line detecting unit 42 detects the horizontal line of the second rectangular frame 38 of the binary image in the first rectangular frame converted by the binarizing unit 41 so as to detect the horizontal line in the first rectangular frame. A vertical black run (a fragment of an image formed by vertically continuous black pixels) of the value image is extracted. If the length of the black run is equal to or less than a predetermined threshold value, the black run is detected as a thin line forming a horizontal line of the second rectangular frame 38, and a horizontal line detection signal is output. This threshold value is set so that the lines forming the characters written by the writing instrument are not detected and only the thin lines of the second rectangular frame 38 are detected.

【0080】ここで、文字記入用紙30bが解像度72
0DPIのインク・ジェット・プリンタ20で印刷さ
れ、第2矩形枠38が2ドットの線で構成されていると
すると、線の太さは約71μmとなる。これを読取るイ
メージ・スキャナ5の解像度が600DPIの場合、第
2矩形枠38の線の太さ71μmは1.6画素に相当す
る。光学系のボケなどを考慮すると、第2矩形枠38の
横線は最も太い場合で4画素の太さで読取られる可能性
がある。従って、この場合、黒ランを抽出する閾値を4
に設定すれば良い。
Here, the character entry sheet 30b has a resolution of 72.
If the second rectangular frame 38 is printed by a 0 DPI ink jet printer 20 and the second rectangular frame 38 is composed of a 2-dot line, the thickness of the line is about 71 μm. When the resolution of the image scanner 5 which reads this is 600 DPI, the line thickness of 71 μm of the second rectangular frame 38 corresponds to 1.6 pixels. Considering the blurring of the optical system, the horizontal line of the second rectangular frame 38 may be read with a thickness of 4 pixels when it is the thickest. Therefore, in this case, the threshold value for extracting the black run is 4
You can set it to.

【0081】〔横線消去手段〕横線消去手段43は、横
線検出手段42が出力する横線検出信号が有効である場
合に、細線構成要素として検出された画素の値を「0」
(白画素)に変換する。これにより、第2矩形枠38の
横線を消去することができる。
[Horizontal Line Erasing Means] The horizontal line erasing means 43 sets the value of the pixel detected as a thin line constituent element to "0" when the horizontal line detection signal output by the horizontal line detecting means 42 is valid.
Convert to (white pixels). As a result, the horizontal line of the second rectangular frame 38 can be erased.

【0082】〔縦線検出手段〕縦線検出手段44は、横
線検出手段42と同様の手法により、第2矩形枠38の
縦線を検出し、縦線検出信号を出力する。横線検出手段
42と異なる点は、第1矩形枠内二値画像の横方向の黒
ラン(横に連続する黒画素が作る画像の断片)を抽出す
る点である。
[Vertical Line Detection Means] The vertical line detection means 44 detects the vertical line of the second rectangular frame 38 by the same method as the horizontal line detection means 42 and outputs a vertical line detection signal. The difference from the horizontal line detection means 42 is that a horizontal black run (a fragment of an image formed by horizontally continuous black pixels) of the first rectangular binary image is extracted.

【0083】文字記入用紙30bの第2矩形枠38を構
成する縦横の線の太さが等しい場合には、横線検出手段
42と同一の閾値を用いれば良い。異なる場合には、横
線検出手段42と同様の設計手法により閾値を算出す
る。
When the vertical and horizontal lines forming the second rectangular frame 38 of the character entry sheet 30b have the same thickness, the same threshold value as that of the horizontal line detecting means 42 may be used. If they are different, the threshold value is calculated by the same design method as that of the horizontal line detecting means 42.

【0084】〔縦線消去手段〕縦線消去手段45は、縦
線検出手段44が出力する縦線検出信号が有効である場
合に、縦線構成要素として検出された画素の値を「0」
(白画素)に変換する。これにより、第2矩形枠38の
縦線を消去することができる。
[Vertical Line Erasing Unit] The vertical line erasing unit 45 sets the value of the pixel detected as the vertical line constituent element to “0” when the vertical line detection signal output by the vertical line detecting unit 44 is valid.
Convert to (white pixels). As a result, the vertical line of the second rectangular frame 38 can be erased.

【0085】以上説明にしたように、線の太さという情
報だけを使用して、第2矩形枠38を消去するため、文
字記入用紙30aの印刷にはモノクロのインク・ジェッ
ト・プリンタのような単色のプリンタ20を用いること
ができ、また、記入済みの文字記入用紙30bを読取る
際にはモノクロのイメージ・スキャナ5を用いることが
できる。
As described above, since the second rectangular frame 38 is erased using only the line thickness information, the character entry paper 30a is printed by a monochrome ink jet printer. The monochrome printer 20 can be used, and the monochrome image scanner 5 can be used when reading the completed character entry sheet 30b.

【0086】(第2矩形枠消去手段の実施例2)図11
は、第2矩形枠消去手段13の第2の実施例における機
能構成を例示するブロック図である。図示したように、
第2の実施例における第2矩形枠消去手段13は、第2
矩形枠色検出手段51、カラー/モノクロ変換手段5
2、二値化手段53を備えている。ここで、用いられる
文字記入用紙30bの第2矩形枠38の色は、文字記入
用紙30bの地の色及び筆記具により記入される文字の
色と、色度上距離のある色で形成しておく。
(Second Embodiment of Second Rectangular Frame Erasing Means) FIG. 11
FIG. 9 is a block diagram illustrating a functional configuration of the second rectangular frame erasing means 13 in the second embodiment. As shown,
The second rectangular frame erasing means 13 in the second embodiment is the second
Rectangular frame color detection means 51, color / monochrome conversion means 5
2. The binarizing means 53 is provided. Here, the color of the second rectangular frame 38 of the character entry sheet 30b to be used is formed with a color having a chromaticity difference from the color of the background of the character entry sheet 30b and the color of the character entered by the writing instrument. .

【0087】〔第2矩形枠色検出手段〕第2矩形枠色検
出手段51は、第1矩形枠40内画像を構成する画素毎
に、その画素が第2矩形枠38を形成する色に属するか
どうかを判定し、検出する。
[Second Rectangular Frame Color Detection Means] The second rectangular frame color detection means 51 belongs to the color forming the second rectangular frame 38 for each pixel forming the image in the first rectangular frame 40. It is determined whether or not it is detected.

【0088】予め、第2矩形枠38を形成する色を設定
しておく。この設定値は、文字記入用紙30bについ
て、予め色差計(図示せず)によって測色することで得
ることができる。あるいは、文字が記入されていない文
字記入用紙30aをイメージ・スキャナ5で読取り、そ
こから第2矩形枠38にあたる部分のRGB値を取得し
ても良い。
The color forming the second rectangular frame 38 is set in advance. This set value can be obtained by measuring the color of the character entry sheet 30b in advance with a color difference meter (not shown). Alternatively, the character entry sheet 30a on which no letters are entered may be read by the image scanner 5 and the RGB value of the portion corresponding to the second rectangular frame 38 may be acquired from the image entry sheet 30a.

【0089】次式に示すように、第2矩形枠38を構成
する枠の色のRGB値をそれぞれR2,G2,B2と
し、第1矩形枠40内画像を構成する画素の色のRGB
値をそれぞれR,G,Bとし、双方のRGB値間の距離
の2乗を判定値Jとし、所定の閾値と判定する。
As shown in the following equation, the RGB values of the colors of the frames forming the second rectangular frame 38 are set to R2, G2, and B2, respectively, and the RGB colors of the pixels forming the image in the first rectangular frame 40 are set.
The values are R, G, and B, respectively, and the square of the distance between the RGB values is the determination value J, which is determined as a predetermined threshold value.

【0090】[0090]

【数4】 J=(R2−R)+(G2−G)+(B2−B) 第1矩形枠40内画像を構成する画素毎に判定し、判定
値Jが所定の閾値以下であれば、注目画素は第2矩形枠
38を形成する色であるとして、第2矩形枠色検出信号
を出力する。判定値Jが所定の閾値を超えていれば、注
目画素は第2矩形枠38を形成する色でないと判定す
る。
Equation 4] J = (R2-R) 2 + (G2-G) 2 + (B2-B) 2 first determines for each pixel constituting the rectangular frame 40 in the image, the determination value J is less than a predetermined threshold value If so, the pixel of interest is determined to be the color forming the second rectangular frame 38, and the second rectangular frame color detection signal is output. If the determination value J exceeds the predetermined threshold value, it is determined that the pixel of interest is not the color forming the second rectangular frame 38.

【0091】この閾値は、第2矩形枠38を形成する画
素が検出され、文字記入用紙30bの地の色及び文字記
入用紙30bへの記入に用いられる筆記具のインクの色
に相当する画素が検出されないように設定する。
Pixels forming the second rectangular frame 38 are detected, and pixels corresponding to the background color of the character writing sheet 30b and the ink color of the writing instrument used for writing on the character writing sheet 30b are detected as the threshold value. Set not to be performed.

【0092】本実施例においては、文字記入用紙30b
へ記入するインク色と、第2矩形枠38を形成する色と
は、色度上離れていることが求められる。例えば、黒や
ブルーブラックの万年筆や水性ボールペンなどが筆記具
として用いられることが多いため、第2矩形枠38はそ
れらの色と色度上離れているピンクや黄色などの色で形
成することが望ましい。
In this embodiment, the character entry sheet 30b is used.
It is required that the ink color to be written in and the color forming the second rectangular frame 38 be separated in terms of chromaticity. For example, since a black or blue-black fountain pen or a water-based ballpoint pen is often used as a writing instrument, it is desirable that the second rectangular frame 38 be formed in a color such as pink or yellow which is chromatically separated from those colors. .

【0093】また、文字記入用紙30aを印刷するプリ
ンタ20を、カラー・インクジェット・プリンタにより
印刷する場合には、第2矩形枠38の形成にシアン
(C)のインクを用いないことが望ましい。
When the printer 20 for printing the character entry paper 30a is printed by a color inkjet printer, it is desirable not to use cyan (C) ink for forming the second rectangular frame 38.

【0094】試みとして、本発明者が手持ちのブルーブ
ラック・インクの万年筆を用いて上質紙に文字を記入
し、それをイメージ・スキャナで読取ったときの画素の
8ビットのRGB値は、R=6,G=19,B=83で
あった。また、本発明者の手持ちのインク・ジェット・
プリンタで印刷されたシアン(C)インクをイメージ・
スキャナにて読取ったときの8ビットのRGB値は、R
=8,G=83,B=163であった。
As an attempt, the present inventor writes a character on a high-quality paper using a fountain pen of blue-black ink, and the 8-bit RGB value of the pixel when read by an image scanner is R = 6, G = 19, B = 83. Moreover, the ink jet
Image of cyan (C) ink printed on the printer
The 8-bit RGB value read by a scanner is R
= 8, G = 83, B = 163.

【0095】このように、シアン(C)インクのRGB
値は、濃度が高く、RGBの配分はブルーブラックのイ
ンクの配分と近いため、両者の色度上の距離は近い。従
って、上記手法では、第2矩形枠38と文字とを分離す
ることが難しくなる恐れがある。
In this way, the cyan (C) ink RGB
Since the values are high in density and the distribution of RGB is close to the distribution of blue-black ink, the chromaticity distance between them is close. Therefore, with the above method, it may be difficult to separate the second rectangular frame 38 and the character.

【0096】インク・ジェット・プリンタは、シアン
(C)、マゼンタ(M)、イエロー(Y)のインクの組
み合わせ、あるいはそれに加えて、ブラック(K)やラ
イト・シアン、ライト・マゼンタのインクの組み合わせ
による加法混色、減法混色により表色している。従っ
て、第2矩形枠38が一見ピンク色に見えたとしても、
このピンク色を表現するためにシアン(C)インクが使
われている場合があり、微細的に見るとシアン(C)イ
ンクが形成するドットを確認することができる。もし、
文字記入用紙30aを印刷するプリンタ20の解像度よ
り、文字記入用紙30bを読取るイメージ・スキャナ5
の解像度の方が高い場合、シアン(C)インクが形成す
る画素では、シアン(C)インクのRGB値が読取られ
るため、第2矩形枠38と文字とを分離することが難し
くなる。
The ink jet printer is a combination of cyan (C), magenta (M), and yellow (Y) inks, or in addition, a combination of black (K), light cyan, and light magenta inks. The colors are represented by additive color mixture and subtractive color mixture. Therefore, even if the second rectangular frame 38 looks pink at first glance,
In some cases, cyan (C) ink is used to express the pink color, and when viewed finely, the dots formed by the cyan (C) ink can be confirmed. if,
Image scanner 5 that reads the character entry sheet 30b according to the resolution of the printer 20 that prints the character entry sheet 30a.
When the resolution is higher, the RGB value of the cyan (C) ink is read in the pixel formed by the cyan (C) ink, and thus it becomes difficult to separate the second rectangular frame 38 and the character.

【0097】従って、文字記入用紙30aの第2矩形枠
38の形成にはシアン(C)インクを用いないようにす
ることが望ましい。
Therefore, it is desirable not to use the cyan (C) ink for forming the second rectangular frame 38 of the character entry sheet 30a.

【0098】〔カラー/モノクロ変換手段〕カラー/モ
ノクロ変換手段52は、RGBカラー画像の第1矩形枠
内画像をモノクロ画像に変換する。変換するためには、
RGBの線形結合によりモノクロ画像を作成することも
できるが、より簡単には、緑(G)の値をそのままモノ
クロ画像として採用しても良い。前述したように、緑
(G)の信号は可視光の波長範囲の中心波長近辺にピー
クをもつ画像センサにより出力されるため、筆記具で一
般に用いられる黒やブルーブラックなどのインクの濃度
と、文字記入用紙30bの地の濃度と高いコントラスト
で分別できる。
[Color / Monochrome Converting Means] The color / monochrome converting means 52 converts the image in the first rectangular frame of the RGB color image into a monochrome image. To convert,
A monochrome image can be created by linearly combining RGB, but more simply, the green (G) value may be directly used as a monochrome image. As described above, since the green (G) signal is output by the image sensor having a peak near the center wavelength of the visible light wavelength range, the density of ink such as black or blue black that is generally used in writing instruments and the character It is possible to classify with high contrast with the density of the ground of the entry form 30b.

【0099】〔二値化手段〕二値化手段53は、カラー
/モノクロ変換手段52により変換される第1矩形枠内
モノクロ画像を、「0」(白画素)か「1」(黒画素)
かの二値画像に変換する。変換の規則は以下の通りであ
る。
[Binarizing Means] The binarizing means 53 converts the first rectangular frame monochrome image converted by the color / monochrome converting means 52 into "0" (white pixels) or "1" (black pixels).
Convert it to a binary image. The conversion rules are as follows.

【0100】(1)第2矩形枠色検出手段51が出力す
る第2矩形枠色検出信号が有効である場合には、「0」
(白画素)とする。
(1) If the second rectangular frame color detection signal output by the second rectangular frame color detection means 51 is valid, "0"
(White pixels).

【0101】(2)第1矩形枠内モノクロ画像の画素の
値が所定の閾値より小さい場合には、「0」(白画素)
とする。
(2) When the pixel value of the monochrome image in the first rectangular frame is smaller than the predetermined threshold value, "0" (white pixel)
And

【0102】(3)上記のいずれでもない場合は、
「1」(黒画素)とする。
(3) If none of the above,
It is set to “1” (black pixel).

【0103】以上説明にしたように、第2矩形枠38を
形成する色と、文字記入用紙30bに記入する筆記具の
インク色を適切に選択すれば、単純な色変換処理により
第2矩形枠38を容易に消去することができる。
As described above, if the color forming the second rectangular frame 38 and the ink color of the writing instrument to be written on the character writing sheet 30b are appropriately selected, the second rectangular frame 38 is subjected to a simple color conversion process. Can be easily erased.

【0104】(第2矩形枠消去手段の実施例3)図12
は、第2矩形枠消去手段13の第3の実施例における機
能構成を例示するブロック図である。図示したように、
第3の実施例における第2矩形枠消去手段13は、色変
換手段61、二値化手段62を備えている。ここで、用
いられる文字記入用紙30bの第2矩形枠38の色は、
文字記入用紙30bの地の色及び筆記具により記入され
る文字の色と、色度上距離のある色で形成しておく。
(Embodiment 3 of the second rectangular frame erasing means) FIG.
FIG. 9 is a block diagram illustrating a functional configuration of a second rectangular frame erasing means 13 in a third embodiment. As shown,
The second rectangular frame erasing means 13 in the third embodiment comprises a color converting means 61 and a binarizing means 62. Here, the color of the second rectangular frame 38 of the character entry sheet 30b used is
It is formed with a color having a chromaticity distance from the background color of the character writing sheet 30b and the color of the character written by the writing instrument.

【0105】〔色変換手段〕色変換手段61は、RGB
各8ビットからなる第1矩形枠内画像から、第2矩形枠
38を形成する色を消去するための色変換を行う。
[Color Converting Means] The color converting means 61 uses RGB
Color conversion for erasing the color forming the second rectangular frame 38 is performed from the image in the first rectangular frame consisting of 8 bits.

【0106】試みとして、本発明者が手持ちのブルーブ
ラック・インクの万年筆を用いて上質紙に文字を記入
し、それをイメージ・スキャナで読取ったときの画素の
8ビットのRGB値は、先に説明したようにR=6,G
=9,B=83であった。また、本発明者の手持ちのイ
ンク・ジェット・プリンタで印刷されたピンク色のイン
クをイメージ・スキャナにて読取ったときの、8ビット
のRGB値は、R=243,G=164,B=210で
あった。同様に、本発明者の手持ちのインク・ジェット
・プリンタで印刷された黄色のインクをイメージ・スキ
ャナにて読取ったときの、8ビットのRGB値は、R=
247,G=160,B=82であった。
As an attempt, the inventor first wrote a character on a high-quality paper using a fountain pen of blue-black ink, and the 8-bit RGB value of a pixel when the character was read by an image scanner was previously determined. As explained, R = 6, G
= 9, B = 83. Further, when the pink ink printed by the ink jet printer of the present inventor is read by the image scanner, 8-bit RGB values are R = 243, G = 164, B = 210. Met. Similarly, when the yellow ink printed by the ink jet printer of the present inventor is read by the image scanner, the 8-bit RGB value is R =
247, G = 160 and B = 82.

【0107】これらのインクは、赤(R)の光を殆ど反
射することが分かる。従って、RGBの中のR信号だけ
を抽出すれば、第2矩形枠38からの反射光は文字記入
用紙30bの地からの反射光と同様に多く、結果として
第2矩形枠38は消去される。
It can be seen that these inks mostly reflect red (R) light. Therefore, if only the R signals in RGB are extracted, the reflected light from the second rectangular frame 38 is as much as the reflected light from the ground of the character writing sheet 30b, and as a result, the second rectangular frame 38 is erased. .

【0108】色変換手段61は、このように第2矩形枠
38が消去されるようにRGBの値を変換する。一般的
には次式により色変換を行う。
The color conversion means 61 converts the RGB values so that the second rectangular frame 38 is erased in this way. Generally, color conversion is performed according to the following equation.

【0109】[0109]

【数5】 C=a(R−R0)+b(G−G0)+c(B−B0) 上記式中のR0,G0,B0の値と係数a,b,cは、
第2矩形枠38のRGB値により、第2矩形枠38が消
去されるように設定する。尚、上記の例では、R0=
0,b=c=0の場合に、C=Rとなり、その結果とし
て第2矩形枠38は消去される。
## EQU00005 ## C = a (R-R0) + b (G-G0) + c (B-B0) The values of R0, G0, B0 and the coefficients a, b, c in the above equation are
The second rectangular frame 38 is set to be erased by the RGB value of the second rectangular frame 38. In the above example, R0 =
When 0 and b = c = 0, C = R, and as a result, the second rectangular frame 38 is erased.

【0110】〔二値化手段〕二値化手段62は、色変換
手段61により変換される第1矩形枠内色変換後画像
を、「0」(白画素)か「1」(黒画素)かの二値画像
に変換する。文字記入用紙30bの地の色が「0」(白
画素)に、文字を形成するインクの部分が「1」(黒画
素)になるように閾値を設定して二値化する。
[Binarizing Means] The binarizing means 62 sets the color-converted image in the first rectangular frame converted by the color converting means 61 to “0” (white pixel) or “1” (black pixel). Convert it to a binary image. Binarization is performed by setting a threshold value such that the background color of the character entry sheet 30b is "0" (white pixel) and the ink portion forming the character is "1" (black pixel).

【0111】(第2矩形枠消去手段の実施例4)図13
は、第2矩形枠消去手段13の第4の実施例における機
能構成を例示するブロック図であり、二値化手段71を
備えている。
(Embodiment 4 of the second rectangular frame erasing means) FIG.
FIG. 8 is a block diagram illustrating the functional configuration of the second rectangular frame erasing means 13 in the fourth embodiment, which comprises a binarizing means 71.

【0112】〔二値化手段〕二値化手段71は、8ビッ
トのモノクロ画像からなる第1矩形枠内画像から、第2
矩形枠38を形成する線を消去するための二値化処理を
行う。
[Binarizing Means] The binarizing means 71 selects the second image from the first rectangular frame image composed of an 8-bit monochrome image.
A binarization process for erasing the line forming the rectangular frame 38 is performed.

【0113】本実施例用いられる文字記入用紙30bの
第2矩形枠38は、記入される文字の濃度よりも十分低
い濃度になるように形成しておく。例えば、薄いグレー
の線で形成しても良いし、濃度の低い黄色、ピンク、水
色などの線で形成しておいても良い。
The second rectangular frame 38 of the character entry sheet 30b used in this embodiment is formed to have a density sufficiently lower than the density of the characters to be entered. For example, it may be formed of a light gray line or a line of low density such as yellow, pink, and light blue.

【0114】二値化手段71は、予め設定しておいた閾
値により、第1矩形枠内色変換後画像を、「0」(白画
素)か「1」(黒画素)かの二値画像に変換する。閾値
は、第2矩形枠38が「0」(白画素)に、文字を形成
する線の部分が「1」(黒画素)になるように設定して
二値化する。尚、文字記入用紙30aの第2矩形枠38
の形成には、濃度の高いシアン(C)インクを用いない
ようにすることが望ましい。
The binarizing means 71 uses the threshold value set in advance to convert the image after color conversion in the first rectangular frame into a binary image of "0" (white pixel) or "1" (black pixel). Convert to. The threshold value is set so that the second rectangular frame 38 becomes "0" (white pixel) and the line portion forming the character becomes "1" (black pixel), and binarized. The second rectangular frame 38 of the character entry sheet 30a
It is desirable not to use cyan (C) ink having a high density for forming the ink.

【0115】このように、第2矩形枠38を消去するた
めに、濃度の情報のみを用いているため、文字記入用紙
30bを読取るイメージ・スキャナ5にはモノクロのイ
メージ・スキャナを用いることができる。
As described above, since only the density information is used to erase the second rectangular frame 38, a monochrome image scanner can be used as the image scanner 5 for reading the character writing sheet 30b. .

【0116】以上、本発明の実施形態について詳細に説
明したが、本発明は本実施形態に限定されず、本発明の
主旨を逸脱しない範囲において、種々の改良や変更を成
し得るであろう。
Although the embodiment of the present invention has been described in detail above, the present invention is not limited to this embodiment, and various improvements and changes may be made without departing from the gist of the present invention. .

【0117】例えば、本実施形態では、日本語により作
成する場合の例を示したが、これに限定されるものでは
なく、例えば、韓国語や中文(中国語)といった、日本
語以外の文字コード・セットに対応する手書き文字フォ
ントを作成する場合にも適用可能である。
For example, in the present embodiment, an example of creating in Japanese has been shown, but the invention is not limited to this. For example, a character code other than Japanese such as Korean or Chinese (Chinese). -It is also applicable when creating a handwritten character font corresponding to a set.

【0118】また、本発明は、プリンタからはがきや手
紙といった紙媒体に手書き文字フォントを出力するとい
う用途に適用することができる他、CRTや液晶などの
ディスプレイ装置に文字や文章を出力するという用途に
も適用可能である。例えば、クリスマス・カードや年賀
はがき等のグリーティング・メールを本発明に係る手書
き文字フォントを用いて作成して、ネットワークを介し
て伝送すれば、伝送先のディスプレイ装置に心のこもっ
た手書きタッチのグリーティング・メールが表示され
る。
The present invention can be applied not only to the output of handwritten character fonts from a printer to a paper medium such as a postcard or a letter, but also to the output of characters or sentences to a display device such as a CRT or liquid crystal. It is also applicable to. For example, if a greeting mail such as a Christmas card or a New Year's postcard is created using the handwritten character font according to the present invention and transmitted via a network, a greeting with a handwritten touch with a heartfelt touch on the display device at the destination.・ Email is displayed.

【0119】[0119]

【発明の効果】以上説明したように、本発明によれば、
文字の記入者は第1矩形枠の制限範囲を意識することな
く、第2矩形枠一杯に記入することを目安に、文字を記
入していけば良いため、出来上がるフォントを表示ある
いは印刷した際に十分な大きさのフォント文字を得るこ
とができる。また、第2矩形枠より意図的に小さく書か
れた文字は上記最大拡大率で拡大されるため、記入者の
意図した余白をもった大きさの文字に拡大される。ま
た、第2矩形枠よりはみ出すように書かれた文字は上記
文字毎の拡大率で拡大されるため、第2矩形枠よりはみ
出した部分も切り取られることなく、且つ、余白が最小
になるように拡大される。
As described above, according to the present invention,
It is sufficient for the person who entered the character to fill in the second rectangular frame without worrying about the limited range of the first rectangular frame. You can get a font character of sufficient size. In addition, since characters written intentionally smaller than the second rectangular frame are enlarged at the maximum enlargement ratio, they are enlarged to have a size having a margin intended by the writer. Further, since the characters that are written so as to extend beyond the second rectangular frame are enlarged at the enlargement ratio for each character, the portions that extend beyond the second rectangular frame are not cut off, and the margin is minimized. Expanded.

【0120】以上のことから、ユーザ自身の手書き文字
によるフォントを容易に作成することができ、且つ、出
来上がるフォントを表示あるいは印刷した際に十分な大
きさのフォント文字が得られ、更に、文字の記入者が意
図する大きさのフォント文字を得ることができる。
From the above, it is possible to easily create the font by the user's own handwritten character, and obtain a font character of a sufficient size when the finished font is displayed or printed. It is possible to obtain font characters of the size intended by the writer.

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

【図1】本実施形態に係る手書き文字フォント作成装置
の機能ブロックの構成例を示したブロック図である。
FIG. 1 is a block diagram showing a configuration example of functional blocks of a handwritten character font creation device according to the present embodiment.

【図2】図1に示した手書き文字フォント作成装置の機
器構成の一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of a device configuration of the handwritten character font creation device shown in FIG.

【図3】図1に示した手書き文字フォント作成装置にお
ける、フォント生成の処理手順例を示すフローチャート
である。
FIG. 3 is a flowchart showing an example of a font generation processing procedure in the handwritten character font generation device shown in FIG.

【図4】文字記入用紙のレイアウト例を示すイメージ図
である。
FIG. 4 is an image diagram showing a layout example of a character entry sheet.

【図5】本実施形態において、図3に示したフローチャ
ートのStep03〜Step04に係る処理を詳細に表現したフロ
ーチャートである。
FIG. 5 is a flowchart showing in detail the processing according to Step 03 to Step 04 of the flowchart shown in FIG. 3 in the present embodiment.

【図6】図4に示した文字記入用紙の文字記入欄の部分
をピックアップした図である。
FIG. 6 is a view in which a character entry section of the character entry sheet shown in FIG. 4 is picked up.

【図7】本実施形態において、文字記入用紙を読取った
画像から第1矩形枠内部画像を切出し、第2矩形枠を消
去する処理のイメージを示した図である。
FIG. 7 is a diagram showing an image of a process of cutting out a first rectangular frame internal image from an image obtained by reading a character entry sheet and erasing a second rectangular frame in the present embodiment.

【図8】本実施形態において、第2矩形枠消去後画像内
の文字画像部分に文字外接矩形を当てはめる処理イメー
ジを示す図である。
FIG. 8 is a diagram showing a processing image in which a character circumscribing rectangle is applied to a character image portion in an image after erasing a second rectangular frame in the present embodiment.

【図9】本実施形態において、文字外接矩形を当てはめ
た文字画像の拡大処理のイメージを示す図である。
FIG. 9 is a diagram showing an image of enlargement processing of a character image fitted with a character circumscribing rectangle in the present embodiment.

【図10】本実施形態における、第2矩形枠消去手段の
第1の実施例を示す機能ブロック図である。
FIG. 10 is a functional block diagram showing a first example of a second rectangular frame erasing means in the present embodiment.

【図11】本実施形態における、第2矩形枠消去手段の
第2の実施例を示す機能ブロック図である。
FIG. 11 is a functional block diagram showing a second example of the second rectangular frame erasing means in the present embodiment.

【図12】本実施形態における、第2矩形枠消去手段の
第3の実施例を示す機能ブロック図である。
FIG. 12 is a functional block diagram showing a third example of the second rectangular frame erasing means in the present embodiment.

【図13】本実施形態における、第2矩形枠消去手段の
第4の実施例を示す機能ブロック図である。
FIG. 13 is a functional block diagram showing a fourth example of the second rectangular frame erasing means in the present embodiment.

【図14】記入された文字のうち、最も大きな文字のサ
イズと第1矩形枠のサイズとから求めた拡大率によって
文字画像を拡大したイメージを示す図である。
FIG. 14 is a diagram showing an image in which a character image is enlarged by the enlargement ratio obtained from the size of the largest character and the size of the first rectangular frame among the written characters.

【図15】図14に例示した拡大率によって、比較的小
さく記入された文字の画像を拡大したイメージを示す図
である。
FIG. 15 is a diagram showing an image obtained by enlarging an image of a relatively small written character with the enlargement ratio illustrated in FIG. 14;

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

1....手書き文字フォント作成装置 5....イメージ・スキャナ 10....パーソナルコンピュータ 11....文字記入用紙画像作成手段 12....第1矩形枠内画像切出し手段 13....第1矩形枠消去手段 14....文字外接矩形当てはめ手段 15....拡大率算出手段 16....第1矩形枠辺長記憶手段 17....第2矩形枠辺長記憶手段 18....最大拡大率算出手段 19....文字拡大手段 20....プリンタ 21....フォントデータ作成手段 22....フォントデータ記憶手段 30a....文字記入用紙 30b....記入済み文字記入用紙 31....バーコード 32....ページ数表示欄 34,34a〜34n....標準文字フォントのフォント
文字 35,35a〜35n....キャンセル用チェック枠 38,38a〜38n....第2矩形枠 39....文字外接矩形 40....第1矩形枠 41....二値化手段 42....横線検出手段 43....横線消去手段 44....縦線検出手段 45....縦線消去手段 51....矩形枠色検出手段 52....モノクロ変換手段 53....二値化手段 61....色変換手段 62....二値化手段 71....二値化手段
1. Handwritten character font creation device 5. Image scanner 10. Personal computer 11 ... Character entry sheet image creation means 12 ... First rectangular frame image cutout means 13 First rectangle frame erasing means 14. Character circumscribing rectangle fitting means 15. Enlargement ratio calculating means 16. First rectangle frame side length storage means 17. Second rectangle Frame side length storage means 18 ... Maximum enlargement ratio calculation means 19 ... Character enlargement means 20 ... Printer 21 ... Font data creation means 22 ... Font data storage means 30a. ..Character entry sheet 30b .... Entered letter entry sheet 31 .... Bar code 32 .... Page number display fields 34,34a to 34n .... Standard character font font characters 35,35a ... 35n .... Canceling check frames 38, 38a to 38n .... Second rectangular frame 39 .... Character circumscribing rectangle 40 .... First rectangular frame 41 .... Binarizing means 42 Horizontal line detecting means 43. Horizontal line erasing means 44. Vertical line detecting means 45. Vertical line erasing means 51. Rectangular frame color detecting means 52. Monochrome conversion Means 53..binarization means 61..color conversion means 62 .... binarization means 71..binarization means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G09G 5/26 630 G09G 5/26 630B H04N 1/38 H04N 1/38 1/393 1/393 Fターム(参考) 5B009 LA01 RA01 5B021 AA01 JJ09 5B050 BA10 BA20 DA02 DA04 DA06 DA09 EA02 EA03 EA06 EA09 EA12 EA13 5C076 AA21 CA02 CB02 5C082 AA17 AA27 BA02 CA33 MM09─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G09G 5/26 630 G09G 5/26 630B H04N 1/38 H04N 1/38 1/393 1/393 F term ( Reference) 5B009 LA01 RA01 5B021 AA01 JJ09 5B050 BA10 BA20 DA02 DA04 DA06 DA09 EA02 EA03 EA06 EA09 EA12 EA13 5C076 AA21 CA02 CB02 5C082 AA17 AA27 BA02 CA33 MM09

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 ユーザによる手書き文字が記入済みの文
字記入用紙を読取って、得られた文字画像から手書き文
字で構成される手書き文字フォントを作成する手書き文
字フォント作成装置であって、 (1)読取った前記文字記入用紙の画像から、第1矩形
枠の枠内画像を切り出す第1矩形枠内画像切出し手段
と、 (2)切り出した前記第1矩形枠の枠内画像から第2矩
形枠を消去し、消去後画像を得る第2矩形枠消去手段
と、 (3)前記消去後画像の文字部分に外接する文字外接矩
形を当てはめる文字外接矩形当てはめ手段と、 (4)前記文字外接矩形のサイズと前記第1矩形枠のサ
イズとから、前記消去後画像の文字部分の拡大率を算出
する文字拡大率算出手段と、 (5)前記第2矩形枠のサイズと前記第1矩形枠のサイ
ズとから算出される最大拡大率と、前記拡大率とを比較
し、比較した結果大きい方の値により、前記消去後画像
の文字部分を拡大し、拡大後画像を得る文字拡大手段
と、 (6)前記拡大後画像から手書き文字で構成される手書
き文字フォントを作成するフォントデータ作成手段とを
備えることを特徴とする手書き文字フォント作成装置。
1. A handwritten character font creation device for reading a character entry sheet on which handwritten characters have been entered by a user, and creating a handwritten character font composed of handwritten characters from the obtained character image. First rectangular frame image cutting-out means for cutting out a framed image of a first rectangular frame from the read image of the character entry sheet; and (2) a second rectangular frame from the framed image of the cut-out first rectangular frame. Second rectangular frame erasing means for erasing and obtaining an image after erasing; (3) character circumscribing rectangle fitting means for fitting a character circumscribing rectangle circumscribing a character portion of the image after erasing; (4) size of the character circumscribing rectangle And a size of the first rectangular frame, a character enlargement ratio calculating means for calculating an enlargement ratio of the character portion of the erased image, and (5) the size of the second rectangular frame and the size of the first rectangular frame. Calculated from And a maximum enlargement ratio, which is larger than the maximum enlargement ratio, and a larger value as a result of comparison to enlarge the character portion of the erased image to obtain an enlarged image. (6) After the enlargement A handwritten character font creation apparatus comprising: font data creation means for creating a handwritten character font composed of handwritten characters from an image.
【請求項2】 前記第2矩形枠消去手段は、 前記第1矩形枠の枠内画像を白画素と黒画素とからなる
二値画像に変換する二値化手段と、 前記二値画像の縦方向に連続する黒画素を抽出して、抽
出した縦方向に連続する黒画素の個数が所定の閾値以下
であれば当該縦方向に連続する黒画素を前記第2矩形枠
の横線として検出する第2矩形枠横線検出手段と、 検出した前記第2矩形枠の横線の画素を白画素に変換す
る第2矩形枠横線消去手段と、 前記二値画像の横方向に連続する黒画素を抽出して、抽
出した横方向に連続する黒画素の個数が所定の閾値以下
であれば当該横方向に連続する黒画素を前記第2矩形枠
の縦線として検出する第2矩形枠縦線検出手段と、 検出した前記第2矩形枠の縦線の画素を白画素に変換す
る第2矩形枠縦線消去手段とからなることを特徴とする
請求項1に記載の手書き文字フォント作成装置。
2. The second rectangular frame erasing means converts the image inside the frame of the first rectangular frame into a binary image composed of white pixels and black pixels, and a vertical direction of the binary image. Extracting a black pixel continuous in the direction, and detecting the black pixel continuous in the vertical direction as a horizontal line of the second rectangular frame if the number of the extracted black pixels continuous in the vertical direction is less than or equal to a predetermined threshold value. 2 rectangular frame horizontal line detecting means, second rectangular frame horizontal line erasing means for converting the detected horizontal line pixels of the second rectangular frame into white pixels, and extracting black pixels continuous in the horizontal direction of the binary image. Second rectangular frame vertical line detection means for detecting the black pixels continuous in the horizontal direction as vertical lines of the second rectangular frame if the number of the extracted black pixels continuous in the horizontal direction is equal to or smaller than a predetermined threshold value, Second rectangular frame vertical line erasing hand for converting the detected vertical line pixels of the second rectangular frame into white pixels Handwritten character font generation apparatus according to claim 1, characterized in that it consists of a.
【請求項3】 前記第2矩形枠消去手段は、 前記第1矩形枠の枠内画像を構成する画素毎に、その画
素が前記第2矩形枠を形成する所定の色に属するかどう
かを判定し、属する場合には当該画素を前記第2矩形枠
を形成する画素として検出する第2矩形枠色検出手段
と、 カラー画像からなる前記第1矩形枠の枠内画像をモノク
ロ画像に変換するカラー/モノクロ変換手段と、 変換したモノクロ画像を白画素と黒画素とからなる二値
画像に変換し、更に、前記第2矩形枠を形成する画素を
白画素に変換する二値化手段とからなることを特徴とす
る請求項1に記載の手書き文字フォント作成装置。
3. The second rectangular frame erasing means determines, for each pixel forming the in-frame image of the first rectangular frame, whether or not the pixel belongs to a predetermined color forming the second rectangular frame. If it belongs, a second rectangular frame color detecting means for detecting the pixel as a pixel forming the second rectangular frame, and a color for converting the in-frame image of the first rectangular frame composed of a color image into a monochrome image. / Monochrome conversion means, and a binary conversion means for converting the converted monochrome image into a binary image composed of white pixels and black pixels, and further converting the pixels forming the second rectangular frame into white pixels. The handwritten character font creation device according to claim 1, characterized in that.
【請求項4】 前記第2矩形枠消去手段は、 カラー画像からなる前記第1矩形枠の枠内画像に対し
て、前記第2矩形枠を形成する所定の色を消去するため
の色変換を行い、色変換後画像を得る色変換手段と、 変換した色変換後画像を白画素と黒画素とからなる二値
画像に変換する二値化手段とからなることを特徴とする
請求項1に記載の手書き文字フォント作成装置。
4. The second rectangular frame erasing means performs color conversion for erasing a predetermined color forming the second rectangular frame on the in-frame image of the first rectangular frame composed of a color image. The color conversion means for performing the conversion to obtain the color-converted image and the binarization means for converting the converted color-converted image into a binary image composed of white pixels and black pixels. Handwritten character font creation device described.
【請求項5】 前記第2矩形枠消去手段は、 前記第1矩形枠の枠内画像を構成する画素毎に、所定の
閾値より濃度の低い画素を、前記文字記入用紙の地を形
成する画素あるいは前記第2矩形枠を形成する画素とし
て白画素に変換し、それ以外の画素を黒画素に変換する
二値化手段からなることを特徴とする請求項1に記載の
手書き文字フォント作成装置。
5. The second rectangular frame erasing means sets, for each pixel forming the in-frame image of the first rectangular frame, a pixel having a density lower than a predetermined threshold as a pixel forming a background of the character entry sheet. Alternatively, the handwritten character font creating apparatus according to claim 1, further comprising a binarizing unit that converts white pixels as pixels forming the second rectangular frame and converts other pixels into black pixels.
【請求項6】 ユーザによる手書き文字が記入済みの文
字記入用紙を読取って、得られた文字画像から手書き文
字で構成される手書き文字フォントを作成する手書き文
字フォント作成プログラムであって、 (1)読取った前記文字記入用紙の画像から、第1矩形
枠の枠内画像を切り出す第1矩形枠内画像切出し機能
と、 (2)切り出した前記第1矩形枠の枠内画像から第2矩
形枠を消去し、消去後画像を得る第2矩形枠消去機能
と、 (3)前記消去後画像の文字部分に外接する文字外接矩
形を当てはめる文字外接矩形当てはめ機能と、 (4)前記文字外接矩形のサイズと前記第1矩形枠のサ
イズとから、前記消去後画像の文字部分の拡大率を算出
する文字拡大率算出機能と、 (5)前記第2矩形枠のサイズと前記第1矩形枠のサイ
ズとから算出される最大拡大率と、前記拡大率とを比較
し、比較した結果大きい方の値により、前記消去後画像
の文字部分を拡大し、拡大後画像を得る文字拡大機能
と、 (6)前記拡大後画像から手書き文字で構成される手書
き文字フォントを作成するフォントデータ作成機能とを
コンピュータに実現させることを特徴とする手書き文字
フォント作成プログラム。
6. A handwritten character font creation program for reading a character entry sheet on which handwritten characters have been entered by a user and creating a handwritten character font composed of handwritten characters from the obtained character image. From the read image of the character entry sheet, a first rectangular frame image cutting function that cuts out a frame image of a first rectangular frame, and (2) a second rectangular frame from the frame image of the cut first rectangular frame. A second rectangular frame erasing function for erasing and obtaining an image after erasing; (3) a character circumscribing rectangle fitting function for fitting a character circumscribing rectangle circumscribing a character portion of the image after erasing; and (4) a size of the character circumscribing rectangle. And a size of the first rectangular frame, a character enlargement ratio calculating function for calculating an enlargement ratio of the character portion of the erased image, and (5) the size of the second rectangular frame and the size of the first rectangular frame. From The maximum enlargement ratio to be output is compared with the enlargement ratio, and a character enlargement function of enlarging the character portion of the image after deletion to obtain the enlarged image according to the larger value as a result of the comparison, A handwritten character font creation program characterized by causing a computer to implement a font data creation function for creating a handwritten character font composed of handwritten characters from a rear image.
【請求項7】 前記第2矩形枠消去機能は、 前記第1矩形枠の枠内画像を白画素と黒画素とからなる
二値画像に変換する二値化機能と、 前記二値画像の縦方向に連続する黒画素を抽出して、抽
出した縦方向に連続する黒画素の個数が所定の閾値以下
であれば当該縦方向に連続する黒画素を前記第2矩形枠
の横線として検出する第2矩形枠横線検出機能と、 検出した前記第2矩形枠の横線の画素を白画素に変換す
る第2矩形枠横線消去機能と、 前記二値画像の横方向に連続する黒画素を抽出して、抽
出した横方向に連続する黒画素の個数が所定の閾値以下
であれば当該横方向に連続する黒画素を前記第2矩形枠
の縦線として検出する第2矩形枠縦線検出機能と、 検出した前記第2矩形枠の縦線の画素を白画素に変換す
る第2矩形枠縦線消去機能とからなることを特徴とする
請求項6に記載の手書き文字フォント作成プログラム。
7. The second rectangular frame erasing function is a binarizing function for converting an in-frame image of the first rectangular frame into a binary image composed of white pixels and black pixels, and a vertical direction of the binary image. Extracting a black pixel continuous in the direction, and detecting the black pixel continuous in the vertical direction as a horizontal line of the second rectangular frame if the number of the extracted black pixels continuous in the vertical direction is less than or equal to a predetermined threshold value. 2 rectangular frame horizontal line detection function, second rectangular frame horizontal line erasing function for converting detected horizontal line pixels of the second rectangular frame into white pixels, and extracting black pixels continuous in the horizontal direction of the binary image A second rectangular frame vertical line detection function for detecting the horizontally continuous black pixels as vertical lines of the second rectangular frame if the number of the extracted horizontal continuous black pixels is less than or equal to a predetermined threshold value, Second rectangular frame vertical line erasing device for converting detected vertical line pixels of the second rectangular frame into white pixels Handwritten character font generation program according to claim 6, characterized in that it consists of a.
【請求項8】 前記第2矩形枠消去機能は、 前記第1矩形枠の枠内画像を構成する画素毎に、その画
素が前記第2矩形枠を形成する所定の色に属するかどう
かを判定し、属する場合には当該画素を前記第2矩形枠
を形成する画素として検出する第2矩形枠色検出機能
と、 カラー画像からなる前記第1矩形枠の枠内画像をモノク
ロ画像に変換するカラー/モノクロ変換機能と、 変換したモノクロ画像を白画素と黒画素とからなる二値
画像に変換し、更に、前記第2矩形枠を形成する画素を
白画素に変換する二値化機能とからなることを特徴とす
る請求項6に記載の手書き文字フォント作成プログラ
ム。
8. The second rectangular frame erasing function determines, for each pixel forming an in-frame image of the first rectangular frame, whether or not the pixel belongs to a predetermined color forming the second rectangular frame. If it belongs, a second rectangular frame color detection function that detects the pixel as a pixel that forms the second rectangular frame, and a color that converts the image inside the frame of the first rectangular frame that is a color image into a monochrome image / Monochrome conversion function and a binarization function of converting the converted monochrome image into a binary image composed of white pixels and black pixels, and further converting the pixels forming the second rectangular frame into white pixels 7. The handwritten character font creation program according to claim 6, wherein.
【請求項9】 前記第2矩形枠消去機能は、 カラー画像からなる前記第1矩形枠の枠内画像に対し
て、前記第2矩形枠を形成する所定の色を消去するため
の色変換を行い、色変換後画像を得る色変換機能と、 変換した色変換後画像を白画素と黒画素とからなる二値
画像に変換する二値化機能とからなることを特徴とする
請求項6に記載の手書き文字フォント作成プログラム。
9. The second rectangular frame erasing function performs color conversion for erasing a predetermined color forming the second rectangular frame from an in-frame image of the first rectangular frame composed of a color image. 7. The method according to claim 6, further comprising: a color conversion function for obtaining a color-converted image and a binarization function for converting the converted color-converted image into a binary image composed of white pixels and black pixels. Handwritten character font creation program described.
【請求項10】 前記第2矩形枠消去機能は、 前記第1矩形枠の枠内画像を構成する画素毎に、所定の
閾値より濃度の低い画素を、前記文字記入用紙の地を形
成する画素あるいは前記第2矩形枠を形成する画素とし
て白画素に変換し、それ以外の画素を黒画素に変換する
二値化機能からなることを特徴とする請求項6に記載の
手書き文字フォント作成プログラム。
10. The second rectangular frame erasing function is characterized in that, for each pixel forming the in-frame image of the first rectangular frame, a pixel having a density lower than a predetermined threshold is set as a pixel forming a base of the character entry sheet. 7. The handwriting character font creation program according to claim 6, further comprising a binarization function of converting white pixels as pixels forming the second rectangular frame and converting the other pixels into black pixels.
【請求項11】 ユーザによる手書き文字が文字記入欄
に記入されて、請求項1に記載の手書きフォント作成装
置にて読取られる、手書きフォント作成用文字記入用紙
であって、 ユーザによる手書き文字が記入される前記文字記入欄
は、文字記入欄に記入された文字部分を切り出すための
第1矩形枠と、前記第1矩形枠の内側に配置される第2
矩形枠とから構成されることを特徴とする手書きフォン
ト作成用文字記入用紙。
11. A handwriting font creation character entry form, in which handwriting characters by a user are entered in a character entry field and read by the handwriting font creating apparatus according to claim 1, wherein handwriting characters by a user are entered. The character entry field is a first rectangular frame for cutting out a character portion entered in the character entry field, and a second rectangular frame arranged inside the first rectangular frame.
A character entry sheet for creating a handwritten font, which is composed of a rectangular frame.
【請求項12】 ユーザによる手書き文字が文字記入欄
に記入されて、請求項2に記載の手書きフォント作成装
置にて読取られる、手書きフォント作成用文字記入用紙
であって、 ユーザによる手書き文字が記入される前記文字記入欄
は、文字記入欄に記入された文字部分を切り出すための
第1矩形枠と、前記第1矩形枠の内側に配置される第2
矩形枠とから構成され、 前記第2矩形枠の線幅は前記所定の閾値以下であること
を特徴とする手書きフォント作成用文字記入用紙。
12. A handwriting font creating character entry sheet, wherein handwritten characters by a user are entered in a character entry field and read by the handwriting font creating apparatus according to claim 2, wherein handwritten characters by a user are entered. The character entry field is a first rectangular frame for cutting out a character portion entered in the character entry field, and a second rectangular frame arranged inside the first rectangular frame.
A character entry sheet for creating a handwritten font, wherein the line width of the second rectangular frame is less than or equal to the predetermined threshold value.
【請求項13】 ユーザによる手書き文字が文字記入欄
に記入されて、請求項3ないし請求項4のいずれかに記
載の手書きフォント作成装置にて読取られる、手書きフ
ォント作成用文字記入用紙であって、 ユーザによる手書き文字が記入される前記文字記入欄
は、文字記入欄に記入された文字部分を切り出すための
第1矩形枠と、前記第1矩形枠の内側に配置される第2
矩形枠とから構成され、 前記第2矩形枠は前記所定の色により形成されることを
特徴とする手書きフォント作成用文字記入用紙。
13. A character entry form for handwritten font creation, in which handwritten characters by a user are entered in a character entry field and read by the handwritten font creation device according to any one of claims 3 to 4. The character entry field in which handwritten characters by the user are entered is a first rectangular frame for cutting out the character part entered in the character entry field, and a second rectangular frame arranged inside the first rectangular frame.
And a rectangular frame, wherein the second rectangular frame is formed in the predetermined color, the handwriting font creating character entry sheet.
【請求項14】 ユーザによる手書き文字が文字記入欄
に記入されて、請求項5に記載の手書きフォント作成装
置にて読取られる、手書きフォント作成用文字記入用紙
であって、 ユーザによる手書き文字が記入される前記文字記入欄
は、文字記入欄に記入された文字部分を切り出すための
第1矩形枠と、前記第1矩形枠の内側に配置される第2
矩形枠とから構成され、 前記第2矩形枠の濃度は前記所定の閾値より低いことを
特徴とする手書きフォント作成用文字記入用紙。
14. A handwriting font creating character entry sheet, wherein handwritten characters by a user are entered in a character entry field and read by the handwriting font creating apparatus according to claim 5, wherein handwritten characters by a user are entered. The character entry field is a first rectangular frame for cutting out a character portion entered in the character entry field, and a second rectangular frame arranged inside the first rectangular frame.
A character entry sheet for handwriting font creation, characterized in that the density of the second rectangular frame is lower than the predetermined threshold.
【請求項15】 前記第2矩形枠を形成する所定の色
は、シアンを除く色のインクにより形成されることを特
徴とする請求項13ないし請求項14のいずれかに記載
の手書きフォント作成用文字記入用紙。
15. The handwritten font creation device according to claim 13, wherein the predetermined color forming the second rectangular frame is formed by ink of colors other than cyan. Character entry form.
JP2001196954A 2001-06-28 2001-06-28 Device and program for handwritten character font generation, and character entry form for handwritten character font generation Pending JP2003015628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001196954A JP2003015628A (en) 2001-06-28 2001-06-28 Device and program for handwritten character font generation, and character entry form for handwritten character font generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001196954A JP2003015628A (en) 2001-06-28 2001-06-28 Device and program for handwritten character font generation, and character entry form for handwritten character font generation

Publications (1)

Publication Number Publication Date
JP2003015628A true JP2003015628A (en) 2003-01-17

Family

ID=19034660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001196954A Pending JP2003015628A (en) 2001-06-28 2001-06-28 Device and program for handwritten character font generation, and character entry form for handwritten character font generation

Country Status (1)

Country Link
JP (1) JP2003015628A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11238252B2 (en) 2005-06-03 2022-02-01 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11317050B2 (en) 2005-03-11 2022-04-26 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11968464B2 (en) 2022-04-29 2024-04-23 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11317050B2 (en) 2005-03-11 2022-04-26 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11323650B2 (en) 2005-03-11 2022-05-03 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11323649B2 (en) 2005-03-11 2022-05-03 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11863897B2 (en) 2005-03-11 2024-01-02 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11238252B2 (en) 2005-06-03 2022-02-01 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11238251B2 (en) 2005-06-03 2022-02-01 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11604933B2 (en) 2005-06-03 2023-03-14 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11625550B2 (en) 2005-06-03 2023-04-11 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11968464B2 (en) 2022-04-29 2024-04-23 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array

Similar Documents

Publication Publication Date Title
US6298154B1 (en) Method for rendering improved personal handwriting
US6005972A (en) Method for adding personalized text and/or graphics to composite digital image products
US6731407B1 (en) Image processing method and device
US7769245B2 (en) Image combining apparatus and control method for the same
US8508795B2 (en) Information processing apparatus, information processing method, and computer program product for inserting information into in image data
CN101373465A (en) Translation apparatus, and translation method
US20040091176A1 (en) Apparatus and method for handwritten character font generation, and computer-readable storage medium recording program for the same
JP3291989B2 (en) Document processing device
CN107147820B (en) Information processing unit
JP4926589B2 (en) Image composition apparatus, image composition method, and program
US9338310B2 (en) Image processing apparatus and computer-readable medium for determining pixel value of a target area and converting the pixel value to a specified value of a target image data
JP2003015628A (en) Device and program for handwritten character font generation, and character entry form for handwritten character font generation
US20070076263A1 (en) Image printing using order sheet
JPH07156447A (en) Apparatus for generation of character and its method
US10936893B2 (en) Information processing device and method for document image extraction, composite image generation, and OCR processing including display of reading resolution instructions based on character density
JP4165408B2 (en) Image forming apparatus and image forming program
JP2002366133A (en) Device and program for handwriting character font generation
US20150213341A1 (en) Image scaling mechanism
JPH0916582A (en) Document preparing device and method for outputting recognition result used for this device
US20030009498A1 (en) Method for digitally reordering and editing business stationery
JP4159948B2 (en) Two-dimensional code reading device, two-dimensional code reading method, two-dimensional code reading program, and storage medium
JP3922938B2 (en) Handwritten character font creating device, handwritten character font creating program, handwritten character font creating method, and document creating device using handwritten character font
JP4665754B2 (en) Image generating apparatus, image generating method, and program
Eckersley et al. Glossary of typesetting terms
JP2005304094A (en) Image processing apparatus and image processing method