JPH02308200A - External character forming device - Google Patents

External character forming device

Info

Publication number
JPH02308200A
JPH02308200A JP1129053A JP12905389A JPH02308200A JP H02308200 A JPH02308200 A JP H02308200A JP 1129053 A JP1129053 A JP 1129053A JP 12905389 A JP12905389 A JP 12905389A JP H02308200 A JPH02308200 A JP H02308200A
Authority
JP
Japan
Prior art keywords
data
gradations
image data
characters
memory
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
JP1129053A
Other languages
Japanese (ja)
Inventor
Daisaku Kato
大作 加藤
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP1129053A priority Critical patent/JPH02308200A/en
Publication of JPH02308200A publication Critical patent/JPH02308200A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain the font data on characters, symbols, etc., which are practicably usable without requiring manual correction by converting original picture data of multiple gradations to data of the fewer multiple gradations, thereby forming the font data. CONSTITUTION:The characters, graphics, etc., of printed matter, etc., are first photographed by an image pickup means 1 consisting of, for example, a tele vision camera, scanner, etc., and the image data of the multiple gradations, for example, 256 gradations are obtd. The image data are provided with anti- aliasing information by optical and electrical filters. A converting means 3 consisting of a CPU, etc., compare the image data with the plural reference values and decreases the gradations thereof to 4 to 16. The data limited in the gradations are stored as the font data having the anti-aliasing information in a memory means 2, such as memory in this way. The parts to be zigzagged are, therefore, equiv. to the parts subjected to the anti-alias processing. The font data on the characters, symbols, etc., which are practically usable are obtd. without requiring the manual correction in this way.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はメモリにまだ記憶されていない新しい文字、
記号等を外字として新たに記憶させる外字作成装置に関
する。
[Detailed Description of the Invention] [Industrial Field of Application] This invention provides new characters that have not yet been stored in memory.
The present invention relates to a custom character creation device that newly stores symbols and the like as custom characters.

〔従来の技術〕[Conventional technology]

第2図は、コンピュータグラフィックシステム、ディジ
タルフォント作成システム等において文字データを作成
する場合の原理を表わしている。先ず印刷物等に表示さ
れている文字、記号等の原画像(第2図A)から、テレ
ビカメラやスキャナ等により、その画像のデータを得る
(第2図B)。このデータが所定の基準レベルと比較さ
れ、この基準レベル以上の部分は白、未満の部分は黒と
して2値化される(第2図C)、このデータがフォント
データとしてメモリ等に記憶される。
FIG. 2 shows the principle of creating character data in a computer graphics system, digital font creation system, etc. First, from an original image of characters, symbols, etc. displayed on a printed matter (FIG. 2A), image data is obtained using a television camera, scanner, etc. (FIG. 2B). This data is compared with a predetermined reference level, and parts above this reference level are binarized as white, and parts below this level are binarized as black (Figure 2 C). This data is stored in a memory, etc. as font data. .

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の装置はこのように、中間のレベルを2値のいずれ
かのレベルに振り分けてフォントデータを作成している
ため、そのデータに対応して表示した文字は、中間のレ
ベルの部分がギザギザに表示される欠点があった。この
ため2値化したデータから、正しいフォントデータを得
るには、人が修正を加えなければならず、大変な労力が
必要であった。
In this way, conventional devices create font data by dividing the intermediate level into one of the binary levels, so the characters displayed corresponding to that data are jagged at the intermediate level. There were drawbacks that were visible. Therefore, in order to obtain correct font data from the binarized data, a person must make corrections, which requires a great deal of effort.

この発明はこのような状況に鑑みてなされたもので、人
手による修正を必要とせずに実用に供し得る文字、記号
等のフォントデータが得られるようにしたものである。
The present invention was made in view of this situation, and is intended to make it possible to obtain font data of characters, symbols, etc. that can be put to practical use without requiring manual correction.

〔課題を解決するための手段〕[Means to solve the problem]

この発明の外字作成装置は、印刷さ九ている文字1図形
等を16階調を超える多階調の画像データに変換して出
力する撮像手段と、撮像手段より出力された画像データ
の階調を、より少ない4乃至16の多階調に変換する変
換手段と、変換手段により変換された多階調の画像デー
タを記憶する記憶手段とを備える。
The external character creation device of the present invention includes an imaging means for converting a printed character, figure, etc. into multi-gradation image data exceeding 16 gradations and outputting the image data, and a gradation level of the image data outputted from the imaging means. The image forming apparatus includes a converting means for converting the image into a smaller number of 4 to 16 gradations, and a storage means for storing the multi-gradation image data converted by the converting means.

