JPH0237391A - Image interpolating system - Google Patents

Image interpolating system

Info

Publication number
JPH0237391A
JPH0237391A JP63185397A JP18539788A JPH0237391A JP H0237391 A JPH0237391 A JP H0237391A JP 63185397 A JP63185397 A JP 63185397A JP 18539788 A JP18539788 A JP 18539788A JP H0237391 A JPH0237391 A JP H0237391A
Authority
JP
Japan
Prior art keywords
font
position information
bit
font data
interpolation position
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
JP63185397A
Other languages
Japanese (ja)
Inventor
Azusa Taise
鯛瀬 あづさ
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63185397A priority Critical patent/JPH0237391A/en
Publication of JPH0237391A publication Critical patent/JPH0237391A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To form an image having a good quality by interpolating font data and rules lines between fonts by interpolating position information conforming to a font pitch designation and a line density designation. CONSTITUTION:In the case of transferring font data to a bit map display 9 through a bit map display control circuit 3, interpolating position information in the X direction and the Y direction which has been stored in memories 4, 6 is given to a bit copy control circuit 8. Subsequently, by a control of this bit copy control circuit 8, data extending from a part where a bit of the interpolating position has been set to a part where the next bit has been set is displayed. That is, data in which the bit of the interpolating position information has been set is copied. As for this interpolating position information, an appropriate binary sequence is selected by a pitch designation and a line density designation. In such a way, an image having a good quality can be displayed on the bit map display.

Description

