JP3847509B2 - Address printing apparatus, address printing method, and recording medium recording address printing program - Google Patents

Address printing apparatus, address printing method, and recording medium recording address printing program Download PDF

Info

Publication number
JP3847509B2
JP3847509B2 JP2000022950A JP2000022950A JP3847509B2 JP 3847509 B2 JP3847509 B2 JP 3847509B2 JP 2000022950 A JP2000022950 A JP 2000022950A JP 2000022950 A JP2000022950 A JP 2000022950A JP 3847509 B2 JP3847509 B2 JP 3847509B2
Authority
JP
Japan
Prior art keywords
address
image information
line width
information
projection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000022950A
Other languages
Japanese (ja)
Other versions
JP2001205854A (en
Inventor
真人 中島
裕之 渡邊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2000022950A priority Critical patent/JP3847509B2/en
Publication of JP2001205854A publication Critical patent/JP2001205854A/en
Application granted granted Critical
Publication of JP3847509B2 publication Critical patent/JP3847509B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、葉書や封筒等に手書きによって書かれた宛名や差出人を印刷する宛名印刷技術に係り、特に、印刷される文字の太さをバランス良く調整することができる宛名印刷装置、宛名印刷方法、及び宛名印刷プログラムを記録した記録媒体に関する。
【0002】
【従来の技術】
従来、葉書、特に年賀葉書等に宛名や差出人を手書きで書くことは、その枚数が多くなると大変なために、各種の印刷手段が開発されている。
【0003】
例えば、パーソナルコンピュータの宛名印刷アプリケーションを用い、そのディジタルフォントを使用して描画する方式が一般的である。
【0004】
しかし一方で、活字ではなく、手書きタッチの持つ温かみを活かしたいという理由から、面倒を感じながらも毎年何百枚もの宛名を自筆で書いているユーザーも多い。このようなユーザーの要求に応えるために、手書きの宛名原稿を葉書等に印刷する方式として、例えば、スキャナーなどの画像入力装置によって手書きの宛名原稿を入力し、読取った手書き画像を印刷装置を用いて葉書等に印刷する方式が考えられ、このような方式によれば、手書き風の個性的で人間味のある年賀状等を作成することができる。例えば、図15に示すように、先方の住所氏名などからなる宛名情報を記入した原稿(宛名カード22)と、自分の住所氏名などからなる差出人情報を記入した原稿(差出人カード23)を用意しておき、それらの原稿を画像入力装置で読取り、読取った宛名情報の画像と差出人情報の画像をレイアウトして、印刷装置を用いて葉書24に印刷するという方式である。
【0005】
【発明が解決しようとする課題】
しかしながら、このような方式で宛名印刷を行った場合、葉書24に印刷された宛名情報の文字と差出人情報の文字とのバランスが悪くなったりすることが考えられる。例えば、宛名情報の文字よりも差出人情報の文字のほうが太くなったり、大きくなったりすると、先方の人を敬い、自分を謙るという気持ちに反するような出来映えとなってしまう。特に、先に説明したように、差出人情報は差出人カード23に一枚だけ記入すれば良いが、宛名情報は何枚もの宛名カード22に記入する必要があり、何枚も書いているうちに、手が疲れてきて筆圧が弱くなったり、筆記具のインクが少なくなってきたりして、段々と文字が細くなっていくことが考えられる。そうすると、差出人情報の文字の方が太くて立派で、宛名情報の文字の方は細くて貧相になってしまうというようなケースが考えられる。
【0006】
本発明は、以上に述べた状況を鑑みて成されたものであり、葉書や封筒等に手書きによる宛名や差出人を印刷する場合に、手書きの原稿に記入された文字の太さを検出して、太さを自動的に調整することで、文字の太さのバランスをとることができる宛名印刷装置、宛名印刷方法、及び宛名印刷プログラムを記録した記録媒体を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記課題を解決するために、本発明は、原稿に記載された画像情報を読取る読取部と、読取った前記画像情報を記憶する記憶部と、記憶した前記画像情報を印刷用紙に出力する出力部とを有し、記憶した前記画像情報は第1の画像情報と第2の画像情報とからなり、前記第1の画像情報の線幅と前記第2の画像情報の線幅をそれぞれ求め、前記第1の画像情報の線幅より前記第2の画像情報の線幅の方が細い場合、前記第1の画像情報を細線化して、あるいは前記第2の画像情報を太線化して、前記印刷用紙に出力することを特徴とする。
【0008】
また、画像情報の線幅及び前記第2の画像情報の線幅は、前記第1の画像情報のプロジェクションと前記第2の画像情報のプロジェクションをそれぞれ生成し、生成したプロジェクションからそれぞれの線幅を求めることを特徴とする。
【0009】
また、前記プロジェクションは、前記画像情報を縦方向あるいは横方向に走査して黒画素を計数することで生成することを特徴とする。
【0010】
また、前記線幅を求めるためのプロジェクションが複数候補ある場合、プロジェクションが形成するヒストグラムの面積が最小であるプロジェクションを選択し、選択したプロジェクションから前記線幅を求めることを特徴とする。
【0011】
本発明により、葉書や封筒等に手書きによる宛名や差出人を印刷する場合に、手書きの原稿に記入された文字の太さを検出して、太さを自動的に調整することで、文字の太さのバランスをとることができる。
【0012】
【発明の実施の形態】
以下、本発明の実施形態の一例を図面に基づいて説明する。
【0013】
図14に示すように、本発明に係る宛名印刷装置100は、パーソナルコンピュータなどで構成される処理部20、宛名を印刷する葉書24などの各種カードを搬送路に給紙する給紙部11、各種カードの内容を読み取る読取部12、葉書24などに印刷を行う印刷部13、読取られたカードや印刷されたカードが排紙される排紙部15、所定の条件のカードをはじいて分別するはじき部14、などから構成される。
【0014】
また、処理部20には、本発明に係る宛名印刷処理の手続きが記載された宛名印刷プログラムを記録した記録媒体(図示せず)が搭載されており、処理部20はこのプログラムに規定される手続きに従って、宛名印刷装置の一連の処理制御を行う。
【0015】
ユーザー60は、宛名カード22と差出人カード23の空欄に必要な事項を予め記入しておく。図15(a)に示すような差出人カード23の「差出人1」の差出人欄231に、個人としての差出人情報として、例えば、住所、氏名、電話番号等を記入し、郵便番号欄232に郵便番号を記入して、分類名233に「私」と入れておく。差出人として他に、例えば、会社関係の差出人情報を用いる場合や家族との連名を用いる場合には、更に「差出人2」や「差出人3」の欄にも記入できる。こうして、図15(a)に示すような差出人カード23を1枚作成する。
【0016】
また、図15(b)に示すような宛名カード22に、年賀状等を送る相手の郵便番号222、住所氏名等221を記入し、更に、上記差出人カード23で差出人のパターンを複数作成した場合には、どのパターンを使うのかを差出人選択欄223の該当する箇所にマークする。これらの作業を繰り返し、今回年賀状を送る人数分の宛名カード22を作成する。
【0017】
このようにして予め記入しておいたこれら宛名カード22、差出人カード23を、宛名印刷装置100の給紙部11にセットし、セットされたカードは順番に読取部12へ搬送され、読取部12によってカードに記入された情報を画像として読み込ませる。
【0018】
読み込みが終わったカードは、排紙部15へ送られ、読取った画像情報は処理部20のメモリ等の記憶手段によって記憶される。
【0019】
宛名カード22、差出人カード23の全てのカードの読込みが終了したところで、処理部20において印刷用データの作成処理が行われ、メモリに記憶されていた郵便番号、住所氏名等の宛名情報や差出人情報がレイアウトされる。
【0020】
印刷用データが作成されたら、葉書24を給紙部11にセットし、葉書24に宛名と差出人を印刷する。印刷が終わったカードは排紙部15へ送られる。全ての宛名の印刷が終われば、処理終了である。
【0021】
本実施例で説明する処理は、上記印刷用データの作成処理において、宛名情報や差出人情報の文字の太さ(線幅)を検出し、その太さを自動的に調整(細線化/太線化)するものである。この線幅検出及び細線化/太線化処理の流れを図1に示す。
【0022】
先ず、処理部20のメモリに記憶されている画像から、差出人情報が書かれている画像領域を抽出し(Step11)、抽出した画像データを黒画素と白画素からなる2値画像化する(Step12)。
【0023】
同様に、処理部20のメモリに記憶されている画像から、宛名情報が書かれている画像領域を抽出し(Step13)、抽出した画像データを黒画素と白画素からなる2値画像化する(Step14)。
【0024】
次に、宛名情報や差出人情報の文字の太さ(線幅)を検出するために、上記2値画像のプロジェクションを生成する。
【0025】
ここで、2値画像のプロジェクションを生成する簡単な例を図2に示す。
【0026】
図2(a)は2値画像データを示し、横方向の大きさをm、縦方向の大きさをnで表している。例えば、横方向のプロジェクションを生成する場合には、y=1についてX=1〜mまでの画素のうち黒画素を計数する。同様に、y=2、・・・y=nについてもX=1〜mまでの画素のうちの黒画素を計数する。このように図示した画像データを走査すると、プロジェクション関数Proj(Y=1)=0、Proj(Y=2)=5、・・・、となり、図2(b)に示すような横方向のプロジェクションによって形成されるヒストグラムを求めることができる。
【0027】
同様にして、縦方向についても、図2(c)に示すような縦方向のプロジェクションによって形成されるヒストグラムを求めることができる。
【0028】
図1に戻って、宛名情報や差出人情報の文字の太さ(線幅)を検出する処理について説明する。尚、本実施例では、宛名情報及び差出人情報中から、それぞれの氏名を記載した文字を抽出し、更に、抽出した氏名に係る文字の中から画数が少ないと推測される文字を特定し、その特定した文字の線幅を検出する例を示す。
【0029】
先ず、宛名情報の2値画像データ及び宛名情報の2値画像データについて、縦方向のプロジェクションをそれぞれ生成する(Step15)。宛名情報221のプロジェクション229の生成結果を図3に例示し、差出人情報231のプロジェクション239の生成結果を図4に例示する。
【0030】
次に、Step15で求めたプロジェクション229及びプロジェクション239の山の中の最左の山(図3〜図5中の格子斜線の部分)に対応する領域を抽出する(Step16)。具体的には、図5に示すように、最左の山のピークから、山と山との分離座標を求め、最左の山に対応する範囲を求めるのである。ここで抽出された画像領域は、それぞれ氏名を記入した部分に相当する。
【0031】
次に、Step16で求めた宛名情報の氏名部分の画像及び差出人情報の氏名部分の画像について、横方向のプロジェクションをそれぞれ生成する(Step17)。宛名情報221の氏名部分のプロジェクション229の生成結果を図7に例示し、差出人情報231の氏名部分のプロジェクション239の生成結果を図6に例示する。
【0032】
次に、Step17で求めたプロジェクションの中から、プロジェクションが形成するヒストグラムの面積が最小の山に相当する文字を1文字抽出し(Step18)、抽出した文字の縦方向のプロジェクションを生成する(Step19)。宛名情報221の氏名部分のから抽出した文字を図8に示し、差出人情報231の氏名部分から抽出した文字を図9に例示する。ここで、面積が最小の山に相当する文字をそれぞれ抽出したのは、ヒストグラムの面積が小さいほど、それに対応する文字の画数が少ないということ、また、画数が少ない文字の方が文字の太さを的確に検出できるということによる。
【0033】
次に、前の処理で求めた文字について、その文字線幅を検出する(Step20)。具体的には、縦方向あるいは横方向のプロジェクションから、そのプロジェクションが最も一様な部分の値を求め、その値を以って文字線幅長とする。図8のt2、図9のt1が文字線幅長である。
【0034】
次に、Step20で求めた文字線幅(t1,t2)を比較する。つまり、差出人情報の文字線幅(t1)と宛名情報の文字線幅(t2)とを比較する(Step21)。
【0035】
Step21で比較した結果、t1<t2なら、即ち、差出人情報の文字線幅より宛名情報の文字線幅の方が太い場合には、処理を終了して、そのまま印刷を行う。
【0036】
Step21で比較した結果、t1≧t2なら、即ち、差出人情報の文字線幅より宛名情報の文字線幅の方が太くない場合には、t1<t2となるように文字線幅調整処理(Step22)を行う。
【0037】
この文字線幅調整処理(Step22)については、様々な手法が考えられるが、例えば、特開平10−313410号公報に記載の2値画像の太線化処理方法の適用が考えられる。
【0038】
この太線化処理は、図10に示すように、主走査方向(横方向)の大きさをm、
副走査方向(縦方向)の大きさをn、主走査方向の位置をx、副走査方向の位置をyとして表した2値画像領域を、図11に示すような3×3の判定マトリックスを用いて走査することで、太線化処理を行うものである。図11において、この3×3の判定マトリックスは、注目画素をIとした場合の、他の画素A,B,C,D,E,F,Gの位置関係を表している。
【0039】
2値画像領域を主走査方向、副走査方向に走査し、走査された画素の画素値を判定マトリックスの注目画素Iに対応させ、この注目画素Iが「黒」であるかどうか判定し、「黒」である場合に以下の処理を行う。
【0040】
例えば、右上画素Cが「白」であれば、右中画素Fを「黒」にする。(図12(a))。
【0041】
左上画素A、中上画素B、左中画素D,が全て「白」であれば、真中画素Eを「黒」にする。(図12(b))。
【0042】
左下画素Gが「白」であれば、中下画素Hを「黒」にする。(図12(c))。
【0043】
このようにして、2値画像領域を主走査方向、副走査方向に走査して、太線化処理を行うのである。
【0044】
この太線化処理によって、文字線幅調整処理(Step22)を行い、宛名情報に記載の画像の太線化を行う。太線化処理を行った後、再び、宛名情報のプロジェクションを生成し、文字線幅(t2)を検出して、差出人情報の文字線幅(t1)と宛名情報の文字線幅(t2)とを比較する(Step21)。
【0045】
尚、本実施例では、上記太線化処理を用いて宛名情報の線幅を太くする例を示したが、逆に、差出人情報の線幅の方を細くしても良い。細線化処理についても、様々な手法が考えられるが、上記特開平10−313410号公報に記載の2値画像の太線化処理方法を細線化処理として流用することも可能である。
【0046】
文字線幅調整処理(Step22)を行った後、葉書24に印刷した結果を図13に示す。
【0047】
以上、説明したように、葉書や封筒等に手書きによって書かれた宛名や差出人を印刷する場合に、宛名として書かれた文字を解析してその線幅を求め、また、差出人の情報として書かれた文字を解析して同じくその線幅を求め、双方の線幅を比較して、宛名の方が差出人より太くなるように線幅を調整しているため、バランスのとれた見栄えの良い宛名印刷を行うことができる。
【0048】
尚、本実施例では、先に全ての宛名原稿の読取り処理を行い、その後、全ての印刷用紙への出力処理を行う方式について説明したが、宛名原稿を1枚読取る毎に印刷用紙への印刷を行うような方式にも適用可能である。
【0049】
また、本実施例では、太線化/細線化処理を例に説明したが、例えば、画像の拡大/縮小処理を適用して、画像を拡大することにより、あるいは画像を縮小することにより文字のバランスをとっても良い。
【0050】
また、本実施例では、宛名情報や差出人情報の中から氏名の部分を抽出した例を示したが、住所などの他の領域を用いても行っても良い。
【0051】
また、本実施例では、宛名情報と差出人情報との関係について説明したが、本発明はこれに限定されるものではなく、例えば、宛名情報の中の住所と氏名との関係などにも適用可能である。つまり、氏名の文字よりも住所の文字の方が大きい、あるいは太いという場合には、本発明により氏名の文字の方が住所の文字よりも大きくする、あるいは太くすることも可能であり、宛名情報に記載の文字のバランスを良くすることができる。同様にして、氏名と肩書きなどの関係にも適用できる。
【0052】
また、項目同士の関係だけでなく、文字が所定の閾値より細い、あるいは小さい(太い、あるいは大きい)場合、その文字を所定の閾値より太く、あるいは大きく(細く、あるいは小さく)することもできる。例えば、かすれて読みにくいような文字を太くて読みやすい文字にすることもできるのである。
【0053】
以上、本発明の実施形態について詳細に説明したが、本発明は本実施例に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良や変更を成し得るであろう。
【0054】
例えば、本実施例では、年賀状印刷を例に説明したが、本発明は年賀状だけでなく、定期あるいは不定期に送付する宛名印刷に応用できるし、印刷用紙は葉書だけでなく封筒や宛名ラベルなどにも適用できるのは言うまでもない。
【0055】
従って、本発明はこの開示から妥当な特許請求の範囲に係わる発明特定事項によってのみ限定されるものでなければならない。
【0056】
【発明の効果】
本発明により、葉書や封筒等に手書きによって書かれた宛名や差出人を印刷する場合に、葉書や封筒等に手書きによる宛名や差出人を印刷する場合に、手書きの原稿に記入された文字の太さを検出して、太さを自動的に調整することで、文字の太さのバランスをとることができる。これによって、例えば、差出人情報の文字の方が太くて立派で、宛名情報の文字の方は細くて貧相に書かれたような手書き原稿でも、見栄えの良い印刷物を提供することができる。
【図面の簡単な説明】
【図1】本発明に係る宛名印刷プログラムの処理動作の一例を示す流れ図。
【図2】プロジェクション生成処理の処理イメージを表したイメージ図。
【図3】宛名情報の画像データの縦方向のプロジェクションを生成した例を示したイメージ図。
【図4】差出人情報の画像データの縦方向のプロジェクションを生成した例を示したイメージ図。
【図5】プロジェクションが形成するヒストグラムの山の分離座標を例示するイメージ図。
【図6】差出人情報の氏名の画像データについて、横方向のプロジェクションを生成した例を示したイメージ図。
【図7】宛名情報の氏名の画像データについて、横方向のプロジェクションを生成した例を示したイメージ図。
【図8】差出人情報の氏名の中から抽出した文字の、文字幅を検出する例を示したイメージ図。
【図9】宛名情報の氏名の中から抽出した文字の、文字幅を検出する例を示したイメージ図。
【図10】太線化処理を行う2値画像の領域を示したイメージ図。
【図11】太線化処理で用いられる3×3マトリックスを表したイメージ図。
【図12】図11に示した3×3マトリックスの処理動作を表したイメージ図。
【図13】本発明に係る宛名印刷プログラムを搭載した宛名印刷装置で印刷した葉書の印刷結果例を表すイメージ図。
【図14】本発明に係る宛名印刷装置の構成例を示す概略図。
【図15】差出人カード、宛名カード、及び従来技術によって印刷された葉書を表すイメージ図。
【符号の説明】
11....給紙部
12....読取部
13....印刷部
14....はじき部
15....排紙部
20....処理部
22....宛名カード
23....差出人カード
24....葉書
100....宛名印刷装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to address printing technology for printing addresses and senders written by hand on postcards, envelopes and the like, and in particular, address printing apparatus and address printing method capable of adjusting the thickness of printed characters in a well-balanced manner. And a recording medium on which an address printing program is recorded.
[0002]
[Prior art]
Conventionally, it has been difficult to write an address or a sender by hand on a postcard, especially a New Year's postcard.
[0003]
For example, a method of drawing using an address printing application of a personal computer and using the digital font is common.
[0004]
However, on the other hand, many users write hundreds of addresses each year with their own handwriting because they want to take advantage of the warmth of handwriting touch instead of type. In order to meet such a user's request, as a method for printing a handwritten address document on a postcard or the like, for example, a handwritten address document is input by an image input device such as a scanner, and the read handwritten image is used by a printing device. A method of printing on a postcard or the like is conceivable. According to such a method, a personalized and personalized New Year's card or the like can be created. For example, as shown in FIG. 15, there are prepared a manuscript (address card 22) in which address information including the address and name of the other party is entered and a manuscript (sender card 23) in which the sender information including the name and address of his / her own address is entered. In this method, these originals are read by an image input device, and the read address information image and sender information image are laid out and printed on a postcard 24 using a printing device.
[0005]
[Problems to be solved by the invention]
However, when address printing is performed by such a method, it is possible that the balance between the characters of the address information printed on the postcard 24 and the characters of the sender information is deteriorated. For example, if the sender information characters are thicker or larger than the address information characters, the result will be contrary to the feeling of respecting the other person and hugging oneself. In particular, as described above, the sender information only needs to be entered on the sender card 23, but the address information needs to be entered on a number of the address cards 22, and while many are written, It is conceivable that the characters become gradually thinner as the hand gets tired and the writing pressure becomes weaker or the ink of the writing instrument decreases. In this case, the sender information may be thicker and finer, while the address information may be thinner and poorer.
[0006]
The present invention has been made in view of the situation described above, and detects the thickness of a character written on a handwritten manuscript when a handwritten address or sender is printed on a postcard or an envelope. An object of the present invention is to provide an address printing apparatus, an address printing method , and a recording medium on which an address printing program is recorded, in which the thickness of characters can be balanced by automatically adjusting the thickness.
[0007]
[Means for Solving the Problems]
In order to solve the above-described problems, the present invention provides a reading unit that reads image information described in a document, a storage unit that stores the read image information, and an output unit that outputs the stored image information to a print sheet. And the stored image information includes first image information and second image information, and obtains a line width of the first image information and a line width of the second image information, respectively, When the line width of the second image information is narrower than the line width of the first image information, the first image information is thinned, or the second image information is thickened, and the printing paper It is characterized by being output to.
[0008]
Further, the line width of the image information and the line width of the second image information are generated by generating a projection of the first image information and a projection of the second image information, respectively, and calculating the line width from the generated projection. It is characterized by seeking.
[0009]
Further, the projection is generated by scanning the image information in the vertical direction or the horizontal direction and counting black pixels.
[0010]
In addition, when there are a plurality of projections for obtaining the line width, the projection having the smallest area of the histogram formed by the projection is selected, and the line width is obtained from the selected projection.
[0011]
According to the present invention, when printing a handwritten address or sender on a postcard or envelope, the thickness of the character is automatically adjusted by detecting the thickness of the character written on the handwritten manuscript. You can balance it.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.
[0013]
As shown in FIG. 14, an address printing apparatus 100 according to the present invention includes a processing unit 20 configured by a personal computer or the like, a paper feeding unit 11 that feeds various cards such as a postcard 24 for printing an address to a conveyance path, The reading unit 12 that reads the contents of various cards, the printing unit 13 that prints on a postcard 24, the paper discharge unit 15 that discharges the read card or the printed card, and the card of a predetermined condition are separated. It consists of a repelling part 14 and the like.
[0014]
The processing unit 20 is equipped with a recording medium (not shown) that records an address printing program in which a procedure for address printing processing according to the present invention is described. The processing unit 20 is defined by this program. A series of processing control of the address printing apparatus is performed according to the procedure.
[0015]
The user 60 enters necessary items in the blanks of the address card 22 and the sender card 23 in advance. As the individual sender information, for example, an address, name, telephone number, etc. are entered in the sender column 231 of “sender 1” of the sender card 23 as shown in FIG. And put "I" in the classification name 233. In addition to this, for example, when using company-related sender information or using a family name, it is possible to fill in the “Sender 2” and “Sender 3” fields as well. In this way, one sender card 23 as shown in FIG.
[0016]
Further, when the postal code 222 and address name 221 of the other party to whom the New Year's card or the like is sent are entered on the address card 22 as shown in FIG. 15 (b), and a plurality of sender patterns are created by the sender card 23. Marks which pattern is used at the corresponding location in the sender selection field 223. These operations are repeated to create address cards 22 for the number of people who will send New Year's cards this time.
[0017]
The address card 22 and the sender card 23 that have been entered in advance in this way are set in the sheet feeding unit 11 of the address printing apparatus 100, and the set cards are sequentially conveyed to the reading unit 12, and the reading unit 12 The information entered on the card is read as an image.
[0018]
The card that has been read is sent to the paper discharge unit 15, and the read image information is stored in a storage unit such as a memory of the processing unit 20.
[0019]
When all the cards of the address card 22 and the sender card 23 have been read, the processing unit 20 performs print data generation processing, and the postal code, address name, and other address information and sender information stored in the memory. Is laid out.
[0020]
When the printing data is created, the postcard 24 is set in the paper supply unit 11 and the address and sender are printed on the postcard 24. The printed card is sent to the paper discharge unit 15. When printing of all addresses is completed, the processing is completed.
[0021]
In the processing described in the present embodiment, the thickness (line width) of the address information and sender information is detected in the print data creation process, and the thickness is automatically adjusted (thinning / thinning). ) The flow of this line width detection and thinning / thickening processing is shown in FIG.
[0022]
First, an image area in which sender information is written is extracted from an image stored in the memory of the processing unit 20 (Step 11), and the extracted image data is converted into a binary image composed of black pixels and white pixels (Step 12). ).
[0023]
Similarly, an image area in which address information is written is extracted from an image stored in the memory of the processing unit 20 (Step 13), and the extracted image data is converted into a binary image composed of black pixels and white pixels ( Step14).
[0024]
Next, in order to detect the thickness (line width) of the characters of the address information and the sender information, a projection of the binary image is generated.
[0025]
Here, a simple example for generating a projection of a binary image is shown in FIG.
[0026]
FIG. 2A shows binary image data, where the horizontal size is represented by m and the vertical size is represented by n. For example, when generating a horizontal projection, black pixels are counted among pixels from X = 1 to m for y = 1. Similarly, for y = 2,..., Y = n, black pixels among the pixels from X = 1 to m are counted. When the illustrated image data is scanned in this way, the projection functions Proj (Y = 1) = 0, Proj (Y = 2) = 5,... Are obtained, and the horizontal projection as shown in FIG. The histogram formed by can be obtained.
[0027]
Similarly, a histogram formed by projection in the vertical direction as shown in FIG. 2C can also be obtained in the vertical direction.
[0028]
Returning to FIG. 1, processing for detecting the thickness (line width) of the address information and sender information will be described. In this embodiment, from the address information and the sender information, the characters describing each name are extracted, and further, the characters that are estimated to have a small number of strokes are identified from the characters related to the extracted names. An example of detecting the line width of the specified character is shown.
[0029]
First, vertical projection is generated for binary image data of address information and binary image data of address information (Step 15). The generation result of the projection 229 of the address information 221 is illustrated in FIG. 3, and the generation result of the projection 239 of the sender information 231 is illustrated in FIG.
[0030]
Next, a region corresponding to the leftmost mountain (the hatched portion in FIGS. 3 to 5) of the projection 229 and the projection 239 obtained in Step 15 is extracted (Step 16). Specifically, as shown in FIG. 5, from the peak of the leftmost mountain, the coordinate between the mountain and the mountain is obtained, and the range corresponding to the leftmost mountain is obtained. The image areas extracted here correspond to portions where names are entered.
[0031]
Next, a horizontal projection is generated for the name portion image of the address information obtained in Step 16 and the name portion image of the sender information (Step 17). The generation result of the projection 229 of the name portion of the address information 221 is illustrated in FIG. 7, and the generation result of the projection 239 of the name portion of the sender information 231 is illustrated in FIG.
[0032]
Next, one character corresponding to the mountain having the smallest area of the histogram formed by the projection is extracted from the projection obtained in Step 17 (Step 18), and a vertical projection of the extracted character is generated (Step 19). . The characters extracted from the name portion of the address information 221 are shown in FIG. 8, and the characters extracted from the name portion of the sender information 231 are illustrated in FIG. Here, the characters corresponding to the peaks with the smallest area were extracted because the smaller the histogram area, the smaller the number of strokes of the corresponding character, and the smaller the number of strokes, the thicker the character. This is because it can be accurately detected.
[0033]
Next, the character line width of the character obtained in the previous process is detected (Step 20). Specifically, from the projection in the vertical direction or the horizontal direction, the value of the portion where the projection is most uniform is obtained, and the value is used as the character line width length. T2 in FIG. 8 and t1 in FIG. 9 are character line width lengths.
[0034]
Next, the character line widths (t1, t2) obtained in Step 20 are compared. That is, the character line width (t1) of the sender information is compared with the character line width (t2) of the address information (Step 21).
[0035]
As a result of the comparison in Step 21, if t1 <t2, that is, if the character line width of the address information is larger than the character line width of the sender information, the process is terminated and printing is performed as it is.
[0036]
As a result of the comparison in Step 21, if t1 ≧ t2, that is, if the character line width of the address information is not thicker than the character line width of the sender information, the character line width adjustment process (Step 22) so that t1 <t2. I do.
[0037]
Various methods are conceivable for the character line width adjustment processing (Step 22). For example, the thickening processing method for binary images described in Japanese Patent Laid-Open No. 10-313410 may be applied.
[0038]
As shown in FIG. 10, the thickening process is performed such that the size in the main scanning direction (lateral direction) is m,
A binary image area representing a size in the sub-scanning direction (vertical direction) as n, a position in the main scanning direction as x, and a position in the sub-scanning direction as y is represented by a 3 × 3 determination matrix as shown in FIG. The thickening process is performed by scanning using this. In FIG. 11, this 3 × 3 determination matrix represents the positional relationship of the other pixels A, B, C, D, E, F, and G when the target pixel is I.
[0039]
The binary image area is scanned in the main scanning direction and the sub-scanning direction, the pixel value of the scanned pixel is made to correspond to the target pixel I of the determination matrix, and it is determined whether or not the target pixel I is “black”. When it is “black”, the following processing is performed.
[0040]
For example, if the upper right pixel C is “white”, the right middle pixel F is set to “black”. (FIG. 12A).
[0041]
If the upper left pixel A, middle upper pixel B, and left middle pixel D are all “white”, the middle pixel E is set to “black”. (FIG. 12B).
[0042]
If the lower left pixel G is “white”, the middle lower pixel H is set to “black”. (FIG. 12 (c)).
[0043]
In this way, the thickening process is performed by scanning the binary image area in the main scanning direction and the sub-scanning direction.
[0044]
By this thickening process, a character line width adjustment process (Step 22) is performed to thicken the image described in the address information. After performing the thick line processing, the projection of the address information is generated again, the character line width (t2) is detected, and the character line width (t1) of the sender information and the character line width (t2) of the address information are obtained. Compare (Step 21).
[0045]
In the present embodiment, an example is shown in which the line width of the address information is increased using the thickening process, but conversely, the line width of the sender information may be reduced. Various methods are also conceivable for the thinning process, but it is also possible to use the binary image thickening processing method described in JP-A-10-313410 as the thinning process.
[0046]
FIG. 13 shows the result printed on the postcard 24 after the character line width adjustment process (Step 22).
[0047]
As described above, when printing the address or sender written by hand on a postcard or envelope, etc., the characters written as the address are analyzed to obtain the line width, and the sender's information is written. Since the line width is adjusted so that the address is thicker than the sender, the line width is determined by comparing the line widths of both characters. It can be performed.
[0048]
In the present embodiment, a method has been described in which all addressed originals are read first and then output to all print sheets. However, every time an addressed original is read, printing on the print sheet is performed. It is also applicable to a method that performs the above.
[0049]
In the present embodiment, the thickening / thinning processing is described as an example. For example, the image balance is achieved by enlarging the image by applying the image enlarging / reducing processing or by reducing the image. You may take.
[0050]
In the present embodiment, an example is shown in which the name portion is extracted from the address information and the sender information. However, other areas such as an address may be used.
[0051]
In the present embodiment, the relationship between the address information and the sender information has been described. However, the present invention is not limited to this, and can be applied to, for example, the relationship between the address and name in the address information. It is. In other words, if the address characters are larger or thicker than the name characters, the name characters can be made larger or thicker than the address characters according to the present invention. The balance of the characters described in can be improved. Similarly, it can be applied to relationships such as name and title.
[0052]
In addition to the relationship between items, when a character is thinner or smaller (thick or larger) than a predetermined threshold, the character can be thicker or larger (thin or smaller) than a predetermined threshold. For example, characters that are difficult to read can be made thick and easy to read.
[0053]
Although the embodiment of the present invention has been described in detail above, the present invention is not limited to the present embodiment, and various improvements and modifications may be made without departing from the spirit of the present invention.
[0054]
For example, in this embodiment, New Year's card printing has been described as an example, but the present invention can be applied not only to New Year's cards but also to address printing that is sent regularly or irregularly, and printing paper is not only postcards but also envelopes and address labels, etc. Needless to say, it can also be applied.
[0055]
Therefore, the present invention should be limited only by the matters specifying the invention according to the scope of claims reasonable from this disclosure.
[0056]
【The invention's effect】
According to the present invention, when printing the address or sender written by hand on a postcard or envelope, etc., when printing the address or sender written by hand on a postcard or envelope, etc., the thickness of the characters written on the handwritten manuscript , And automatically adjusting the thickness, it is possible to balance the thickness of the characters. As a result, for example, even a handwritten manuscript in which the characters in the sender information are thicker and finer and the characters in the address information are thinner and poorer can be provided.
[Brief description of the drawings]
FIG. 1 is a flowchart showing an example of processing operation of an address printing program according to the present invention.
FIG. 2 is an image diagram showing a processing image of projection generation processing.
FIG. 3 is an image diagram illustrating an example in which a vertical projection of image data of address information is generated.
FIG. 4 is an image diagram showing an example in which a vertical projection of image data of sender information is generated.
FIG. 5 is an image diagram illustrating separation coordinates of histogram peaks formed by projection.
FIG. 6 is an image diagram showing an example in which a horizontal projection is generated for the image data of the name of the sender information.
FIG. 7 is an image diagram showing an example in which a horizontal projection is generated for name image data of address information.
FIG. 8 is an image diagram showing an example of detecting a character width of a character extracted from the name of sender information.
FIG. 9 is an image diagram showing an example of detecting a character width of a character extracted from the name of address information.
FIG. 10 is an image diagram showing an area of a binary image on which thickening processing is performed.
FIG. 11 is an image diagram showing a 3 × 3 matrix used in thickening processing.
12 is an image diagram showing processing operation of the 3 × 3 matrix shown in FIG.
FIG. 13 is an image diagram showing an example of a printing result of a postcard printed by an address printing apparatus equipped with an address printing program according to the present invention.
FIG. 14 is a schematic diagram showing a configuration example of an address printing apparatus according to the present invention.
FIG. 15 is an image diagram showing a sender card, an address card, and a postcard printed by the prior art.
[Explanation of symbols]
11 .... Feeding unit 12 .... Reading unit 13 .... Printing unit 14 .... Repelling unit 15 .... Discharging unit 20 .... Processing unit 22 .... Address Card 23 .... Sender card 24 .... Postcard 100 .... Address printing device