〔作用〕[Effect]

例えばテレビカメラやスキャナー等よりなる撮像手段に
より、印刷物等の文字や図形が撮影され。
For example, characters and figures on printed matter are photographed using an imaging means such as a television camera or a scanner.

多階g(例えば256階!51)の画像データが得られ
る。
Image data of multiple floors g (for example, 256 floors! 51) is obtained.

これらの画像データは、光学的、電気的フィルタにより
、アンチェリアシング情報を持っている。
These image data have anchoring information due to optical and electrical filters.

CPU等よりなる変換手段は、この画像データを複数の
基準値と比較し、その階調を4乃至16に減少させる。
A conversion means, such as a CPU, compares this image data with a plurality of reference values and reduces the gradation to 4 to 16.

このように階調が限定されたデータがメモリ等の記憶手
段に、アンチェリアシング情報を有するフォントデータ
として記憶される。
Data with limited gradation in this manner is stored in a storage means such as a memory as font data having anchoring information.

このように、従来ではギザギザになる部分が、アンチェ
リアス処理されたのと等価になるため、人手による補正
は不要となる。
In this way, the conventionally jagged portions are equivalent to those that have been subjected to angelia processing, so manual correction is no longer necessary.

〔実施例〕〔Example〕

第3図はこの発明の外字作成装置の構成を表わしている
。1は撮像手段としてのスキャナーであり、印刷物に印
刷されている文字、記号等をスキャンし、多階調の画像
データを出力する。このスキャナー1に代え、テレビカ
メラを用い、その出力をA/D変換するようにしてもよ
い。
FIG. 3 shows the configuration of the external character creation device of the present invention. Reference numeral 1 denotes a scanner as an imaging means, which scans characters, symbols, etc. printed on printed matter and outputs multi-gradation image data. Instead of this scanner 1, a television camera may be used and its output may be A/D converted.

2は記憶手段としてのメモリであり、スキャナー1の出
力データを記憶する。3は変換手段としてのCPUであ
り、外字作成動作を制御する。4はCPU3に所定の動
作を指令、入力するとき操作される入力手段である。5
はCRT等よりなる表示装置であり、メモリ2に記憶さ
れたフォントデータに対応した文字、図形等を表示する
A memory 2 serves as a storage means, and stores output data of the scanner 1. 3 is a CPU as a conversion means, which controls the external character creation operation. Reference numeral 4 denotes an input means operated when instructing and inputting a predetermined operation to the CPU 3. 5
is a display device such as a CRT, which displays characters, graphics, etc. corresponding to the font data stored in the memory 2.

次に第4図乃至第6図のフローチャートを参照して、そ
の動作を説明する。
Next, the operation will be explained with reference to the flowcharts shown in FIGS. 4 to 6.

入力手段4を操作すると、CPU3はスキャナー1を制
御し、図示せぬ印刷物に印刷されている文字、記号等を
スキャンさせる。このとき例えば第7図に示すような画
像データが得られ、この画像データはメモリ2に記憶さ
れる。
When the input means 4 is operated, the CPU 3 controls the scanner 1 to scan characters, symbols, etc. printed on a printed matter (not shown). At this time, for example, image data as shown in FIG. 7 is obtained, and this image data is stored in the memory 2.

CPU3は先ず、処理するエリア(第7図において幅W
、高さHで囲んだ部分)Eのスタート点(左上の点)P
のX座標とX座標を、変数XとYに設定する(ステップ
S1、S2)、またエリアEの幅と高さを変数WとHに
各々設定する(S3、S4)。次にライン処理のサブル
ーチンを実行した後、変数Yを1だけインクリメントす
る(S5、S6)。変数Yは変数Hと比較され1両者が
一致するまでライン処理が実行される(S7)。
The CPU 3 first selects an area to be processed (width W in FIG. 7).
, the starting point of E (the part surrounded by height H) (top left point) P
The X coordinate and X coordinate of are set to variables X and Y (steps S1 and S2), and the width and height of area E are set to variables W and H, respectively (steps S3 and S4). Next, after executing the line processing subroutine, the variable Y is incremented by 1 (S5, S6). Variable Y is compared with variable H, and line processing is executed until both match (S7).