【発明の詳細な説明】 〔概  要〕 フォントとフォントの間の空白を線分で繋ぐ画像補間方
式に関し、 行密度やフォントピンチ変化に対応する制御情報を用い
て良質な画像を形成する画像補間方式を提供することを
目的とし、 入力装置から入力した2(fi両画像処理装置を介して
出力装置に出力する画像処理システムにおいて、ビット
マツプディスプレイの各ビットに対応するビットの集合
であるフォントデータを格納するフォントデータ格納手
段と、フォント指定信号に従って前記フォントデータ格
納手段からフォントデータを選択するフォントデータ選
択手段と、表示されるフォントのX方向のビットをコピ
ーするかどうかの制御情報2を格納するX方向補間位置
情報格納手段と、表示されるフォントのY方向のビット
をコピーするかどうかの制御情報を格納するY方向補間
位置情報格納手段と、フォントピッチ指定信号を受け、
前記X方向補間位置情報格納手段から指定されたフォン
トピッチに対応する制御情報を選択するX方向補間位置
系列選択手段と、行密度指定信号を受け、前記Y方向捕
間位置情報格納手段から指定された行密度指定に対応す
る制御情報を選択するY方向補間位置情報系列選択手段
と、前記フォントデータ格納手段から読み出されたフォ
ントデータをビットマツプディスプレイ装置に表示する
ための制御を実行するビットマツプディスプレイ制御手
段と、前記X方向またはY方向補間位置情報の制御情報
の各ビットの情報に従って前記フォントデータのビット
をX方向またはY方向にビットコピーするかどうかを制
御するビットコピー制御手段とを有し、フォントピッチ
指定と行密度指定に従う補間位置情報によりフォントデ
ータおよびフォント間の罫線間を補間するように構成す
る。
[Detailed Description of the Invention] [Summary] Regarding an image interpolation method that connects spaces between fonts with line segments, image interpolation that forms high-quality images using control information that corresponds to changes in line density and font pinch. In an image processing system that inputs from an input device and outputs it to an output device via two image processing devices, font data, which is a set of bits corresponding to each bit of a bitmap display, is font data storage means for storing font data; font data selection means for selecting font data from the font data storage means according to a font designation signal; and control information 2 for determining whether to copy bits in the X direction of the displayed font. an X-direction interpolation position information storage means for storing control information on whether or not to copy Y-direction bits of the displayed font; and a Y-direction interpolation position information storage means for receiving a font pitch designation signal;
X-direction interpolation position series selection means for selecting control information corresponding to a specified font pitch from the X-direction interpolation position information storage means; Y-direction interpolation position information series selection means for selecting control information corresponding to specified line density; and a bitmap for controlling display of font data read from the font data storage means on a bitmap display device. A display control means, and a bit copy control means for controlling whether or not the bits of the font data are bit-copied in the X direction or the Y direction according to the information of each bit of the control information of the X direction or Y direction interpolation position information. The font data and between ruled lines between fonts are interpolated based on interpolation position information according to font pitch specification and line density specification.

〔産業上の利用分野〕[Industrial application field]

本発明は入力装置から入力した2値画像を処理装置を介
して出力装置に出力する画像処理システムに係り、更に
詳しくはフォントとフォントの間の空白を線分で繋ぐ画
像補間方式に関する。
The present invention relates to an image processing system that outputs a binary image input from an input device to an output device via a processing device, and more particularly to an image interpolation method that connects blank spaces between fonts with line segments.

最近、スキャナやファクシミリ等の入力装置から人力し
た2値画像(以下単に画像という)をホストコンピュー
タに入れ、その画像をデイスプレィ、プリンタ、ファク
シミリ等の出力装置から出力する等、画像処理に関する
ネットワーク化が進んでいる。又、各装置はより鮮明な
画像を得るためさまざまな画素密度を保用する傾向にあ
り、各装置では文字等のフォントに対する縮小や拡大等
の処理を高機能に行うことができるようになってきた0
画像を処理する画像システムでは、ビットマツプメモリ
のビットとビットマツプディスプレイの1画素が1対l
に対応し、ビットマツプメモリ上の情報を変えることに
より画像処理を行っている。このようなシステムにおい
て、ドツトパターンの集合であるフォントを使用して文
字等を展開する場合、フォントの大きさ或いはフォント
とフォントの間隔は行密度指定やピッチ指定で変えるこ
とかできる。このとき、拡大処理等においては、フォン
トとフォントの間に空白部分ができると、ドツトの数を
増やし、その空白部分を線分で繋なぐことにより、罫線
間を補間している。
Recently, networking for image processing has become popular, such as inputting manually generated binary images (hereinafter simply referred to as images) from input devices such as scanners and facsimiles into a host computer, and outputting the images from output devices such as displays, printers, and facsimiles. It's progressing. In addition, each device tends to maintain various pixel densities in order to obtain clearer images, and each device has become capable of highly functional processing such as reducing and enlarging characters and other fonts. Ta0
In an image system that processes images, there is a one-to-one ratio between a bit in a bitmap memory and a pixel in a bitmap display.
In response to this, image processing is performed by changing the information on the bitmap memory. In such a system, when characters are developed using a font that is a collection of dot patterns, the size of the font or the spacing between fonts can be changed by specifying line density or pitch. At this time, in enlargement processing, etc., when a blank space is created between fonts, the number of dots is increased and the blank spaces are connected with line segments to interpolate between ruled lines.

〔従来の技術〕[Conventional technology]

従来、この種の罫線間の画像補間方式には、フォントの
1番端の1ドツトを繰り返しコピーする終端ドツトコピ
一方式、罫線間をベクトルで引く罫線間ベクトル方式、
ドツトパターンを認識しておき、そのドツトパターンに
合う補間パターンを埋めるパターン認識方式等がある。
Conventionally, this type of image interpolation method between ruled lines includes one method of end dot copying, which repeatedly copies the first dot of the font, a vector method between ruled lines, which draws a vector between ruled lines, and
There are pattern recognition methods that recognize a dot pattern and fill in an interpolation pattern that matches the dot pattern.

第7図は従来の終端ドツトコピ一方式の説明図である。FIG. 7 is an explanatory diagram of a conventional end dot copy method.

左側の図はフォント幅と文字ピッチが等しい場合で、こ
れを右側の図のようにフォント幅よりも文字ピッチが太
き(なるように変化させる場合の図である。左側の場合
はフォントAとフォントBは接しているが、右側の場合
には、フォントAとフォントBの間には空白が生じる。
The figure on the left shows a case where the font width and character pitch are equal, and the figure on the right shows a case where the character pitch is thicker than the font width.In the case on the left, font A and Font B is in contact with font B, but on the right side, there is a blank space between font A and font B.

第7図(a)は、実線の場合である。同図(a)のよう
に実線である場合には、フォントAの実線の終端は黒ド
ツトであるから、この黒ドツトでフォントAとフォント
Bの間を埋めるので、実線は実線となる。しかし、同図
(b)の点線の場合には、フォントAの右端の罫線上の
データは白ドツトであり、この白ドツトで罫線間を接続
することになる。その結果は右側の図のように、文字ピ
ッチが長くなると、フォントとフォントの間は白ドツト
で埋められる。
FIG. 7(a) shows the case of the solid line. In the case of a solid line as shown in FIG. 5A, the end of the solid line of font A is a black dot, and the space between font A and font B is filled with this black dot, so that the solid line becomes a solid line. However, in the case of the dotted line shown in FIG. 6B, the data on the rightmost ruled line of font A is a white dot, and this white dot connects the ruled lines. As shown in the figure on the right, as the character pitch becomes longer, the spaces between the fonts are filled with white dots.

また、同図(C)の場合には、フォノl−Aの終端ドツ
トは黒ドツトであるから黒ドツトでフォント間が埋めら
れる。さらに、同図(d)は斜めの線がある場合で、フ
ォントAの罫線と斜めの線の図形の交点は黒ドツトであ
って、文字ピッチの変化により、その罫線間は黒ドツト
で結ばれる。
Furthermore, in the case of FIG. 2C, since the terminal dot of phono L-A is a black dot, the spaces between the fonts are filled with black dots. Furthermore, in the same figure (d), there is a diagonal line, and the intersection of the ruled line of font A and the figure of the diagonal line is a black dot, and due to the change in character pitch, the ruled lines are connected by black dots. .

第8図はフォント幅よりも文字ピッチを大きくした場合
のフォントデータそのものの拡大を示す説明図である。
FIG. 8 is an explanatory diagram showing the expansion of font data itself when the character pitch is made larger than the font width.

同図(a)ではフォントデータは横方向に走る点線が示
され、各点線の黒ドツト数を増やしでも、文字ピッチの
拡大に対応して図形が乱れない。しかし、同図(b)の
場合には、フォントデータには縦方向に走る黒ドツトが
あるので、文字ピッチ数の拡大の倍率骨だけその縦のデ
ータ線が太くなる。
In FIG. 5A, the font data shows dotted lines running in the horizontal direction, and even if the number of black dots in each dotted line is increased, the graphics will not be disturbed in response to the enlargement of the character pitch. However, in the case of FIG. 6B, since the font data has black dots running in the vertical direction, the vertical data line becomes thicker by the magnification factor of increasing the character pitch number.

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

このように従来の終端ドツトコピ一方式では、フォント
データの終端のドツトが1ならばすべて黒に、0ならば
すべて白になるように罫線間を埋めるため、点線や斜め
の線の場合には画質が劣下するという問題点が生じてい
た。また、従来の罫線間ベクトル方式ではフォントデー
タは文字コードでくるため、あらかじめコード毎のファ
ームウェアを持つ必要があり、データ量が増えるだけで
なく、ユーザがパターンの入れ換えに対応できなくなる
等の問題がある。さらに従来のドツトパターン認識方式
はファームウェアの処理に多くの時間がかかるため実用
的でない程の複雑な処理が必要となるという問題点が生
じていた。
In this way, in the conventional end dot copy method, the space between ruled lines is filled in such a way that if the end dot of the font data is 1, it becomes all black, and if it is 0, it becomes all white. A problem arose in that the quality was degraded. In addition, in the conventional line-to-line vector method, font data comes in character codes, so it is necessary to have firmware for each code in advance, which not only increases the amount of data but also causes problems such as the user not being able to change patterns. be. Furthermore, the conventional dot pattern recognition method requires a lot of time for firmware processing, resulting in an impractically complex process.

本発明は行密度やフォントピッチ変化に対応する制御情
報を用いて良質な画像を形成することを目的とする。
An object of the present invention is to form high-quality images using control information corresponding to changes in line density and font pitch.

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

第1図は本発明の構成図である。 FIG. 1 is a block diagram of the present invention.

本発明は、入力装置から入力した2値画像を処理装置を
介して出力装置に出力する画像処理システムにおいて、
フォントデータ格納手段lは、ビットマツプディスプレ
イの各ビットに対応するビットの集合であるフォントデ
ータを格納するもの、フォントデータ選択手段2は、フ
ォント指定信号に従って前記フォントデータ格納手段l
からフォントデータを選択するもの、X方向補間位置情
報格納手段4は、ビットマツプディスプレイに表示され
る各フォントのX方向のビットをコピーするかどうかの
制御情報を格納するもの、Y方向補間位置情報格納手段
6は、表示されるフォントのY方向のビットをコピーす
るかどうかの制御情報を格納するもの、X方向補間位置
系列選択手段5は、フォントピッチ指定信号を受け、前
記X方向補間位置情報格納手段4から指定されたフォン
トピッチに対応する制御情報を選択するもの、Y方向補
間位置情報系列選択手段7は、行密度指定信号を受け、
前記Y方向補間位置情報補間格納手段6から指定された
行密度指定に対応する制御情報を選択するもの、ビット
マツプディスプレイ制御手段3は、前記フォトデータ格
納手段1から読み出されたフォントデータをビットマツ
プディスプレイ装置に表示する制御を実行するもの、ビ
ットコピー制御手段8は、前記X方向またはY方向補間
位置情報の制御情報の各ビットの情報に従って前記フォ
ントデータのビットをX方向またはY方向にビットコピ
ーするかどうかを制御するもので、本発明は、フォント
ピッチ指定と行密度指定に従う補間位置情報によりフォ
ントデータと隣接するフォント間の罫線間を補間するよ
うに構成される。
The present invention provides an image processing system that outputs a binary image input from an input device to an output device via a processing device.
The font data storage means 1 stores font data which is a set of bits corresponding to each bit of the bitmap display, and the font data selection means 2 selects the font data storage means 1 according to a font designation signal.
The X-direction interpolation position information storage means 4 stores control information on whether to copy the X-direction bits of each font displayed on the bitmap display, and the Y-direction interpolation position information. The storage means 6 stores control information on whether to copy bits in the Y direction of the displayed font, and the X direction interpolation position series selection means 5 receives the font pitch designation signal and selects the X direction interpolation position information. The Y-direction interpolation position information series selection means 7, which selects control information corresponding to the designated font pitch from the storage means 4, receives the line density designation signal;
The bit map display control means 3, which selects control information corresponding to the specified line density designation from the Y-direction interpolation position information interpolation storage means 6, converts the font data read from the photo data storage means 1 into bits. Bit copy control means 8, which executes control to display on a map display device, copies bits of the font data in the X direction or Y direction according to each bit of the control information of the X direction or Y direction interpolation position information. This invention controls whether or not to copy, and is configured to interpolate between font data and ruled lines between adjacent fonts using interpolation position information according to font pitch specification and line density specification.

〔作   用〕[For production]

本発明では各フォントを囲む通常の2次元的ボデイフェ
イスのさらに外側に補間位置情報のビットを付加し、こ
の制御情報の2値系列のビットの有無により各フォント
のX方向及びY方向の各ビットに対してビットコピーす
るかどうかを制御し、適切に補間処理を実行する。
In the present invention, bits of interpolation position information are added to the outside of the normal two-dimensional body face surrounding each font, and each bit in the X direction and Y direction of each font is determined by the presence or absence of a binary series bit of this control information. Controls whether or not to copy bits for , and performs interpolation processing appropriately.

〔実  施  例〕〔Example〕

次に本発明の実施例を図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第2図は本発明の補間位置情報つき拡張フォントデータ
のデータ構造図である。本発明では各フォントを囲む2
次元のボディフェイス10の更に外側に補間位置情報の
ビットを付加し拡張フォントデータとする。ここでは、
列方向に格納された補間位置情報データをY方向補間位
置情報11と呼び、行方向に格納されたものをX方向補
間位置情報12.13と呼ぶことにする。Y方向補間位
置情報11やX方向補間位置情報12.13は補間のし
かたにより複数の列あるいは複数の行からなり、それぞ
れの2値系列は与えられたフォント、行密度、ピッチに
よって異なる。
FIG. 2 is a data structure diagram of extended font data with interpolation position information according to the present invention. In the present invention, each font is surrounded by two
Bits of interpolation position information are added to the outside of the dimensional body face 10 to form extended font data. here,
The interpolated position information data stored in the column direction will be referred to as Y-direction interpolated position information 11, and the data stored in the row direction will be referred to as X-direction interpolated position information 12.13. The Y-direction interpolated position information 11 and the X-direction interpolated position information 12, 13 consist of a plurality of columns or a plurality of rows depending on the interpolation method, and each binary series differs depending on the given font, line density, and pitch.

例えば2400 P Iで9ポイントのフォントに対し
、行密度は6LPIと8LPIの2種類、文字ピッチは
5 CP I、20/3 CP I、 8 CP Iの
3種類が指定できるものとする。ここで記号DPIはド
ツト/インチ、LPIはライン数/インチ、CPIはキ
ャラクタ数/インチを表すものである。
For example, for a 2400 PI and 9 point font, two types of line densities, 6LPI and 8LPI, and three types of character pitches, 5 CP I, 20/3 CP I, and 8 CP I, can be specified. Here, the symbol DPI stands for dots/inch, LPI stands for lines/inch, and CPI stands for characters/inch.

Y方向補間位置情報11は行密度によって異なる2値系
列となるため、6LPIに対応するY方向補間位置情報
及び8LPIに対応するY方向補間位置情報とが存在す
る。またX方向補間位置情報12.13はインチあたり
のキャラクタ数によって異なるため、5CPI用のもの
、20/3 CP I用のもの、及びBCPI用のもの
との3種類がある。
Since the Y-direction interpolation position information 11 is a binary series that differs depending on the row density, there is Y-direction interpolation position information corresponding to 6LPI and Y-direction interpolation position information corresponding to 8LPI. Furthermore, since the X-direction interpolated position information 12.13 differs depending on the number of characters per inch, there are three types: one for 5CPI, one for 20/3 CPI, and one for BCPI.

例えば、第3図のY方向補間位置情報11は6LPIに
対応する2値系列であり、X方向補間位置情報12.1
3の第1番目は20/a CP I用であり、第2番目
のX方向補間位置情報13は5CPI用の2値系列であ
るとする。
For example, the Y-direction interpolated position information 11 in FIG. 3 is a binary series corresponding to 6LPI, and the X-direction interpolated position information 12.1
3 is for 20/a CP I, and the second X-direction interpolated position information 13 is a binary series for 5 CPI.

ボディフェイス内にある240DPIで9ポイントのフ
ォントを6LPI用に行密度変換する場合には、フォン
トデータのあるメモリからまずボディフェイス10の内
部のみを取り出し、実際のビットマツプメモリ上に展開
する。このとき、本発明では6LPI用のY方向補間位
置情報11を参照しながら、縦方向のデータがビットの
立っているラインのみコピーされるという方法で展開さ
れる。また、同様に横方向に対しては例えば5CPI用
すなわち1インチ当たり5個のキャラクタ数で展開され
る場合には、第2番目のX方向補間位置情報13を用い
てそのビットの立っている列のみビットがコピーされる
という方法で展開される。
When converting the line density of a 240DPI, 9 point font in the body face to 6LPI, first, only the inside of the body face 10 is taken out from the memory containing the font data, and expanded onto the actual bitmap memory. At this time, according to the present invention, data in the vertical direction is developed in such a way that only lines where bits are set are copied while referring to the Y-direction interpolation position information 11 for 6LPI. Similarly, in the horizontal direction, for example, when expanding for 5 CPI, that is, 5 characters per inch, the second X-direction interpolation position information 13 is used to determine the column where the bit is It is expanded in such a way that only the bits are copied.

第3図は、本発明の処理過程を示す説明図である。すな
わち、フォント幅と文字ピッチ数が等しく、さらにフォ
ントの高さが行密度に等しい場合のフォントデータ(同
図(a))を取り、出し、ボディフェイスlOの外側に
格納されたX方向補間位置情報12.13およびY方向
補間位置情報11を用いて展開する過程(同図(b)、
 (C))を示す。結果は同図(C)に示され、良質な
画像となる。例えば、行密度は6LPIで行う場合には
第3図(a)のY方向補間位置情報11の各ビットを読
み、フォントを含む各ボディフェイス内部に対してコピ
ーするかどうかをそのビットで制御する。例えば第3図
(a)のY方向補間位置情報11に従えば、コピー動作
に対してコピーなし、コピーなし、コピーなし、コピー
する、コピーする、コピーしない、コピーする、・・・
・コピーする、コピーしない、となる。また、行方向に
致しては5CPIに従うものとすれば、第3図(a)の
下側のX方向補間位置情報13に従って、コピーの有無
が決定され、コピーしない、コピーする、コピーする、
コピーしない、コピーする、コピーする、コピーしない
、・・・コピーしない、コピーするという具合になる。
FIG. 3 is an explanatory diagram showing the processing process of the present invention. In other words, the font data when the font width and the number of character pitches are equal and the font height is equal to the line density is taken and output ((a) in the same figure), and the X-direction interpolation position stored outside the body face IO is The process of developing using the information 12.13 and the Y-direction interpolated position information 11 ((b) in the same figure,
(C)) is shown. The result is shown in the same figure (C), and a good quality image is obtained. For example, if the line density is 6LPI, read each bit of the Y-direction interpolation position information 11 in Figure 3(a), and use that bit to control whether or not to copy inside each body face including the font. . For example, according to the Y-direction interpolation position information 11 in FIG. 3(a), for copy operations, there are no copies, no copies, no copies, copies, copies, no copies, copies, etc.
・Copy or not copy. Furthermore, if 5CPI is followed in the row direction, the presence or absence of copying is determined according to the X-direction interpolation position information 13 on the lower side of FIG.
Don't copy, copy, copy, don't copy...don't copy, copy.

このようなコピー動作を繰り返すことによって指定され
た行密度6LPI及び文字ピッチ5CPIに対応するフ
ォントが各ボディフェイスに対して実行され、その結果
が第3図(C)のようになり、この拡大図形は良質な画
像となる。
By repeating this copying operation, a font corresponding to the specified line density of 6LPI and character pitch of 5CPI is applied to each body face, and the result is as shown in Figure 3 (C), and this enlarged figure results in a high quality image.

次に第4図は本発明の画像補間方式の機能ブロック図で
ある。第4図(a)のステップ14において文字コード
を1つ読み込み、ステップ15においてそれが補間処理
の必要な文字コードであるかどうかの判定を行い、もし
そうでなければビットムーバ(BMV)を用いてビット
マツプディスプレイ上にこの文字コードに対応するドツ
トを展開する。ステップ15において、もし文字コード
が補間すべきものである場合には、ステップ16におい
て、まずX方向の補間処理を行い、次にステップ17に
移り、Y方向の補間処理を行って、ビットマツプディス
プレイ上に展開する。
Next, FIG. 4 is a functional block diagram of the image interpolation method of the present invention. In step 14 of FIG. 4(a), one character code is read, and in step 15 it is determined whether or not it is a character code that requires interpolation processing. If not, a bit mover (BMV) is used. to expand the dot corresponding to this character code on the bitmap display. In step 15, if the character code is to be interpolated, step 16 first performs interpolation processing in the X direction, then moves to step 17, performs interpolation processing in the Y direction, and displays the bitmap display Expand to.

ここで、ステップ16のX方向の補間処理は第4図Φ)
に示される動作に従う、このX方向補間処理フローのス
テップ19において、まずX方向補間位置情報のビット
系列をバッファヘセットする。
Here, the interpolation process in the X direction in step 16 is shown in Fig. 4 Φ)
In step 19 of this X-direction interpolation processing flow according to the operation shown in FIG.