Claims (10)

原稿に記載された画像情報を読取る読取部と、
読取った前記画像情報を記憶する記憶部と、
記憶した前記画像情報を印刷用紙に出力する出力部と、
を有する宛名印刷装置であって、
記憶した前記画像情報は第1の画像情報と第2の画像情報とからなり、
前記第1の画像情報の線幅と前記第2の画像情報の線幅をそれぞれ求め、
前記第1の画像情報の線幅より前記第2の画像情報の線幅の方が細い場合、前記第1の画像情報を細線化して、あるいは前記第2の画像情報を太線化して、前記印刷用紙に出力すること、
を特徴とする宛名印刷装置。
A reading unit for reading image information described in a document;
A storage unit for storing the read image information;
An output unit for outputting the stored image information to printing paper;
An address printing device having
The stored image information includes first image information and second image information,
Obtaining the line width of the first image information and the line width of the second image information,
When the line width of the second image information is narrower than the line width of the first image information, the first image information is thinned, or the second image information is thickened, and the printing is performed. Printing on paper,
Address printing device characterized by this.
前記第1の画像情報の線幅及び前記第2の画像情報の線幅は、前記第1の画像情報のプロジェクションと前記第2の画像情報のプロジェクションをそれぞれ生成し、生成したプロジェクションからそれぞれの線幅を求めること、
を特徴とする請求項1に記載の宛名印刷装置。
The line width of the first image information and the line width of the second image information respectively generate a projection of the first image information and a projection of the second image information, and each line is generated from the generated projection. Seeking width,
The address printing apparatus according to claim 1.
前記プロジェクションは、前記画像情報を縦方向あるいは横方向に走査して黒画素を計数することで生成すること、
を特徴とする請求項2に記載の宛名印刷装置。
The projection is generated by scanning the image information in a vertical direction or a horizontal direction and counting black pixels,
The address printing apparatus according to claim 2.
前記線幅を求めるためのプロジェクションが複数候補ある場合、プロジェクションが形成するヒストグラムの面積が最小であるプロジェクションを選択し、選択したプロジェクションから前記線幅を求めること、
を特徴とする請求項3に記載の宛名印刷装置。
When there are a plurality of projections for obtaining the line width, the projection having the smallest area of the histogram formed by the projection is selected, and the line width is obtained from the selected projection;
The address printing apparatus according to claim 3.
宛名などを含む宛名情報を宛名カードに記入するステップと、
差出人情報を差出人カードに記入するステップと、
前記宛名カード及び前記差出人カードを請求項1乃至請求項4のいずれかに記載の宛名印刷装置に読取らせるステップと、
前記差出人情報の線幅より前記宛名情報の線幅の方が細い場合、前記差出人情報の細線化、あるいは前記宛名情報の太線化を指示するステップと、
前記宛名印刷装置から出力された宛名が印刷された印刷物を受取るステップと、
を具備することを特徴とする宛名印刷方法
Entering address information on the address card, including address, etc .;
Filling in the sender information on the sender card;
The address printing device according to any one of claims 1 to 4, wherein the address card and the sender card are read.
If the line width of the address information is narrower than the line width of the sender information, instructing the sender information to be thinned or the address information to be thickened;
Receiving a printed matter on which the address output from the address printer is printed;
An address printing method characterized by comprising :
宛名などを含む宛名情報を宛名カードに記入するステップと、
前記宛名カードを請求項1乃至請求項4のいずれかに記載の宛名印刷装置に読取らせるステップと、
前記宛名カードに記載の住所情報の線幅より該宛名カードに記載の氏名情報の線幅の方が細い場合、前記住所情報の細線化、あるいは前記氏名情報の太線化を指示するステップと、
前記宛名印刷装置から出力された宛名が印刷された印刷物を受取るステップと、
を具備することを特徴とする宛名印刷方法
Entering address information on the address card, including address, etc .;
A step of causing the address printing apparatus according to any one of claims 1 to 4 to read the address card;
If the line width of the name information described in the address card is narrower than the line width of the address information described in the address card, instructing the address information to be thinned or the name information to be thickened;
Receiving a printed matter on which the address output from the address printer is printed;
An address printing method characterized by comprising :
原稿に記載された第1の画像情報と第2の画像情報とからなる画像情報を読取る読取工程と、
読取った前記画像情報を記憶する記憶工程と、
前記第1の画像情報の線幅と前記第2の画像情報の線幅をそれぞれ求める線幅検出工程と、
前記第1の画像情報の線幅より前記第2の画像情報の線幅の方が細い場合、前記第1の画像情報を細線化する、あるいは前記第2の画像情報を太線化する線幅調整工程と、
前記画像情報を印刷用紙に出力する出力工程と、
を宛名印刷装置に実行させるための宛名印刷プログラムを記録した記録媒体
A reading step of reading image information composed of first image information and second image information described in a document;
A storage step of storing the read image information;
A line width detection step for obtaining a line width of the first image information and a line width of the second image information, respectively;
When the line width of the second image information is narrower than the line width of the first image information, the line width adjustment is performed to thin the first image information or to thicken the second image information. Process,
An output step of outputting the image information to printing paper;
Is a recording medium on which an address printing program for causing the address printing apparatus to execute the program is recorded .
前記線幅検出工程は、前記第1の画像情報のプロジェクションと前記第2の画像情報のプロジェクションをそれぞれ生成し、生成したプロジェクションからそれぞれの線幅を求めること、
を特徴とする請求項7に記載の宛名印刷プログラムを記録した記録媒体
The line width detecting step generates a projection of the first image information and a projection of the second image information, and obtains each line width from the generated projection;
A recording medium recording the address printing program according to claim 7.
前記線幅検出工程は、前記画像情報を縦方向あるいは横方向に走査して黒画素を計数することで該画像情報のプロジェクションのヒストグラムを生成すること、
を特徴とする請求項8に記載の宛名印刷プログラムを記録した記録媒体
The line width detection step generates a histogram of the projection of the image information by scanning the image information in the vertical direction or the horizontal direction and counting black pixels.
A recording medium recording the address printing program according to claim 8.
前記線幅検出工程は、前記線幅を求めるためのプロジェクションが複数候補ある場合、プロジェクションが形成するヒストグラムの面積が最小であるプロジェクションを選択し、選択したプロジェクションから前記線幅を求めること、
を特徴とする請求項9に記載の宛名印刷プログラムを記録した記録媒体
The line width detecting step, when there are a plurality of projections for obtaining the line width, selecting a projection having the smallest area of the histogram formed by the projection, and obtaining the line width from the selected projection;
A recording medium recording the address printing program according to claim 9.
JP2000022950A 2000-01-31 2000-01-31 Address printing apparatus, address printing method, and recording medium recording address printing program Expired - Fee Related JP3847509B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000022950A JP3847509B2 (en) 2000-01-31 2000-01-31 Address printing apparatus, address printing method, and recording medium recording address printing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000022950A JP3847509B2 (en) 2000-01-31 2000-01-31 Address printing apparatus, address printing method, and recording medium recording address printing program