第5図はライン処理のサブルーチンを表わしている。先
ず変数nがOにセットされた後、ピクセル処理が実行さ
れる(S11.512)、ビクセル処理終了後、変数n
が1だけインクリメントされ、変数Wと比較される。ビ
クセル処理は変数nが変数Wと一致するまで実行される
(S14)。
FIG. 5 shows a line processing subroutine. First, the variable n is set to O, and then pixel processing is executed (S11.512). After the pixel processing is completed, the variable n
is incremented by 1 and compared with variable W. The vixel process is executed until the variable n matches the variable W (S14).

第6図はピクセル処理のサブルーチンを表わしている。FIG. 6 represents the pixel processing subroutine.

ここでypはビクセルの輝度、LBは黒とするレベル、
LWは白とするレベルを、各々表わしている。
Here, yp is the pixel brightness, LB is the black level,
LW represents the level of white.

尚、フォントを形成するアンチェリアシング情報は輝度
信号より得られ、色情報は不要である。
Note that the anchoring information forming the font is obtained from the luminance signal, and color information is not necessary.

そこでR,G、Bの3原色よりなるカラー画像の場合は
、次式で輝度データが演算される。
Therefore, in the case of a color image consisting of the three primary colors R, G, and B, the luminance data is calculated using the following equation.

Yp=0.3R+0.6G+0.1B 先ず変数YpとLWが比較され、変数ypの方が大きけ
れば、変数Aに値7が設定される(S21.525)。
Yp=0.3R+0.6G+0.1B First, the variable Yp and LW are compared, and if the variable yp is larger, the value 7 is set to the variable A (S21.525).

同様に変数YpとLBが比較され、変数ypの方が小さ
ければ、変数Aに値0が設定される(S22.526)
、変数YpがI、Bより大きく、LWより小さいとき、
変数Aに値8 (Yp−LB)/(LM−LB)が設定
される(S23)。
Similarly, variables Yp and LB are compared, and if variable yp is smaller, the value 0 is set to variable A (S22.526)
, when the variable Yp is larger than I, B and smaller than LW,
The value 8 (Yp-LB)/(LM-LB) is set to variable A (S23).

すなわち例えば第8図に示すように、1ピクセルの輝度
が8ビツトのデータ(256段階の階m)としてメモリ
2に記憶されているとき、この256の階調は第9図に
示すように、0から7までの8段階に区分され、その区
分(変数A)に対応して所定のレベルが設定される(S
 24)。
For example, as shown in FIG. 8, when the luminance of one pixel is stored in the memory 2 as 8-bit data (256 levels m), the 256 gradations are as shown in FIG. It is divided into eight stages from 0 to 7, and a predetermined level is set corresponding to the division (variable A).
24).

例えば第1図Aに示すような原画像から、同図Bに示す
ような画像データがスキャナー1により得られたとする
と、同図Cに示すように、殆んど同図已に示す場合と同
一のデータがフォントデータとされる。
For example, if image data as shown in FIG. 1B is obtained from the original image shown in FIG. 1A using the scanner 1, as shown in FIG. The data is considered to be font data.

このようにして得られたフォントデータがメモリ2に最
終的に記憶される。
The font data obtained in this way is finally stored in the memory 2.

入力手段4を操作して所定の入力を行なうと、CPU3
はメモリ2に記憶されているフォントデータを読み出さ
せ、表示装置5に表示させる。
When the input means 4 is operated and a predetermined input is made, the CPU 3
causes the font data stored in the memory 2 to be read out and displayed on the display device 5.

上記実施例の場合、フォントデータの階調を8としたが
、この値を大きくすればそれだけ原画像に近い画像を得
ることができるが、メモリ2の容量がそれだけ大きくな
る。またあまり小さすぎるとエリアシングが発生する。
In the case of the above embodiment, the gradation level of the font data is set to 8, but if this value is increased, an image closer to the original image can be obtained, but the capacity of the memory 2 becomes correspondingly larger. Also, if it is too small, aliasing will occur.

そこでフォントデータとしては4から16の間の所定値
に設定するのが好ましい。
Therefore, it is preferable to set the font data to a predetermined value between 4 and 16.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、多階調の原画像データ
を、4乃至16階調のデータに変換してフォントデータ
を生成するようにしたので、修正を必要とせず、短時間
でアンチェリアスフォントを得ることができる。
As described above, according to the present invention, font data is generated by converting multi-gradation original image data into data with 4 to 16 gradations. You can get real fonts.

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