例えば、5CPIの文字ピッチで行う場合には、第3図
(a)の第2番目のX方向補間位置情報13をバッファ
へセントする。指定された文字コードのビットマツプデ
ィスプレイ上のスタートアドレスとディスティネーショ
ンアドレスをセットし、Y方向のレングスは固定にする
。なお、ここで、ピントムーバ(BMV)による補間処
理はビット単位による矩形移動で行うため、ビットムー
バにセットする情報はソースSのスタートアドレス(X
For example, if the character pitch is 5 CPI, the second X-direction interpolation position information 13 shown in FIG. 3(a) is sent to the buffer. Sets the start address and destination address on the bitmap display for the specified character code, and fixes the length in the Y direction. Note that here, since the interpolation process by the focus mover (BMV) is performed by rectangular movement in bit units, the information set in the bit mover is based on the start address (X
.

Y)とレングス(ΔX、ΔY)及びディスティネーショ
ンDのスタートアドレス(X、Y)とレングス(ΔX、
ΔY)である。
Y) and length (ΔX, ΔY) and the start address (X, Y) and length (ΔX, ΔY) of destination D.
ΔY).

第4図(C)は本発明に用いられるビットムーバによる
矩形移動の説明図である。同図において28はX方向補
間位置情報の2値系列であり、黒く塗っであるところが
1で白い部分が0であると仮定する。21はビットマツ
プディスプレイ上に展開されるフォントデータの領域で
ある。30と31はフォントデータ29の部分領域であ
り、本発明の補間処理に従ってそれぞれ32と33の領
域にコピーされる矩形領域である。各矩形領域30と3
1は左上隅の点と右下隅の点のアドレスを与えることに
より一位に矩形として決定される。今、左隅の点のコピ
ー前のアドレスをソースアドレスSとし、コピーした後
の矩形32の左隅のアドレスをディスティネーションア
ドレスDとする。本発明に従って補間処理を行う場合に
は、ソースアドレスSからディスティネーションアドレ
スDに変えると、X方向補間位置情報によって矩形が行
方向に変化する。例えば、X方向補間位置情報が28に
示されるようになっている場合、矩形30は32にその
ままコピーされる。ところが、矩形31は横の長さが行
補間位置情報28の魚卵から次の魚卵までの長さになる
ようにコピーされる。
FIG. 4(C) is an explanatory diagram of rectangular movement by the bit mover used in the present invention. In the figure, 28 is a binary series of X-direction interpolated position information, and it is assumed that the black areas are 1 and the white areas are 0. Reference numeral 21 denotes an area for font data developed on the bitmap display. 30 and 31 are partial areas of the font data 29, which are rectangular areas that are copied to areas 32 and 33, respectively, according to the interpolation process of the present invention. Each rectangular area 30 and 3
1 is determined as a rectangle in the first place by giving the addresses of the upper left corner point and the lower right corner point. Now, let the address of the left corner point before copying be the source address S, and the address of the left corner of the rectangle 32 after copying be the destination address D. When performing interpolation processing according to the present invention, when the source address S is changed to the destination address D, the rectangle changes in the row direction depending on the X-direction interpolation position information. For example, if the X-direction interpolation position information is as shown in 28, rectangle 30 is copied as is to 32. However, the rectangle 31 is copied so that the horizontal length is equal to the length from the roe to the next roe in the row interpolation position information 28.