Publications (2)

Publication Number Publication Date
JP2001205854A JP2001205854A (en) 2001-07-31
JP3847509B2 true JP3847509B2 (en) 2006-11-22

Family

ID=18549180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000022950A Expired - Fee Related JP3847509B2 (en) 2000-01-31 2000-01-31 Address printing apparatus, address printing method, and recording medium recording address printing program

Country Status (1)

Country Link
JP (1) JP3847509B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6384079B2 (en) * 2014-03-25 2018-09-05 カシオ計算機株式会社 Handwritten layout detection printing apparatus and method

Also Published As

Publication number Publication date
JP2001205854A (en) 2001-07-31

Similar Documents

Publication Publication Date Title
US6176427B1 (en) Variable formatting of digital data into a pattern
EP1543981B1 (en) Hand-held printer
US6820807B1 (en) Variable formatting of digital data into a pattern
US20140097250A1 (en) Variable formatting of digital data into a pattern
KR20030005259A (en) Method and device for processing of information
JP2007116469A (en) Medium treatment method, copying device, and data filing device
JP2002522853A (en) Method for embedding inconspicuous encoded data in printed matter and system for reading the same
EP0843461A2 (en) Method for adding personalized text and/or graphics to composite digital image products
KR20170101125A (en) Information processing apparatus, information processing method, and storage medium
US20020028020A1 (en) Image processing device, image processing method, and image processing program
US20080239333A1 (en) Printing system
US7983485B2 (en) System and method for identifying symbols for processing images
US8416454B2 (en) Method for generating personalized documents
JP3847509B2 (en) Address printing apparatus, address printing method, and recording medium recording address printing program
JP2001232887A (en) Printer, printing method and computer readable recording medium having printing program recorded thereon
CN100511267C (en) Graph and text image processing equipment and image processing method thereof
JP3903110B2 (en) Method and system for creating print with message
JP3823005B2 (en) Bitmap font creation device and document restoration device
JPS5863263A (en) Image processor
JP2002292962A (en) Address printer, address printing system and address printing program
JP4983489B2 (en) Information processing apparatus and information processing program
JP2001217966A (en) Address printer, address print system, and recoding medium recording address print program
JPH1076732A (en) Mail address recorder
US9277090B2 (en) System and method of document reproduction
CN116797693A (en) Method and device for automatically generating business cards in other languages

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060314

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060421

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060808

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060823

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090901

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100901

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100901

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110901

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120901

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130901

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees