JPH0740600A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH0740600A
JPH0740600A JP5206831A JP20683193A JPH0740600A JP H0740600 A JPH0740600 A JP H0740600A JP 5206831 A JP5206831 A JP 5206831A JP 20683193 A JP20683193 A JP 20683193A JP H0740600 A JPH0740600 A JP H0740600A
Authority
JP
Japan
Prior art keywords
data
enlargement
scanning direction
color
image
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
JP5206831A
Other languages
Japanese (ja)
Inventor
Tomokazu Kaneko
智一 金子
Masashi Asada
真史 浅田
Takenori Obara
丈典 小原
Kenichi Sonobe
賢一 園部
Toshifumi Nakamura
利文 中村
Tatsuhisa Suzuki
達久 鈴木
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5206831A priority Critical patent/JPH0740600A/en
Publication of JPH0740600A publication Critical patent/JPH0740600A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an image processing device for enlarging an image data of binary plus (m) color ((m) is an integer of 1 or more) without the deterioration of quality. CONSTITUTION:A manuscript data of binary plus (m) color is read by an image reading device and classified by density and color and stored in a storage memory 6. The density data and the color data are extended separately in an extending device 4, and enlarged and corrected in an image information correction circuit 8. Then, said two data are stored respectively in a density memory 9a and a color pixel memory 9b.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は画像処理装置に関し、
特に2値で表わされる基本の2色(例えば、白黒)とそ
れ以外のm個(mは1以上の整数)の色(以下、2値プ
ラスmカラーと呼ぶ)からなる画像データを任意の倍率
に拡大補間処理をすることができる画像処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device,
In particular, image data consisting of two basic colors (for example, black and white) represented by binary values and m (m is an integer of 1 or more) other colors (hereinafter, referred to as binary plus m color) are used for arbitrary magnification. The present invention relates to an image processing device capable of performing enlargement interpolation processing.

【0002】[0002]

【従来の技術】従来、画像データの色調に関する1画素
当りの画情報を複数ビットの符号化信号で表し、該符号
化信号を2値信号に変換することにより、1画素当りの
画情報を単色情報として取出すようにした画像処理の技
術が提案されている(特開昭54−113722号)。
2. Description of the Related Art Conventionally, image information per pixel relating to a color tone of image data is represented by a coded signal of a plurality of bits, and the coded signal is converted into a binary signal to convert the image information per pixel into a single color. An image processing technique has been proposed in which it is taken out as information (Japanese Patent Laid-Open No. 54-113722).

【0003】この技術によれば、相手機がカラーファク
シミリ装置であれば該複数ビットのカラー情報で送り、
単色ファクシミリ装置であれば単色情報に変換して送出
することができるので、カラーファクシミリ装置と単色
ファクシミリ装置との相互通信が可能になる。
According to this technique, if the partner machine is a color facsimile machine, the multi-bit color information is sent,
Since a monochrome facsimile machine can convert and transmit the monochrome information, the color facsimile machine and the monochrome facsimile machine can communicate with each other.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この技
術では、カラー情報の拡大処理には何らの配慮もされて
いないため、拡大処理をすると画質が劣化してしまうと
いう問題があった。
However, in this technique, since no consideration is given to the enlargement processing of the color information, there is a problem that the image quality deteriorates when the enlargement processing is performed.

【0005】この発明の目的は、前記した従来技術の問
題点を除去し、2値プラスmカラーからなる画像データ
を画質の劣化を起こすことなく任意の倍率に拡大するこ
とができる画像処理装置を提供することにある。
An object of the present invention is to eliminate the above-mentioned problems of the prior art and to provide an image processing apparatus capable of enlarging binary plus m color image data to an arbitrary magnification without degrading the image quality. To provide.

【0006】[0006]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、2値プラスmカラーからなる画像データ
を濃度データおよび色データ別に記憶する手段と、該濃
度データおよび色データの各々を拡大補間処理する手段
とを具備した点に特徴がある。
In order to achieve the above object, the present invention provides a means for storing image data consisting of binary plus m colors for each of density data and color data, and each of the density data and color data. It is characterized in that it is provided with a means for performing an expansion interpolation process.

【0007】[0007]

【作用】本発明によれば、2値プラスカラーからなる画
像データが別々に拡大補間処理されるので、画質の劣化
を起こすことなく任意の倍率に拡大処理することができ
る。
According to the present invention, since the image data of binary plus color is subjected to the enlargement interpolation processing separately, it is possible to perform the enlargement processing to an arbitrary magnification without deteriorating the image quality.

【0008】[0008]

【実施例】以下に、図面を参照して、本発明を詳細に説
明する。図1は本発明の一実施例の複写装置のハード構
成を示すブロック図である。なお、本実施例は複写装置
によって説明するが、本発明はこれに限定されるもので
はない。図において、1は装置全体の制御処理を行うC
PU、2は装置全体を制御するプログラムが格納されて
いるROM、3は2値画像データを符号データに圧縮す
る圧縮器、4は該符号データを読出して2値画像データ
に伸長する伸長器、5はメッセージを表示する表示部を
もつパネルである。また、6は符号データが格納される
蓄積メモリ、7は制御プログラムが使用するワークエリ
アとなるRAM、8は2値画像データの拡大・平滑化処
理を行う画情報補正回路、9は少なくとも濃度メモリ9
aと色画素メモリ9bとを含む画像メモリである。さら
に、20、21は画像読取装置と画像記録装置とを切換
える切換器、22は画像読取装置、23は画像記録装
置、24は操作手段が配置された操作表示装置であり、
25は前記した各構成要素を接続し、相互にデータのや
り取りを行えるようにするシステムバスである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing a hardware configuration of a copying machine according to an embodiment of the present invention. Although the present embodiment will be described using a copying machine, the present invention is not limited to this. In the figure, 1 is a C for controlling the entire apparatus.
PU, 2 is a ROM in which a program for controlling the entire apparatus is stored, 3 is a compressor for compressing binary image data into coded data, 4 is an expander for reading the coded data and expanding it into binary image data, Reference numeral 5 is a panel having a display unit for displaying a message. Further, 6 is a storage memory for storing code data, 7 is a RAM used as a work area used by a control program, 8 is an image information correction circuit for enlarging / smoothing binary image data, and 9 is at least a density memory. 9
It is an image memory including a and a color pixel memory 9b. Further, 20 and 21 are switching devices for switching between the image reading device and the image recording device, 22 is an image reading device, 23 is an image recording device, and 24 is an operation display device in which operating means is arranged,
Reference numeral 25 is a system bus that connects the above-described components to each other so that data can be exchanged with each other.

【0009】次に、本実施例の動作を説明する。画像読
取装置22から2値プラス1カラーからなる原稿、例え
ば白黒と赤色で表された原稿が読み取られると、該原稿
の濃度情報は切換器20を介して濃度メモリ9aに格納
され、色(赤)情報は切換器21を介して色画素メモリ
9bに格納される。この時、図2に示されているよう
に、原稿の白情報は両メモリ9a、9bに0の画像デー
タが格納され、黒情報は濃度メモリ9aに1、色画素メ
モリ9bに0の画像データが格納され、さらに赤情報は
両メモリに1の画像データが格納される。画像メモリ9
に原稿の画像データが格納されると、該画像データは両
メモリ9a、9bから読み出され、圧縮器3により符号
データに圧縮される。生成された符号データは蓄積メモ
リ6へ送られ、一旦記憶される。
Next, the operation of this embodiment will be described. When the image reading device 22 reads a document consisting of binary plus one color, for example, a document represented in black and white and red, the density information of the document is stored in the density memory 9a via the switch 20 and the color (red The information is stored in the color pixel memory 9b via the switch 21. At this time, as shown in FIG. 2, image data of 0 is stored in both memories 9a and 9b for the white information of the original, and image data of 0 is stored in the density memory 9a and color pixel memory 9b for the black information. Is stored, and further, as the red information, one image data is stored in both memories. Image memory 9
When the image data of the original document is stored in, the image data is read from both memories 9a and 9b, and compressed by the compressor 3 into coded data. The generated code data is sent to the storage memory 6 and temporarily stored.

【0010】次いで、図3に示されているように、蓄積
メモリ6の符号データ(濃度および色データ)は同期信
号と同期して読み出され、伸長器4に送られる。伸長器
4は送られてきた符号データを伸長し、画情報補正回路
8に送出する。画情報補正回路8は伸長されたデータ4
aに対して拡大補間処理を行い、画像メモリ9に送る。
両メモリ9a、9bに拡大補間処理を受けた濃度情報と
色(赤)情報とが蓄積されると、これらの画像情報は切
換器20、21を介して画像記録装置23に送られ、プ
リントアウトされる。この結果、2値プラス1カラーか
らなる画像データを画質の劣化を大して起こすことなく
任意の倍率に拡大することができる。
Next, as shown in FIG. 3, the code data (density and color data) in the storage memory 6 is read in synchronization with the sync signal and sent to the decompressor 4. The decompressor 4 decompresses the sent code data and sends it to the image information correction circuit 8. The image information correction circuit 8 uses the expanded data 4
Enlargement interpolation processing is performed on a and sent to the image memory 9.
When the density information and the color (red) information which have undergone the expansion interpolation processing are accumulated in both memories 9a and 9b, these image information are sent to the image recording device 23 via the switches 20 and 21, and printed out. To be done. As a result, the image data composed of binary plus one color can be enlarged to an arbitrary magnification without significantly degrading the image quality.

【0011】なお、上記の実施例では2値プラス1カラ
ーの例で説明したが、本発明はこれに限定されず、2値
プラスmカラーにも応用できることは勿論である。
In the above embodiment, an example of binary plus 1 color has been described, but the present invention is not limited to this and can be applied to binary plus m color.

【0012】次に、前記画情報補正回路8の構成と動作
を詳細に説明する。図4は画情報補正回路8の一具体例
の構成を示すブロック図である。図4において、11は
マルチプレクサ(MUX)であり、前記伸長器4を経て
蓄積メモリ6から入力されてくる濃度データおよび色デ
ータ4a、白(“0”)データ18および前ラインデー
タ12aの三つのデータから一つを選択して、ラインバ
ッファ12に出力する。このラインバッファ12は、
(2n+1)ラインバッファ(nは正の整数)であり、
本具体例では7ラインバッファ(n=3)の例が示され
ている。該ラインバッファ12は、補正対象となるライ
ンとその前後の3ラインの画像データを格納する。
Next, the structure and operation of the image information correction circuit 8 will be described in detail. FIG. 4 is a block diagram showing the configuration of a specific example of the image information correction circuit 8. In FIG. 4, reference numeral 11 is a multiplexer (MUX), which has three types of density data and color data 4a, white (“0”) data 18 and front line data 12a input from the storage memory 6 via the decompressor 4. One is selected from the data and output to the line buffer 12. This line buffer 12
(2n + 1) line buffer (n is a positive integer),
In this specific example, an example of a 7-line buffer (n = 3) is shown. The line buffer 12 stores image data of a line to be corrected and three lines before and after the line.

【0013】13は補正対象となるラインの注目画素の
周囲の画素を記憶する(2n+1)×(2n+1)レジ
スタマトリックスである。本実施例では、n=3のレジ
スタマトリックス、すなわち7×7レジスタマトリック
スが示されており、注目画素の周囲の49画素を記憶す
る。14はk×l(kは主走査方向拡大率、lは副走査
方向拡大率)の拡大処理を行う拡大処理ブロックであ
り、本実施例では、k=l=6の拡大処理ブロックが示
されている。該拡大処理ブロック14は、1×1から6
×6までの拡大と平滑化処理を行うことができる。
Reference numeral 13 is a (2n + 1) × (2n + 1) register matrix for storing pixels around the pixel of interest of the line to be corrected. In this embodiment, a register matrix of n = 3, that is, a 7 × 7 register matrix is shown, and 49 pixels around the target pixel are stored. Reference numeral 14 denotes an enlargement processing block for performing enlargement processing of k × l (k is an enlargement ratio in the main scanning direction, and 1 is an enlargement ratio in the sub-scanning direction). ing. The enlargement processing block 14 includes 1 × 1 to 6
Enlargement up to × 6 and smoothing processing can be performed.

【0014】15は主走査方向の拡大率を設定するレジ
スタ、16は副走査方向の拡大率を設定するレジスタで
ある。制御回路17は前記マルチプレクサ11に入力し
てくる画像データ、すなわち濃度データおよび色データ
4a、白データ18および前ラインデータ12aを選択
する選択信号17a2 を出力すると共に、拡大処理ブロ
ック14の中の拡大率の一つを選択する選択信号17b
1 、17c1 および平滑化処理時に使用される指定位置
17b2 、17c2 を出力する。
Reference numeral 15 is a register for setting the enlargement ratio in the main scanning direction, and 16 is a register for setting the enlargement ratio in the sub-scanning direction. The control circuit 17 outputs a selection signal 17a2 for selecting the image data input to the multiplexer 11, that is, the density data and the color data 4a, the white data 18 and the previous line data 12a, and the enlargement processing block 14 enlarges. Selection signal 17b for selecting one of the rates
1 and 17c1 and designated positions 17b2 and 17c2 used during smoothing processing are output.

【0015】ここに、該前ラインデータ12aはライン
バッファ12に格納されている7ライン分のデータか
ら、各ライン当り1ビットのデータを取出した7ビット
のデータである。また、18は前記白(“0”)データ
である。
The preceding line data 12a is 7-bit data obtained by extracting 1-bit data for each line from the 7-line data stored in the line buffer 12. Further, 18 is the white (“0”) data.

【0016】次に、前記制御回路17の主要部の構成の
一具体例を、図5および図6を参照して説明する。図5
は副走査方向の制御部を示し、図6は主走査方向の制御
部を示す。なお、図5、図6中の図4と同符号は同一物
を示すので、説明を省略する。
Next, a specific example of the structure of the main part of the control circuit 17 will be described with reference to FIGS. Figure 5
Shows a control unit in the sub-scanning direction, and FIG. 6 shows a control unit in the main scanning direction. Note that the same reference numerals as those in FIG. 5 and FIG. 4 in FIG.

【0017】図5において、31は画像記録装置23か
ら送られてくる出力ページ先頭信号36によりクリアさ
れる副走査方向拡大率ワークレジスタ、32は加算器、
33は副走査方向拡大ブロックブロック内位置カウン
タ、34は比較器である。
In FIG. 5, reference numeral 31 is a sub-scanning direction enlargement ratio work register which is cleared by the output page head signal 36 sent from the image recording device 23, and 32 is an adder.
Reference numeral 33 is a sub-scanning direction enlarged block block position counter, and 34 is a comparator.

【0018】前記加算器32は副走査方向拡大率レジス
タ16に予めセットされた拡大値と副走査方向拡大率ワ
ークレジスタ31に格納された値とを加算し、加算結果
の整数部は副走査方向拡大ブロック選択信号17b1 と
して前記拡大処理ブロック14(図4参照)に送出す
る。また、前記加算結果の小数部は、前記副走査方向拡
大率ワークレジスタ31に記憶される。
The adder 32 adds the enlargement value preset in the sub-scanning direction enlargement ratio register 16 and the value stored in the sub-scanning direction enlargement ratio work register 31, and the integer part of the addition result is the sub-scanning direction. The enlargement block selection signal 17b1 is sent to the enlargement processing block 14 (see FIG. 4). The fractional part of the addition result is stored in the sub-scanning direction enlargement ratio work register 31.

【0019】例えば、前記副走査方向拡大率レジスタ1
6に予めセットされた拡大値が4.4倍であれば、最初
は副走査方向拡大率ワークレジスタ31はクリアされて
0であるから、加算器32は1回目の加算で4.4を出
力し、整数部の4は副走査方向拡大ブロック選択信号1
7b1 として前記拡大処理ブロック14に送出される。
一方小数部の0.4は前記副走査方向拡大率ワークレジ
スタ31に格納される。
For example, the sub-scanning direction enlargement ratio register 1
If the enlargement value preset to 6 is 4.4 times, the enlargement ratio work register 31 in the sub-scanning direction is initially cleared to 0, so the adder 32 outputs 4.4 in the first addition. However, 4 in the integer part is the enlargement block selection signal 1 in the sub-scanning direction.
It is sent to the enlargement processing block 14 as 7b1.
On the other hand, the decimal part 0.4 is stored in the sub-scanning direction enlargement ratio work register 31.

【0020】次に、2回目の加算結果は4.8になるの
で、整数部の4は副走査方向拡大ブロック選択信号17
b1 として前記拡大処理ブロック14に送出され、小数
部の0.8は前記副走査方向拡大率ワークレジスタ31
に格納される。以下、同様の動作が行われ、加算器32
から出力される整数部の値は、順次、4、4、5、4、
4、…となる。
Next, since the second addition result is 4.8, the integer part 4 is the sub-scanning direction enlarged block selection signal 17
It is sent to the enlargement processing block 14 as b1 and the fractional part 0.8 is the enlargement ratio work register 31 in the sub-scanning direction.
Stored in. Thereafter, the same operation is performed, and the adder 32
The values of the integer part output from are 4, 4, 5, 4,
4, ...

【0021】前記拡大処理ブロック14はこの整数部の
データに応じた副走査方向の拡大ブロックを選択するの
で、画像データは平均すると約4.4倍の拡大処理をさ
れることになる。
Since the enlargement processing block 14 selects the enlargement block in the sub-scanning direction according to the data of the integer part, the image data is subjected to the enlargement processing of about 4.4 times on average.

【0022】次に、図6により、主走査方向の制御部の
構成を説明する。図において、51は主走査方向拡大率
ワークレジスタ、52は加算器、53は主走査方向拡大
ブロックブロック内位置カウンタ、54は比較器であ
る。
Next, the structure of the control unit in the main scanning direction will be described with reference to FIG. In the figure, 51 is a main scanning direction enlargement ratio work register, 52 is an adder, 53 is a main scanning direction enlargement block block position counter, and 54 is a comparator.

【0023】前記主走査方向拡大率ワークレジスタ51
は前記画像記録装置23から送られてくる出力ライン先
頭信号37によりクリアされる。主走査方向拡大率レジ
スタ15には、主走査方向の拡大率が予めセットされ
る。加算器52の動作は前記加算器32の動作と同じで
あるから、説明を省略する。
Main scanning direction enlargement ratio work register 51
Is cleared by the output line head signal 37 sent from the image recording device 23. The enlargement ratio in the main scanning direction is preset in the enlargement ratio register 15 in the main scanning direction. Since the operation of the adder 52 is the same as the operation of the adder 32, the description thereof will be omitted.

【0024】次に、図5および図6の副走査方向拡大ブ
ロックブロック内位置カウンタ33、主走査方向拡大ブ
ロックブロック内位置カウンタ53、比較器34および
54の動作について、図7のデータ例を参照して説明す
る。図7の57は前記レジスタマトリックス13に一時
的に格納された濃度データおよび色データ4aのデータ
例を示し、58は指定倍率の指定位置を示している。
Next, regarding the operation of the enlarged block in-block position counter 33 in the sub-scanning direction, the enlarged block-in-block position counter 53 in the main scanning direction, and the comparators 34 and 54 in FIGS. And explain. Reference numeral 57 in FIG. 7 shows a data example of the density data and the color data 4a temporarily stored in the register matrix 13, and 58 shows a designated position of a designated magnification.

【0025】該副走査方向拡大ブロックブロック内位置
カウンタ33には前記画像記録装置23から送られてく
る出力ライン先頭信号37が入力し、前記主走査方向拡
大ブロックブロック内位置カウンタ53には1画素出力
信号55が入力する。
An output line head signal 37 sent from the image recording device 23 is input to the sub scanning direction enlarged block in-block position counter 33, and one pixel is input to the main scanning direction enlarged block in-block position counter 53. The output signal 55 is input.

【0026】さて、いま主走査方向の整数部17c1 が
「2」で、副走査方向の整数部17b1 が「4」であっ
たとすると、図7に示されているように、注目画素d4
は主走査方向に2倍、副走査方向に4倍に拡大されるこ
とになる。この拡大処理と平滑化処理の指定位置となる
のが、図5、図6の副走査方向拡大ブロックブロック内
位置17b2 および主走査方向拡大ブロックブロック内
位置17c2 である。
Now, assuming that the integer part 17c1 in the main scanning direction is "2" and the integer part 17b1 in the sub-scanning direction is "4", as shown in FIG.
Is magnified twice in the main scanning direction and four times in the sub scanning direction. The designated positions for the enlargement processing and the smoothing processing are the intra-enlargement block block internal position 17b2 and the main scanning direction enlargement block internal position 17c2 shown in FIGS.

【0027】図6により説明すると、整数部17c1 が
「2」であるので、比較器54のA端子には2が入力し
ている。主走査方向拡大ブロックブロック内位置カウン
タ53は1画素出力信号55が入力するとカウントアッ
プし、カウント出力は主走査方向拡大ブロックブロック
内位置17c2 として出力される。この具体例では、該
カウント出力が2になると比較器54は一致信号17a
3 を出力するので、主走査方向拡大ブロックブロック内
位置17c2 としては、0、1が順次出力され、該出力
は、図7に示されているように、指定位置の主走査方向
のアドレス0,1となる。
Referring to FIG. 6, since the integer part 17c1 is "2", 2 is input to the A terminal of the comparator 54. When the one-pixel output signal 55 is input, the main scanning direction enlargement block intra-block position counter 53 counts up, and the count output is output as the main scanning direction enlargement block intra-block position 17c2. In this specific example, when the count output becomes 2, the comparator 54 outputs the coincidence signal 17a.
Since 3 is output, 0 and 1 are sequentially output as the intra-main scanning direction enlarged block block position 17c2, and the output is 0, 1 of the designated position in the main scanning direction as shown in FIG. It becomes 1.

【0028】同様に、図5の副走査方向拡大ブロックブ
ロック内位置17b2 としては、0、1、2、3が出力
され、図7に示されているように、指定位置の副走査方
向のアドレス0〜3となる。
Similarly, 0, 1, 2, 3 is output as the position 17b2 in the sub-scanning direction enlarged block block of FIG. 5, and as shown in FIG. 7, the address of the designated position in the sub-scanning direction is obtained. It becomes 0-3.

【0029】次に、図4の全体の動作を、図7および図
8を参照して説明する。まず、拡大処理が起動される前
に、図4のマルチプレクサ11は白データ18を選択
し、7ラインバッファ12の全部に白データが格納され
る。すなわち、7ラインバッファ12はクリアされる。
Next, the overall operation of FIG. 4 will be described with reference to FIGS. 7 and 8. First, before the enlargement process is started, the multiplexer 11 of FIG. 4 selects the white data 18, and the white data is stored in all of the 7-line buffers 12. That is, the 7-line buffer 12 is cleared.

【0030】拡大処理をする時には、前記主走査方向拡
大率レジスタ15および副走査方向拡大率レジスタ16
に拡大率が設定され、スタート信号23aが制御回路1
7に入力される。そうすると、マルチプレクサ11は入
力画像データ選択信号17a2 にしたがって、入力画像
データ4aを7ラインバッファ12に順次読み込む。
When performing enlargement processing, the enlargement ratio register 15 in the main scanning direction and the enlargement ratio register 16 in the sub-scanning direction are described.
The enlargement ratio is set to the start signal 23a
Input to 7. Then, the multiplexer 11 sequentially reads the input image data 4a into the 7-line buffer 12 according to the input image data selection signal 17a2.

【0031】7ラインバッファ12に入力画像データ4
aが4ライン分格納されると、拡大処理が開始される。
図8(a) は前記7ラインバッファ12に白データ3ライ
ン分を含む7ライン分の画像データが格納された状態を
示している。
Input image data 4 in 7 line buffer 12
When a is stored for 4 lines, the enlargement process is started.
FIG. 8A shows a state in which 7 lines of image data including 3 lines of white data are stored in the 7 line buffer 12.

【0032】動作開始直後に、前記副走査方向拡大率ワ
ークレジスタ31は出力ページ先頭信号36によりクリ
アされ、また前記主走査方向拡大率ワークレジスタ51
は出力ライン先頭信号37によりクリアされる。
Immediately after the start of the operation, the sub-scanning direction enlargement ratio work register 31 is cleared by the output page head signal 36, and the main scanning direction enlargement ratio work register 51.
Is cleared by the output line head signal 37.

【0033】次に、図6の加算器52に動作開始信号が
入力する。これにより、加算器52は前記主走査方向拡
大率レジスタ15に設定された拡大率と主走査方向拡大
率ワークレジスタ51の値とを加算し、その整数部17
c1 を主走査方向拡大ブロック選択信号として拡大処理
ブロック14に送る。また、図5の加算器32にも動作
開始信号が入力する。これにより、加算器32は前記副
走査方向拡大率レジスタ16に設定された拡大率と副走
査方向拡大率ワークレジスタ31の値とを加算し、その
整数部17b1 を副走査方向拡大ブロック選択信号とし
て拡大処理ブロック14に送る。
Next, the operation start signal is input to the adder 52 shown in FIG. Accordingly, the adder 52 adds the enlargement ratio set in the main-scanning-direction enlargement ratio register 15 and the value of the main-scanning-direction enlargement ratio work register 51, and the integer part 17 thereof.
c1 is sent to the enlargement processing block 14 as an enlargement block selection signal in the main scanning direction. The operation start signal is also input to the adder 32 shown in FIG. Accordingly, the adder 32 adds the enlargement ratio set in the sub-scanning direction enlargement ratio register 16 and the value of the sub-scanning direction enlargement ratio work register 31, and the integer part 17b1 thereof is used as the sub-scanning direction enlargement block selection signal. Send to the enlargement processing block 14.

【0034】該拡大処理ブロック14は前記主、副走査
方向拡大ブロック選択信号17b1、17c1 を受ける
と、拡大処理ブロックを選択する。例えば、前記主、副
走査方向拡大ブロック選択信号がそれぞれ2、4であれ
ば、拡大処理ブロック14は2×4の拡大処理ブロック
を選択する。
When the enlargement processing block 14 receives the enlargement block selection signals 17b1 and 17c1 in the main and sub-scanning directions, it selects the enlargement processing block. For example, if the enlargement block selection signals in the main and sub-scanning directions are 2 and 4, respectively, the enlargement processing block 14 selects a 2 × 4 enlargement processing block.

【0035】次に、図6の主走査方向拡大ブロックブロ
ック内位置カウンタ53に、図9に示されているような
1画素出力信号55が次々と入力すると、主走査方向拡
大ブロックブロック内位置17c2 は0、1、2と1ず
つ増加し、2になると比較器が一致信号17a3 を出力
する。
Next, when the 1-pixel output signal 55 as shown in FIG. 9 is successively input to the main scanning direction enlarged block in-block position counter 53, the main scanning direction enlarged block in-block position 17c2. Is incremented by 0, 1, 2, and when it reaches 2, the comparator outputs the coincidence signal 17a3.

【0036】この信号17a3 は前記加算器52のトリ
ガ信号になると共に、主走査方向拡大ブロックブロック
内位置カウンタ53のクリア信号にもなる。よって、前
記一致信号17a3 が出力されると、加算器52は加算
動作を行い、また主走査方向拡大ブロックブロック内位
置カウンタ53はクリアされる。
The signal 17a3 serves as a trigger signal for the adder 52 and also as a clear signal for the main scanning direction enlargement block intra-block position counter 53. Therefore, when the coincidence signal 17a3 is output, the adder 52 performs an addition operation, and the main scanning direction enlarged block intra-block position counter 53 is cleared.

【0037】一方、図5の副走査方向拡大ブロックブロ
ック内位置カウンタ33には出力ライン先頭信号37が
入力し、該カウンタ33はカウントアップする。該カウ
ンタ33は、カウント値を副走査方向拡大ブロックブロ
ック内位置17b2 として出力すると共に、加算器34
からの一致信号17a2 によりクリアされる。比較器3
4の一致信号17a2 は加算器32のトリガ信号にな
る。
On the other hand, the output line head signal 37 is input to the sub scanning direction enlarged block intra-block position counter 33 of FIG. 5, and the counter 33 counts up. The counter 33 outputs the count value as an intra-enlargement block block position 17b2 in the sub-scanning direction and an adder 34
It is cleared by the coincidence signal 17a2 from. Comparator 3
The coincidence signal 17a2 of 4 becomes a trigger signal of the adder 32.

【0038】前記比較器54の一致信号17a3 は、前
記7ラインバッファ12およびレジスタマトリックス1
3にも入力される。そうすると、該7ラインバッファ1
2は7ライン分の各1ビットを並列的にシフトする。こ
のシフトにより7ビットのデータ12aがマルチプレク
サ1を通って7ラインバッファ12の先頭に移される。
この時の様子を、図8の(c) に示す。
The coincidence signal 17a3 of the comparator 54 is the 7-line buffer 12 and the register matrix 1
It is also input to 3. Then, the 7 line buffer 1
2 shifts each 1 bit for 7 lines in parallel. By this shift, the 7-bit data 12a is moved to the beginning of the 7-line buffer 12 through the multiplexer 1.
The state at this time is shown in FIG.

【0039】また、前記動作と同時に、レジスタマトリ
ックス13内に新たな7ビットのデータが取込まれ、古
い7ビットのデータは消去される。この様子は、図8の
(b)に示されている。この結果、注目画素は、d4から
d5に変えられる。
Simultaneously with the above operation, new 7-bit data is taken into the register matrix 13 and old 7-bit data is erased. This state is shown in FIG.
It is shown in (b). As a result, the pixel of interest is changed from d4 to d5.

【0040】以上の動作が繰返されて、1ライン分の処
理が終わると、図4に示されているマルチプレクサ11
に選択信号17a2 が入力する。該選択信号17a2 が
入力すると、該マルチプレクサ11は一定期間、入力画
像データ4aを選択する。これによって、入力画像デー
タ4aは1ライン分、7ラインバッファ12に取り込ま
れる。この時、7ラインバッファ12中の一番古い1ラ
イン分の画像データは消去される。この様子は、図8の
(d) に示されている。
When the above operation is repeated and the processing for one line is completed, the multiplexer 11 shown in FIG.
The selection signal 17a2 is input to. When the selection signal 17a2 is input, the multiplexer 11 selects the input image data 4a for a certain period. As a result, the input image data 4a is loaded into the 7-line buffer 12 for one line. At this time, the oldest one line of image data in the 7 line buffer 12 is erased. This state is shown in FIG.
It is shown in (d).

【0041】次に、本発明で適用される拡大補間処理に
ついて説明する。図10は拡大補間処理装置の概略のブ
ロック図であり、61は注目画素61aを中央に有する
(1+2n)×(1+2n)(nは正の整数)のレジス
タマトリックス、62は注目画素61aの周辺の画素の
パターンを検出するパターン検出部、63は主・副走査
方向の拡大率に対応した拡大処理と該パターンに対応し
た平滑化処理とを行う拡大・平滑化処理部である。
Next, the expansion interpolation processing applied in the present invention will be described. FIG. 10 is a schematic block diagram of the enlarged interpolation processing device. Reference numeral 61 is a (1 + 2n) × (1 + 2n) (n is a positive integer) register matrix having a target pixel 61a in the center, and 62 is a pixel around the target pixel 61a. A pattern detection unit for detecting a pixel pattern, and 63 is an enlargement / smoothing processing unit for performing enlargement processing corresponding to the enlargement ratio in the main / sub-scanning direction and smoothing processing corresponding to the pattern.

【0042】前記拡大・平滑化処理部63には、主・副
走査方向の拡大率17c1 、17b1 と、主・副走査方
向拡大ブロックブロック内位置17c2 、17b2 とが
入力する。拡大・平滑化処理部63は、注目画素61a
を前記拡大率17c1 、17b1 に応じた大きさに拡大
すると共に、該拡大された画素の一つ一つの位置、すな
わち前記位置17c2 、17b2 で指定される画素に対
して、補間する、補間しないの決定をする。
The enlargement / smoothing processing unit 63 receives the enlargement factors 17c1 and 17b1 in the main / sub-scanning direction and the enlargement / in-block directions 17c2 and 17b2 in the main / sub-scanning direction. The enlarging / smoothing processing unit 63 determines the pixel of interest 61a.
Is enlarged to a size corresponding to the enlargement factors 17c1 and 17b1, and each position of the enlarged pixels, that is, the pixel designated by the positions 17c2 and 17b2 is interpolated or not interpolated. Make a decision.

【0043】例えば、前記拡大率17c1 、17b1 が
それぞれ2、4の場合(すなわち、2×4の倍率)に
は、図11(a) 〜(e) に示されているように、注目画素
61aは2×4倍に拡大され、この拡大により生成され
る8個の画素のそれぞれについて、補間する、補間しな
いの判断がなされる。なお、図11の技術的意味につい
ては、後で詳述する。
For example, when the enlargement factors 17c1 and 17b1 are 2 and 4, respectively (that is, a magnification of 2.times.4), as shown in FIGS. 11A to 11E, the pixel of interest 61a is selected. Is enlarged by 2 × 4 times, and it is determined whether or not to interpolate for each of the eight pixels generated by this enlargement. The technical meaning of FIG. 11 will be described later in detail.

【0044】次に、本実施例の動作を、図12のフロー
チャートを参照して説明する。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG.

【0045】ステップS1では、パターン検出部62が
注目画素61aの周辺黒画素の連結パターンが、1対1
の4方向のいずれかであるか否かの検出をする。この判
断が否定の時には、ステップS2に進んで注目画素61
aの周辺黒画素の連結パターンが、1対2の8方向のい
ずれかであるか否かの検出をする。また、ステップS3
では、注目画素61aの周辺黒画素の連結パターンが、
1対n(n=3、4、…)の8方向のいずれかであるか
否かの検出をする。
In step S1, the pattern detection unit 62 determines that the connection pattern of the peripheral black pixels of the target pixel 61a is 1: 1.
It is detected whether or not it is one of the four directions. If this determination is negative, the process proceeds to step S2 and the pixel of interest 61
It is detected whether the connection pattern of the peripheral black pixels of a is in any one of the eight directions of 1: 2. Also, step S3
Then, the connection pattern of the black pixels around the attention pixel 61a is
It is detected whether or not the direction is one of eight directions of 1 to n (n = 3, 4, ...).

【0046】すなわち、注目画素61aの周辺黒画素の
連結パターンが、例えば図11の(a) 〜(e) のパターン
に属する場合には前記ステップS1〜S3のどれかが肯
定となり、ステップS5に進む。なお、図11に示した
パターンは、ごく一例が示されているのみであり、同類
のパターンが多数存在することは明らかである。
That is, if the connection pattern of the peripheral black pixels of the target pixel 61a belongs to, for example, the patterns of (a) to (e) of FIG. 11, any of the steps S1 to S3 becomes affirmative, and the process proceeds to step S5. move on. Note that the pattern shown in FIG. 11 is only an example, and it is clear that there are many similar patterns.

【0047】前記ステップS1〜S3が全て否定の時に
は、ステップS4に進んで、補間しないと決定される。
次いでステップS8に進んで、1個の注目画素の指定倍
率の全ての位置を処理したか否かの判断に移る。
When all of the above steps S1 to S3 are negative, the process proceeds to step S4 and it is determined that the interpolation is not performed.
Then, the process proceeds to step S8, and it is determined whether or not all the positions of the designated magnification of one target pixel have been processed.

【0048】一方、前記ステップS1〜S3のいずれか
が肯定になった時には、ステップS5に進んで、指定倍
率の指定位置(17c1 、17b1 ,17c2 ,17b
2 )において、補間する必要があるか否かを判断する。
まず、指定位置(0,0)(図7の58参照)の補間が
必要か否かの判断がなされ、この判断が否定であれば、
ステップS6に進んで補間しないの処理が行われる。逆
に、肯定であれば、ステップS7に進んで補間するの処
理が行われる。
On the other hand, when any of the steps S1 to S3 is affirmative, the process proceeds to step S5, and the designated position (17c1, 17b1, 17c2, 17b) of the designated magnification is set.
In 2), determine whether interpolation is necessary.
First, it is determined whether or not interpolation at the designated position (0,0) (see 58 in FIG. 7) is necessary. If this determination is negative,
The process proceeds to step S6 and the process of not interpolating is performed. On the contrary, if the determination is affirmative, the process proceeds to step S7 and the process of interpolation is performed.

【0049】次に、ステップS8で、1個の注目画素の
全ての位置を補間処理したか否かの判断が行われ、この
判断が否定の時には、ステップS9に進んで位置のカウ
ントアップがなされ、次の指定位置(0,1)が指定さ
れる。そして、ステップS1〜S3の判断に戻り、再び
ステップS5において、該指定位置(0,1)の補間が
必要か否かの判断がなされる。以上の処理を繰返し行
い、ステップS8の判断が肯定になると、ステップS1
0に進んで、入力画素データの全部の処理が終了したか
否かの判断が行われる。この判断が否定の時には、ステ
ップS11に進んで、注目画素を次の注目画素に移し、
前記と同様の処理を繰返す。
Next, in step S8, it is determined whether or not all the positions of one pixel of interest have been interpolated. If this determination is negative, the process proceeds to step S9 and the position is counted up. , The next designated position (0, 1) is designated. Then, returning to the determination in steps S1 to S3, it is determined again in step S5 whether or not the interpolation of the designated position (0, 1) is necessary. When the above process is repeated and the determination in step S8 is affirmative, step S1
The process proceeds to 0, and it is determined whether or not all the processing of the input pixel data has been completed. When this determination is negative, the process proceeds to step S11, the pixel of interest is moved to the next pixel of interest,
The same process as above is repeated.

【0050】前記の処理を繰返し行った結果、ステップ
S10の判断が肯定になると、拡大・平滑化処理を終了
する。なお、前記ステップS5の処理は、前記指定倍
率、指定位置および連結パターンに応じて、補間する、
しないを決めるアルゴリズムにより実行される。このア
ルゴリズムの具体的内容については、説明を省略する。
As a result of repeating the above processing, if the determination in step S10 becomes affirmative, the enlarging / smoothing processing is terminated. In the process of step S5, interpolation is performed according to the designated magnification, the designated position, and the connection pattern.
It is executed by an algorithm that decides not to. The description of the specific contents of this algorithm is omitted.

【0051】この実施例によれば、注目画素の周辺画素
が、例えば、図11の(a) 〜(e) のパターンに該当した
場合には、注目画素61aの斜線が施された指定位置が
補間されることになる。よって、画像データの斜めの部
分が平滑化され、文字等の図形の質を向上させることが
できる。
According to this embodiment, when the peripheral pixels of the target pixel correspond to, for example, the patterns of (a) to (e) in FIG. 11, the designated position of the target pixel 61a is shaded. Will be interpolated. Therefore, the diagonal portion of the image data is smoothed, and the quality of figures such as characters can be improved.

【0052】次に、第2の拡大・平滑化処理の動作を、
図13のフローチャートを参照して説明する。
Next, the operation of the second enlargement / smoothing process will be described.
This will be described with reference to the flowchart of FIG.

【0053】ステップS11では、前記図12のステッ
プS1〜S3と同じ処理、すなわち、注目画素の周辺画
素が、1対1の4方向の黒画素連結パターンか、1対2
の8方向の黒画素連結パターンか、…、あるいは1対n
の8方向の黒画素連結パターンかの検出をする。また、
ステップS12、S13、S14、S15の処理は、図
12のステップS4、S5、S6、S7の処理と同じで
あるので、説明を省略する。
In step S11, the same processing as in steps S1 to S3 in FIG. 12 is performed, that is, the peripheral pixels of the target pixel are one-to-one four-direction black pixel connection patterns or one-to-two.
8 direction black pixel connection pattern, ..., or 1 to n
It is detected whether the black pixel connection pattern is in the eight directions. Also,
The processes of steps S12, S13, S14, and S15 are the same as the processes of steps S4, S5, S6, and S7 of FIG.

【0054】ステップS16に進むと、注目画素の周辺
画素が、1対1の4方向の白画素連結パターンか、1対
2の8方向の白画素連結パターンか、…、あるいは1対
nの8方向の白画素連結パターンかの検出をする。
When the process proceeds to step S16, the peripheral pixels of the target pixel are one-to-one four-direction white pixel connection pattern, one-to-two eight-direction white pixel connection pattern, ... Or one-to-n eight. It is detected whether the white pixel connection pattern in the direction.

【0055】ステップS16の判断が否定の時にはステ
ップS17に進んで、注目画素を全く削除せずに、ステ
ップS21に進む。一方、ステップS16が肯定になる
と、ステップS18に進んで、指定倍率の指定位置(1
7c1 、17b1 、17c2,17b2 )において、削
除する必要があるか否かの判断がなされる。そして、こ
の判断が否定の時には、ステップS19に進んで、削除
しないの処理、該判断が肯定の時には、ステップS20
に進んで削除する処理が行われる。
When the determination in step S16 is negative, the process proceeds to step S17, and the pixel of interest is not deleted at all, and the process proceeds to step S21. On the other hand, if the result at step S16 is affirmative, then the processing advances to step S18, at which the designated position (1
7c1, 17b1, 17c2, 17b2), it is judged whether or not it is necessary to delete. Then, if this determination is negative, the process proceeds to step S19, and the process of not deleting is performed, and if the determination is affirmative, step S20 is performed.
Then, the process of deleting is performed.

【0056】次いで、ステップS21に進んで、1個の
注目画素の指定倍率の全ての位置を処理したか否かの判
断がなされ、この判断が否定の時には、ステップS22
に進んで、前記指定位置のカウントアップが行われる。
そして、ステップS11に戻って、前記の処理が繰返さ
れる。
Next, in step S21, it is determined whether or not all positions of the designated magnification of one target pixel have been processed. If the determination is negative, step S22
Proceeding to step, the designated position is counted up.
Then, the process returns to step S11 and the above process is repeated.

【0057】以上の処理が繰返し行われ、前記指定位置
の処理が全部終了すると、ステップS21が肯定にな
り、ステップS23に進む。
When the above processing is repeated and all the processing at the designated position is completed, the affirmative answer is obtained in step S21 and the operation proceeds to step S23.

【0058】ここで、前記ステップS21が肯定になる
までのステップS16〜S20の動作につき、図14を
参照して説明する。
Now, the operation of steps S16 to S20 until step S21 becomes affirmative will be described with reference to FIG.

【0059】図14(a) に示されているように、注目画
素61aに対する周辺画素が1対1の白画素連結の場合
には、位置(0,0)の画素が削除される。また、同図
(b)の白画素連結の場合には、位置(0,0)と(0,
1)の画素が削除される。また、同図(c) 、(d) 、(e)
の場合には、それぞれ図示されている位置の画素が削除
される。
As shown in FIG. 14 (a), when the peripheral pixels for the target pixel 61a are one-to-one connected white pixels, the pixel at the position (0,0) is deleted. Also, the same figure
In the case of white pixel connection in (b), positions (0,0) and (0,
The pixel of 1) is deleted. In addition, (c), (d), (e)
In this case, the pixels at the positions shown in the figure are deleted.

【0060】なお、前記ステップS18の処理は、前記
指定倍率、指定位置および連結パターンに応じて、削除
する、しないを決めるアルゴリズムにより実行される。
このアルゴリズムの具体的内容については、説明を省略
する。
The process of step S18 is executed by an algorithm for deciding whether to delete or not depending on the designated magnification, the designated position and the connection pattern.
The description of the specific contents of this algorithm is omitted.

【0061】本実施例によれば、画素の削除により、文
字等の斜め部の角を削除することができ滑らかにできる
と共に、ステップS11〜S15の補間処理により太く
なった線を、ステップS16〜S20の処理により細く
修正することができる。よって、見栄えの良い、高品質
の文字等の図形データを提供することができる。
According to the present embodiment, by deleting the pixels, the corners of the oblique portion of the character or the like can be removed and smoothed, and the thickened line by the interpolation processing of steps S11 to S15 can be removed from steps S16 to S15. It can be finely corrected by the process of S20. Therefore, high-quality graphic data such as characters can be provided.

【0062】次に、第3の拡大・平滑化処理を、図15
のフローチャートを参照して説明する。この実施例の特
徴は、前記第2の拡大・平滑化処理に、ステップS31
〜S34を追加した点に特徴があり、他のステップは第
2の拡大・平滑化処理と同じであるので、ステップS3
1〜S34についてのみ説明する。
Next, the third enlargement / smoothing process will be described with reference to FIG.
This will be described with reference to the flowchart in FIG. The feature of this embodiment lies in that in the second enlargement / smoothing process, step S31 is performed.
The feature is that S34 to S34 are added, and the other steps are the same as those of the second enlargement / smoothing process.
Only 1 to S34 will be described.

【0063】ステップS31では、黒画素の1対1〜1
対nの連結がイメージ画像を劣化させるパターンか否か
の判断を行う。そして、イメージ画像を劣化させるパタ
ーンであれば、補間せずに(ステップS32)、ステッ
プS16に進む。一方、ステップS31が否定の時に
は、ステップS13の処理に進む。
In step S31, one to one to one black pixels
It is determined whether the connection of the pair n is a pattern that deteriorates the image. Then, if it is a pattern that deteriorates the image image, the process proceeds to step S16 without interpolation (step S32). On the other hand, when step S31 is negative, the process proceeds to step S13.

【0064】例えば、図16(a) に示されているよう
に、注目画素61aの参照画素が黒の3×3連結パター
ンである時には、それら以外の周辺画素、すなわち画素
61b、61cおよび61dをも参照し、これらの画素
61b、61cおよび61dが全部白画素であれば、注
目画素61aの補間を行うようにする。すなわち、ステ
ップS31からS13に処理を進める。
For example, as shown in FIG. 16A, when the reference pixel of the pixel of interest 61a has a black 3 × 3 connection pattern, the other peripheral pixels, that is, the pixels 61b, 61c and 61d are selected. See also, if these pixels 61b, 61c, and 61d are all white pixels, the pixel of interest 61a is interpolated. That is, the process proceeds from step S31 to S13.

【0065】一方、例えば、図16(b) に示されている
ように、前記画素61b、61cおよび61dの中のい
ずれか一つでも黒画素であれば、注目画素61aの補間
を行わないようにする。すなわち、ステップS31から
S32に処理を進める。これは、補間を行うと、注目画
素61aの白画素が潰れてしまい、イメージの劣化を招
くからである。
On the other hand, for example, as shown in FIG. 16 (b), if any one of the pixels 61b, 61c and 61d is a black pixel, the interpolation of the pixel of interest 61a is not performed. To That is, the process proceeds from step S31 to S32. This is because if the interpolation is performed, the white pixel of the target pixel 61a is crushed and the image is deteriorated.

【0066】ステップS33では、白画素の1対1〜1
対nの連結がイメージ画像を劣化させるパターンか否か
の判断を行う。そして、イメージ画像を劣化させるパタ
ーンであれば、削除せずに(ステップS34)、ステッ
プS21に進む。一方、ステップS33が否定の時に
は、ステップS18の処理に進む。
In step S33, one to one to one of the white pixels
It is determined whether the connection of the pair n is a pattern that deteriorates the image. If it is a pattern that deteriorates the image image, the pattern is not deleted (step S34) and the process proceeds to step S21. On the other hand, when step S33 is negative, the process proceeds to step S18.

【0067】例えば、図16(c) に示されているよう
に、注目画素61aの参照画素が白の2×2連結パター
ンである時には、それら以外の周辺画素61b〜61d
が全て白画素であれば、黒画素の削除をせずにステップ
S21に進むようにする。これは、孤立黒画素が消えて
しまわないようにするためである。前記画素61b〜6
1dの中のいずれか一つでも黒画素であれば、ステップ
S18の処理をするようにする。
For example, as shown in FIG. 16C, when the reference pixel of the pixel of interest 61a has a white 2 × 2 connection pattern, the peripheral pixels 61b to 61d other than those pixels are referred to.
If all are white pixels, the process proceeds to step S21 without deleting black pixels. This is to prevent the isolated black pixels from disappearing. The pixels 61b to 6
If any one of 1d is a black pixel, the process of step S18 is performed.

【0068】この第3の拡大・平滑化処理によれば、白
画素の潰れや、黒画素の消滅を防止することができるの
で、イメージ画像を劣化させない平滑化処理を行うこと
ができるという効果がある。
According to the third enlargement / smoothing process, it is possible to prevent the crushing of the white pixels and the disappearance of the black pixels. Therefore, it is possible to perform the smoothing process which does not deteriorate the image. is there.

【0069】次に、第4の拡大・平滑化処理を、図17
を参照して説明する。ステップS41では、指定位置の
指定方向において黒画素の1対1の4方向の連結パター
ンか否かの判断がなされる。この判断が肯定の場合に
は、ステップS13に進む。一方、否定の場合には、ス
テップS42に進む。
Next, the fourth enlargement / smoothing process will be described with reference to FIG.
Will be described with reference to. In step S41, it is determined whether the black pixel has a one-to-one four-direction connection pattern in the specified direction. If this determination is affirmative, the process proceeds to step S13. On the other hand, if the result is negative, the process proceeds to step S42.

【0070】ステップS42では、指定位置の指定方向
において黒画素の1対2〜1対nの8方向の連結パター
ンか否かの判断がなされ、この判断が否定の時にはステ
ップS43に進む。一方、この判断が肯定の時には、ス
テップS44に進んで、直交角パターンか否かの判断が
なされる。この判断が肯定の時には、ステップS45に
進んで補間しない処理をする。直交角パターンでない時
には、ステップS13に進む。ステップS13では前記
と同様の補間処理を行う。
In step S42, it is judged whether or not there is a connection pattern of black pixels in the eight directions of 1 to 2 to 1 to n in the specified direction of the specified position. If the judgment is negative, the process proceeds to step S43. On the other hand, when this judgment is affirmative, the routine proceeds to step S44, where it is judged whether or not it is the orthogonal angle pattern. When this determination is affirmative, the process proceeds to step S45 to perform a process of not interpolating. When the pattern is not the orthogonal angle pattern, the process proceeds to step S13. In step S13, the same interpolation process as described above is performed.

【0071】本実施例によれば、例えば、図18に示さ
れているように、注目画素61aに対して、周辺の黒画
素が直交角パターンである場合には、注目画素61aに
ついてステップS13〜S15の1対1の補間処理のみ
を行うようにする。すなわち、補間処理を弱めるように
する。
According to the present embodiment, for example, as shown in FIG. 18, when the black pixels in the periphery of the pixel of interest 61a have an orthogonal angle pattern, steps S13 through S13 of the pixel of interest 61a are performed. Only the one-to-one interpolation processing in S15 is performed. That is, the interpolation process is weakened.

【0072】本実施例によれば、補間処理を弱めること
ができるので、文字等の図形の直角部分に対して、周辺
とのバランスを保った平滑化処理を行うことができる。
なお、該直角部分に対して完全に直角保存すると、該直
角部分が周辺に比べてシャ―プに表現され過ぎ、違和感
を与えることになることが、本発明者の研究で判明し
た。
According to this embodiment, since the interpolation processing can be weakened, it is possible to perform the smoothing processing in which the right angle portion of a figure such as a character is kept in balance with the surroundings.
It has been revealed by the study of the present inventor that if the right angled portion is stored at a right angle, the right angled portion is overexpressed in a sharper shape than in the surrounding area and gives a feeling of strangeness.

【0073】前記の各実施例は、主・副走査方向に2×
4倍の拡大をする例で説明したが、本発明はこれに限定
されず、1×1〜6×6倍に拡大する場合にも適用でき
ることは勿論である。
Each of the above-described embodiments has 2 × in the main / sub scanning direction.
Although the description has been given of the example in which the enlargement is performed four times, the present invention is not limited to this, and it is needless to say that the present invention can be applied to the case where enlargement is performed 1 × 1 to 6 × 6.

【0074】[0074]

【発明の効果】本発明によれば、2値プラスmカラーの
画像データに対して、濃度データと色データとが別々に
拡大補間処理されるので、品質の良い拡大画像データを
得ることができるという効果がある。
According to the present invention, since the density data and the color data are separately enlarged and interpolated for binary plus m color image data, it is possible to obtain high-quality enlarged image data. There is an effect.

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

【図1】 本発明の一実施例の概略の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.

【図2】 濃度データと色データの説明図である。FIG. 2 is an explanatory diagram of density data and color data.

【図3】 本実施例の動作の流れを示すブロック図であ
る。
FIG. 3 is a block diagram showing a flow of operations of this embodiment.

【図4】 本発明に使用される拡大・平滑化処理装置の
概略の構成を示すブロック図である。
FIG. 4 is a block diagram showing a schematic configuration of an enlargement / smoothing processing apparatus used in the present invention.

【図5】 図4の制御回路において、副走査方向の処理
を行う部分のブロック図である。
5 is a block diagram of a portion that performs processing in the sub-scanning direction in the control circuit of FIG.

【図6】 図4の制御回路において、主走査方向の処理
を行う部分のブロック図である。
FIG. 6 is a block diagram of a portion that performs processing in a main scanning direction in the control circuit of FIG.

【図7】 主、副走査方向拡大ブロックブロック内位置
の技術的意味を説明する説明図である。
FIG. 7 is an explanatory diagram illustrating the technical meaning of main and sub-scanning direction enlarged blocks in-block positions.

【図8】 図4の動作の説明図である。FIG. 8 is an explanatory diagram of the operation of FIG.

【図9】 図6の要部の信号のタイミングチャートであ
る。
9 is a timing chart of signals of main parts of FIG.

【図10】 画像データの拡大・平滑化処理装置の概略
の構成を示すブロック図である。
FIG. 10 is a block diagram showing a schematic configuration of an image data enlargement / smoothing processing device.

【図11】 第1の補間の一例を示す図である。FIG. 11 is a diagram showing an example of first interpolation.

【図12】 第1の補間動作を示すフローチャートであ
る。
FIG. 12 is a flowchart showing a first interpolation operation.

【図13】 第2の補間動作を示すフローチャートであ
る。
FIG. 13 is a flowchart showing a second interpolation operation.

【図14】 第2の補間における削除の一例を示す図で
ある。
FIG. 14 is a diagram showing an example of deletion in the second interpolation.

【図15】 第3の補間動作を示すフローチャートであ
る。
FIG. 15 is a flowchart showing a third interpolation operation.

【図16】 第3の補間におけるイメージを劣化させる
パターンの一例を示す図である。
FIG. 16 is a diagram showing an example of a pattern that deteriorates an image in the third interpolation.

【図17】 第4の補間動作を示すフローチャートであ
る。
FIG. 17 is a flowchart showing a fourth interpolation operation.

【図18】 第4の補間における直交角パターンの一例
を示す図である。
FIG. 18 is a diagram showing an example of an orthogonal angle pattern in the fourth interpolation.

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

4…伸長器、6…蓄積メモリ、8…画情報補正回路、9
a…濃度メモリ、9b…色画素メモリ、11…マルチプ
レクサ、12…7ラインバッファ、13、61…レジス
タマトリックス、14…拡大処理ブロック、15…主走
査方向拡大率レジスタ、16…主走査方向拡大率レジス
タ、17…制御回路、62…パターン検出部、63…拡
大・平滑化処理部。
4 ... Decompressor, 6 ... Storage memory, 8 ... Image information correction circuit, 9
a ... Density memory, 9b ... Color pixel memory, 11 ... Multiplexer, 12 ... 7 line buffer, 13, 61 ... Register matrix, 14 ... Enlargement processing block, 15 ... Main scanning direction enlargement ratio register, 16 ... Main scanning direction enlargement ratio Registers, 17 ... Control circuit, 62 ... Pattern detection unit, 63 ... Enlargement / smoothing processing unit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/02 L 9471−5G H04N 1/393 4226−5C 1/60 1/46 8420−5L G06F 15/66 355 C 4226−5C H04N 1/40 D 4226−5C 1/46 Z (72)発明者 園部 賢一 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内 (72)発明者 中村 利文 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内 (72)発明者 鈴木 達久 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G09G 5/02 L 9471-5G H04N 1/393 4226-5C 1/60 1/46 8420-5L G06F 15/66 355 C 4226-5C H04N 1/40 D 4226-5C 1/46 Z (72) Inventor Kenichi Sonobe 3-7-1, Fuchu, Iwatsuki City, Saitama Prefecture Fuji Xerox Co., Ltd. (72) Inventor Nakamura Toshifumi, 3-7-1, Fuchu, Iwatsuki-shi, Saitama, Fuji Xerox Co., Ltd. (72) Inventor, Tatsuhisa Suzuki 3-7-1, Fuchu, Iwatsuki, Saitama Prefecture, Fuji Xerox Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2値で表わされる基本の2色とそれ以外
のm個(mは1以上の整数)の色からなる画像データを
濃度データおよび色データ別に記憶する手段と、 該濃度データおよび色データの各々を拡大補間処理する
手段とを具備したことを特徴とする画像処理装置。
1. Means for storing image data consisting of basic two colors represented by binary values and m other colors (m is an integer of 1 or more) for each density data and color data, and the density data and An image processing apparatus comprising: means for performing expansion interpolation processing on each color data.
【請求項2】 請求項1の画像処理装置において、 前記拡大補間処理をする手段は、 前記濃度データおよび色データの(2n+1)(ただ
し、nは正の整数)ラインを蓄積するラインバッファ
と、 該ラインバッファに蓄積されたデータのうちの(2n+
1)×(2n+1)個のデータを記憶するレジスタマト
リックスと、 k×l(ただし、kは主走査方向の拡大率、lは副走査
方向の拡大率)の拡大補間処理を行う拡大補間処理部と
を具備したことを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein the means for performing the enlargement interpolation processing is a line buffer for accumulating (2n + 1) (where n is a positive integer) lines of the density data and color data, Of the data accumulated in the line buffer, (2n +
1) A register matrix that stores (2n + 1) pieces of data, and an enlargement interpolation processing unit that performs enlargement interpolation processing of k × l (where k is an enlargement ratio in the main scanning direction and l is an enlargement ratio in the sub-scanning direction). An image processing apparatus comprising:
JP5206831A 1993-07-30 1993-07-30 Image processing device Pending JPH0740600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5206831A JPH0740600A (en) 1993-07-30 1993-07-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5206831A JPH0740600A (en) 1993-07-30 1993-07-30 Image processing device

Publications (1)

Publication Number Publication Date
JPH0740600A true JPH0740600A (en) 1995-02-10

Family

ID=16529799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5206831A Pending JPH0740600A (en) 1993-07-30 1993-07-30 Image processing device

Country Status (1)

Country Link
JP (1) JPH0740600A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6023096A (en) * 1997-03-01 2000-02-08 Nitto Denko Corporation Semiconductor device having metal foil integral with sealing resin
US7352480B2 (en) 2002-03-22 2008-04-01 Canon Kabushiki Kaisha Image processing apparatus and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6023096A (en) * 1997-03-01 2000-02-08 Nitto Denko Corporation Semiconductor device having metal foil integral with sealing resin
US7352480B2 (en) 2002-03-22 2008-04-01 Canon Kabushiki Kaisha Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
US5680486A (en) Image processing apparatus
US6389180B1 (en) Resolution conversion system and method
JPH06245056A (en) Extending and smoothing processor of picture data
JPH06203153A (en) Method and device for processing image
JPH0740600A (en) Image processing device
JPH0746399A (en) Picture processor
JP3225658B2 (en) Image information processing device
JPH0758944A (en) Image processor
JPH07118002B2 (en) Image processing device
JPH10136179A (en) Data processing unit
JP3136854B2 (en) Image processing device
JPH06205198A (en) Picture processor
JPH09204171A (en) Graphic data generating method and graphic controller
JP3249839B2 (en) Image processing device
JPH05342340A (en) Method for picture processing and device therefor
JPH07182503A (en) Method and device for processing image
JP2003309719A (en) Image processing apparatus and image processing method
JP3607308B2 (en) Image processing device
JPH07262351A (en) Image processor and control method for the same
JP2575641B2 (en) Image editing processing method
JP3211515B2 (en) Image reduction processing method
JP2744229B2 (en) Image processing device
JPH07107274A (en) Image processing device
JPH06209393A (en) Picture processor and diagnostic method for the same
JPH064658A (en) Method and device for processing image