そのため共通領域34が矩形32と矩形33の間に2重
になって表示されることになる。すなわち矩形32の最
後の列と矩形33の最初の列の画像情報は同じものとな
る。これが本発明のコピー動作である。ビットムーバに
よる矩形移動の場合には矩形のスタートアドレスSをデ
ィスティネーションアドレスDに変えるためSのスター
トアドレスとディスティネーションアドレスDのスター
トアドレスが必要とな漬。本発明ではコピー前の矩形の
縦横の長さレングスとコピーされた後の矩形の縦横のレ
ングスとは異なる。従って本発明ではソースSに対する
スタートアドレスとレングス及びディスティネーション
アドレスDに対するスタートアドレスとレングスをビッ
トムーバにセットすることになる。
Therefore, the common area 34 is displayed double between the rectangles 32 and 33. That is, the image information of the last column of rectangle 32 and the first column of rectangle 33 are the same. This is the copy operation of the present invention. In the case of rectangular movement using a bit mover, the start address of S and the start address of destination address D are required to change the rectangle's start address S to destination address D. In the present invention, the length and width of the rectangle before copying are different from the length and width of the rectangle after copying. Therefore, in the present invention, the start address and length for the source S and the start address and length for the destination address D are set in the bit mover.

そこで、本発明では、ステップ21と22でアドレスを
カウントアツプし、それと同時に、X方向補間位置情報
の各ビットを1ビツトずつ読む。
Therefore, in the present invention, the address is counted up in steps 21 and 22, and at the same time, each bit of the X-direction interpolation position information is read one by one.

そして、そのビットが1であるか0であるかをステップ
21で読み、次の1が現れるまでこれを繰り返す。ステ
ップ22において、次のビット位Wの場所が確認された
場合、ステップ23において、そのビットの立っている
ところまでのX方向レングスΔXをアドレスのカウント
数としてバッファにセットする。そしてステップ24に
おいて、ビットムーバ(BMV)を起動し、それと同時
に、メモリに格納された文字パターンの関係する部分を
ワークメモリに移動するやさらにステップ25゜26に
移り、共通領域34をコピーするために、現アドレスの
次のアドレスにディスティネーションアドレスをセット
し、その現アドレスにスタートアドレスをセットし、B
MVを起動する。ステップ27に移り、もし終わりでな
ければステップ21にうつり、同じ行の次の1の情報ビ
ットを探す動作に入る。このような繰り返しをフォント
内のその行が終わるまで、すなわち、1つのX方向補間
情報の読み込み動作が終わるまで繰り返し、それが終了
した後火の行に関して同様な処理を行う。この場合、次
の行に移るのがY方向補間処理である。行から行に移る
場合にはX方向補間位置情報の代わりにY方向補間位置
情報を用いることなる。すなわち、Y方向補間処理にお
いてもY方向補間位置情報をバッファへセントし、ビッ
トムーバ(BMV)のスタートアドレスとディスティネ
ーションアドレスをセットし、Y方向補間位置情報の次
のピント1を検出する。検出後、ビットの立ったことろ
までのY方向レングスをアドレスカウンタ数としてバッ
ファにセットし、ビットムーバを起動する。それ同時に
文字パターンの関係する部分を格納メモリからワークメ
モリに移動する。さらに、現アドレスの次のアドレスを
ディスティネーションアドレスとしてセットし、現アド
レスにスタートアドレスをセットしコピーする。
Then, it is read in step 21 whether the bit is 1 or 0, and this is repeated until the next 1 appears. If the location of the next bit W is confirmed in step 22, then in step 23, the X-direction length ΔX up to where that bit is set is set in the buffer as the address count number. Then, in step 24, the bit mover (BMV) is started, and at the same time, the related part of the character pattern stored in the memory is moved to the work memory. , set the destination address to the address next to the current address, set the start address to the current address, and
Start the MV. The process moves to step 27, and if the process is not completed, the process moves to step 21, and an operation begins to search for the next 1 information bit in the same row. Such repetition is repeated until the line in the font ends, that is, until the reading operation of one X-direction interpolation information is finished, and after that, the same process is performed for the next line. In this case, moving to the next row is the Y-direction interpolation process. When moving from row to row, Y-direction interpolated position information is used instead of X-direction interpolated position information. That is, in the Y-direction interpolation process as well, the Y-direction interpolation position information is sent to the buffer, the start address and destination address of the bit mover (BMV) are set, and the next focus 1 of the Y-direction interpolation position information is detected. After detection, the length in the Y direction up to the point where the bit is set is set in the buffer as the address counter number, and the bit mover is activated. At the same time, the relevant part of the character pattern is moved from the storage memory to the work memory. Furthermore, the address next to the current address is set as the destination address, and the start address is set to the current address and copied.

そして、これを繰、り返す。And then repeat this.

本発明ではフォントデータをビットマツプディスプレイ
制御回路を介してビットマツプディスプレイに転送する
場合、メモリに格納されたX方向及びY方向の補間位置
情報をビットコピー制御回路に与える。そして、このビ
ットコピー制御回路の制御によって補間位置情報のビッ
トの立っている所から次のビットの立っているところま
でのデータが表示される。すなわち、本発明では、補間
位置情報のビットが立っているデータをコピーするよう
にしている。この補間位置情報はピッチ指定や行密度指
定によって適切な2値系列が選択されるため、結果のフ
ォント画像は極めて良質となる。
In the present invention, when font data is transferred to a bitmap display via a bitmap display control circuit, interpolation position information in the X direction and Y direction stored in the memory is provided to the bit copy control circuit. Under the control of this bit copy control circuit, the data from the position where the bit of the interpolation position information is set to the position where the next bit is set is displayed. That is, in the present invention, data in which the interpolation position information bit is set is copied. Since an appropriate binary series is selected for this interpolation position information based on pitch designation and line density designation, the resulting font image is of extremely high quality.

第5図は第1図に示される本発明の機能部分を含むシス
テムの構成図である。同図において34はホスト計算機
、35はコントローラ、36,37.38はそれぞれコ
ントローラ内部に含まれるシステム制御部、メゾイヤ変
換部、メカコントローラであり、39は文字コードデー
タ格納用のファイル、40はビットマツプでデータ表示
されるデイスプレィ或いはプリンタなどの出力装置であ
る。本発明はコントローラ35のメゾイヤ変換部37に
属するものである。
FIG. 5 is a block diagram of a system including the functional parts of the present invention shown in FIG. In the figure, 34 is a host computer, 35 is a controller, 36, 37, and 38 are a system control section, a mesoyer conversion section, and a mechanical controller included in the controller, 39 is a file for storing character code data, and 40 is a bit map. An output device such as a display or printer on which data is displayed. The present invention belongs to the mezzoyer conversion section 37 of the controller 35.

第6図は本発明の機能部を含むメゾイヤ変換部37の機
能ブロック図である。同図において41はシステム制御
部36とのインターフェースであル通信コントローラ、
42はシステムバス、43はコントロールストレッジ、
44はビットムーバ、45はイメージバス、46は文字
パターン格納メモリ、47は展開用ビットマツプメモリ
である。
FIG. 6 is a functional block diagram of the Mezoyer transform unit 37 including the functional units of the present invention. In the figure, 41 is an interface with the system control unit 36; a communication controller;
42 is a system bus, 43 is a control storage,
44 is a bit mover, 45 is an image bus, 46 is a character pattern storage memory, and 47 is a bitmap memory for expansion.

文字パターン格納メモリ46の内部に第1図のフォント
データ格納手段1、X方向及びY方向の補間位置情報格
納手段4,6、さらにフォントデータ選択用のデコーダ
2、X方向及びY方向の補間位置情報系列を選択するデ
コーダ5.7が含まれる。文字パターン格納メモリ46
から読み出されるフォントデータ或いは補間位置情報は
イメージバス45に乗せられ、そのうちフォントデータ
が本発明のビットコピー制御に従って変形され、その結
果のフォントデータが展開用ビットメモリ47に書き込
まれる。本発明の動作はコントロールストレッジ43と
ピントムーバ43を介して行われ、これらの機能的な動
作はシステム制御部36カ、う通信コントローラ41及
びシステムバス42を介して制御される。
Inside the character pattern storage memory 46, there is a font data storage means 1 shown in FIG. 1, interpolation position information storage means 4 and 6 in the X and Y directions, a decoder 2 for selecting font data, and interpolation positions in the X and Y directions. A decoder 5.7 for selecting an information sequence is included. Character pattern storage memory 46
The font data or interpolation position information read from the image bus 45 is loaded onto the image bus 45, the font data is transformed according to the bit copy control of the present invention, and the resulting font data is written into the expansion bit memory 47. The operation of the present invention is performed via the control storage 43 and the focus mover 43, and their functional operations are controlled via the system control unit 36, communication controller 41, and system bus 42.

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

本発明は補間する位置情報をフォントデータに付加する
ことにより種々の行密度指定或いはピ・ソチ指定に対応
するフォントを表示することが可能で、結果として極め
て良質な画像をビットマツプディスプレイ上に表示する
ことが可能となる。しかも、フォントデータの表示変換
はフォントデータをメモリから読み出すときに同時に補
間位置情報を読み出すことによって実行されるので極め
てその処理が高速になる。
By adding position information to be interpolated to font data, the present invention can display fonts that correspond to various line density specifications or Pisochi specifications, and as a result, extremely high-quality images can be displayed on a bitmap display. It becomes possible to do so. Moreover, since display conversion of font data is executed by simultaneously reading interpolation position information when reading font data from memory, the processing becomes extremely fast.

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

第1図は、本発明の構成図、 第2図は、本発明の補間位置情報つき拡張フォントデー
タのデータ構造図、 第3図(a)、 (b)、 (C)は、本発明の処理過
程を示す説明図、 第4図(a)、 (b)、 (C)は、本発明の画像補
間方式の機能ブロック図、 第5図は、第1図に示される本発明の機能部分を含むシ
ステムの構成図、 第6図は、本発明の機能部を含むメゾイヤ変換部37の
機能ブロック図、 第7図(a)〜(d)は、従来の終端ドツトコピ一方式
第8図(a)、 (b)は、フォント幅よりも文字ピッ
チを大きくした場合のフォントデータそのものの拡大を
示す従来方式の説明図である。 ■・・・フォントデータ格納手段、 2・・・フォントデータ選択手段、 3・・・ビットマツプディスプレイ制御手段、X方向補
間位置情報格納手段、 Y方向補間位置情報系列選択手段、 Y方向補間位置情報格納手段、 Y方向補間位置情報系列選択手段、 ビットコピー制御手段、 ビットマツプディスプレイ。
FIG. 1 is a block diagram of the present invention. FIG. 2 is a data structure diagram of extended font data with interpolated position information of the present invention. FIG. 3 (a), (b), and (C) are diagrams of the present invention. An explanatory diagram showing the processing process. FIGS. 4(a), (b), and (C) are functional block diagrams of the image interpolation method of the present invention. FIG. 5 is a functional part of the present invention shown in FIG. FIG. 6 is a functional block diagram of the mezzoyer converter 37 including the functional unit of the present invention. FIGS. Figures a) and (b) are explanatory diagrams of a conventional method showing the expansion of font data itself when the character pitch is made larger than the font width. ■... Font data storage means, 2... Font data selection means, 3... Bit map display control means, X direction interpolation position information storage means, Y direction interpolation position information series selection means, Y direction interpolation position information storage means, Y-direction interpolation position information series selection means, bit copy control means, and bitmap display.

Claims (1)

【特許請求の範囲】 入力装置から入力した2値画像を処理装置を介して出力
装置に出力する画像処理システムにおいて、 ビットマップディスプレイ(9)の各ビットに対応する
ビットの集合であるフォントデータを格納するフォント
データ格納手段(1)と、 フォント指定信号に従って前記フォントデータ格納手段
(1)からフォントデータを選択するフォントデータ選
択手段(2)と、 表示されるフォントのX方向のビットをコピーするかど
うかの制御情報を格納するX方向補間位置情報格納手段
(4)と、 表示されるフォントのY方向のビットをコピーするかど
うかの制御情報を格納するY方向補間位置情報格納手段
(6)と、 フォントピッチ指定信号を受け、前記X方向補間位置情
報格納手段(4)から指定されたフォントピッチに対応
する制御情報を選択するX方向補間位置系列選択手段(
5)と、 行密度指定信号を受け、前記Y方向補間位置情報格納手
段(6)から指定された行密度指定に対応する制御情報
を選択するY方向補間位置情報系列選択手段(7)と、 前記フォントデータ格納手段(1)から読み出されたフ
ォントデータをビットマップディスプレイ装置(9)に
表示するための制御を実行するビットマップディスプレ
イ制御手段(3)と、前記X方向またはY方向補間位置
情報の制御情報の各ビットの情報に従って前記フォント
データのビットをX方向またはY方向にビットコピーす
るかどうかを制御するビットコピー制御手段(8)とを
有し、フォントピッチ指定と行密度指定に従う補間位置
情報によりフォントデータおよびフォント間の罫線間を
補間することを特徴とする画像補間方式。
[Claims] In an image processing system that outputs a binary image input from an input device to an output device via a processing device, font data that is a set of bits corresponding to each bit of a bitmap display (9) is provided. font data storage means (1) for storing; font data selection means (2) for selecting font data from the font data storage means (1) according to a font designation signal; and copying bits in the X direction of the displayed font. X-direction interpolation position information storage means (4) for storing control information on whether to copy the Y-direction bits of the displayed font; and Y-direction interpolation position information storage means (6) for storing control information on whether to copy the Y-direction bits of the displayed font. and X-direction interpolation position series selection means () which receives the font pitch designation signal and selects control information corresponding to the designated font pitch from the X-direction interpolation position information storage means (4).
5); Y-direction interpolation position information series selection means (7) for receiving the row density designation signal and selecting control information corresponding to the specified row density designation from the Y-direction interpolation position information storage means (6); bitmap display control means (3) for executing control for displaying font data read from the font data storage means (1) on a bitmap display device (9); and the interpolation position in the X or Y direction. and a bit copy control means (8) for controlling whether or not the bits of the font data are bit-copied in the X direction or the Y direction according to the information of each bit of information control information, and according to the font pitch designation and the line density designation. An image interpolation method characterized by interpolating between font data and ruled lines between fonts using interpolation position information.
JP63185397A 1988-07-27 1988-07-27 Image interpolating system Pending JPH0237391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63185397A JPH0237391A (en) 1988-07-27 1988-07-27 Image interpolating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63185397A JPH0237391A (en) 1988-07-27 1988-07-27 Image interpolating system

Publications (1)

Publication Number Publication Date
JPH0237391A true JPH0237391A (en) 1990-02-07

Family

ID=16170087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63185397A Pending JPH0237391A (en) 1988-07-27 1988-07-27 Image interpolating system

Country Status (1)

Country Link
JP (1) JPH0237391A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0518554A2 (en) * 1991-06-05 1992-12-16 Adobe Systems, Inc. Method of substituting fonts and displaying characters
EP0657848A2 (en) * 1993-12-09 1995-06-14 Canon Kabushiki Kaisha Character generating apparatus and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0518554A2 (en) * 1991-06-05 1992-12-16 Adobe Systems, Inc. Method of substituting fonts and displaying characters
EP0518554A3 (en) * 1991-06-05 1994-05-25 Adobe Systems Inc Method of substituting fonts and displaying characters
EP0657848A2 (en) * 1993-12-09 1995-06-14 Canon Kabushiki Kaisha Character generating apparatus and method
EP0657848A3 (en) * 1993-12-09 1996-09-18 Canon Kk Character generating apparatus and method.
US5959634A (en) * 1993-12-09 1999-09-28 Canon Kabushiki Kaisha Character generating system employing thickening or narrowing of characters

Similar Documents

Publication Publication Date Title
JPS61249175A (en) Graphic processor
JPH0547853B2 (en)
JPH05242256A (en) Continuous pattern print system
JPH0237391A (en) Image interpolating system
US5606656A (en) Image data processing unit for forming a plurality of identical images in a single output image area
JP2806679B2 (en) Character generator
JP2980732B2 (en) How to generate outline fonts
JPH0256874B2 (en)
JPH06175638A (en) Method and device for character generation
JP3082228B2 (en) Data converter
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JP3294249B2 (en) Image processing device
JP2727667B2 (en) Drawing equipment
JPH0946510A (en) Image forming device
JP2937508B2 (en) Bitmap expansion method
JPH0793564A (en) Information extraction mask generating method
JPH0511734A (en) Character pattern generating device
JPH0566761A (en) Smoothing system for character font
JPH05193189A (en) Printing apparatus having image data variable power function
JPH01237687A (en) Dot density converter
JPH09181912A (en) Image processor and print system
JPH0528149A (en) Image data magnifying method
JPS63175980A (en) Image data processor with image enlarging function
JPH05210717A (en) Graphic processing method
JPH05210716A (en) Graphic processing method