第1図はこの発明の画像データ処理を説明する波形図、
第2図は従来の画像データ処理を説明する波形図、第3
図はこの発明の外字作成装置のブロック図、第4図乃至
第6図は第3図の装置のフローチャート、第7図はメモ
リの説明図、第8図は第3図のスキャナーの出力の説明
図、第9図は第3図のメモリに記憶されるデータの説明
図である。 1・・スキャナー、2・・・メモリ、3・・・CPU、
4・・・入力手段、5・・・表示装置。 特許出願人 日本ビクター株式会社 代表者 埋木 邦夫 第1図 第2図 第4図
FIG. 1 is a waveform diagram illustrating image data processing of the present invention.
Figure 2 is a waveform diagram explaining conventional image data processing, and Figure 3 is a waveform diagram explaining conventional image data processing.
The figure is a block diagram of the external character creation device of the present invention, FIGS. 4 to 6 are flowcharts of the device in FIG. 3, FIG. 7 is an explanatory diagram of the memory, and FIG. 8 is an explanation of the output of the scanner in FIG. 3. FIG. 9 is an explanatory diagram of data stored in the memory of FIG. 3. 1...Scanner, 2...Memory, 3...CPU,
4... Input means, 5... Display device. Patent applicant: Victor Japan Co., Ltd. Representative: Kunio Umiki Figure 1 Figure 2 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 印刷されている文字、図形等を16階調を超える多階調
の画像データに変換して出力する撮像手段と、前記撮像
手段より出力された前記画像データの階調を、より少な
い4乃至16の多階調に変換する変換手段と、前記変換
手段により変換された多階調の画像データを記憶する記
憶手段とを備える外字作成装置。
an imaging device that converts printed characters, figures, etc. into multi-gradation image data exceeding 16 gradations and outputs the image data; What is claimed is: 1. An external character creation device comprising: a conversion means for converting into multi-tone image data; and a storage means for storing multi-tone image data converted by the conversion means.
JP1129053A 1989-05-23 1989-05-23 External character forming device Pending JPH02308200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1129053A JPH02308200A (en) 1989-05-23 1989-05-23 External character forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1129053A JPH02308200A (en) 1989-05-23 1989-05-23 External character forming device

Publications (1)

Publication Number Publication Date
JPH02308200A true JPH02308200A (en) 1990-12-21

Family

ID=14999922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1129053A Pending JPH02308200A (en) 1989-05-23 1989-05-23 External character forming device

Country Status (1)

Country Link
JP (1) JPH02308200A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0547634A2 (en) * 1991-12-18 1993-06-23 Eastman Kodak Company Enhancement of digital images for electronic displays

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0547634A2 (en) * 1991-12-18 1993-06-23 Eastman Kodak Company Enhancement of digital images for electronic displays

Similar Documents

Publication Publication Date Title
US6226400B1 (en) Defining color borders in a raster image by identifying and breaking contrast ties
KR100258919B1 (en) Dithering circuit and method
JPS62502432A (en) Apparatus and method for changing color digital image
JPS6262391A (en) Improvement in image quality for crt display
US6728399B1 (en) Method and apparatus for defining color borders in a raster image by identifying and breaking contrast ties
JP3332151B2 (en) Electronic processing device for processing digital image data and method for processing digital image data
JPH01321578A (en) Picture display system
US5615281A (en) Method of and apparatus for generating reduced image
US6324300B1 (en) Defining color borders in a raster image
JPH02308200A (en) External character forming device
JP2002118737A (en) Image converter and image conversion method
JP3560657B2 (en) Graphic data unit for digital television receiver and method of using digital television receiver
JP2589953B2 (en) Character and image data generation apparatus and method
JPH04128882A (en) External character producing device
JPH03289267A (en) Intermediate tone picture data display system
JPS60163080A (en) Image reduction display processing system
JPS63108379A (en) Contrast converter
JPH08272351A (en) Picture processor
JPH01114159A (en) Intermediate tone picture processing method
JPH0462395B2 (en)
JPH0370365A (en) Correcting device for gradation level of image data
JP2004177887A (en) Display device, character image generating device, character image display program, computer readable recording medium with the character image display program recorded thereon, and character image display method
JPH02253767A (en) Gradation picture dot output device
JPS62266974A (en) Picture output device
JPH06324672A (en) Picture processor