JP2003208608A - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2003208608A
JP2003208608A JP2002008514A JP2002008514A JP2003208608A JP 2003208608 A JP2003208608 A JP 2003208608A JP 2002008514 A JP2002008514 A JP 2002008514A JP 2002008514 A JP2002008514 A JP 2002008514A JP 2003208608 A JP2003208608 A JP 2003208608A
Authority
JP
Japan
Prior art keywords
processing
scaling
image
data
pixel
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.)
Granted
Application number
JP2002008514A
Other languages
Japanese (ja)
Other versions
JP4118052B2 (en
Inventor
Naohito Shiraishi
尚人 白石
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002008514A priority Critical patent/JP4118052B2/en
Publication of JP2003208608A publication Critical patent/JP2003208608A/en
Application granted granted Critical
Publication of JP4118052B2 publication Critical patent/JP4118052B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing device capable of performing a variable power processing and a half tone processing in parallel at a high speed without interrupting the reading processing of image data and suppressing the memory cost to achieve a high speed processing. <P>SOLUTION: This image processing device has a memory arbiter I/F performing arbitration of demand for a memory arbiter performing image reading processing, reading processing of dither data, and writing processing after processing, a data conversion processing means for performing image processing for image data on a horizontal line from the memory arbiter I/F, a half tone processing means for performing half tone processing for dither data by the number of lines after changing power of each line in the vertical direction from the memory arbiter I/F and data per horizontal line after image processing from the data conversion processing means, and a data conversion means. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像処理装置に関
し、詳細には多値画像データを2値画像に変換するハー
フトーン処理装置およびハーフトーン処理方法に関し、
特にプリンタ等のコントローラ側における高速化の方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device, and more particularly to a halftone processing device and a halftone processing method for converting multi-valued image data into a binary image,
In particular, it relates to a method of increasing the speed on the controller side of a printer or the like.

【0002】[0002]

【従来の技術】従来、ページプリンタなどにおいて、解
像度の増加と高速化の要求から、CPUの性能のみでは
この要求を満たすことが難しくなってきた。特に、カラ
ープリンタでは、各種の画像処理と、C,M,Y,K版
の画像の変倍処理、デイザ処理、色変換処理など多くの
処理を必要をする。
2. Description of the Related Art Conventionally, in page printers and the like, it has been difficult to meet the demand only by the performance of the CPU due to the demand for increasing the resolution and increasing the speed. In particular, a color printer requires various kinds of image processing, and various processing such as C, M, Y, and K plate image scaling processing, dither processing, and color conversion processing.

【0003】近年、半導体技術の発展からCPUで行わ
れた処理の一部をハードウェアで行うことが可能となっ
てきた。そして、このハードウェアクセラレータをFP
GAで実現することにより、機能を変更可能としたシス
テムが特開2000−90237に提案されている。ま
た、画像の変倍処理技術は、入力機器及び出力機器間で
取り扱われる画像の解像度が異なる場合に入力画像と同
サイズの出力画像を得るために必要とされる技術であ
る。この変倍処理の方法として、傍法やバイリニア補間
法、3次補間法などが知られている。最近傍法は、補間
したい点に最も近い画素に補間するアルゴリズムであ
り、バイリニア補間法は、補間したい点の周囲4点か
ら、線形補間により補間データを求める方法であり、点
Zの周辺の4点J,I,G,Hから以下のような式で表
される。
In recent years, with the development of semiconductor technology, it has become possible to carry out part of the processing performed by the CPU by hardware. And this hardware xcelerator
Japanese Patent Laid-Open No. 2000-90237 proposes a system in which the function can be changed by implementing the GA. The image scaling technique is a technique required to obtain an output image of the same size as the input image when the resolutions of the images handled by the input device and the output device are different. As a method of this scaling processing, a side method, a bilinear interpolation method, a cubic interpolation method, etc. are known. The nearest neighbor method is an algorithm for interpolating to a pixel closest to a point to be interpolated, and the bilinear interpolation method is a method to obtain interpolated data from four points around the point to be interpolated by linear interpolation. The points J, I, G, and H are expressed by the following equations.

【0004】F(Z)=f(J)(1-α)(1-β)+f(I)(α)(1-β)+f
(G)(1-α)(β)+f(H)(α)(β) 3次補間法は点Zの周辺の16点から以下のような演算
式で表現される。ここでC(t)はサンプリング定理を
構成する関数SinπX/πXの近似式である。
F (Z) = f (J) (1-α) (1-β) + f (I) (α) (1-β) + f
(G) (1-α) (β) + f (H) (α) (β) The cubic interpolation method is expressed by the following arithmetic expression from 16 points around the point Z. Here, C (t) is an approximate expression of the function SinπX / πX that constitutes the sampling theorem.

【0005】F(Z)=f(G)C(Xg-Xz)C(Yg-Yz)+f(H)C(X
h-Xz)C(Yh-Yz)+…+f(V)C(Xv-Xz)C(Yv-Yz) C(t)=1-2t2+|t| (0≦|t|<1) C(t)=4-8|t|+5|t|2-|t|3 (1≦|t|<2) C(0)=0 (2≦|t|)
F (Z) = f (G) C (Xg-Xz) C (Yg-Yz) + f (H) C (X
h-Xz) C (Yh-Yz) + ... + f (V) C (Xv-Xz) C (Yv-Yz) C (t) = 1-2t 2 + | t | 3 (0 ≦ | t | < 1) C (t) = 4-8 | t | +5 | t | 2- | t | 3 (1 ≦ | t | <2) C (0) = 0 (2 ≦ | t |)

【0006】これらの処理法を比較したとき、最近傍法
は処理が軽いが画質はそれほどよくなく。バイリニア補
間法における処理は普通であり、画質は普通である。3
次補間法における処理は重たいが、画質は良いことが知
られている。
When these processing methods are compared, the nearest neighbor method is light in processing, but the image quality is not so good. The processing in the bilinear interpolation method is normal, and the image quality is normal. Three
It is known that the processing in the secondary interpolation method is heavy, but the image quality is good.

【0007】また、高速にハーフトーンデータを生成す
る従来例としては特開平6−6606号公報(以下従来
例1と称す)がある。この従来例1は閾値マトリックス
データのメモリとは別に閾値マトリックスの1ライン分
を複数の高速メモリに交互に転送し、ハーフトーン処理
は高速メモリから閾値データを読み出すことで実行され
ている。
As a conventional example for generating halftone data at high speed, there is Japanese Patent Laid-Open No. 6-6606 (hereinafter referred to as Conventional Example 1). In this conventional example 1, one line of the threshold matrix is alternately transferred to a plurality of high-speed memories separately from the memory of the threshold matrix data, and the halftone process is executed by reading the threshold data from the high-speed memory.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来例1は、少ない高速メモリで高速にハーフトーン生成
を行うことを狙いとしたもので、基本的に飛躍的な処理
の高速化を期待することはできない。
However, the above-mentioned conventional example 1 aims at performing halftone generation at high speed with a small amount of high-speed memory, and basically expects a dramatic increase in processing speed. I can't.

【0009】そして、特開2000−92321(以下
従来例2と称す)及び特開2000−165672(以
下従来例3と称す)では、閾値マトリックスメモリから
読み出される閾値データを一走査ラインが終了するま
で、再利用可能なように処理に適用する全閾値データを
レジスタに取り込み、これを選択的に複数の比較手段に
出力し、並列的な比較処理を実行する。レジスタにセッ
トされた閾値データは順次シフトされ、繰り返し使用さ
れる。しかし、この方式では、1つのメインメモリを有
するシステムにおいては、(デイザを格納するメモリを
別に持たないシステム)変倍処理とハーフトーン処理を
並列に処理するシステムにおいて一走査ラインごとのデ
イザパターンの読み込みは、変倍処理に必要な画像デー
タの読み込み処理を停止させるか、ハーフトーン処理を
停止させることが考えられ、結局のところシステムの処
理高速化を図れない。
In Japanese Unexamined Patent Publication No. 2000-92321 (hereinafter referred to as Conventional Example 2) and Japanese Unexamined Patent Publication No. 2000-165672 (hereinafter referred to as Conventional Example 3), the threshold value data read from the threshold value matrix memory until one scanning line is completed. , All the threshold value data to be applied to the process so as to be reusable are fetched into a register, which is selectively output to a plurality of comparison means to execute parallel comparison processes. The threshold data set in the register is sequentially shifted and repeatedly used. However, in this system, in a system having one main memory (a system that does not have a separate memory for storing dither), a dither pattern for each scanning line is used in a system that processes the scaling process and the halftone process in parallel. It is conceivable to stop the image data reading process necessary for the scaling process or the halftone process to read the image data, and ultimately the system cannot speed up the process.

【0010】また、特開2001−150739(以下
従来例4と称す)では、最近傍法を使用した変倍処理装
置とハーフトーン処理装置を有し、そのハーフトーン処
理装置においてはデイザメモリの使用方法について開示
されている。例えば、16*16マトリックスのデイザ
パターンを採用する場合には、デイザデータのデータ量
が16ライン分となる。このような大量の閾値を全て格
納しておくようなメモリをこの中に設けるのは不経済で
ある。この場合、デイザデータをRAMに格納してお
き、所定のタイミングで所定量づつ分割して受け入れる
図61の破線に示すようなダイレクトメモリアクセス回
路を設けると良い。また、1画素分のデータに対して4
個の閾値を順番に供給して4個の2値化データを制御も
できる。2値化処理以前のデータ転送クロックに対して
2値化処理後のデータ転送クロックを4倍にすれば良
い。
Further, in Japanese Unexamined Patent Publication No. 2001-150739 (hereinafter referred to as Conventional Example 4), a scaling processing apparatus and a halftone processing apparatus using the nearest neighbor method are provided, and the halftone processing apparatus uses a dither memory. Is disclosed. For example, when a 16 * 16 matrix dither pattern is adopted, the data amount of dither data is 16 lines. It is uneconomical to provide a memory in which all such a large amount of threshold values are stored. In this case, it is advisable to store the dither data in the RAM and to provide a direct memory access circuit as shown by the broken line in FIG. In addition, 4 for data of 1 pixel
It is also possible to supply four threshold values in order and control four binary data. The data transfer clock after the binarization process may be quadrupled to the data transfer clock before the binarization process.

【0011】更に、上述したように変倍処理の方法とし
て最近傍法や、バイリニア補間法、3次補間法などが知
られており、従来、CPUのワーク領域にソース画像
を、変倍処理を行ったものを展開し、その後ハーフトー
ン処理を行い、バンドバッファー書き込まれていた。し
かし、この方法では、CPUのワーク領域を大きく使用
し、しかも画像のMAXの大きさであるバンドメモリと
同じサイズのワーク領域を持たねばならなかった。
Further, as described above, the nearest neighbor method, the bilinear interpolation method, the cubic interpolation method and the like are known as the scaling processing methods. Conventionally, the source image is processed in the work area of the CPU and the scaling processing is performed. What was done was developed, then halftone processed, and the band buffer was written. However, in this method, the work area of the CPU must be used largely, and moreover, the work area of the same size as the band memory which is the size of the image MAX must be provided.

【0012】本発明はこれらの問題点を解決するための
ものであり、デイザデータを垂直方向の変倍後のライン
数分に必要なデイザデータを一括して読み込み、かつ画
像処理後のデータをラインメモリに垂直方向の変倍後の
ライン数分を格納し、その後、一括して、メモリに書き
込むことにより、画像データの読み込み処理を中断させ
ることなく高速に変倍処理とハーフトーン処理を並列に
行うことにより、メモリコストを抑え高速化を実現でき
る画像処理装置を提供することを目的とする。また、ハ
ーフトーン処理装置の並列処理画素数分の画素を常に供
給するため、変倍処理において同じ並列処理画素分の並
列処理を行うことにより、処理の高速化を図ることがで
きる画像処理装置を提供することを目的とする。
The present invention is intended to solve these problems, in which the dither data necessary for reading the number of lines after vertical scaling is read in batch, and the data after image processing is read in a line memory. The number of lines after scaling in the vertical direction is stored in, and then the data is collectively written in the memory, so that scaling processing and halftone processing are performed in parallel at high speed without interrupting the reading processing of image data. Accordingly, it is an object of the present invention to provide an image processing apparatus that can reduce the memory cost and realize high speed. Further, since pixels for the number of parallel processing pixels of the halftone processing device are always supplied, an image processing device capable of speeding up the processing by performing parallel processing for the same parallel processing pixels in the scaling processing. The purpose is to provide.

【0013】[0013]

【課題を解決するための手段】前記問題点を解決するた
めに、本発明の画像処理装置は、画像読み込み処理及び
デイザデータの読み込み処理と処理後の書き込み処理を
行うメモリアービターへの要求の調停を行うメモリアー
ビターI/Fと、メモリアービターI/Fから水平ライ
ンの画像データに画像処理を行うデータ変換処理手段
と、メモリアービターI/Fからの垂直方向の各ライン
の変倍後のライン数分のデイザデータとデータ変換処理
手段からの画像処理後の水平ライン毎のデータに対して
ハーフトーン処理を施すハーフトーン処理手段と、デー
タ変換手段とを有することに特徴がある。よって、画像
データの読み込み処理を中断することなく、画像データ
の読み込みと画像処理が並列に処理可能であり、高速化
することができる。
In order to solve the above-mentioned problems, the image processing apparatus of the present invention arbitrates a request to a memory arbiter which performs an image reading process, a dither data reading process and a post-processing writing process. The memory arbiter I / F to be performed, data conversion processing means for performing image processing from the memory arbiter I / F to image data of horizontal lines, and the number of lines after scaling of each vertical line from the memory arbiter I / F. The dither data and the halftone processing means for performing halftone processing on the data for each horizontal line after the image processing from the data conversion processing means, and the data conversion means. Therefore, the image data reading process and the image processing can be performed in parallel without interrupting the image data reading process, and the speed can be increased.

【0014】また、メモリアービターI/F手段は、垂
直方向に変倍処理を行い、かつ垂直方向の変倍率に応じ
て必要なデイザデータを選択し、読み込むことにより、
高速化できる。
Further, the memory arbiter I / F means performs a scaling process in the vertical direction, selects necessary dither data according to the scaling factor in the vertical direction, and reads it.
Can speed up.

【0015】更に、データ変換手段は、最近傍法により
変倍処理を行う変倍処理手段を有する。よって、画像を
変倍後に直接ハーフトーン処理を行うために無駄なワー
クメモリの領域を必要とせず、かつ高速に処理が可能で
ある。
Further, the data conversion means has a scaling processing means for performing scaling processing by the nearest neighbor method. Therefore, it is possible to perform high-speed processing without needing an unnecessary work memory area for performing the halftone processing directly after scaling the image.

【0016】また、データ変換手段は、バイリニア補間
法により変倍処理を行う変倍処理手段を有する。よっ
て、画像を変倍後に直接ハーフトーン処理を行うために
無駄なワークメモリの領域を必要とせず、かつ高速に処
理が可能である。
Further, the data conversion means has a scaling processing means for performing scaling processing by the bilinear interpolation method. Therefore, it is possible to perform high-speed processing without needing an unnecessary work memory area for performing the halftone processing directly after scaling the image.

【0017】更に、変倍処理手段は、ハーフトーン処理
手段の並列に処理する画素と同じ数の画素を並列に変倍
処理することが可能な変倍画素係数生成手段を有し、画
像データを直接ハーフトーン処理を行う。よって、無駄
なワークメモリの領域を必要とせず、高速に処理が可能
であり、かつハーフトーン処理手段の並列処理数分の画
素を常に変倍処理手段が生成することが可能であるため
により一層高速に処理することができる。
Further, the scaling processing means has a scaling pixel coefficient generation means capable of scaling processing the same number of pixels in parallel as the pixels to be processed in parallel by the halftone processing means, and the image data Performs halftone processing directly. Therefore, it is possible to perform high-speed processing without needing a useless work memory area, and it is possible for the scaling processing unit to constantly generate pixels for the number of parallel processings of the halftone processing unit. It can be processed at high speed.

【0018】また、変倍画素係数生成手段は、ハーフト
ーン処理手段の並列処理数と同じ数の画素のX幅を求め
ることが可能な並列X幅生成手段と、その複数のX幅を
受け取り、ハーフトーン処理手段の並列処理数へ分けて
出力する出力X幅生成手段とを有する。よって、水平方
向に並列に変倍処理を行うために高速に処理が可能とな
る。
Further, the scaled pixel coefficient generation means receives parallel X width generation means capable of obtaining the X width of the same number of pixels as the number of parallel processings of the halftone processing means, and the plurality of X widths, And an output X width generation means for dividing and outputting the number of parallel processings of the halftone processing means. Therefore, since the scaling processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0019】更に、ハーフトーン処理手段は、水平方向
に複数の画素を並列に比較する並列比較手段と、デイザ
パターンメモリから受け取った水平方向に複数の閾値マ
トリックスを現在の比較する画素から水平方向に複数の
閾値マトリックスを切り出す比較パターン切り出し手段
とを有する。よって、水平方向に並列にハーフトーン処
理を行うために高速に処理が可能となる。
Further, the halftone processing means includes a parallel comparison means for comparing a plurality of pixels in a horizontal direction in parallel, and a plurality of horizontal threshold values received from the dither pattern memory in a horizontal direction from a pixel for current comparison. And a comparison pattern cutout unit that cuts out a plurality of threshold matrices. Therefore, since the halftone processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0020】また、比較パターン切り出し手段は、変倍
処理手段から受け取った有効画素数からデイザパターン
メモリから受け取った水平方向に複数の閾値マトリック
スを現在の比較する画素から水平方向に複数の閾値マト
リックスを切り出す。よって、水平方向に並列にハーフ
トーン処理を行うために高速に処理が可能となる。
Further, the comparison pattern cutting-out means is configured to make a plurality of horizontal threshold matrixes received from the dither pattern memory from the effective pixel number received from the scaling processing means, and a plurality of horizontal threshold matrixes from the current pixel to be compared. Cut out. Therefore, since the halftone processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0021】更に、ハーフトーン処理手段は、水平方向
に複数の画素を並列に比較する並列比較手段とデイザパ
ターンメモリから受け取った水平方向に複数の閾値マト
リックスを現在の比較する画素から水平方向に複数の閾
値マトリックスを切り出す比較パターン切り出し手段と
並列比較手段から受け取った水平方向に複数の画素を、
変倍処理手段から受け取った有効画素数だけ、固定長の
データへ入れ込んでいく固定長生成手段を有する。よっ
て、水平方向に並列にハーフトーン処理を行うために高
速に処理が可能となる。
Further, the halftone processing means includes a parallel comparing means for comparing a plurality of pixels in the horizontal direction in parallel and a plurality of threshold matrixes in the horizontal direction received from the dither pattern memory from the pixel to be currently compared in the horizontal direction. A plurality of pixels in the horizontal direction received from the comparison pattern cutout unit and the parallel comparison unit that cuts out a plurality of threshold matrices,
It has a fixed length generation means for inserting into the fixed length data by the number of effective pixels received from the scaling processing means. Therefore, since the halftone processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0022】また、変倍処理手段は、水平方向にMAX
の倍率分、並列に画素を求め、水平方向にMAXの倍率
分、並列に画素を求める。よって、水平方向に並列に変
倍処理を行うために高速に処理が可能となる。
Further, the scaling processing means is arranged to MAX in the horizontal direction.
Pixels are obtained in parallel for the magnification of, and pixels are obtained in parallel for the magnification of MAX in the horizontal direction. Therefore, since the scaling processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0023】更に、変倍処理手段は、水平方向にMAX
の倍率分の画素を並列に計算する水平補間手段と、その
画素の有効数を求める有効数カウント手段とを有する。
よって、水平方向に並列に変倍処理を行うために高速に
処理が可能となる。
Further, the scaling processing means is arranged to MAX in the horizontal direction.
It has a horizontal interpolation means for calculating in parallel the pixels for the magnification and the effective number counting means for obtaining the effective number of the pixels.
Therefore, since the scaling processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0024】[0024]

【発明の実施の形態】本発明の画像処理装置は、画像読
み込み処理及びデイザデータの読み込み処理と処理後の
書き込み処理を行うメモリアービターへの要求の調停を
行うメモリアービターI/Fと、メモリアービターI/
Fから水平ラインの画像データに画像処理を行うデータ
変換処理手段と、メモリアービターI/Fからの垂直方
向の各ラインの変倍後のライン数分のデイザデータとデ
ータ変換処理手段からの画像処理後の水平ライン毎のデ
ータに対してハーフトーン処理を施すハーフトーン処理
手段と、データ変換手段とを有する。
BEST MODE FOR CARRYING OUT THE INVENTION An image processing apparatus according to the present invention comprises a memory arbiter I / F for arbitrating requests to a memory arbiter which performs an image reading process, a dither data reading process and a post-processing writing process, and a memory arbiter I. /
Data conversion processing means for performing image processing from F to horizontal line image data, dither data for the number of lines after scaling of each vertical line from the memory arbiter I / F, and after image processing from the data conversion processing means And half-tone processing means for performing half-tone processing on the data for each horizontal line and data conversion means.

【0025】[0025]

【実施例】図1は本発明の画像処理装置を適用する多色
画像形成装置の構成を示す断面図である。同図に示す多
色画像形成装置によれば、像担持体であるベルト状の感
光体1は回転ローラ2,3により回動可能に支持され、
その各回転ローラ2,3の駆動により矢示A方向に回動
される。感光体1の外周部には、帯電手段である帯電装
置4、除電ランプL、感光体1用のクリーニングブレー
ド15Aが配置されている。帯電装置4の下流位置に
は、光書込手段であるレーザ書き込みユニット5より発
せられるレーザ光が照射される光書き込み部がある。光
書き込み部より下流位置には、複数の現像ユニット(現
像手段)が切り換え自在に支持された多色現像装置6が
配置されている。その多色現像装置6は、収容するトナ
ーの色毎に、イエロー現像ユニット,マゼンダ現像ユニ
ット,シアン現像ユニットを備えている。また、多色現
像装置6の上部には、黒色トナーを収容したブラック現
像ユニット7が備えられている。これらの各現像ユニッ
トのいずれか1つが対応する色の現像タイミングに同期
し、現像可能な位置に移動する。多色現像装置6は、円
周上120度の回転によっていずれかの現像ユニットを
選択する機能を有している。そして、これらの現像ユニ
ットが稼動するときには、ブラック現像ユニット7は感
光体1より離間した位置に移動する。その移動は、カム
45の回転により行なわれる。レーザ書き込みユニット
5は、図示しないレーザ光源から複数色の画像形成信号
(書き込み情報)に応じたレーザ光を順次発生させ、ポ
リゴンモータ5Aによって回転されるポリゴンミラー5
Bを用いてそのレーザ光を周期的に偏向させ、fθレン
ズ5C及びミラー5Dなどを経て、帯電された感光体1
の表面を走査してその表面に静電潜像を形成させる。
1 is a sectional view showing the structure of a multicolor image forming apparatus to which an image processing apparatus of the present invention is applied. According to the multicolor image forming apparatus shown in the figure, the belt-shaped photosensitive member 1 which is an image carrier is rotatably supported by rotating rollers 2 and 3,
The rotary rollers 2 and 3 are driven to rotate in the arrow A direction. A charging device 4, which is a charging unit, a charge eliminating lamp L, and a cleaning blade 15A for the photoconductor 1 are arranged on the outer peripheral portion of the photoconductor 1. At a position downstream of the charging device 4, there is an optical writing unit to which a laser beam emitted from a laser writing unit 5 which is an optical writing unit is irradiated. A multicolor developing device 6 in which a plurality of developing units (developing means) are switchably supported is arranged at a position downstream of the optical writing section. The multi-color developing device 6 includes a yellow developing unit, a magenta developing unit, and a cyan developing unit for each color of the toner contained therein. A black developing unit 7 containing black toner is provided above the multi-color developing device 6. Any one of these developing units moves to a developable position in synchronization with the developing timing of the corresponding color. The multicolor developing device 6 has a function of selecting one of the developing units by rotating 120 degrees on the circumference. Then, when these developing units operate, the black developing unit 7 moves to a position separated from the photoconductor 1. The movement is performed by the rotation of the cam 45. The laser writing unit 5 sequentially generates laser light according to image forming signals (writing information) of a plurality of colors from a laser light source (not shown), and the polygon mirror 5 is rotated by a polygon motor 5A.
The laser beam is periodically deflected by using B, and the charged photoconductor 1 is passed through the fθ lens 5C and the mirror 5D.
The surface of the is scanned to form an electrostatic latent image on the surface.

【0026】そして、感光体1の表面に形成される静電
潜像は、対応する現像ユニットからのトナーによって現
像され、トナー画像が形成・保持される。中間転写ベル
ト10は、感光体1に隣接しており、回転ローラ11,
12により矢示B方向に回動可能に支持されている。感
光体1上のトナー画像は、中間転写ベルト10の裏側に
ある転写ブラシ(第1の転写手段)13により、その中
間転写ベルト10の表面に転写される。感光体1の表面
は1色毎にクリーニングブレード15Aによりクリーニ
ングされ、その表面に所定色のトナー画像が形成され
る。そして、その都度中間転写ベルト10の1回動毎に
その表面の同じ位置に感光体1上のトナー画像が転写さ
れて、中間転写ベルト10上に複数色のトナー画像が重
ね合わせられて保持される。その後、そのトナー画像は
用紙やプラスチック等の記録媒体に転写される。用紙へ
の転写に際しては、給紙装置(給紙カセット)17に収
納されている用紙が給紙ローラ18によって繰り出され
て搬送ローラ19により搬送され、レジストローラ対2
0に付き当てられた状態で一旦停止された後、トナー画
像の転写位置が正規のものとなるようにタイミングがと
られて中間転写ベルト10と転写ローラ(第2の転写手
段)14のニップに再搬送される。そして、その用紙は
転写ローラ14の作用により中間転写ベルト10上の複
数色のトナー画像が一括転写された後、定着装置50に
送られ、そこでトナー像が定着された後、排紙ローラ対
51により本体フレーム9の上部の排紙スタック部52
に排出される。
Then, the electrostatic latent image formed on the surface of the photoconductor 1 is developed with the toner from the corresponding developing unit, and a toner image is formed and held. The intermediate transfer belt 10 is adjacent to the photoconductor 1 and includes the rotating rollers 11 and
It is supported by 12 so as to be rotatable in the direction of arrow B. The toner image on the photoconductor 1 is transferred onto the surface of the intermediate transfer belt 10 by a transfer brush (first transfer means) 13 on the back side of the intermediate transfer belt 10. The surface of the photoconductor 1 is cleaned by the cleaning blade 15A for each color, and a toner image of a predetermined color is formed on the surface. Then, each time the intermediate transfer belt 10 rotates, the toner images on the photoconductor 1 are transferred to the same position on the surface thereof, and the toner images of a plurality of colors are superposed and held on the intermediate transfer belt 10. It Then, the toner image is transferred to a recording medium such as paper or plastic. At the time of transfer onto a sheet, the sheet stored in the sheet feeding device (sheet feeding cassette) 17 is unwound by the sheet feeding roller 18 and conveyed by the conveying roller 19, and the registration roller pair 2
After being temporarily stopped in the state of being abutted with 0, the toner image is transferred to the nip between the intermediate transfer belt 10 and the transfer roller (second transfer means) 14 at a timing so that the transfer position of the toner image becomes normal. Re-transported. Then, after the toner images of a plurality of colors on the intermediate transfer belt 10 are collectively transferred by the action of the transfer roller 14 to the sheet, the sheet is sent to the fixing device 50, where the toner images are fixed, and then the discharge roller pair 51. The upper stack 52 of the main body frame 9
Is discharged to.

【0027】中間転写ベルト10には、回転ローラ11
の部位に中間転写ベルト10用のクリーニング装置16
が設けられ、クリーニングブレード16Aがクリーニン
グブレード接離用アーム16Cを介して接離自在の構成
となっている。このクリーニングブレード16Aは、感
光体1からトナー画像を受け取る工程では、中間転写ベ
ルト10から離れ、中間転写ベルト10より用紙にトナ
ー画像が転写された後に接触するようになっていて、用
紙にトナー画像が転写された後の残留トナーをかきと
る。クリーニングブレード16Aは、上記したように、
感光体1用と中間転写ベルト10用がある。これらブレ
ードがかきとった廃トナーは、回収容器15に収納す
る。その回収容器15は適宜交換される。中間転写ベル
ト10用のクリーニング装置16の内部に設けられたオ
ーガ16Bが、クリーニングブレード16Aでかきとら
れた廃トナーを搬送し、図示しない搬送手段で回収容器
15に送るようになっている。
The intermediate transfer belt 10 includes a rotating roller 11
Cleaning device 16 for the intermediate transfer belt 10
Is provided, and the cleaning blade 16A is configured to be freely contactable and separable via the cleaning blade contacting / separating arm 16C. In the process of receiving the toner image from the photoconductor 1, the cleaning blade 16A separates from the intermediate transfer belt 10 and comes into contact with the sheet after the toner image is transferred from the intermediate transfer belt 10 to the sheet. Scrape off the residual toner after being transferred. The cleaning blade 16A, as described above,
There are one for the photoreceptor 1 and one for the intermediate transfer belt 10. The waste toner scraped by these blades is stored in the collection container 15. The recovery container 15 is replaced appropriately. An auger 16B provided inside the cleaning device 16 for the intermediate transfer belt 10 conveys the waste toner scraped by the cleaning blade 16A and feeds it to the collecting container 15 by a conveying means (not shown).

【0028】ユニット化されたプロセスカートリッジ3
1は、感光体1,帯電装置4,中間転写ベルト10,ク
リーニング装置16,用紙搬送路を形成する搬送ガイド
30などを一体に組み込み、寿命到来時に交換できるよ
うに構成されている。プロセスカートリッジ31の交換
の他に、多色現像装置6,ブラック現像ユニット7など
も寿命到来時に交換するが、その交換性やジャム紙の処
理を容易にするため、本体の一部の前フレーム8は支軸
9Aを中心に開閉可能に回動できる構造にしてある。
Unitized process cartridge 3
The apparatus 1 is configured so that the photoconductor 1, the charging device 4, the intermediate transfer belt 10, the cleaning device 16, and a conveyance guide 30 that forms a sheet conveyance path are integrally incorporated and can be replaced at the end of their life. In addition to the replacement of the process cartridge 31, the multi-color developing device 6, the black developing unit 7, etc. are also replaced at the end of their life. However, in order to facilitate the replacement and jam paper processing, a part of the front frame 8 of the main body is replaced. Has a structure that can be opened and closed about the support shaft 9A.

【0029】また、図1の左側には、電装・制御装置6
0が収納されている。その上方には、ファン58が備え
られており、機内の温度過昇防止のために排風する。図
の右側には、比較的小規模な別の給紙装置59が備えら
れている。なお、この実施形態では、中間転写体として
中間転写ベルト10を使用したが、中間転写ドラムを使
用することもできる。
On the left side of FIG. 1, the electrical equipment / control device 6
0 is stored. A fan 58 is provided above the fan 58 and exhausts air to prevent excessive temperature rise inside the machine. On the right side of the drawing, another relatively small paper feeding device 59 is provided. Although the intermediate transfer belt 10 is used as the intermediate transfer member in this embodiment, an intermediate transfer drum may be used.

【0030】図2は図1の電装・制御装置の構成を示す
ブロック図である。同図において、電装・制御装置は、
主に、画像メモリ109を操作する画像メモリアクセラ
レータ101を有し、CPU107にコントロールさ
れ、ネットワーク通して図示していないホストコンピュ
ータから画像データを受け取り、メモリ109へ転送
し、またその画像データをエンジンコントローラ113
へ転送しプリントアウトなどを行う。この時に、各ホス
トとの通信や、画像メモリ108のコントロールやパネ
ル16から操作された情報を得るためや、プリンタエン
ジンコントローラなどの周辺とのバスコントロールなど
を行う。バスコントローラ101は、バス117とつな
がる各周辺コントローラとのバスの調停を行う。メモリ
アービター103は、メモリ109と各種のコントロー
ラ間の調停を行う。ローカルI/F104はROM10
5などのインタフェースである。ROM105は、各種
のプログラムや、文字などのフォント情報を格納してい
る。CPUI/F106は、CPU107のインタフェ
ースである。CPU107は、プリンタ装置全体の制御
を行う。メモリコントローラ108は、メモリ109を
コントロールし、メモリアービター108を介して、各
種コントローラやCPU107と接続されている。メモ
リ109は、画像データやその符号データ、そしてCP
U107のプログラムなどを格納している。通信コント
ローラ110は、ネットワークに接続されており、ネッ
トワークから各種データやコマンドなどを受け取り、メ
モリアービター103を介して各種のコントローラに接
続されている。画像処理装置112は、CPU107か
らの命令によりメモリ109から画像を読み込み、画像
処理後にメモリ109へ画像処理後の画像を書き込む。
エンジンコントローラ113は、バス117と接続され
ており、プリンタエンジン114をコントロールする。
パネルコントローラ115は、パネル116をコントロ
ールしている。パネル116は、ユーザからの操作をプ
リンタ装置へ知らせる表示装置である。バス117は、
画像メモリアクセラレータ101と各種周辺コントロー
ラとを接続する。DMA111は、メモリコントローラ
108とバス117に接続されたエンジンコントローラ
113間のダイレクトメモリアクセスを行う。
FIG. 2 is a block diagram showing the configuration of the electrical equipment / control device shown in FIG. In the figure, the electrical equipment / control device is
It mainly has an image memory accelerator 101 for operating the image memory 109, is controlled by the CPU 107, receives image data from a host computer (not shown) via a network, transfers the image data to the memory 109, and transfers the image data to the engine controller. 113
Transfer to and print out. At this time, communication with each host, control of the image memory 108, information obtained by operating from the panel 16 and bus control with peripherals such as the printer engine controller are performed. The bus controller 101 arbitrates the bus with each peripheral controller connected to the bus 117. The memory arbiter 103 arbitrates between the memory 109 and various controllers. The local I / F 104 is the ROM 10
5 and other interfaces. The ROM 105 stores various programs and font information such as characters. The CPU I / F 106 is an interface of the CPU 107. The CPU 107 controls the entire printer device. The memory controller 108 controls the memory 109 and is connected to various controllers and the CPU 107 via the memory arbiter 108. The memory 109 stores image data, its code data, and CP.
The U107 program and the like are stored. The communication controller 110 is connected to the network, receives various data and commands from the network, and is connected to various controllers via the memory arbiter 103. The image processing apparatus 112 reads an image from the memory 109 according to a command from the CPU 107, and writes the image after the image processing to the memory 109 after the image processing.
The engine controller 113 is connected to the bus 117 and controls the printer engine 114.
The panel controller 115 controls the panel 116. The panel 116 is a display device that informs the printer device of an operation from the user. Bus 117
The image memory accelerator 101 and various peripheral controllers are connected. The DMA 111 performs direct memory access between the memory controller 108 and the engine controller 113 connected to the bus 117.

【0031】図3は本発明の一実施例に係る画像処理装
置の構成を示すブロック図である。同図において、画像
処理装置112は、メモリアービターI/F201、デ
ータ変換処理装置202、ハーフトーン処理装置203
及びパラメータ格納装置204を含んで構成されてい
る。
FIG. 3 is a block diagram showing the arrangement of an image processing apparatus according to an embodiment of the present invention. In the figure, the image processing device 112 includes a memory arbiter I / F 201, a data conversion processing device 202, and a halftone processing device 203.
And a parameter storage device 204.

【0032】そして、メモリアービターI/F201
は、画像処理装置112の画像読み込み処理と、デイザ
データの読み込み処理と処理後画像の書き込み処理のメ
モリアービター103への要求の調停を行い、データ変
換処理装置202へ画像データを、ハーフトーン処理装
置203へデイザデータを転送し、またはハーフトーン
処理装置203からの画像処理後のデータを受け取り、
メモリアービター103へ転送する。また、垂直方向の
変倍処理を管理し、それに必要な画像データとデイザデ
ータを、メモリアービター103を介して要求し、処理
後の画像をメモリアービター103へ転送する。
The memory arbiter I / F 201
Arbitrates the request to the memory arbiter 103 for the image reading process of the image processing device 112, the reading process of the dither data, and the writing process of the processed image, and the image data to the data conversion processing device 202 and the halftone processing device 203. To transfer the dither data to or receive the image-processed data from the halftone processing device 203,
Transfer to the memory arbiter 103. It also manages the scaling process in the vertical direction, requests the image data and dither data necessary for the scaling process via the memory arbiter 103, and transfers the processed image to the memory arbiter 103.

【0033】また、データ変換処理装置202は、メモ
リアービターI/F201から水平ラインの画像データ
を受け取り、水平方向の変倍処理、色変換処理、フィル
ター処理や、画像データが符号である場合は画像符号の
デコード処理を行い、画像データへの変換後に、上記の
変倍処理、色変換処理、フィルター処理などを実行し、
その処理結果をハーフトーン処理装置203へ転送す
る。ここで、データ変換処理装置202の詳細な構成は
図4に示しておく。
Further, the data conversion processing device 202 receives the image data of the horizontal line from the memory arbiter I / F 201, and performs the scaling processing in the horizontal direction, the color conversion processing, the filter processing, and the image data when the image data is a code. After decoding the code and converting it to image data, execute the above scaling processing, color conversion processing, filter processing, etc.
The processing result is transferred to the halftone processing device 203. Here, the detailed configuration of the data conversion processing device 202 is shown in FIG.

【0034】更に、ハーフトーン処理装置203は、メ
モリアーブビターI/F201から垂直方向の各ライン
の変倍後のライン数分のデイザデータを受け取り、デー
タ変換処理装置202から、画像処理後のデータを水平
ラインごと受け取り、ハーフトーン処理を実行する。
Further, the halftone processing device 203 receives the dither data of the number of lines after scaling of each line in the vertical direction from the memory arbiter I / F 201, and the data after the image processing is received from the data conversion processing device 202. Receives each horizontal line and executes halftone processing.

【0035】また、パラメータ格納装置204は、CP
Uなどから設定されたメモリアービターI/F201、
データ変換処理装置202、ハーフトーン処理装置20
3に必要なパラメータを格納する。
The parameter storage device 204 is a CP
Memory arbiter I / F 201 set from U, etc.
Data conversion processing device 202, halftone processing device 20
Store the required parameters in 3.

【0036】次に、図3のデータ変換処理装置202の
変倍処理が最近傍法である場合の動作について動作フロ
ーを示す図5に従って説明する。はじめに、図3のメモ
リアービターI/F201は、垂直方向の変倍率を求め
る処理を行う(ステップS101)。メモリアービター
I/F201は、図2のメモリアービター103を介し
て図2のメモリ109から1ラインの画像データを読み
込み、図3のデータ変換処理装置202へ送る(ステッ
プS102)。メモリアービターI/F201は、垂直
方向に変倍後のライン数分のデイザデータを読み込み、
図3のハーフトーン処理装置203へ送る(ステップS
103)。メモリアービターI/F201は求めた垂直
方向の変倍率とデイステイネーション画像の座標Y始点
DYSから垂直方向のDDA(デジタル微分解析)によ
り、変倍後のY始点YSとY終点YEを求める(ステッ
プS104)。そして、メモリアービターI/F201
は変倍後の垂直方向のラインカウンタに求めたYSの値
を設定する(ステップS105)。その後、データ変換
処理装置202により1ラインの画像処理(変倍、色変
換、フィルター処理など)を行う(ステップS10
6)。ハーフトーン処理装置203により、1ラインの
画像処理後の画像データにハーフトーン処理を行う(ス
テップS107)。そして、ハーフトーン処理装置20
3はハーフトーン処理後の1ラインデータを内部ライン
メモリに書き込む(ステップS108)。メモリアービ
ターI/F101は変倍後の垂直方向のラインカウンタ
をカウントアップする(ステップS109)。更に、メ
モリアービターI/F201は垂直方向のラインカウン
タが求めた垂直方向の変倍後のY終点YEを超えている
かいないかをチェックし、超えていない場合はステップ
S106の処理へ移り(ステップS110;YES)、
等しいか又は超えた場合はメモリアービターI/F20
1で書き込まれた内蔵ラインメモリから画像処理後のデ
ータをメモリアービター103を介してメモリ109へ
画像処理後の画像データを書き込む(ステップS11
0;NO、ステップS111)。そして、メモリアービ
ターI/F201は求めた垂直方向の変倍後のY終点Y
Eがデイステイネーション画像の座標Y終点DYEを超
えているかいないかをチェックし、超えている場合はス
テップS102へ移り(ステップS112;YES)、
等しいか又は超えた場合は処理を終了する(ステップS
112;NO)。
Next, the operation of the data conversion processing device 202 shown in FIG. 3 when the scaling processing is the nearest neighbor method will be described with reference to FIG. 5, which shows an operation flow. First, the memory arbiter I / F 201 of FIG. 3 performs a process of obtaining a scaling factor in the vertical direction (step S101). The memory arbiter I / F 201 reads the image data of one line from the memory 109 of FIG. 2 via the memory arbiter 103 of FIG. 2 and sends it to the data conversion processing device 202 of FIG. 3 (step S102). The memory arbiter I / F 201 reads dither data for the number of lines after scaling in the vertical direction,
Send to the halftone processing device 203 of FIG. 3 (step S
103). The memory arbiter I / F 201 obtains the Y start point YS and the Y end point YE after scaling by the vertical scaling DDA (digital differential analysis) from the determined vertical scaling factor and the coordinate Y start point DYS of the destination image. S104). And memory arbiter I / F201
Sets the obtained YS value in the vertical line counter after scaling (step S105). After that, the data conversion processing device 202 performs one-line image processing (magnification, color conversion, filter processing, etc.) (step S10).
6). The halftone processing device 203 performs halftone processing on the image data after the image processing for one line (step S107). Then, the halftone processing device 20
3 writes the 1-line data after the halftone processing in the internal line memory (step S108). The memory arbiter I / F 101 counts up the vertical line counter after scaling (step S109). Further, the memory arbiter I / F 201 checks whether or not the Y end point YE after scaling in the vertical direction obtained by the vertical line counter is exceeded, and if not, the process proceeds to step S106 (step S110). ; YES),
Memory arbiter I / F 20 when equal or exceeding
The image-processed data is written from the built-in line memory written in step 1 into the memory 109 via the memory arbiter 103 (step S11).
0; NO, step S111). Then, the memory arbiter I / F 201 determines the calculated Y end point Y after scaling in the vertical direction.
It is checked whether or not E exceeds the coordinate Y end point DYE of the day-station image, and if it exceeds, the process proceeds to step S102 (step S112; YES),
If they are equal to or more than the above, the processing is terminated (step S).
112; NO).

【0037】図6は垂直方向に縮小する場合のタイミン
グ例を示す図である。同図の(a)に示す例は、縮小倍
率が0.5倍の例で、画像処理前の画像データを1つ飛
ばしのラインを(奇数ラインのみ)読み込み、デイザパ
ターンデータは順次1ラインごと、読み込み、そして画
像処理後のデータを順次1ラインごと書き込んでいく例
である。また、この例では、画像データの読み込み処理
と画像処理とが並列に処理される。そして、同図の
(b)に示す例は、0.6666倍の例で、画像処理前
の画像データを3ラインごと1ラインを飛ばして読み込
み、デイザパターンデータは順次1ラインごとに読み込
み、そして画像処理後のデータを順次1ラインごと書き
込んでいく例である。また、この例でも、画像データの
読み込み処理と画像処理とが並列に処理される。
FIG. 6 is a diagram showing a timing example in the case of reducing in the vertical direction. The example shown in (a) of the figure is an example in which the reduction ratio is 0.5 times, in which one line of the image data before the image processing is skipped (only the odd line) is read, and the dither pattern data is sequentially set to one line. This is an example in which each line is read, and data after image processing is sequentially written line by line. Further, in this example, the image data reading processing and the image processing are processed in parallel. The example shown in (b) of the figure is an example of 0.6666 times, in which the image data before the image processing is read by skipping one line every three lines, and the dither pattern data is sequentially read every line, Then, the data after the image processing is sequentially written line by line. Also in this example, the image data reading process and the image processing are performed in parallel.

【0038】図7は垂直方向の等倍及び拡大の場合のタ
イミング例を示す図である。同図の(a)に示す例は、
等倍の例で、画像処理前の画像データを順次1ラインご
と読み込み、デイザパターンデータを順次1ラインごと
に読み込み、そして画像処理後のデータを順次1ライン
ごと書き込んでいく例である。また、この例では、画像
データの読み込み処理と画像処理とが並列に処理され
る。同図の(b)に示す例は、1.5倍の例で、画像処
理前の画像データを順次1ラインごと読み込み、デイザ
パターンデータを時々2ラインごとに読み込み、そして
画像処理後のデータを時々2ラインごとに書き込んでい
く例である。また、この例では、画像データの読み込み
処理と画像処理とが並列に処理され、時々2ラインの画
像処理を行う。同図の(c)の例は、2倍の例で、画像
処理前の画像データを順次1ラインごと読み込み、デイ
ザパターンデータを順次2ラインごとに読み込み、そし
て画像処理後のデータを順次2ラインごとに書き込んで
いく例である。また、この例では、画像データの読み込
み処理と画像処理とが並列に処理され、2ラインの画像
処理を行う。
FIG. 7 is a diagram showing a timing example in the case of equal magnification and enlargement in the vertical direction. The example shown in (a) of FIG.
In this example, the image data before image processing is sequentially read line by line, the dither pattern data is sequentially read line by line, and the image processed data is written line by line. Further, in this example, the image data reading processing and the image processing are processed in parallel. The example shown in (b) of the figure is an example of 1.5 times, in which image data before image processing is sequentially read line by line, dither pattern data is sometimes read every two lines, and data after image processing is performed. Is an example in which is written every two lines from time to time. Further, in this example, the image data reading process and the image processing are performed in parallel, and sometimes the image processing of two lines is performed. The example of (c) in the figure is a double example, in which the image data before the image processing is sequentially read line by line, the dither pattern data is sequentially read every two lines, and the data after the image process is sequentially read. This is an example of writing each line. Further, in this example, the image data read processing and the image processing are processed in parallel, and two-line image processing is performed.

【0039】次に、図8は図3のメモリアービターI/
Fの詳細な周辺構成を示すブロック図である。メモリア
ービターI/F201はメモリアービター103へ接続
され、メモリアービター103は図2のCPUI/F1
06を通してCPUからのメモリアクセス、図2のロー
カルI/F104からメモリアクセスなどのメモリアク
セスを調停し、複数の媒体からのメモリアクセスがある
場合、優先順位の高い媒体に対し、メモリアクセス権を
与え、メモリアクセスを行わせ、他の媒体に待機処理を
行わせる。メモリアービターI/F201はメモリアー
ビター103へ図2の画像処理装置112として接続さ
れ、画像処理装置として、図2のメモリ109へのアク
セス権をメモリアービター103へ要求し、画像処理前
の画像データの読み込みをメモリアービター103へ要
求し、画像データを読み込み、データ変換処理装置20
2へ転送する。データ変換処理装置202が画像符号の
デコード処理装置を有する場合、画像データは符号デー
タとして上記処理を行う。また、デイザデータの読み込
みをメモリアービター103へ要求し、デイザデータを
読み込み、ハーフトーン処理装置203へ転送し、ハー
フトーン処理装置203の画像処理後の画像データの書
き込みをメモリアービター103へ要求し、画像処理後
のデータをメモリアービター103へ転送する。
Next, FIG. 8 shows the memory arbiter I / of FIG.
It is a block diagram which shows the detailed peripheral structure of F. The memory arbiter I / F 201 is connected to the memory arbiter 103, and the memory arbiter 103 is the CPU I / F 1 of FIG.
When the memory access from the CPU and the memory access such as the memory access from the local I / F 104 in FIG. , The memory access is performed, and the standby processing is performed on another medium. The memory arbiter I / F 201 is connected to the memory arbiter 103 as the image processing device 112 of FIG. 2, and requests the memory arbiter 103 access right to the memory 109 of FIG. A request for reading is issued to the memory arbiter 103, image data is read, and the data conversion processing device 20
Transfer to 2. When the data conversion processing device 202 has a decoding processing device for image code, the image data is subjected to the above processing as coded data. Further, the memory arbiter 103 is requested to read the dither data, the dither data is read and transferred to the halftone processing device 203, and the memory arbiter 103 is requested to write the image data after the image processing of the halftone processing device 203 is performed. The subsequent data is transferred to the memory arbiter 103.

【0040】図9は図3のメモリアービターI/Fの構
成を示すブロック図である。同図において、メモリアー
ビターI/F201は、変倍率生成装置301、Y D
DA処理装置302、IYカウンタ装置303、メモリ
アドレス生成装置304、MUX305及びコントロー
ラ306を含んで構成されている。変倍率生成装置30
1は、変倍される画像のソース画像の座標Y始点SY
S、Y終点SYE、変倍後のデイステイネーション画像
の座標Y始点DYS、Y終点DYEからY方向の変倍率
RATEYを求め、Y DDA処理装置302へ転送す
る。また、Y DDA処理装置302は変倍率生成装置
301からのY方向の変倍率とデイステイネーション画
像の座標Y始点DYSを受け取り、図61の垂直方向の
図中○で示す拡大された画素のように、入力された画像
の変倍後のY座標をDDA(デジタル微分解析)によ
り、Y始点YSとY終点YEを求め、その差分(変倍後
のライン数)DYを求め、IYカウント処理装置303
と、メモリアドレス生成装置304へ転送される。更
に、IYカウント装置303はY DDA処理装置30
2から変倍後のY始点YSとY終点YEを受け取り、変
倍後のY始点からY終点までを、データ変換処理装置2
02と、ハーフトーン処理装置203の1ラインの処理
が終了するごとにラインをカウントし、コントロール
し、デイステイネーション画像の座標Y終点と比較し、
画像処理の終了をコントロールする。また、メモリアド
レス生成装置304は、メモリアービター103を介し
て図2のメモリ109をアクセスするためのメモリのア
ドレスである画像データよき込みアドレスと、デイザデ
ータ読み込みアドレスと、画像処理後の画像データ書込
みアドレスを計算する。このとき、Y DDA処理装置
302から変倍後のライン数を受け取り、読み込むデイ
ザデータのライン数(データ数)と、処理後の画像を書
き込むライン数(データ数)を計算し、メモリアドレス
を生成していく。更に、MUX305は、メモリアービ
ター103から読み込んだデータをデータの種類によ
り、データ変換処理装置202と、ハーフトーン処理装
置203への転送を切り換える。また、コントローラ3
06は、メモリアービターI/F201と図2の画像処
理装置112をコントロールする。
FIG. 9 is a block diagram showing the configuration of the memory arbiter I / F of FIG. In the figure, the memory arbiter I / F 201 is a scaling factor generator 301, Y D
The DA processing device 302, the IY counter device 303, the memory address generation device 304, the MUX 305, and the controller 306 are included. Scale factor generator 30
1 is the coordinate Y start point SY of the source image of the image to be scaled
The scaling factor RATEY in the Y direction is obtained from S, the Y end point SYE, and the coordinates Y start point DYS, Y end point DYE of the destained image after scaling, and transferred to the Y DDA processing device 302. Further, the Y DDA processing device 302 receives the scaling factor in the Y direction and the coordinate Y start point DYS of the destination image from the scaling factor generating device 301, and looks like an enlarged pixel indicated by a circle in the vertical direction of FIG. 61. Then, the Y coordinate of the input image after scaling is calculated by DDA (digital differential analysis) to obtain the Y start point YS and the Y end point YE, and the difference (the number of lines after scaling) DY is calculated, and the IY count processing device 303
And is transferred to the memory address generation device 304. Further, the IY counting device 303 is the Y DDA processing device 30.
2, the Y start point YS and the Y end point YE after scaling are received, and the data conversion processing device 2 receives from the Y start point to the Y end point after scaling.
02, each time the processing of one line of the halftone processing device 203 is completed, the line is counted, controlled, and compared with the coordinate Y end point of the destination image.
Controls the end of image processing. Further, the memory address generation device 304 has an image data loading address which is an address of a memory for accessing the memory 109 of FIG. 2 via the memory arbiter 103, a dither data reading address, and an image data writing address after image processing. To calculate. At this time, the number of lines after scaling is received from the Y DDA processor 302, the number of lines of dither data to be read (the number of data) and the number of lines to write the processed image (the number of data) are calculated, and a memory address is generated. To go. Further, the MUX 305 switches the transfer of the data read from the memory arbiter 103 to the data conversion processing device 202 and the halftone processing device 203 depending on the type of data. Also, the controller 3
Reference numeral 06 controls the memory arbiter I / F 201 and the image processing device 112 in FIG.

【0041】図10は図9の変倍率生成装置の構成を示
すブロック図である。同図に示す変倍率生成装置は、減
算器401,402、除算器403及びレジスタ404
を含んで構成されている。このような構成を有する変倍
率生成装置によれば、変倍される画像のソース画像の座
標Y始点SYS及びY終点SYEと、変倍後のデイステ
イネーション画像の座標Y始点DYS及びY終点DYE
からY方向の変倍率RATEYを求め、図9のY DD
A処理装置302へ転送する。図10のように、RATE
Y=(SYE-SYS)/(DYE-DYS)の演算により、
Y方向の変倍率(RATEY)を求め、ソース画像の座
標Y始点SYS及びY終点SYE、デイステイネーショ
ン画像の座標Y始点DYS及びY終点DYEを求める。
FIG. 10 is a block diagram showing the configuration of the scaling factor generator of FIG. The scaling factor generating apparatus shown in the figure includes subtractors 401 and 402, a divider 403, and a register 404.
It is configured to include. According to the scaling factor generator having such a configuration, the coordinates Y start point SYS and Y end point SYE of the source image of the image to be scaled, and the coordinate Y start point DYS and Y end point DYE of the scaled date image.
The scaling factor RATEY in the Y direction is calculated from Y DD of FIG.
A is transferred to the processing device 302. As shown in FIG.
By the calculation of Y = (SYE-SYS) / (DYE-DYS),
The scaling factor (RATEY) in the Y direction is obtained, and the coordinate Y start point SYS and Y end point SYE of the source image and the coordinate Y start point DYS and Y end point DYE of the destination image are obtained.

【0042】図11は図9のY DDA処理装置の構成
を示すブロック図である。同図に示すY DDA処理装
置は、MUX501、現在の処理中のY値を格納するレ
ジスタ502、Y方向変倍率RATEYを格納するレジ
スタ503、加算器504、変倍後のY終点を格納する
レジスタ505、変倍後のY始点を格納するレジスタ5
06、レジスタ505のY終点の正数部からY始点の正
数部を減算して変倍後のライン数DYを求める減算器5
07を含んで構成されている。このような構成を有する
Y DDA処理装置によれば、図9の変倍率生成装置3
01からのY方向の変倍率とデイステイネーション画像
の座標Y始点DYSを受け取り、図6の垂直方向の図中
の○で示す拡大された画素のように、入力された画像の
変倍後のY座標をDDA(デジタル微分解析)により、
Y始点YSとY終点YEを求め、その差分(変倍後のラ
イン数)DYを求め、図9のIYカウント処理装置30
3とメモリアドレス生成装置304へ転送される。
FIG. 11 is a block diagram showing the configuration of the Y DDA processing device shown in FIG. The Y DDA processing device shown in the figure includes a MUX 501, a register 502 for storing the Y value currently being processed, a register 503 for storing the Y-direction scaling factor RATEY, an adder 504, and a register for storing the Y end point after scaling. 505, register 5 for storing Y start point after scaling
06, a subtracter 5 for subtracting the positive part of the Y start point from the positive part of the Y end point of the register 505 to obtain the number of lines DY after scaling
07 are included. According to the Y DDA processing device having such a configuration, the scaling factor generating device 3 of FIG.
The scaling factor in the Y direction from 01 and the coordinate Y start point DYS of the destination image are received, and the scaling factor of the input image after scaling of the input image is increased as indicated by the enlarged pixel indicated by ◯ in the vertical direction of FIG. Y coordinate by DDA (digital differential analysis)
The Y start point YS and the Y end point YE are obtained, the difference (the number of lines after scaling) DY is obtained, and the IY count processing device 30 of FIG.
3 and the memory address generator 304.

【0043】図12は図9のIYカウンタ装置の構成を
示すブロック図である。同図に示すIYカウント装置
は、図9のY DDA処理装置302からの変倍後のY
終点とデイステイネーション画像の座標Y終点DYEと
比較し、結果YENDFLを図9のコントローラ306
へ転送する比較器601、最初のみレジスタ603に図
9のY DDA処理装置302からの変倍後のY始点を
送り、その後順次加算されていく加算器604の出力を
送るMUX602、現在の処理中のY値を格納するレジ
スタ603、図3のデータ変換処理装置202と図3の
ハーフトーン処理装置203の1ラインの処理が終了す
るごとにラインをカウントしていく加算器604、現在
の処理中のY値と、図9のY DDA処理装置302か
らの変倍後のY終点とを比較し、結果IYENDFLを
図9のコントローラ306へ転送する比較器605を含
んで構成されている。このような構成を有するIYカウ
ンタ装置によれば、図9のY DDA処理装置302か
ら変倍後のY始点YSとY終点YEを受け取り、変倍後
のY始点からY終点までを、図3のデータ変換処理装置
202と、図3のハーフトーン処理装置203の1ライ
ンの処理が終了するごとにラインをカウントし、コント
ロールし、デイステイネーション画像の座標Y終点と比
較し、画像処理の終了をコントロールする。
FIG. 12 is a block diagram showing the configuration of the IY counter device of FIG. The IY counting device shown in the figure is the Y DDA processing device 302 of FIG.
The end point and the coordinate Y end point DYE of the destination image are compared, and the result YENDFL is compared with the controller 306 of FIG.
MUX 602 which sends the output of the adder 604 which is sequentially added to the comparator 601 which is transferred to the first, the Y start point after the scaling from the Y DDA processing device 302 of FIG. Register 603 for storing the Y value of, the adder 604 that counts the line each time the data conversion processing device 202 of FIG. 3 and the halftone processing device 203 of FIG. 9 is compared with the Y end point after scaling from the Y DDA processing device 302 in FIG. 9, and a comparator 605 that transfers the result IYENDFL to the controller 306 in FIG. 9 is configured. According to the IY counter device having such a configuration, the Y start point YS and the Y end point YE after the scaling are received from the Y DDA processing device 302 in FIG. 9, and the Y start point to the Y end point after the scaling are performed in FIG. Each time the data conversion processing device 202 and the halftone processing device 203 in FIG. 3 finish processing one line, the line is counted, controlled, and compared with the coordinate Y end point of the destination image, and the image processing ends. Control.

【0044】図13は図9のメモリアドレス生成装置の
構成を示すブロック図である。同図に示すメモリアドレ
ス生成装置は、初期値として図3のパラメータ格納装置
204から画像先頭アドレスを設定され、図6のように
その後1ラインごと画像処理前の画像データのアドレス
を読み込み、アドレスを生成していく画像データアドレ
ス生成装置701、初期値として図3のパラメータ格納
装置204からデイザ先頭アドレスを設定され、図9の
Y DDA処理装置302からの変倍後のライン数を受
け取り、読み込むデイザデータのライン数(データ量)
を計算し、図6のように、デイザデータの読み込みのア
ドレスを生成するデイズデータアドレス生成装置70
2、初期値として図3のパラメータ格納装置204から
処理後画像先頭アドレスを設定され、図9のY DDA
処理装置302からの変倍後のライン数を受け取り、書
き込む処理後画像データのライン数(データ量)を計算
し、図6のように、画像処理後データの書込みのアドレ
スを生成する処理後画像データアドレス生成装置70
3、MUX704を含んで構成されている。このような
構成を有するメモリアドレス生成装置によれば、図2の
メモリアービター103を介して図2のメモリ109を
アクセスするためのメモリのアドレスである画像データ
よき込みアドレスと、デイザデータ読み込みアドレス
と、画像処理後の画像データ書込みアドレスを計算す
る。このとき、図3のY DDA処理装置302から変
倍後のライン数を受け取り、読み込むデイザデータのラ
イン数(データ数)と、処理後の画像を書き込むライン
数(データ数)を計算し、メモリアドレスを生成してい
く。
FIG. 13 is a block diagram showing the configuration of the memory address generation device of FIG. In the memory address generation device shown in the figure, the image start address is set from the parameter storage device 204 of FIG. 3 as an initial value, and thereafter, as shown in FIG. 6, the address of the image data before the image processing is read line by line and the address is set. An image data address generation device 701 for generation, a dither start address is set as an initial value from the parameter storage device 204 of FIG. 3, and the number of lines after scaling is received from the Y DDA processing device 302 of FIG. 9 and read dither data. Number of lines (data volume)
And a day data address generator 70 for generating an address for reading the dither data, as shown in FIG.
2. As the initial value, the processed image start address is set from the parameter storage device 204 of FIG.
A post-processing image that receives the number of lines after scaling from the processing device 302, calculates the number of lines (data amount) of post-processing image data to be written, and generates an address for writing post-image processing data as shown in FIG. Data address generator 70
3 and MUX 704. According to the memory address generation device having such a configuration, the image data loading address, which is the address of the memory for accessing the memory 109 of FIG. 2 via the memory arbiter 103 of FIG. 2, and the dither data read address, The image data write address after image processing is calculated. At this time, the number of lines after scaling is received from the Y DDA processor 302 in FIG. 3, the number of lines of dither data to be read (the number of data) and the number of lines to write the processed image (the number of data) are calculated, and the memory address is calculated. Will be generated.

【0045】図14は最近傍法の変倍処理装置の構成を
示すブロック図である。同図に示す変倍処理装置は、元
画素格納装置801、変倍率生成装置802、DDA処
理装置803、IXカウント装置804、変倍画素係数
生成装置805、変倍画素変換装置806、コントロー
ラ807を含んで構成されている。
FIG. 14 is a block diagram showing the configuration of a scaling processing apparatus of the nearest neighbor method. The scaling processing device shown in the figure includes an original pixel storage device 801, a scaling factor generation device 802, a DDA processing device 803, an IX counting device 804, a scaling pixel coefficient generation device 805, a scaling pixel conversion device 806, and a controller 807. It is configured to include.

【0046】また、元画素格納装置801は、ハーフト
ーン処理装置が並列に処理する画素分を蓄え、変倍画素
変換装置806へ転送する。変倍率生成装置802は、
変倍される画像のソース画像の座標X始点SXS、X終
点SXE、変倍後のデイステイネーション画像の座標X
始点DXS、X終点DXEからX方向の変倍率RATE
Xを求め、DDA処理装置803へ転送する。DDA処
理装置803は、変倍率生成装置802からのX方向の
変倍率とデイステイネーション画像の座標X始点DXS
を受け取り、図61の図中○で示す拡大された画素のよ
うに、入力された画像の変倍後の座標をDDA(デジタ
ル微分解析)により、随時求める。この例では、図8の
ように補間するため補間されるX始点XS、X終点XE
を求め、IXカウント処理装置804と変倍画素係数生
成装置805へ転送される。IXカウント装置804は
DDA処理装置803からY方向の始点と終点を受け取
り、図61の図中△で示す補間された画素のY座標を生
成し、コントローラ807へ、X座標がX終点DXEと
等しくなったことをXENDFL信号で知らせる。変倍
画素係数生成装置805は、DDA処理装置803から
の補間する方向の始点XSと変倍率生成装置802から
変倍率RATEXを受け取り、変倍画素生成装置の出力
する各画素の幅を出力し、変倍画素変換装置806にて
画素に変倍処理を行う。この時、変倍画素変換装置80
6が出力するMAX数は、ハーフトーン処理装置が処理
可能なMAXの画素値までである。また、変倍率が1倍
があるため、変倍画素生成装置の出力も、ハーフトーン
処理装置が処理可能なMAXの画素値まで対応してい
る。そのため、変倍率が1倍以上の場合、複数クロック
に渡ってハーフトーン処理装置が処理可能なMAXの画
素値ごと出力しなければならない。変倍画素変換装置8
06は、変倍画素生成装置から変倍する画素を受け取
り、変倍画素係数生成装置805から、変倍画素生成装
置の出力する各画素の幅を受け取り、図15のように、
変倍する画素を変倍画素生成装置からの幅に変更するこ
とにより、変倍処理を実行する。コントローラ807
は、変倍処理装置の全体をコントロールする。
Further, the original pixel storage device 801 stores pixels to be processed in parallel by the halftone processing device and transfers them to the scaling pixel conversion device 806. The scaling factor generator 802
Coordinate X of the source image of the image to be scaled, start point SXS, X end point SSX, coordinate X of the day-change image after scaling
RATE from the start point DXS, X end point DXE in the X direction
X is obtained and transferred to the DDA processor 803. The DDA processing device 803 uses the scaling factor in the X direction from the scaling factor generator 802 and the coordinate X start point DXS of the destination image.
61, the coordinate of the input image after scaling is calculated by DDA (digital differential analysis) at any time, as in the enlarged pixel indicated by ◯ in FIG. In this example, the X start point XS and the X end point XE that are interpolated for interpolation as shown in FIG.
Is transferred to the IX count processing device 804 and the scaling pixel coefficient generation device 805. The IX counting device 804 receives the start point and end point in the Y direction from the DDA processing device 803, generates the Y coordinate of the interpolated pixel indicated by Δ in the drawing of FIG. Notify by the XENDFL signal. The scaling pixel coefficient generation device 805 receives the start point XS in the direction of interpolation from the DDA processing device 803 and the scaling factor RATEX from the scaling factor generation device 802, and outputs the width of each pixel output by the scaling pixel generation device. The scaling pixel conversion device 806 performs scaling processing on the pixels. At this time, the variable pixel conversion device 80
The MAX number output by 6 is up to the MAX pixel value that can be processed by the halftone processing device. Moreover, since the scaling factor is 1, the output of the scaling pixel generation device corresponds to the pixel value of MAX that can be processed by the halftone processing device. Therefore, when the scaling factor is 1 or more, it is necessary to output each MAX pixel value that can be processed by the halftone processing device over a plurality of clocks. Variable Pixel Converter 8
06 receives a pixel to be scaled from the scaled pixel generation device, receives the width of each pixel output from the scaled pixel generation device from the scaled pixel coefficient generation device 805, and as shown in FIG.
The scaling process is executed by changing the pixel to be scaled to the width from the scaled pixel generation device. Controller 807
Controls the entire variable power processor.

【0047】図16は図14の変倍処理装置の動作を示
すフローチャートである。同図において、先ず図14の
変倍率生成装置802により変倍率を求める(ステップ
S201)。X方向のDDAの初期化を行う(ステップ
S202)。図14のDDA処理装置803により、X
方向(水平方向)のDDA処理を行い、処理するX始点
XSとX終点XEを求める(ステップS203)。変倍
データを内部ラインメモリから読み込む(ステップS2
04)。図14の変倍画素係数生成装置805により、
読み込んだ変倍処理される画素の幅を求める(ステップ
S205)。図14の変倍画素変換装置806により、
変倍される画素を求めた幅に変換し、ハーフトーン処理
装置のMAXの並列処理画素数に合わせて出力する(ス
テップS206)。XEが変倍されたデイステイネーシ
ョン画像の座標X終点DXEを超えていない場合はステ
ップS203へ処理を戻す(ステップS207;YE
S)。DXEと同じか、又は超えた場合は処理を終了す
る(ステップS207;NO)。
FIG. 16 is a flow chart showing the operation of the scaling processing device of FIG. In the figure, first, the scaling factor is obtained by the scaling factor generator 802 of FIG. 14 (step S201). The DDA in the X direction is initialized (step S202). By the DDA processing device 803 of FIG.
The DDA process in the direction (horizontal direction) is performed to obtain the X start point XS and the X end point XE to be processed (step S203). The scaled data is read from the internal line memory (step S2
04). The scaled pixel coefficient generation device 805 of FIG.
The width of the read pixel to be subjected to the scaling processing is obtained (step S205). By the variable-magnification pixel conversion device 806 in FIG.
The scaled pixel is converted into the obtained width, and output according to the number of MAX parallel processing pixels of the halftone processing device (step S206). If XE does not exceed the coordinate X end point DXE of the scaled date image, the process returns to step S203 (step S207; YE).
S). If it is equal to or exceeds DXE, the process ends (step S207; NO).

【0048】図17は図14の元画素格納装置の構成を
示すブロック図である。同図において、レジスタ901
〜908は、順次データを格納し、ハーフトーン処理装
置のMAX並列処理画素分の画素を格納する。ラインメ
モリ909は、レジスタ901〜908により、蓄えら
れた画像データをつなげて並列に格納し、メインメモリ
からの画像データの読み込みと画像処理が並列に処理可
能とし、読み込み時にレジスタ901〜908の内容が
並列に読み込みできるようにする。ラインメモリコント
ローラ910は、ラインメモリのアドレスの生成と、こ
の元画素格納装置の全体のコントロールを行う。
FIG. 17 is a block diagram showing the configuration of the original pixel storage device of FIG. In the figure, a register 901
908 stores the data sequentially, and stores the pixels for the MAX parallel processing pixels of the halftone processing device. The line memory 909 connects the stored image data by the registers 901 to 908 and stores them in parallel, so that the reading of the image data from the main memory and the image processing can be performed in parallel, and the contents of the registers 901 to 908 at the time of reading Enable to read in parallel. The line memory controller 910 generates an address of the line memory and controls the entire original pixel storage device.

【0049】図18は図14の変倍率生成装置の構成を
示すブロック図である。同図に示す変倍率生成装置は、
減算器1001,1002、除算器1003、レジスタ
1004を含んで構成されている。このような構成を有
する変倍率生成装置によれば、前記のように変倍される
画像のソース画像の座標X始点SXS及びX終点SXE
と変倍後のデイステイネーション画像の座標X始点DX
S及びX終点DXEからX方向の変倍率RATEXを求
め、図14のDDA処理装置803へ転送する。つま
り、図17のように、RATEX=(SXE-SXS)/(D
XE-DXS)の演算により、X方向の変倍率(RATE
X)を求め、ソース画像の座標X始点SXS及びX終点
SXE、デイステイネーション画像の座標X始点DXS
及びX終点DXEを求める。
FIG. 18 is a block diagram showing the configuration of the scaling factor generator of FIG. The scaling factor generator shown in FIG.
It is configured to include subtractors 1001 and 1002, a divider 1003, and a register 1004. According to the scaling factor generator having such a configuration, the coordinates X start point SXS and X end point SXE of the source image of the image to be scaled as described above.
And the coordinate X start point DX of the day-change image after scaling
The scaling ratio RATEX in the X direction is obtained from the S and X end points DXE and transferred to the DDA processing device 803 in FIG. That is, as shown in FIG. 17, RATEX = (SXE-SXS) / (D
XE-DXS) is used to calculate the scaling factor (RATE) in the X direction.
X) is obtained, and the coordinate X start point SXS and X end point SSX of the source image and the coordinate X start point DXS of the destination image are obtained.
And X end point DXE.

【0050】図19は図14のDDA処理装置の構成を
示すブロック図である。同図に示すDDA処理装置は、
最初のみレジスタ1102に初期値のデイステイネーシ
ョン画像の座標X始点DXSを転送し、その後順次加算
されていく加算器1104の出力を送るMUX110
1、現在の処理中のX値を格納するレジスタ1102、
X方向変倍率RATEXとハーフトーン処理装置のMA
Xの並列処理画素数を乗算し複数画素の分の微差分を求
める乗算器1103、乗算器1103で求めた値を格納
するレジスタ1104、加算器1105、補間するX終
点を格納するレジスタ1106、補間するX始点を格納
するレジスタ1107を含んで構成されている。図14
の変倍率生成装置802からのX,Y方向の変倍率とデ
イステイネーション画像の座標X始点DXS及びY始点
DYSを受け取り、図61の図中○で示す拡大された画
素のように、入力された画像の変倍後の座標をDDA
(デジタル微分解析)により、随時求める。この例で
は、図14のように補間するため補間されるX始点及び
X終点を求め、図14のIXカウント処理装置804と
変倍画素係数生成装置805へ転送される。この時、X
方向においては、ハーフトーン処理装置のMAXの並列
処理画素分のDDAを行う。そのため、X方向のDDA
処理装置は図19のように現在のX座標に変倍率生成装
置で求めたX方向変倍率RATEXにハーフトーン処理
装置のMAXの並列処理画素数を乗算した値を順次加算
していく構造である。
FIG. 19 is a block diagram showing the structure of the DDA processing apparatus shown in FIG. The DDA processing device shown in FIG.
Only for the first time, the MUX 110 that transfers the output X of the coordinate X start point DXS of the initial value destination image to the register 1102 and then sends the output of the adder 1104 that is sequentially added
1, a register 1102 for storing the currently processed X value,
MA in X-direction scaling ratio RATEX and halftone processor
Multiplier 1103 for multiplying the number of parallel pixels of X to obtain a fine difference for a plurality of pixels, a register 1104 for storing the value obtained by the multiplier 1103, an adder 1105, a register 1106 for storing an X end point to be interpolated, and an interpolation Register 1107 for storing the X start point. 14
The scaling factors in the X and Y directions and the coordinates X start point DXS and Y start point DYS of the destination image are received from the scaling factor generator 802 and are input as an enlarged pixel indicated by a circle in FIG. 61. The coordinate of the image after scaling is DDA
Calculated at any time by (digital differential analysis). In this example, the X start point and the X end point to be interpolated for interpolation as shown in FIG. 14 are obtained and transferred to the IX count processing device 804 and the scaled pixel coefficient generation device 805 of FIG. At this time, X
In the direction, DDA for MAX parallel processing pixels of the halftone processing device is performed. Therefore, DDA in the X direction
As shown in FIG. 19, the processing device has a structure in which the value obtained by multiplying the current X coordinate by the X-direction scaling factor RATEX obtained by the scaling factor generating device by the MAX parallel processing pixel number of the halftone processing device is sequentially added. .

【0051】図20は図14のIXカウント装置の構成
を示すブロック図である。同図示すIXカウンタ装置
は、比較器1201を有し、図14のDDA処理装置8
03からのXE値とデイステイネーション画像の座標X
終点DXEを比較しX座標がX終点DXEと等しくなっ
たことを示すXENDFL信号を生成する。
FIG. 20 is a block diagram showing the structure of the IX counting device shown in FIG. The IX counter device shown in the figure has a comparator 1201, and the DDA processing device 8 of FIG.
XE value from 03 and coordinate X of day-station image
The end point DXE is compared to generate an XENDFL signal indicating that the X coordinate is equal to the X end point DXE.

【0052】図21は図14の変倍画素係数生成装置の
構成を示すブロック図である。同図に示す変倍画素係数
生成装置は、並列X幅生成装置1301及び出力X幅生
成装置1302を含んで構成されている。並列X幅生成
装置1301は、図14の元画像格納装置801が出力
する画素数分のDDAにより、各画素のX座標を求め、
そのX座標から各画素間のX幅を求め、出力X幅生成装
置1302の出力するX幅の生成装置へ送る。また、出
力X幅生成装置1302は、図14の変倍画素係数生成
装置806が出力するハーフトーン処理装置の並列処理
数に合せて分けて出力するための処理を行い、各画素の
X幅の累積加算値と、その画素数を図14の変倍画素係
数生成装置806へ送る。このような構成を有する変倍
画素係数生成装置は、図14のDDA処理装置804か
らの補間するX方向の始点XSと図14の変倍率生成装
置802により求めたX方向変倍率RATEXから並列
X幅生成装置1301で元画像格納装置が出力する画素
数分のDDAにより、各画素のX座標を求め、そのX座
標から各画素間のX幅を求め、出力X幅生成装置130
2により、図14の変倍画素係数生成装置806が出力
するハーフトーン処理装置の並列処理数に合せて分けて
出力するための処理を行い、各画素のX幅の累積加算値
と、その画素数を図14の変倍画素係数生成装置806
へ送る。
FIG. 21 is a block diagram showing the configuration of the variable-magnification pixel coefficient generator of FIG. The scaled pixel coefficient generation device shown in the figure includes a parallel X width generation device 1301 and an output X width generation device 1302. The parallel X width generation device 1301 obtains the X coordinate of each pixel by DDA for the number of pixels output by the original image storage device 801 in FIG.
The X width between each pixel is obtained from the X coordinate and is sent to the X width generation device output by the output X width generation device 1302. Further, the output X width generation device 1302 performs processing for separately outputting according to the number of parallel processings of the halftone processing device output by the scaled pixel coefficient generation device 806 in FIG. 14, and outputs the X width of each pixel. The cumulative addition value and the number of pixels thereof are sent to the scaled pixel coefficient generation device 806 in FIG. The scaled pixel coefficient generation device having such a configuration uses the start point XS in the X direction from the DDA processing device 804 of FIG. The width generation device 1301 obtains the X coordinate of each pixel by DDA for the number of pixels output from the original image storage device, obtains the X width between each pixel from the X coordinate, and outputs the output X width generation device 130.
2, the variable pixel coefficient generation device 806 of FIG. 14 performs a process for outputting separately according to the number of parallel processes of the halftone processing device, and outputs the cumulative addition value of the X width of each pixel and that pixel. The scaled pixel coefficient generation device 806 of FIG.
Send to.

【0053】図22は図21の並列X幅生成装置の構成
を示す図である。同図に示す並列X幅生成装置は、加算
器1401〜1408、減算器1409〜1416を含
んで構成されている。加算器1401〜1408は、図
14のDDA処理装置803により求めたX始点と、図
14の変倍率生成装置802により求めたX方向変倍率
RATEXを受け取り、複数画素のX値を求める。減算
器1409〜1416は各画素間の幅を求める。
FIG. 22 is a diagram showing the configuration of the parallel X width generation device of FIG. The parallel X width generation device shown in the figure includes adders 1401 to 1408 and subtractors 1409 to 1416. The adders 1401 to 1408 receive the X start point obtained by the DDA processing device 803 in FIG. 14 and the X-direction scaling factor RATEX obtained by the scaling factor generation device 802 in FIG. 14, and obtain X values of a plurality of pixels. Subtractors 1409 to 1416 find the width between each pixel.

【0054】図23は図21の出力X幅生成装置の構成
を示すブロック図である。同図に示す出力X幅生成装置
は、MUX1501〜1508、レジスタ1509〜1
516、累積加算処理装置1517、XWIDTH更新
処理装置1518、出力用XWIDTH生成処理装置1
519、累積加算処理装置1520を含んで構成されて
いる。このような構成を有する出力X幅生成装置によれ
ば、図21の並列X幅生成装置1301からの各画素の
X幅を受け取り、レジスタに格納し、受け取った全ての
画素が処理し終わるまで、保持する。そして、XWID
TH更新処理装置1518により出力された画素分の各
画素のX幅を画素番号の小さいレジスタから減算し、M
UX1501〜1508を通しレジスタ1509〜15
16を更新する。累積加算処理装置1517は、レジス
タ1509〜1516に格納しているX幅を累積加算
し、XWIDTH更新処理装置1518は、累積加算装
置1517の出力する累積加算値を受け取り、各画素点
での累積加算値からハーフトーン処理装置のMAX並列
処理数を超える最初の累積加算点を求め、その画素まで
の更新値を生成し、MUX1501〜1508を通し、
対応するレジスタ1509〜1516の値を更新する。
出力用XWIDTH生成処理装置1519は、累積加算
装置1517の出力する累積加算値を受け取り、各画素
点での累積加算値からハーフトーン処理装置のMAX並
列処理数を超える最初の累積加算点を求め、その画素ま
での出力するX幅を求めて累積加算処理装置1520へ
転送する。累積加算処理装置1520は、図14の変倍
画素変換装置806の処理に必要な累積加算を行う。
FIG. 23 is a block diagram showing the structure of the output X width generation device of FIG. The output X width generation device shown in the figure has MUXs 1501 to 1508 and registers 1509 to 1
516, cumulative addition processing device 1517, XWIDTH update processing device 1518, output XWIDTH generation processing device 1
519 and a cumulative addition processing device 1520. According to the output X width generation device having such a configuration, the X width of each pixel from the parallel X width generation device 1301 of FIG. 21 is received, stored in the register, and processed until all the received pixels are processed. Hold. And XWID
The X width of each pixel corresponding to the pixel output by the TH update processing device 1518 is subtracted from the register with a small pixel number, and M
Registers 1509 to 15 through UX 1501 to 1508
Update 16. The cumulative addition processing device 1517 cumulatively adds the X widths stored in the registers 1509 to 1516, and the XWIDTH update processing device 1518 receives the cumulative addition value output from the cumulative addition device 1517 and performs cumulative addition at each pixel point. The first cumulative addition point that exceeds the MAX parallel processing number of the halftone processing device is obtained from the value, an updated value up to that pixel is generated, and through MUX 1501 to 1508,
The values of the corresponding registers 1509 to 1516 are updated.
The output XWIDTH generation processing device 1519 receives the cumulative addition value output from the cumulative addition device 1517, and obtains the first cumulative addition point exceeding the MAX parallel processing number of the halftone processing device from the cumulative addition value at each pixel point, The output X width up to that pixel is obtained and transferred to the cumulative addition processing device 1520. The cumulative addition processing device 1520 performs cumulative addition necessary for the processing of the variable-magnification pixel conversion device 806 in FIG.

【0055】図24は図23の累積加算処理装置の構成
を示すブロック図である。同図に示す累積加算処理装置
は、各画素までの累積加算値を求める加算器1601〜
1607を有する。
FIG. 24 is a block diagram showing the structure of the cumulative addition processing device of FIG. The cumulative addition processing device shown in the figure has adders 1601 to 1601 that obtain cumulative added values up to each pixel.
It has 1607.

【0056】図25は図23のXWIDTH更新処理装
置の処理を示すフローチャートである。同図において、
先ず0番の画素のX幅がハーフトーン処理装置の並列処
理数(この例では“8”である)以上あるか調べ、以上
あれば0番目のX幅からハーフトーン処理装置の並列処
理数を減算し、新たな0番目のX幅値を求める(ステッ
プS301;YES、ステップS302)。次に、0〜
1番目までの累積X幅がハーフトーン処理装置の並列処
理数(この例では“8”である)以上あるか調べ、以上
あれば0番目のX幅を“0”とし、1番目のX幅からハ
ーフトーン処理装置の並列処理数から0番目のX幅を減
算した値を減算し、新たな1番目のX幅値を求める(ス
テップS303;YES、ステップS304)。以下ス
テップS305〜S317において同様に処理を行う。
FIG. 25 is a flow chart showing the processing of the XWIDTH update processing device of FIG. In the figure,
First, it is checked whether the X width of the 0th pixel is equal to or larger than the number of parallel processings of the halftone processing device (in this example, "8"), and if there is, the parallel processing number of the halftone processing device is calculated from the 0th X width. Subtraction is performed to obtain a new 0th X width value (step S301; YES, step S302). Then 0-
It is checked whether or not the cumulative X width up to the first is equal to or more than the number of parallel processings of the halftone processing device (in this example, it is “8”), and if there is, the 0th X width is set to “0” and the first X width is set. Then, the value obtained by subtracting the 0th X width from the parallel processing number of the halftone processing device is subtracted to obtain a new first X width value (step S303; YES, step S304). Thereafter, similar processing is performed in steps S305 to S317.

【0057】図26は図23の出力XWIDTH生成処
理装置の処理を示すフローチャートである。はじめに、
出力する各画素のX幅の初期化を行う(ステップS40
1)。そして、0番の画素のX幅がハーフトーン処理装
置の並列処理数(この例では“8”である)以上あるか
調べ、以上あれば0番目の出力するX幅へハーフトーン
処理装置の並列処理数をセットし、処理する画素数PN
UMへハーフトーン処理装置の並列処理数をセットする
(ステップS402;YES、ステップS403)。更
に、0〜1番目までの累積X幅がハーフトーン処理装置
の並列処理数(この例では“8”である)以上あるか調
べ、以上あれば0番目の出力するX幅へ0番目のX幅X
WIDTH0をセットし、1番目の出力するX幅へ、ハ
ーフトーン処理装置の並列処理数から0番目のX幅を減
算した値をセットし、処理する画素数PNUMへハーフトー
ン処理装置の並列処理数をセットする(ステップS40
4;YES、ステップS405)。そして、0〜2番目
までの累積X幅がハーフトーン処理装置の並列処理数
(この例では“8”である)以上あるか調べ、以上あれ
ば0番目の出力するX幅へ0番目のX幅XWIDTH0
をセットし、1番目の出力するX幅へ1番目のX幅XW
IDTH1をセットし、2番目の出力するX幅へ、ハー
フトーン処理装置の並列処理数から1番目のX幅までの
累積加算値を減算した値をセットし、処理する画素数P
NUMへハーフトーン処理装置の並列処理数をセットす
る(ステップS406;YES、ステップS407)。
以下ステップS408〜S417において同様に処理さ
れ、ステップS418では、全ての画素のX幅の合計が
ハーフトーン処理装置の並列処理数の以下であるため、
全ての画素の出力する画素のX幅を更新されてきた図2
3のレジスタ1509〜1516のX幅の値をセット
し、全ての画素のX幅の合計を処理する画素数PNUM
へセットする。
FIG. 26 is a flow chart showing the processing of the output XWIDTH generation processing device of FIG. First,
The X width of each pixel to be output is initialized (step S40).
1). Then, it is checked whether or not the X width of the 0th pixel is equal to or more than the number of parallel processings of the halftone processing device (in this example, "8"), and if there is more, it is parallel to the 0th output X width of the halftone processing device. Number of pixels to be processed by setting the number of processing PN
The parallel processing number of the halftone processing device is set in UM (step S402; YES, step S403). Further, it is checked whether or not the cumulative X widths from 0 to 1 are equal to or more than the number of parallel processings of the halftone processing device (in this example, "8"), and if there is, the 0th X width to the 0th output X width. Width X
Set WIDTH0, set the value of the first output X width to the value obtained by subtracting the 0th X width from the number of parallel processings of the halftone processing device, and set the number of pixels to process PNUM to the number of parallel processings of the halftone processing device. Is set (step S40
4; YES, step S405). Then, it is checked whether or not the cumulative X widths from 0 to 2 are equal to or more than the number of parallel processings of the halftone processing device (in this example, "8"), and if there is, the 0th X width to the 0th output X width. Width XWIDTH0
Is set to the first output X width and the first X width XW
IDTH1 is set, a value obtained by subtracting the cumulative addition value up to the first X width from the parallel processing number of the halftone processing device is set to the second output X width, and the number of pixels P to be processed is set.
The number of parallel processings of the halftone processing device is set to NUM (step S406; YES, step S407).
Thereafter, the same processing is performed in steps S408 to S417, and in step S418, the sum of the X widths of all pixels is less than or equal to the number of parallel processings of the halftone processing device.
The X widths of the pixels output by all the pixels have been updated.
The number of pixels PNUM for setting the X width value of the registers 1509 to 1516 of 3 and processing the sum of the X widths of all pixels
Set to.

【0058】図27は図23の累積加算処理装置の構成
を示すブロック図である。同図に示す累積加算処理装置
は、各画素での累積加算値を求める加算器1701〜1
707を有している。
FIG. 27 is a block diagram showing the structure of the cumulative addition processing device shown in FIG. The cumulative addition processing device shown in FIG.
707.

【0059】図28は図14の変倍画素変換装置の出力
画素の0番目の処理を示すフローチャートである。同図
において、先ず図14の変倍画素係数生成装置805か
らの0番目の画素のX幅“DXWIDTH0"が“0”
より大きい場合、出力画素0番目は図14の元画素格納
装置801のDATA0の値をセットする(ステップS
501;YES、ステップS502)。そして、図14
の変倍画素係数生成装置805からの0番目〜1番目の
画素のX幅の累積の“DXWIDTH1"が“0”より
大きい場合、出力画素0番目は図14元画素格納装置8
01のDATA1の値をセットする(ステップS50
3;YES、ステップS504)。次に、図14の変倍
画素係数生成装置805からの0番目〜2番目の画素の
X幅の累積の“DXWIDTH2"が“0”より大きい
場合、出力画素0番目は図14の元画素格納装置801
のDATA2の値をセットする(ステップS505;Y
ES、ステップS506)。また、図14の変倍画素係
数生成装置805からの0番目〜3番目の画素のX幅の
累積の“DXWIDTH3"が“0”より大きい場合、
出力画素0番目は図14の元画素格納装置801のDA
TA3の値をセットする(ステップS507;YES、
ステップS508)。更に、図14の変倍画素係数生成
装置805からの0番目〜4番目の画素のX幅の累積の
“DXWIDTH4"が“0”より大きい場合、出力画
素0番目は図14の元画素格納装置801のDATA4
の値をセットする(ステップS509;YES、ステッ
プS510)。そして、図14の変倍画素係数生成装置
805からの0番目〜5番目の画素のX幅の累積の“D
XWIDTH5"が“0”より大きい場合、出力画素0
番目は図14の元画素格納装置801のDATA5の値
をセットする(ステップS511;YES、ステップS
512)。また、図14の変倍画素係数生成装置805
からの0番目〜6番目の画素のX幅の累積の“DXWI
DTH6"が“0”より大きい場合、出力画素0番目は
図14の元画素格納装置801のDATA6の値をセッ
トする(ステップS513;YES,ステップS51
4)。更に、図14の変倍画素係数生成装置805から
の0番目〜7番目の画素のX幅の累積の“DXWIDT
H7"が“0”より大きい場合、出力画素0番目は図1
4の元画素格納装置801のDATA7の値をセットす
る(ステップS515;YES、ステップS516)。
FIG. 28 is a flow chart showing the 0th processing of the output pixel of the variable pixel conversion apparatus of FIG. In the figure, first, the X width “DXWIDTH0” of the 0th pixel from the variable pixel coefficient generation device 805 of FIG. 14 is “0”.
If it is larger, the 0th output pixel is set to the value of DATA0 of the original pixel storage device 801 of FIG. 14 (step S
501; YES, step S502). And in FIG.
When the accumulated “DXWIDTH1” of the X-width of the 0th to 1st pixels from the variable pixel coefficient generation device 805 is larger than “0”, the 0th output pixel is the original pixel storage device 8
The value of DATA1 of 01 is set (step S50).
3; YES, step S504). Next, if the accumulated "DXWIDTH2" of the X width of the 0th to 2nd pixels from the scaled pixel coefficient generation device 805 of FIG. 14 is larger than "0", the output pixel 0th is the original pixel storage of FIG. Device 801
Value of DATA2 is set (step S505; Y
ES, step S506). Further, when the accumulated “DXWIDTH3” of the X widths of the 0th to 3rd pixels from the scaled pixel coefficient generation device 805 in FIG. 14 is larger than “0”,
The 0th output pixel is the DA of the original pixel storage device 801 in FIG.
The value of TA3 is set (step S507; YES,
Step S508). Further, when the accumulated “DXWIDTH4” of the X widths of the 0th to 4th pixels from the scaling pixel coefficient generation device 805 of FIG. 14 is larger than “0”, the 0th output pixel is the original pixel storage device of FIG. 801 DATA4
Is set (step S509; YES, step S510). Then, the accumulated "D" of the X width of the 0th to 5th pixels from the variable pixel coefficient generation device 805 of FIG.
If XWIDTH5 "is larger than" 0 ", output pixel 0
For the second, the value of DATA5 of the original pixel storage device 801 of FIG. 14 is set (step S511; YES, step S511).
512). Further, the scaled pixel coefficient generation device 805 in FIG.
The accumulated X-width of the 0th to 6th pixels from "DXWI"
When DTH6 "is larger than" 0 ", the 0th output pixel sets the value of DATA6 of the original pixel storage device 801 of FIG. 14 (step S513; YES, step S51).
4). Further, the accumulated "DXWIDT" of the X width of the 0th to 7th pixels from the scaling pixel coefficient generation device 805 in FIG.
When H7 "is larger than" 0 ", the 0th output pixel is shown in FIG.
The value of DATA7 of the original pixel storage device 801 of No. 4 is set (step S515; YES, step S516).

【0060】図29は図14の変倍画素変換装置の出力
画素の1番目の処理を示すフローチャートである。同図
において、先ず図14の変倍画素係数生成装置805か
らの0番目の画素のX幅“DXWIDTH0"が“1”
より大きい場合、出力画素1番目は図14の元画素格納
装置801のDATA0の値をセットする(ステップS
601;YES、ステップS602)。そして、図14
の変倍画素係数生成装置805からの0番目〜1番目の
画素のX幅の累積の“DXWIDTH1"が“1”より
大きい場合、出力画素1番目は図14の元画素格納装置
801のDATA1の値をセットする(ステップS60
3;YES、ステップS604)。また、図14の変倍
画素係数生成装置805からの0番目〜2番目の画素の
X幅の累積の“DXWIDTH2"が“1”より大きい
場合、出力画素1番目は図14の元画素格納装置801
のDATA2の値をセットする(ステップS605;Y
ES、ステップS606)。更に、図14の変倍画素係
数生成装置805からの0番目〜3番目の画素のX幅の
累積の“DXWIDTH3"が“1”より大きい場合、
出力画素1番目は図14の元画素格納装置801のDA
TA3の値をセットする(ステップS607;YES、
ステップS608)。また、図14の変倍画素係数生成
装置805からの0番目〜4番目の画素のX幅の累積の
“DXWIDTH4"が“1”より大きい場合、出力画
素1番目は図14の元画素格納装置801のDATA4
の値をセットする(ステップS609;YES、ステッ
プS610)。更に、図14の変倍画素係数生成装置8
05からの0番目〜5番目の画素のX幅の累積の“DX
WIDTH5"が“1”より大きい場合、出力画素1番
目は図14の元画素格納装置801のDATA5の値を
セットする(ステップS611;YES、ステップS6
12)。そして、図14の変倍画素係数生成装置805
からの0番目〜6番目の画素のX幅の累積の“DXWI
DTH6"が“1”より大きい場合、出力画素1番目は
図14の元画素格納装置801のDATA6の値をセッ
トする(ステップS613;YES、ステップS61
4)。図14の変倍画素係数生成装置805からの0番
目〜7番目の画素のX幅の累積の“DXWIDTH7"
が“1”より大きい場合、出力画素1番目は図14の元
画素格納装置801のDATA7の値をセットする(ス
テップS615;YES、ステップS616)。
FIG. 29 is a flow chart showing the first processing of the output pixels of the variable pixel conversion apparatus of FIG. In the figure, first, the X width “DXWIDTH0” of the 0th pixel from the variable pixel coefficient generation device 805 of FIG. 14 is “1”.
If it is larger, the value of DATA0 of the original pixel storage device 801 of FIG. 14 is set as the first output pixel (step S).
601; YES, step S602). And in FIG.
When the accumulated “DXWIDTH1” of the X width of the 0th to 1st pixels from the variable pixel coefficient generation device 805 is larger than “1”, the first output pixel corresponds to DATA1 of the original pixel storage device 801 in FIG. Set the value (step S60
3; YES, step S604). When the accumulated “DXWIDTH2” of the X width of the 0th to 2nd pixels from the scaled pixel coefficient generation device 805 of FIG. 14 is larger than “1”, the first output pixel is the original pixel storage device of FIG. 801
The value of DATA2 of is set (step S605; Y).
ES, step S606). Further, when the accumulated “DXWIDTH3” of the X widths of the 0th to 3rd pixels from the scaled pixel coefficient generation device 805 in FIG. 14 is larger than “1”,
The first output pixel is the DA of the original pixel storage device 801 in FIG.
The value of TA3 is set (step S607; YES,
Step S608). When the accumulated X-width “DXWIDTH4” of the 0th to 4th pixels from the scaling pixel coefficient generation device 805 of FIG. 14 is larger than “1”, the first output pixel is the original pixel storage device of FIG. 801 DATA4
Is set (step S609; YES, step S610). Further, the scaled pixel coefficient generation device 8 of FIG.
The accumulated "DX" of the X width of the 0th to 5th pixels from 05.
When WIDTH5 "is larger than" 1 ", the value of DATA5 of the original pixel storage device 801 in FIG. 14 is set as the first output pixel (step S611; YES, step S6).
12). Then, the scaled pixel coefficient generation device 805 in FIG.
The accumulated X-width of the 0th to 6th pixels from "DXWI"
When DTH6 "is larger than" 1 ", the first output pixel sets the value of DATA6 of the original pixel storage device 801 of FIG. 14 (step S613; YES, step S61).
4). “DXWIDTH7”, which is the cumulative X width of the 0th to 7th pixels from the variable pixel coefficient generator 805 in FIG.
When is larger than “1”, the value of DATA7 of the original pixel storage device 801 of FIG. 14 is set for the first output pixel (step S615; YES, step S616).

【0061】以下、図30〜図35に図14の変倍画素
変換装置の出力画素の2番目〜7番目の各処理フローを
示すが、図28及び図29に示す0番目及び1番目の処
理と同様であるのでここでは説明を省略する。
30 to 35 show the second to seventh processing flows of the output pixels of the variable-magnification pixel conversion apparatus of FIG. 14, the 0th and 1st processings shown in FIGS. Since it is similar to the above, the description is omitted here.

【0062】このように、変倍画素変換装置では、ハー
フトーン処理装置の並列処理画素分の画素を求めなけれ
ばならず、この例では“8”であるため、上記のような
例になる。
As described above, in the variable-magnification pixel conversion device, the pixels for the parallel processing pixels of the halftone processing device must be obtained, and in this example, it is "8".

【0063】次に、ハーフトーン処理装置について構成
を示す図36を用いて詳細に説明する。同図に示すハー
フトーン処理装置は、ライトアドレス生成装置180
1、デイザパターン記憶装置1802、MUX180
3、デイザパターンアドレス生成装置1804、比較パ
ターン切り出し装置1805、並列比較装置1806、
固定長データ生成装置1807、ラインメモリ180
8、ラインメモリアドレス生成装置1809、コントロ
ーラ1810を含んで構成されている。また、ライトア
ドレス生成装置1801は、図3のメモリアービターI
/F201から受け取ったデイザデータをデイザパター
ン記憶装置1802へ格納するためのアドレスを生成す
る。デイザパターン記憶装置1802は、図3のメモリ
アービターI/F201から受け取ったデイザデータを
格納する。なお、後述する図41にデイザパターン記憶
装置のデイザパターンメモリの32*8のサイズの例を
示す。上述したように、図3のメモリアービターI/F
201は垂直方向に変倍されるライン数ごとデイザパタ
ーンを転送し、このデイザパターン記憶装置1802へ
格納する。図41のフォーマットのように、垂直方向の
変倍率だけのデイザパターンを格納することができる。
図41に示す例では、垂直方向に8倍までの例であるた
めに、このように8ライン分のデイザパターンを格納す
ることができる。また、デイザパターンの水平方向のパ
ターン数はこの例では、MAX32ドットである。MU
X1803は、図3のメモリアービターI/F201か
らのデイザデータの転送時にデイザパターン記憶装置1
802のアドレスをライトアドレス生成装置1801へ
渡す。デイザパターンアドレス生成装置1804は、図
3のパラメータ格納装置204からデイザパターンの大
きさなどを受け取り、デイザパターンメモリノアドレス
を生成する。比較パターン切り出し装置1805は、デ
イザパターンメモリから図3のデータ変換処理装置20
2の水平方向に複数の画素の閾値マトリックスを読み込
み、コントローラ1810から、現在処理する画素の数
を受け取り、デイザパターンメモリから有効なパターン
の先頭から図3のデータ変換処理装置202の水平方向
に複数のデータを並列比較装置1806へ転送する。並
列比較装置1806は、図3のデータ変換処理装置20
2で求めた水平方向に複数の変倍後の画素値と、比較パ
ターン切り出し装置1805からの閾値マトリックスと
を並列に比較する。固定長データ生成装置1807は、
並列比較装置1806で求めた1/0の値をコントロー
ラ1810が示す有効数分だけ、固定長のデータに加え
ていくことにより、固定長のデータを生成する。ライン
メモリ1808は、固定長データ生成装置1807で生
成された固定長のデータを垂直方向の変倍後のライン数
分のデータを格納する。後述する図43に示すラインメ
モリフォーマットの例では、垂直方向に8倍までの処理
装置の例であるために、8ライン分のデータを格納す
る。ラインメモリアドレス生成装置1809は固定長デ
ータ生成装置1807からのデータをラインメモリ18
08へ格納するためのアドレスを生成する。コントロー
ラ1810は、図3の変倍処理装置202から、水平補
間された画素の有効数を受け取り、後述する図40のよ
うなフローで図36のハーフトーン処理装置をコントロ
ールする。
Next, the halftone processing device will be described in detail with reference to FIG. The halftone processing device shown in FIG.
1, dither pattern storage device 1802, MUX 180
3, dither pattern address generation device 1804, comparison pattern cutout device 1805, parallel comparison device 1806,
Fixed-length data generation device 1807, line memory 180
8, a line memory address generator 1809, and a controller 1810. In addition, the write address generation device 1801 uses the memory arbiter I of FIG.
An address for storing the dither data received from the / F201 in the dither pattern storage device 1802 is generated. The dither pattern storage device 1802 stores the dither data received from the memory arbiter I / F 201 of FIG. Note that FIG. 41, which will be described later, shows an example of the 32 * 8 size of the dither pattern memory of the dither pattern storage device. As described above, the memory arbiter I / F of FIG.
A dither pattern 201 is transferred for each number of lines that are scaled in the vertical direction and stored in the dither pattern storage device 1802. As in the format of FIG. 41, it is possible to store a dither pattern having only a vertical scaling factor.
Since the example shown in FIG. 41 is an example up to 8 times in the vertical direction, it is possible to store dither patterns for 8 lines in this way. The number of dither patterns in the horizontal direction is MAX 32 dots in this example. MU
X1803 is a dither pattern storage device 1 when transferring dither data from the memory arbiter I / F 201 of FIG.
The address of 802 is passed to the write address generation device 1801. The dither pattern address generation device 1804 receives the size of the dither pattern from the parameter storage device 204 of FIG. 3 and generates a dither pattern memory address. The comparison pattern cutout device 1805 is a data conversion processing device 20 of FIG.
2, the threshold matrix of a plurality of pixels is read in the horizontal direction, the number of pixels currently processed is received from the controller 1810, and the effective pattern is read from the head of the dither pattern memory in the horizontal direction of the data conversion processing device 202 in FIG. A plurality of data are transferred to the parallel comparison device 1806. The parallel comparison device 1806 is the data conversion processing device 20 of FIG.
The plurality of pixel values after scaling in the horizontal direction obtained in 2 are compared in parallel with the threshold value matrix from the comparison pattern cutout device 1805. The fixed length data generation device 1807
Fixed-length data is generated by adding the 1/0 value obtained by the parallel comparison device 1806 to the fixed-length data by the effective number indicated by the controller 1810. The line memory 1808 stores the fixed-length data generated by the fixed-length data generation device 1807 as data for the number of lines after scaling in the vertical direction. In the example of the line memory format shown in FIG. 43, which will be described later, data of 8 lines is stored because it is an example of a processing device up to 8 times in the vertical direction. The line memory address generator 1809 uses the data from the fixed-length data generator 1807 as the line memory 18
The address for storing in 08 is generated. The controller 1810 receives the effective number of horizontally interpolated pixels from the scaling processing device 202 of FIG. 3, and controls the halftone processing device of FIG. 36 according to the flow shown in FIG. 40 described later.

【0064】次に、図37は図36の比較パターン切り
出し装置の構成を示すブロック図である。同図に示す比
較パターン切り出し装置は、レジスタ1901,190
2,1904,1906、シフター1903、加算器1
905を有している。また、レジスタ1901は、図3
6のデイザパターン記憶装置1802からの値を格納す
る。この例では、図3のデータ変換処理装置202の水
平方向に8個処理しているため、1画素が8bitの閾
値が8個必要であるため、64bitとなる。レジスタ
1902は、レジスタ1901からの値を格納する。こ
のレジスタ1901,1902により、データ変換処理
装置の水平方向に2倍のパターンを生成し、シフター1
903へ転送する。シフター1903は、レジスタ19
01,1902からの図3のデータ変換処理装置202
の水平方向に2倍のパターンを受け取り、図14の変倍
画素変換装置806からの水平補間された画素の有効数
から求めた現在の先頭値から、データ変換処理装置の水
平方向に複数のデータをシフトして出力する。レジスタ
1904は、シフター1903の値を格納する。加算器
1905は、図3のデータ変換処理装置202からの有
効数を受け取り、次の先頭値を求めるために現在のシフ
ト値と加算処理を行う。レジスタ1906は、加算器1
905で求めた値を格納する。
Next, FIG. 37 is a block diagram showing the structure of the comparative pattern cutting device of FIG. The comparison pattern cutout device shown in FIG.
2, 1904, 1906, shifter 1903, adder 1
Has 905. In addition, the register 1901 is shown in FIG.
The value from the dither pattern storage device 1802 of No. 6 is stored. In this example, eight data are processed in the horizontal direction of the data conversion processing device 202 of FIG. The register 1902 stores the value from the register 1901. These registers 1901 and 1902 generate a double pattern in the horizontal direction of the data conversion processing device, and the shifter 1
Transfer to 903. The shifter 1903 is provided in the register 19
01, 1902 to the data conversion processing device 202 of FIG.
From the current start value obtained from the effective number of horizontally interpolated pixels from the variable-magnification pixel conversion device 806 of FIG. Is output after shifting. The register 1904 stores the value of the shifter 1903. The adder 1905 receives the effective number from the data conversion processing device 202 of FIG. 3 and performs addition processing with the current shift value to obtain the next head value. The register 1906 is an adder 1
The value obtained in 905 is stored.

【0065】図38は図36の並列比較装置の構成を示
すブロック図である。同図に示す例では、図3のデータ
変換処理装置202の水平方向の処理数が“8”である
ため、比較装置も8個存在する。比較器2001〜20
08は、図36の比較パターン切り出し装置1805に
より切り出された図3のデータ変換処理装置202の水
平方向に複数個の閾値と各画素が比較される。
FIG. 38 is a block diagram showing the structure of the parallel comparator of FIG. In the example shown in the figure, since the number of processes in the horizontal direction of the data conversion processing device 202 of FIG. 3 is “8”, there are eight comparison devices. Comparators 2001-20
In 08, a plurality of thresholds are compared with each pixel in the horizontal direction of the data conversion processing device 202 of FIG. 3 which is cut out by the comparison pattern cutting device 1805 of FIG.

【0066】図39は図36の固定長データ生成装置の
構成を示すブロック図である。同図に示す固定長データ
生成装置は、シフター2101、OR装置2102、レ
ジスタ2103,2104,2106、加算器2105
を有している。シフター2101は、図36の並列比較
装置1806からの図3のデータ変換処理装置202の
水平方向に複数個の“1/0”データを受け取り、現在
作成中の固定長データの最終の値に合せるためのシフト
処理を行う。OR装置2102は、シフター2101で
シフトされた値を現在作成中の値とOR処理を行って入
れ込む。レジスタ2103は、現在作成中の固定長デー
タを格納し、OR装置2102の新たに入れ込まれた値
を格納することにより更新される。レジスタ2104
は、OR装置2102で生成される固定長データ幅を全
て満たしたデータを格納し、図36のラインメモリ18
08へ転送される。加算器2105は、図14の変倍画
素変換装置806から有効数を受け取り、次のシフタの
先頭値を求めるために、変倍画素変換装置806の現在
の固定長データの最終値と加算処理する。レジスタ21
06は、固定長データの最終値を格納し、シフター21
01のシフタをコントロールする。
FIG. 39 is a block diagram showing the structure of the fixed length data generation device of FIG. The fixed-length data generation device shown in the figure includes a shifter 2101, an OR device 2102, registers 2103, 2104, 2106, and an adder 2105.
have. The shifter 2101 receives a plurality of “1/0” data in the horizontal direction of the data conversion processing device 202 of FIG. 3 from the parallel comparison device 1806 of FIG. 36 and adjusts to the final value of the fixed length data currently being created. Shift processing for The OR device 2102 inserts the value shifted by the shifter 2101 by OR processing with the value currently being created. The register 2103 stores the fixed length data currently being created and is updated by storing the newly inserted value of the OR device 2102. Register 2104
Stores the data generated by the OR device 2102 that satisfies the fixed length data width, and stores the data in the line memory 18 of FIG.
08 is transferred. The adder 2105 receives the effective number from the scaling pixel converting apparatus 806 of FIG. 14, and performs addition processing with the final value of the current fixed length data of the scaling pixel converting apparatus 806 in order to obtain the start value of the next shifter. . Register 21
06 stores the final value of the fixed length data, and the shifter 21
Control the shifter of 01.

【0067】図40は図36のハーフトーン処理装置の
処理を示すフローチャートである。同図において、図3
6のデイザパターンアドレス生成装置1804が示すデ
イザパターンメモリより水平のMAX倍率分のデータを
並列にリードする(ステップS1301)。そして、図
36の比較パターン切り出し装置1805により比較す
る水平のMAX倍率分をSHFT値の示すアドレスから
デイザパターンを切り出す(ステップS1302)。次
に、図36の並列比較装置1806により水平のMAX
倍率分を並列に比較する(ステップS1303)。その
比較結果を図36の固定長データ生成装置1807で有
効なドットのみ固定長データに追加していく(ステップ
S1304)。そして、図36のラインメモリアドレス
生成は、図36のラインメモリ1808のアドレスを生
成し、の固定長データ生成装置1807のデータをライ
ンメモリ1808へ書き込む(ステップS1305)。
その後、図36の比較パターン切り出し装置1805
は、SHFT値に有効ドット数を加算し、次の処理に備
える(ステップS1306)。全てのデイザパターンに
対して処理が終了しているか否かを調べ、終了していな
いときはSHFT値は水平のMAX倍率以上か否かを調
べて以上でない場合はステップS1302へ戻り、以上
である場合はSHFT値から水平のMAX倍率を差し引
いた値をSHFT値としてステップS1301へ戻って
処理を繰り返す。
FIG. 40 is a flow chart showing the processing of the halftone processing apparatus of FIG. In FIG.
The data for the horizontal MAX magnification is read in parallel from the dither pattern memory indicated by the dither pattern address generator 1804 of No. 6 (step S1301). Then, a dither pattern is cut out from the address indicated by the SHFT value for the horizontal MAX magnification to be compared by the comparison pattern cutting device 1805 in FIG. 36 (step S1302). Next, the parallel comparison device 1806 of FIG.
The magnifications are compared in parallel (step S1303). The fixed length data generator 1807 of FIG. 36 adds only the effective dots to the fixed length data as the comparison result (step S1304). Then, in the line memory address generation of FIG. 36, the address of the line memory 1808 of FIG. 36 is generated, and the data of the fixed length data generation device 1807 is written to the line memory 1808 (step S1305).
Then, the comparative pattern cutting device 1805 shown in FIG.
Adds the number of effective dots to the SHFT value and prepares for the next processing (step S1306). Whether or not the processing has been completed for all dither patterns is checked, and if not completed, then the SHFT value is checked to see if it is greater than or equal to the horizontal MAX magnification. If not, the process returns to step S1302. If there is, the value obtained by subtracting the horizontal MAX magnification from the SHFT value is set as the SHFT value, and the process returns to step S1301 to repeat the processing.

【0068】図41は図36のデイザパターン記憶装置
の32*8のサイズの例を示す。また、図42に図41
のデイザテーブルを使用した処理の推移の例を示す。更
に、図43に図36のラインメモリの例を示す。
FIG. 41 shows an example of the 32 * 8 size of the dither pattern storage device of FIG. In addition, FIG.
An example of the transition of processing using the dither table of is shown. Further, FIG. 43 shows an example of the line memory of FIG.

【0069】また、図44は図3のデータ変換処理装置
202の変倍処理がバイリニア法である場合の全体のフ
ローを示す。同図において、先ず図3のメモリアービタ
ーI/F201は、垂直方向の変倍率を求める処理を行
う(ステップS1401)。図3のメモリアービターI
/F201は、図2のメモリアービター103を介して
図2のメモリ109から1ラインの画像データを読み込
み、図3のデータ変換処理装置202へ送る(ステップ
S1402)。また、ステップS1402と同様に、図
3のメモリアービターI/F201は、図2のメモリア
ービター103を介して図2のメモリ109から1ライ
ンの画像データを読み込み、図3のデータ変換処理装置
202へ送る(ステップS1403)。なお、バイリニ
ア補間法では後述する図50のようにA,B,C,Dの
4点から補間するため、A,Bを格納するラインメモリ
と、C,Dを格納するラインメモリが必要であり、最初
に2ラインを読み込み、その後、C,DのラインをA,
Bのラインとし、C,Dの1ラインを読み込んでいく。
次に、図3のメモリアービターI/F201は、垂直方
向に変倍後のライン数分のデイザデータを読み込み、図
3のハーフトーン処理装置203へ送る(ステップS1
404)。図3のメモリアービターI/F201はステ
ップS1401で求めた垂直方向の変倍率とデイステイ
ネーション画像の座標Y始点DYSから、垂直方向のD
DA(デジタル微分解析)により、変倍後のY始点YS
とY終点YEを求める(ステップS1405)。そし
て、図3のメモリアービターI/F201は変倍後の垂
直方向のラインカウンタにステップS1404で求めた
YSの値を設定する(ステップS1406)。図3のデ
ータ変換装置202により1ラインの画像処理(変倍、
色変換、フィルター処理など)を行う(ステップS14
07)。次に、図3のハーフトーン処理装置203によ
り、1ラインの画像処理後の画像データにハーフトーン
処理を行う(ステップS1408)。また、図3のハー
フトーン処理装置203はハーフトーン処理後の1ライ
ンデータを内部ラインメモリに書き込む(ステップS1
409)。更に、図3のメモリアービターI/F201
は変倍後の垂直方向のラインカウンタをカウントアップ
する(ステップS1410)。そして、図3のメモリア
ービターI/F201は垂直方向のラインカウンタがス
テップS1404で求めた垂直方向の変倍後のY終点Y
Eを超えているかいないかをチェックし、超えていない
場合はステップS1407の処理へ移り(ステップS1
411;YES)、超えた場合はステップS1412の
処理へ移る(ステップS1411;NO)。図3のメモ
リアービターI/F201は書き込まれた内蔵ラインメ
モリから画像処理後のデータを図2のメモリアービター
103を介して図2のメモリ109へ画像処理後の画像
データを書き込む(ステップS1412)。そして、図
3のメモリアービターI/F201は求めた垂直方向の
変倍後のY終点YEがデイステイネーション画像の座標
Y終点DYEを超えているかいないかをチェックし、超
えている場合はステップS1403のフローへ移り(ス
テップS1413;YES)、等しいか又は超えた場合
は処理を終了する(ステップS1413;NO)。
FIG. 44 shows an overall flow when the scaling processing of the data conversion processing device 202 of FIG. 3 is the bilinear method. In the figure, first, the memory arbiter I / F 201 of FIG. 3 performs a process of obtaining a scaling factor in the vertical direction (step S1401). Memory Arbiter I in Figure 3
The / F 201 reads the image data of one line from the memory 109 of FIG. 2 via the memory arbiter 103 of FIG. 2 and sends it to the data conversion processing device 202 of FIG. 3 (step S1402). Further, similarly to step S1402, the memory arbiter I / F 201 of FIG. 3 reads one line of image data from the memory 109 of FIG. 2 via the memory arbiter 103 of FIG. 2, and transfers it to the data conversion processing device 202 of FIG. Send (step S1403). Since the bilinear interpolation method interpolates from four points A, B, C, and D as shown in FIG. 50 described later, a line memory for storing A and B and a line memory for storing C and D are required. , First read 2 lines, then C, D lines A,
The line B is read, and one line C and D is read.
Next, the memory arbiter I / F 201 of FIG. 3 reads the dither data for the number of lines after scaling in the vertical direction and sends it to the halftone processing device 203 of FIG. 3 (step S1).
404). The memory arbiter I / F 201 shown in FIG. 3 uses the vertical scaling factor obtained in step S1401 and the coordinate Y start point DYS of the destination image to determine the vertical direction D.
By DA (digital differential analysis), Y start point YS after scaling
And Y end point YE is obtained (step S1405). Then, the memory arbiter I / F 201 of FIG. 3 sets the YS value obtained in step S1404 in the vertical line counter after scaling (step S1406). Image processing of one line (magnification,
Color conversion, filter processing, etc. are performed (step S14).
07). Next, the halftone processing device 203 of FIG. 3 performs halftone processing on the image data after the image processing of one line (step S1408). Further, the halftone processing device 203 of FIG. 3 writes the 1-line data after the halftone processing to the internal line memory (step S1).
409). Furthermore, the memory arbiter I / F 201 of FIG.
Counts up the vertical line counter after scaling (step S1410). Then, in the memory arbiter I / F 201 of FIG. 3, the vertical line counter obtains the Y end point Y after scaling in the vertical direction obtained in step S1404.
It is checked whether E is exceeded or not, and if it is not exceeded, the process proceeds to step S1407 (step S1).
411; YES), and when it exceeds, the process moves to step S1412 (step S1411; NO). The memory arbiter I / F 201 of FIG. 3 writes the image-processed data from the written in-line memory to the memory 109 of FIG. 2 via the memory arbiter 103 of FIG. 2 (step S1412). Then, the memory arbiter I / F 201 of FIG. 3 checks whether or not the obtained Y end point YE after scaling in the vertical direction exceeds the coordinate Y end point DYE of the day-station image, and if it does, step S1403. Flow (step S1413; YES), and if equal or over, the process ends (step S1413; NO).

【0070】図45は垂直方向に縮小する場合のタイミ
ング例を示す図である。同図の(a)に示す例は、縮小
倍率が0.5倍の例で、画像処理前の画像データを1つ
飛ばしのラインを(奇数ラインのみ)読み込み、デイザ
パターンデータは順次1ラインごとに読み込み、そして
画像処理後のデータを順次1ラインごと書き込んでい
く。ここでは図44のフローのように、最初は2ライン
を続けて読み込む。また、この例では、画像データの読
み込み処理と画像処理とが並列に処理される。同図の
(b)に示す例は、縮小倍率が0.6666倍の例で、
画像処理前の画像データを3ラインごと1ラインを飛ば
して読み込み、デイザパターンデータは順次1ラインご
とに読み込み、そして画像処理後のデータを順次1ライ
ンごと書き込んでいく。ここでも図44のフローのよう
に、最初は2ラインを続けて読み込む。また、この例で
も、画像データの読み込み処理と画像処理とが並列に処
理される。
FIG. 45 is a diagram showing a timing example in the case of reducing in the vertical direction. The example shown in (a) of the figure is an example in which the reduction ratio is 0.5 times, in which one line of the image data before the image processing is skipped (only the odd line) is read, and the dither pattern data is sequentially set to one line. Each line is read, and the image-processed data is sequentially written line by line. Here, as in the flow of FIG. 44, initially, two lines are continuously read. Further, in this example, the image data reading processing and the image processing are processed in parallel. The example shown in (b) of the figure is an example in which the reduction ratio is 0.6666 times.
The image data before the image processing is read by skipping every 3 lines, the dither pattern data is sequentially read by each line, and the data after the image processing is sequentially written by each line. Here again, as in the flow of FIG. 44, initially, two lines are continuously read. Also in this example, the image data reading process and the image processing are performed in parallel.

【0071】図46は垂直方向の等倍及び拡大の場合の
タイミング例を示す図である。同図の(a)に示す例
は、1倍の例で、画像処理前の画像データを順次1ライ
ンごとに読み込み、デイザパターンデータを順次1ライ
ンごとに読み込み、そして画像処理後のデータを順次1
ラインごとに書き込んでいく。ここでも図44のフロー
のように、最初は2ラインを続けて読み込む。また、こ
の例では、画像データの読み込み処理と画像処理とが並
列に処理される。同図の(b)に示す例は、105倍の
例で、画像処理前の画像データを順次1ラインごとに読
み込み、デイザパターンデータを時々2ラインごとに読
み込み、そして画像処理後のデータを時々2ラインごと
書き込んでいく。ここでも図44のフローのように、最
初は2ラインを続けて読み込む。また、この例では、画
像データの読み込み処理と画像処理とが並列に処理さ
れ、時々2ラインの画像処理を行う。また、同図の
(c)に示す例は、2倍の例で、画像処理前の画像デー
タを順次1ラインごとに読み込み、デイザパターンデー
タを順次2ラインごとに読み込み、そして画像処理後の
データを順次2ライン後と書き込んでいく。ここでも図
44のフローのように、最初は2ラインを続けて読み込
む。また、この例では、画像データの読み込み処理と画
像処理とが並列に処理され、2ラインの画像処理を行
う。
FIG. 46 is a diagram showing a timing example in the case of equal magnification and enlargement in the vertical direction. The example shown in (a) of the figure is a 1 × example, in which image data before image processing is sequentially read line by line, dither pattern data is sequentially read line by line, and data after image processing is read. Sequentially 1
Write in each line. Here again, as in the flow of FIG. 44, initially, two lines are continuously read. Further, in this example, the image data reading processing and the image processing are processed in parallel. The example shown in (b) of the figure is an example of 105 times, in which image data before image processing is sequentially read line by line, dither pattern data is sometimes read every two lines, and data after image processing is read. Sometimes I write every two lines. Here again, as in the flow of FIG. 44, initially, two lines are continuously read. Further, in this example, the image data reading process and the image processing are performed in parallel, and sometimes the image processing of two lines is performed. Further, the example shown in (c) of the figure is a double example, in which image data before image processing is sequentially read line by line, dither pattern data is sequentially read every two lines, and after image processing is performed. Data is written sequentially after 2 lines. Here again, as in the flow of FIG. 44, initially, two lines are continuously read. Further, in this example, the image data read processing and the image processing are processed in parallel, and two-line image processing is performed.

【0072】図47はバイリニア補間法の変倍処理装置
の構成を示すブロック図である。同図に示す変倍処理装
置は、パラメータ処理装置2201、拡大率生成装置2
202、DDA処理装置2203、IX,IYカウンタ
装置2204、補間係数生成装置2205、補間処理装
置2206を含んで構成されている。また、パラメータ
処理装置2201は、入力された画像データを順次、ラ
インメモリに蓄え2ライン蓄えたところで、バイリニア
補間される4点のWCOLA,WCOLB,WCOLC,WCOLDを補間
処理装置2206へ転送する。拡大率生成装置2202
は、変倍される画像のソース画像の座標X始点SXS及
びX終点SXE、Y始点SYS及びY終点SYEと変倍
後のデイステイネーション画像の座標X始点DXS及び
X終点DXE、Y始点DYS及びY終点DYEからX、
Y方向の変倍率RATEX,RATEYを求め、DDA
処理装置2203へ転送する。また、DDA処理装置2
203は、拡大率生成装置2202からのX,Y方向の
変倍率とデイステイネーション画像の座標X始点DXS
及びY始点DYSを受け取り、図61の図中○で示す拡
大された画素のように、入力された画像の変倍後の座標
をDDA(デジタルデジタル微分解析)により、随時求
める。この例では、後述する図50のように補間するた
め補間されるX始点、X終点、Y始点、Y終点を求め、
IX,IYカウント処理装置2204と補間係数生成装
置2205へ転送される。IX,IYカウント装置22
04は、DDA処理装置2203からの補間する方向の
始点と終点とY方向の始点と終点を受け取り、図61の
図中△で示す補間された画素のX,Y座標を生成し、補
間係数生成装置2205へ転送する。また、補間係数生
成装置2205は、DDA処理装置2203からの補間
する方向の始点と終点とY方向の始点と終点を受け取
り、IX,IYカウント装置2204からの補間する画
素のX,Y座標から、補間処理装置2206で補間する
X,Y方向の補間係数(DRATEY,DRATEX)
を求め、補間処理装置2206へ送る。更に、補間処理
装置2206は、パラメータ処理装置2201から、補
間するデータを受け取り、補間係数生成装置2205か
ら補間する係数を受け取ることにより、パラメータ処理
装置2201からのデータを補間することにより、図6
のように、拡大された画素間を補間し埋めることによ
り、拡大画像を生成することにより、変倍処理を実行す
る。
FIG. 47 is a block diagram showing the arrangement of a scaling processing apparatus using the bilinear interpolation method. The scaling processing device shown in the figure includes a parameter processing device 2201 and an enlargement ratio generating device 2.
202, a DDA processing device 2203, an IX / IY counter device 2204, an interpolation coefficient generating device 2205, and an interpolation processing device 2206. In addition, the parameter processing device 2201 sequentially stores the input image data in the line memory and stores two lines, and then transfers WCOLA, WCOLB, WCOLC, and WCOLD at four points to be linearly interpolated to the interpolation processing device 2206. Magnification ratio generator 2202
Is the coordinates X start point SXS and X end point SXE, Y start point SYS and Y end point SYE of the source image of the image to be scaled, and coordinates X start point DXS and X end point DXE, Y start point DYS and Y of the destination image after scaling. Y end point DYE to X,
Calculate the scaling factors RATEX and RATEY in the Y direction, and
Transfer to the processing device 2203. In addition, the DDA processing device 2
Reference numeral 203 denotes a scaling factor in the X and Y directions from the enlargement ratio generating device 2202 and the coordinate X start point DXS of the destination image.
And the Y start point DYS are received, and the scaled coordinates of the input image are calculated at any time by DDA (Digital Digital Differential Analysis) like the enlarged pixel indicated by the circle in FIG. 61. In this example, an X start point, an X end point, a Y start point, and a Y end point that are interpolated for interpolation as shown in FIG.
It is transferred to the IX, IY count processing device 2204 and the interpolation coefficient generation device 2205. IX, IY counting device 22
Reference numeral 04 receives the start point and end point in the direction of interpolation and the start point and end point in the Y direction from the DDA processing device 2203, generates the X and Y coordinates of the interpolated pixel indicated by Δ in the drawing of FIG. 61, and generates the interpolation coefficient. Transfer to device 2205. Further, the interpolation coefficient generation device 2205 receives the start point and end point in the interpolation direction and the start point and end point in the Y direction from the DDA processing device 2203, and from the X and Y coordinates of the pixel to be interpolated from the IX and IY counting device 2204, Interpolation coefficients in the X and Y directions (DRATEY, DRATEX) to be interpolated by the interpolation processing device 2206
Is calculated and sent to the interpolation processing device 2206. Further, the interpolation processing device 2206 receives the data to be interpolated from the parameter processing device 2201, and receives the coefficient to be interpolated from the interpolation coefficient generation device 2205 to interpolate the data from the parameter processing device 2201.
As described above, the scaling process is executed by generating an enlarged image by interpolating and filling the enlarged pixels.

【0073】図48は図47の変倍処理装置の処理を示
すフローチャートである。同図において、先ず拡大率生
成処理装置により、拡大率を求める(ステップS150
1)。そして、DDA処理装置により、Y方向(垂直方
向)のDDA処理を行い、処理するY始点YSとY終点
YEを求める(ステップS1502)。IX,IYカウ
ント処理装置の処理するY座標(水平ライン)にYS座
標を指定する(ステップS1503)。IX,IYカウ
ント処理装置の処理するX座標をデイステイネーション
画像の座標X始点DXSに初期化する(ステップS15
04)。DDA処理装置により、X方向(水平方向)の
DDA処理を行い、処理するX始点XSとX終点XEを
求める(ステップS1505)。次に、補間データを読
み込む補間係数生成処理装置により、現在処理する座標
での補間係数を求める(ステップS1506,S150
7)。補間処理装置により、拡大された画素間を補間す
ることにより、変倍画像を生成する(ステップS150
8)。XEが変倍されたデイステイネーション画像の座
標X終点DXEを超えていない場合はステップS150
5へ処理を戻す(ステップS1509;YES)。超え
ている場合はIX,IYカウント処理装置により、次に
補間するY座標を求める(ステップS1509;NO、
ステップS1510)。その値が補間するY値終点YE
を超えていない場合はステップS1504へ処理を戻す
(ステップS1511;YES)。YEが変倍されたデ
イステイネーション画像の座標Y終点DYEを超えてい
ない場合はステップS1502へ処理を戻す(ステップ
S1512;YES)。
FIG. 48 is a flow chart showing the processing of the scaling processing apparatus of FIG. In the figure, first, the enlargement ratio is generated by the enlargement ratio generation processing device (step S150).
1). Then, the DDA processing device performs the DDA processing in the Y direction (vertical direction) to obtain the Y start point YS and the Y end point YE to be processed (step S1502). The YS coordinate is designated as the Y coordinate (horizontal line) processed by the IX, IY count processing device (step S1503). The X coordinate processed by the IX, IY count processing device is initialized to the coordinate X start point DXS of the destination image (step S15).
04). The DDA processing device performs DDA processing in the X direction (horizontal direction), and obtains an X start point XS and an X end point XE to be processed (step S1505). Next, the interpolation coefficient generation processing device that reads the interpolation data obtains the interpolation coefficient at the coordinates currently processed (steps S1506 and S150).
7). The interpolating device interpolates between the enlarged pixels to generate a scaled image (step S150).
8). If XE does not exceed the coordinate X end point DXE of the scaled date image, step S150.
The process is returned to 5 (step S1509; YES). If it exceeds, the IX, IY count processing device obtains the Y coordinate to be interpolated next (step S1509; NO,
Step S1510). The Y value end point YE that the value interpolates
If it does not exceed, the process returns to step S1504 (step S1511; YES). If YE does not exceed the coordinate Y end point DYE of the scaled date image, the process returns to step S1502 (step S1512; YES).

【0074】図49は図47のパラメータ処理装置の構
成を示すブロック図である。同図に示すパラメータ処理
装置は、入力された画素の偶数番目の画素を蓄えるレジ
スタ2301、入力された画素の奇数番目の画素を蓄え
るレジスタ2302、ライン分の画素を格納するライン
メモリ2303〜2305、ラインメモリ2303〜2
305に格納されたデータをコントロールして出力する
セレクタ2306、コントローラ2307を含んで構成
されている。例えば、現在、ラインメモリ2303、ラ
インメモリ2304のデータを出力する場合、以下のよ
うにラインメモリ2303が補間される画素A,Bをラ
インメモリ2304が補間される画素C,Dを出力し、
ラインメモリ2305には次の画素を蓄えさせる。
FIG. 49 is a block diagram showing the structure of the parameter processing device shown in FIG. The parameter processing device shown in the figure includes a register 2301 for storing even-numbered pixels of input pixels, a register 2302 for storing odd-numbered pixels of input pixels, line memories 2303 to 2305 for storing pixels of lines, Line memory 2303-2
A selector 2306 for controlling and outputting the data stored in 305 and a controller 2307 are included. For example, when outputting the data of the line memory 2303 and the line memory 2304, the pixels A and B in which the line memory 2303 is interpolated and the pixels C and D in which the line memory 2304 is interpolated are output as follows.
The line memory 2305 stores the next pixel.

【0075】このパラメータ処理装置は、図50のよう
にスキャンライン方向から順次入力された画像データを
2ライン分蓄え、順次図51の補間される4点を図52
のように出力する。この時(補間される4画素を出力し
ている時)、入力される画素を3本目のラインメモリで
順次受け取る。3本目のラインメモリがいっぱいにな
り、図52のような垂直の補間が全て終わらない場合
は、入力される画素を送る装置に対してWAITをかけ
る。そして、図52のように2ラインで蓄えた画素の垂
直方向すべて終了すると、蓄えられた3本目の画素と先
ほど処理した2ラインの画素の後半の1ラインとから、
新たな2ラインの画素を形成し、前記と同様に図52の
ように、順次補間される4点の画素を出力していく。そ
して、空いている1ラインのメモリに対して、前記と同
様に、3本目のラインメモリとして、入力される画素を
順次蓄えていく。
This parameter processing device stores image data sequentially input from the scan line direction for two lines as shown in FIG. 50, and sequentially stores four interpolated points in FIG. 51 in FIG.
To output. At this time (when outputting four interpolated pixels), the input pixels are sequentially received by the third line memory. When the third line memory is full and the vertical interpolation as shown in FIG. 52 is not completed, WAIT is applied to the device that sends the input pixel. Then, when all of the pixels accumulated in two lines in the vertical direction are completed as shown in FIG. 52, from the accumulated third pixel and the latter half one line of the previously processed two-line pixels,
New two lines of pixels are formed, and similarly to the above, as shown in FIG. 52, four interpolated pixels are sequentially output. Then, similarly to the above, the input pixels are sequentially stored in the vacant one-line memory as the third line memory.

【0076】図53は図47の拡大率生成装置の構成を
示すブロック図である。同図に示す拡大率生成装置は、
減算器2401,2402,2405,2406、除算
器2403,2407、レジスタ2404,2408を
含んで構成されている。このような構成を有する拡大率
生成装置は、変倍される画像のソース画像の座標X始点
SXS及びX終点SXE、Y始点SYS及びY終点SY
Eと変倍後のデイステイネーション画像の座標X始点D
XS及びX終点DXE、Y始点DYS及びY終点DYE
からX、Y方向の変倍率RATEX,RATEYを求
め、図47のDDA処理装置2203へ転送する。RA
TEX=(SXE−SXS)/(DXE−DXS)の演算
により、X方向の変倍率(RATEX)を求め、(ソー
ス画像の座標X始点SXS及びX終点SXE、デイステ
イネーション画像の座標X始点DXS及びX終点DX
E)、RATEY=(SYE−SYS)/(DYE−D
YS)の演算により、Y方向の変倍率(RATEY)を
求め、(ソース画像の座標Y始点SYS、Y終点SY
E、デイステイネーション画像の座標Y始点DYS、Y
終点DYE)、を求める。
FIG. 53 is a block diagram showing the structure of the enlargement ratio generating device of FIG. The enlargement factor generation device shown in FIG.
It is configured to include subtractors 2401, 402, 2405, 2406, dividers 2403, 2407, and registers 2404, 2408. The magnifying power generation device having such a configuration has the coordinates X start point SXS and X end point SXE of the source image of the image to be scaled, Y start point SYS and Y end point SY.
E and the coordinate X start point D of the day-change image after scaling
XS and X end point DXE, Y start point DYS and Y end point DYE
47, the scaling factors RATEX and RATEY in the X and Y directions are obtained and transferred to the DDA processing device 2203 in FIG. RA
The scaling factor (RATEX) in the X direction is obtained by the calculation of TEX = (SXE-SXS) / (DXE-DXS), and (the coordinate X start point SXS and X end point SSX of the source image, the coordinate X start point DXS of the destination image) And X end point DX
E), RATEY = (SYE-SYS) / (DYE-D
YS) is used to calculate the scaling factor (RATEY) in the Y direction, and the (source image coordinates Y start point SYS, Y end point SY) are calculated.
E, coordinate Y of day-station image Y start point DYS, Y
End point DYE).

【0077】図54は図47のDDA処理装置の構成を
示すブロック図である。同図に示すDDA処理装置は、
MUX2501,2507、レジスタ2502,250
3,2505,2506,2508,2509,251
1,2512、加算器2504,2510を含んで構成
されている。また、MUX2501は、最初のみレジス
タ2502に、初期値のデイステイネーション画像の座
標X始点DXSを転送し、その後順次加算されていく加
算器2504の出力を送る。レジスタ2502は、現在
の処理中のX値を格納する。レジスタ2503は、変倍
率生成装置で求めたX方向変倍率RATEXを格納す
る。レジスタ2505は、補間するX終点を格納する。
レジスタ2506は、補間するX始点を格納する。MU
X2507は、最初のみレジスタ2508に、初期値の
デイステイネーション画像の座標Y始点DYSを転送
し、その後順次加算されていく加算器2510の出力を
送る。レジスタ2508は、現在の処理中のY値を格納
する。レジスタ2509は、変倍率生成装置で求めたY
方向変倍率RATEYを格納する。レジスタ2511
は、補間するY終点を格納する。レジスタ2512は、
補間するY始点を格納する。
FIG. 54 is a block diagram showing the structure of the DDA processing apparatus shown in FIG. The DDA processing device shown in FIG.
MUX 2501 and 2507, registers 2502 and 250
3,2505,2506,2508,2509,251
1 and 512, and adders 2504 and 2510. The MUX 2501 also transfers the initial value of the coordinate X start point DXS of the destination image to the register 2502 only, and then sends the output of the adder 2504 that is sequentially added. The register 2502 stores the X value currently being processed. The register 2503 stores the X-direction scaling ratio RATEX calculated by the scaling ratio generator. The register 2505 stores the X end point for interpolation.
The register 2506 stores the X start point for interpolation. MU
The X2507 transfers the initial value of the coordinate Y start point DYS of the destination image to the register 2508 only, and then sends the output of the adder 2510 that is sequentially added. The register 2508 stores the Y value currently being processed. The register 2509 stores Y obtained by the scaling ratio generator.
The direction scaling factor RATEY is stored. Register 2511
Stores the Y end point to be interpolated. Register 2512
The Y start point for interpolation is stored.

【0078】このような構成を有するDDA処理装置に
よれば、図47の拡大率生成装置2201からのX,Y
方向の変倍率とデイステイネーション画像の座標X始点
DXS、Y始点DYSを受け取り、図61の図中○で示
す拡大された画素のように、入力された画像の変倍後の
座標をDDA(デジタル微分解析)により、随時求め
る。この例では、図51のように補間するため補間され
るX始点、X終点、Y始点、Y終点を求め、図47のI
X,IYカウント処理装置2204と補間係数生成装置
2205へ転送される。また、X方向DDA処理装置は
図12のように現在のX座標に変倍率生成装置で求めた
X方向変倍率RATEXを順次加算していく構造であ
り、Y方向DDA処理装置は図54のように現在のY座
標に変倍率生成装置で求めたRATEYを順次加算して
いく構造である。
According to the DDA processing apparatus having such a configuration, X, Y from the enlargement factor generating apparatus 2201 of FIG.
The scaling factor in the direction and the coordinates X start point DXS and Y start point DYS of the destination image are received, and the scaled coordinates of the input image are set to DDA (, as in the enlarged pixel indicated by ◯ in FIG. 61). It is obtained at any time by digital differential analysis). In this example, the X start point, X end point, Y start point, and Y end point to be interpolated for interpolation as shown in FIG.
It is transferred to the X, IY count processing device 2204 and the interpolation coefficient generation device 2205. Further, the X-direction DDA processing device has a structure in which the X-direction scaling ratio RATEX obtained by the scaling ratio generating device is sequentially added to the current X coordinate as shown in FIG. 12, and the Y-direction DDA processing device is as shown in FIG. In addition, RATEY obtained by the scaling factor generator is sequentially added to the current Y coordinate.

【0079】図55は図47の補間係数生成装置の構成
を示すブロック図である。同図に示す補間係数生成装置
は、減算器2601,2602,2605,2606、
除算器2603,2607,2608、レジスタ260
4,2609を含んで構成されている。このような構成
を有する補間係数生成装置は、図47のDDA処理装置
2203からの補間するX方向の始点と終点とY方向の
始点と終点を受け取り、図47のIX,IYカウント装
置2204からの補間する画素のX,Y座標から、図4
7の補間処理装置2206で補間するX,Y方向の補間
係数(DRATEY,DRATEX)を求め、補間処理
装置2206へ送る。DRATEX=(IX‐XS)/
(XE−XS)の演算により、X方向の補間係数(DRA
TEX)を求め、DDA処理装置2203により求めた
X方向の始点と終点(XS,XE)、IX,IYカウン
ト装置2204からの補間する画素のX座標(IX)、
DRATEY=(IY‐YS)/(YE−YS)の演算に
より、Y方向の補間係数(DRATEY)を求め、DD
A処理装置2203により求めたY方向の始点と終点
(YS,YE)、IX,IYカウント装置2204から
の補間する画素のY座標(IY)を求める。
FIG. 55 is a block diagram showing the structure of the interpolation coefficient generating device shown in FIG. The interpolation coefficient generation device shown in the figure includes subtracters 2601, 2602, 2605, 2606,
Dividers 2603, 2607, 2608, register 260
4, 2609 are included. The interpolation coefficient generation device having such a configuration receives the start point and end point in the X direction and the start point and end point in the Y direction to be interpolated from the DDA processing device 2203 of FIG. 47, and receives from the IX and IY counting device 2204 of FIG. From the X and Y coordinates of the pixel to be interpolated, as shown in FIG.
No. 7 interpolation processing device 2206 obtains interpolation coefficients (DRATEY, DRATEX) in the X and Y directions to be interpolated, and sends them to the interpolation processing device 2206. DRATEX = (IX-XS) /
By the calculation of (XE-XS), the interpolation coefficient (DRA
TEX), the start and end points (XS, XE) in the X direction obtained by the DDA processing device 2203, the X coordinate (IX) of the pixel to be interpolated from the IX, IY counting device 2204,
DRATEY = (IY-YS) / (YE-YS) is calculated to obtain the interpolation coefficient (DRATEY) in the Y direction, and DD
The start and end points (YS, YE) in the Y direction obtained by the A processing unit 2203, and the Y coordinate (IY) of the pixel to be interpolated from the IX, IY counting unit 2204 are obtained.

【0080】また、この時、本方式は図52のように順
次水平ラインごと求めるため、DRATEYの演算は各
ラインごと1回のみ必要なだけであり、演算量が少な
い。また、ハードウェア量の減少とスピードの高速化を
招く。
Further, at this time, since the present method sequentially obtains each horizontal line as shown in FIG. 52, the calculation of DRATEY is required only once for each line, and the amount of calculation is small. In addition, the amount of hardware is reduced and the speed is increased.

【0081】図56は図47の補間処理装置の構成を示
すブロック図である。同図に示す補間処理装置は、垂直
補間処理装置2701、水平補間係数生成装置270
2、水平補間処理装置2703を含んで構成されてい
る。また、垂直補間処理装置2701は、図47の補間
係数生成装置2205で求めた補間係数(DRATE
Y)により、Y始点から現在のライン(Y座標)の位置
の差分値を求め、垂直補間された図51のAV,BVを
求めることができる。水平補間係数生成装置2702
は、図47の補間係数生成装置2205で求めた補間係
数(DRATEX,1/DX)によりこの変倍処理装置
が処理可能な水平方向のMAX拡大率まで、水平方向の
補間係数を並列に求める。この例では、この変倍処理装
置が水平方向に8倍までであるため、8個の水平方向の
補間係数を並列に求めている。水平補間処理装置270
3は、垂直補間処理装置2701で求めた垂直方向の補
間点であるWCOLAV,WCOLBVを受け取り、この2点間を水
平補間係数生成装置2702で求めた複数の補間係数か
ら、複数の補間点の値を求める。この時、実際の補間す
べき個数は、有効数カウント装置により、カウントされ
る。
FIG. 56 is a block diagram showing the structure of the interpolation processing device shown in FIG. The interpolation processing device shown in the figure includes a vertical interpolation processing device 2701 and a horizontal interpolation coefficient generation device 270.
2. A horizontal interpolation processing device 2703 is included. Further, the vertical interpolation processing device 2701 uses the interpolation coefficient (DRATE) obtained by the interpolation coefficient generation device 2205 of FIG.
By Y), the difference value of the position of the current line (Y coordinate) from the Y start point can be obtained, and the vertically interpolated AV and BV in FIG. 51 can be obtained. Horizontal interpolation coefficient generator 2702
47, the interpolation coefficient (DRATEX, 1 / DX) obtained by the interpolation coefficient generation device 2205 in FIG. 47 is used to find the horizontal interpolation coefficient in parallel up to the horizontal MAX enlargement factor that can be processed by this scaling processing device. In this example, since the scaling processing device is up to eight times in the horizontal direction, eight interpolation coefficients in the horizontal direction are obtained in parallel. Horizontal interpolation processing device 270
3 receives the vertical interpolation points WCOLAV and WCOLBV obtained by the vertical interpolation processing device 2701, and the values of the plurality of interpolation points are calculated from the plurality of interpolation coefficients obtained by the horizontal interpolation coefficient generation device 2702 between these two points. Ask for. At this time, the actual number to be interpolated is counted by the effective number counting device.

【0082】このような構成を有する補間処理装置は、
図47のパラメータ処理装置2201から、補間するデ
ータを受け取り、補間係数生成装置2205から補間す
る係数を受け取ることにより、パラメータ処理装置22
01からのデータを補間することにより、図57のよう
に、拡大された画素間を補間し埋めることにより、拡大
画像を生成することにより、変倍処理を実行する。補間
方法として、ここでは、バイリニア補間方法について例
で示す。図51にバイリニア補間方法の例を示す。ここ
では図52に示すように各ラインを水平方向に順次補間
していく、このため、図51の(a)のように、A,C
間とB,D間を垂直に補間し、AV,BVを求め、その
後図51の(b)のようにAV,BV間を水平に補間
し、Pを求める。この場合、ハードウェア構成によって
は、求めたBVを次のAVとして再利用することが可能
であり、補間演算の減少へつながり、かつハードウェア
量の減少とスピードの高速化を招く。
The interpolation processing device having such a configuration is
By receiving the data to be interpolated from the parameter processing device 2201 of FIG. 47 and the coefficient to be interpolated from the interpolation coefficient generation device 2205, the parameter processing device 22
By interpolating the data from 01, the enlarged pixels are interpolated and filled as shown in FIG. 57 to generate an enlarged image, thereby executing the scaling process. As an interpolation method, a bilinear interpolation method will be shown here as an example. FIG. 51 shows an example of the bilinear interpolation method. Here, each line is sequentially interpolated in the horizontal direction as shown in FIG. 52. Therefore, as shown in FIG.
And B and D are vertically interpolated to obtain AV and BV, and thereafter, as shown in FIG. 51B, the AV and BV are horizontally interpolated to obtain P. In this case, depending on the hardware configuration, the obtained BV can be reused as the next AV, leading to a reduction in interpolation calculation, a reduction in the amount of hardware, and an increase in speed.

【0083】図58は図56の垂直補間処理装置の構成
を示すブロック図である。なお、ここでの処理は図51
の(a)の処理に相当する。同図に示す垂直補間処理装
置は、パラメータ処理装置で求めた4点の画素データの
左の2つの画素の差を求める減算器2801、補間係数
生成装置で求めたDRATEYの値と減算器2801の
差分を乗算することにより、差分ないでの位置を求める
乗算器2802、乗算器2082で求め値と始点を加算
することにより、左端の垂直方向に補間された値を求め
る加算器2803、加算器2803の値を格納するレジ
スタ2804、パラメータ処理装置で求めた4点の画素
データの右2つの画素の差を求める減算器2805、補
間係数生成装置で求めたDRATEYの値と減算器28
05の差分を乗算することにより、差分ないでの位置を
求める乗算器2806、乗算器2806で求め値と始点
を加算することにより、右端の垂直方向に補間された値
を求める加算器2807、加算器2807の値を格納す
るレジスタ2808を含んで構成されている。
FIG. 58 is a block diagram showing the structure of the vertical interpolation processing device shown in FIG. Note that the processing here is as shown in FIG.
This corresponds to the processing of (a). The vertical interpolation processing device shown in the figure includes a subtracter 2801 for obtaining the difference between two left pixels of pixel data of four points obtained by the parameter processing device, a DRATEY value obtained by the interpolation coefficient generating device, and a subtracter 2801. An adder 2803 and an adder 2803 that obtain a value interpolated in the vertical direction at the left end by adding the obtained value and the start point by a multiplier 2802 and a multiplier 2082 that obtain a position without difference by multiplying the difference 2804, a subtracter 2805 that obtains the difference between the right two pixels of the pixel data of four points obtained by the parameter processing device, the DRATEY value obtained by the interpolation coefficient generation device and the subtractor 28
The multiplier 2806 that obtains the position without the difference by multiplying the difference of No. 05, and the adder 2807 that obtains the value interpolated in the vertical direction at the right end by adding the value obtained by the multiplier 2806 and the start point A register 2808 for storing the value of the container 2807 is included.

【0084】図59は図56の水平補間係数生成装置の
構成を示すブロック図ある。同図に示す水平補間係数生
成装置は、補間係数生成装置で求めたDRATEXの値
と1/DXと加算することにより、補間係数生成装置で
求めたDRATEXの次の水平方向に2つ目の補間係数
を求める加算器2901、加算器2907で求めた水平
方向に2つ目の補間係数の値と1/DXと加算すること
により、補間係数生成装置で求めたDRATEXの次の
水平方向に3つ目の補間係数を求める加算器2906、
加算器2906で求めた水平方向に3つ目の補間係数の
値と1/DXと加算することにより、補間係数生成装置
で求めたDRATEXの次の水平方向に4つ目の補間係
数を求める加算器2905、加算器2905で求めた水
平方向に4つ目の補間係数の値と1/DXと加算するこ
とにより、補間係数生成装置で求めたDRATEXの次
の水平方向に5つ目の補間係数を求める加算器290
4、加算器2904で求めた水平方向に5つ目の補間係
数の値と1/DXと加算することにより、補間係数生成
装置で求めたDRATEXの次の水平方向に6つ目の補
間係数を求める加算器2903、加算器2903で求め
た水平方向に6つ目の補間係数の値と1/DXと加算す
ることにより、補間係数生成装置で求めたDRATEX
の次の水平方向に7つ目の補間係数を求める加算器29
02、加算器2902で求めた水平方向に7つ目の補間
係数の値と1/DXと加算することにより、補間係数生
成装置で求めたDRATEXの次の水平方向に8つ目の
補間係数を求める加算器2901、補間係数生成装置で
求めたDRATEXの値を格納するレジスタ2915、
加算器2907で求めた水平方向に2つ目の補間係数の
値を格納するレジスタ2914、加算器2906で求め
た水平方向に3つ目の補間係数の値を格納するレジスタ
2913、加算器2905で求めた水平方向に4つ目の
補間係数の値を格納するレジスタ2912、加算器29
04で求めた水平方向に5つ目の補間係数の値を格納す
るレジスタ2911、加算器2903で求めた水平方向
に6つ目の補間係数の値を格納するレジスタ2910、
加算器2902で求めた水平方向に7つ目の補間係数の
値を格納するレジスタ2909、加算器2901で求め
た水平方向に8つ目の補間係数の値を格納するレジスタ
2908を含んで構成されている。
FIG. 59 is a block diagram showing the structure of the horizontal interpolation coefficient generating device shown in FIG. The horizontal interpolation coefficient generation device shown in the figure adds the value of DRATEX obtained by the interpolation coefficient generation device and 1 / DX to obtain a second interpolation in the horizontal direction next to the DRATEX obtained by the interpolation coefficient generation device. By adding the value of the second interpolation coefficient and 1 / DX in the horizontal direction obtained by the adder 2901 and the adder 2907 for obtaining the coefficient, there are three in the horizontal direction next to DRATEX obtained by the interpolation coefficient generation device An adder 2906 for obtaining an eye interpolation coefficient,
Addition for obtaining the fourth interpolation coefficient in the horizontal direction next to DRATEX obtained by the interpolation coefficient generation device by adding the value of the third interpolation coefficient obtained by the adder 2906 and 1 / DX in the horizontal direction By adding the value of the fourth interpolation coefficient and 1 / DX in the horizontal direction obtained by the adder 2905 and the adder 2905, the fifth interpolation coefficient in the horizontal direction next to DRATEX obtained by the interpolation coefficient generation device. Adder 290 for calculating
4, by adding the value of the fifth interpolation coefficient in the horizontal direction obtained by the adder 2904 and 1 / DX, the sixth interpolation coefficient in the horizontal direction next to DRATEX obtained by the interpolation coefficient generation device is obtained. The adder 2903 to be obtained, and the value of the sixth interpolation coefficient obtained by the adder 2903 in the horizontal direction and 1 / DX are added to obtain the DRATEX obtained by the interpolation coefficient generating device.
Adder 29 for obtaining the seventh interpolation coefficient in the horizontal direction next to
02, the value of the seventh interpolation coefficient obtained by the adder 2902 in the horizontal direction and 1 / DX are added to obtain the eighth interpolation coefficient in the horizontal direction next to DRATEX obtained by the interpolation coefficient generation device. An adder 2901 to be obtained, a register 2915 for storing the value of DRATEX obtained by the interpolation coefficient generation device,
A register 2914 for storing the value of the second interpolation coefficient in the horizontal direction obtained by the adder 2907, a register 2913 for storing the value of the third interpolation coefficient in the horizontal direction obtained by the adder 2906, and an adder 2905. A register 2912 for storing the obtained value of the fourth interpolation coefficient in the horizontal direction and an adder 29
A register 2911 for storing the value of the fifth interpolation coefficient in the horizontal direction obtained in 04, a register 2910 for storing the value of the sixth interpolation coefficient in the horizontal direction obtained by the adder 2903,
It is configured to include a register 2909 for storing the value of the seventh interpolation coefficient in the horizontal direction obtained by the adder 2902 and a register 2908 for storing the value of the eighth interpolation coefficient in the horizontal direction obtained by the adder 2901. ing.

【0085】図60は図56の水平補間処理装置の構成
を示すブロック図である。なお、ここでの処理は図51
の(b)の処理に相当する。同図に示す水平補間処理装
置は、垂直補間処理装置で求めた垂直方向に補間された
2点の画素データの水平方向の差を求める減算器302
5、減算器3025で求めた画素の差分と、水平補間係
数生成装置で求めた水平方向に1つ目の補間係数とを乗
算することにより、差分間での補完される値を求める乗
算器3001、乗算器3001での乗算結果と垂直補間
結果であるWCOLAVの値を加算することにより、水平方向
補間された1つ目の画素値を求める加算器3009、加
算器3009で求めた値を格納するレジスタ3017、
減算器3025で求めた画素の差分と、水平補間係数生
成装置で求めた水平方向に2つ目の補間係数とを乗算す
ることにより、差分間での補完される値を求める乗算器
3002、乗算器3002での乗算結果と垂直補間結果
であるWCOLAVの値を加算することにより、水平方向補間
された2つ目の画素値を求める加算器3010、加算器
3010で求めた値を格納するレジスタ3018、減算
器3025で求めた画素の差分と、水平補間係数生成装
置で求めた水平方向に3つ目の補間係数とを乗算するこ
とにより、差分間での補完される値を求める乗算器30
03、乗算器3003での乗算結果と垂直補間結果であ
るWCOLAVの値を加算することにより、水平方向補間され
た3つ目の画素値を求める加算器3011、加算器30
11で求めた値を格納するレジスタ3019、減算器3
025で求めた画素の差分と、水平補間係数生成装置で
求めた水平方向に4つ目の補間係数とを乗算することに
より、差分間での補完される値を求める乗算器300
4、乗算器3004での乗算結果と垂直補間結果である
WCOLAVの値を加算することにより、水平方向補間された
4つ目の画素値を求める加算器3012、加算器301
2で求めた値を格納するレジスタ3020、減算器30
25で求めた画素の差分と、水平補間係数生成装置で求
めた水平方向に5つ目の補間係数とを乗算することによ
り、差分間での補完される値を求める乗算器3005、
乗算器3005での乗算結果と垂直補間結果であるWCOL
AVの値を加算することにより、水平方向補間された5つ
目の画素値を求める加算器3013、加算器3013で
求めた値を格納するレジスタ3021、減算器3025
で求めた画素の差分と、水平補間係数生成装置で求めた
水平方向に6つ目の補間係数とを乗算することにより、
差分間での補完される値を求める乗算器3006、乗算
器3006での乗算結果と垂直補間結果であるWCOLAVの
値を加算することにより、水平方向補間された6つ目の
画素値を求める加算器3014、加算器3014で求め
た値を格納するレジスタ3022、減算器3025で求
めた画素の差分と、水平補間係数生成装置で求めた水平
方向に7つ目の補間係数とを乗算することにより、差分
間での補完される値を求める乗算器3007、乗算器3
007での乗算結果と垂直補間結果であるWCOLAVの値を
加算することにより、水平方向補間された7つ目の画素
値を求める加算器3015、加算器3015で求めた値
を格納するレジスタ3023、減算器3025で求めた
画素の差分と、水平補間係数生成装置で求めた水平方向
に8つ目の補間係数とを乗算することにより、差分間で
の補完される値を求める乗算器3008、乗算器300
8での乗算結果と垂直補間結果であるWCOLAVの値を加算
することにより、水平方向補間された8つ目の画素値を
求める加算器3016、加算器3016で求めた値を格
納するレジスタ3024、水平方向に8個の補間係数が
どの時点から“1.0”を超えているかを1番目の係数
からカウントすることにより、有効数を求める有効数カ
ウント装置3026を含んで構成されている。
FIG. 60 is a block diagram showing the structure of the horizontal interpolation processing apparatus shown in FIG. Note that the processing here is as shown in FIG.
This corresponds to the process (b) of The horizontal interpolation processing device shown in the figure is a subtractor 302 that calculates a horizontal difference between pixel data of two points interpolated in the vertical direction calculated by the vertical interpolation processing device.
5. Multiplier 3001 for finding the value to be complemented during the difference by multiplying the pixel difference found by the subtractor 3025 by the first interpolation coefficient in the horizontal direction found by the horizontal interpolation coefficient generator , The value obtained by the adder 3009 and the value obtained by the adder 3009 are stored by adding the value of WCOLAV that is the vertical interpolation result and the multiplication result of the multiplier 3001. Register 3017,
A multiplier 3002 that obtains a complemented value in the difference by multiplying the pixel difference obtained by the subtractor 3025 and the second interpolation coefficient in the horizontal direction obtained by the horizontal interpolation coefficient generation device. An adder 3010 for obtaining the second pixel value interpolated in the horizontal direction by adding the value of WCOLAV, which is the result of multiplication in the adder 3002, and the result of vertical interpolation, and a register 3018 for storing the value obtained by the adder 3010 , A multiplier 30 that obtains a value to be complemented during the difference by multiplying the pixel difference obtained by the subtractor 3025 by the third interpolation coefficient in the horizontal direction obtained by the horizontal interpolation coefficient generation device.
03, the adder 3011 and the adder 30 which obtain the third pixel value interpolated in the horizontal direction by adding the value of WCOLAV which is the vertical interpolation result to the multiplication result of the multiplier 3003
Register 3019 for storing the value obtained in 11 and subtractor 3
Multiplier 300 that obtains the value to be complemented during the difference by multiplying the pixel difference obtained in 025 by the fourth interpolation coefficient in the horizontal direction obtained by the horizontal interpolation coefficient generation device.
4, the result of multiplication by the multiplier 3004 and the result of vertical interpolation
An adder 3012 and an adder 301 that obtain the fourth pixel value interpolated in the horizontal direction by adding the WCOLAV values
Register 3020 for storing the value obtained in 2 and subtractor 30
Multiplier 3005 that obtains a complemented value in the difference by multiplying the pixel difference obtained in step 25 by the fifth interpolation coefficient in the horizontal direction obtained by the horizontal interpolation coefficient generation device.
WCOL which is the multiplication result and vertical interpolation result in the multiplier 3005
An adder 3013 that obtains the fifth pixel value horizontally interpolated by adding the AV values, a register 3021 that stores the value obtained by the adder 3013, and a subtractor 3025
By multiplying the difference between the pixels obtained in step 6 and the sixth interpolation coefficient in the horizontal direction obtained by the horizontal interpolation coefficient generation device,
Addition for obtaining the sixth pixel value interpolated in the horizontal direction by adding the multiplication result in the multiplication unit 3006 and the value of WCOLAV which is the vertical interpolation result for obtaining the complemented value in the difference By multiplying the pixel difference calculated by the register 3022 that stores the values calculated by the adder 3014 and the adder 3014 and the subtractor 3025 by the seventh interpolation coefficient in the horizontal direction calculated by the horizontal interpolation coefficient generation device. , Multiplier 3007 and Multiplier 3 for obtaining the complemented value in the difference minutes
An adder 3015 that obtains the seventh pixel value horizontally interpolated by adding the value of WCOLAV that is the result of multiplication and the result of vertical interpolation in 007, a register 3023 that stores the value obtained by the adder 3015, A multiplier 3008, which calculates a value to be complemented in the difference by multiplying the pixel difference calculated by the subtractor 3025 by the eighth interpolation coefficient in the horizontal direction calculated by the horizontal interpolation coefficient generation device, Bowl 300
8 by adding the value of WCOLAV which is the result of vertical interpolation and the result of vertical interpolation, adder 3016 that obtains the eighth pixel value interpolated in the horizontal direction, register 3024 that stores the value obtained by adder 3016, It is configured to include an effective number counting device 3026 that obtains an effective number by counting from a time point at which eight interpolation coefficients in the horizontal direction exceed “1.0” from the first coefficient.

【0086】なお、本発明は上記実施例に限定されるも
のではなく、特許請求の範囲内の記載であれば多種の変
形や置換可能であることは言うまでもない。
It is needless to say that the present invention is not limited to the above embodiments, and various modifications and substitutions can be made within the scope of the claims.

【0087】[0087]

【発明の効果】以上説明したように、本発明の画像処理
装置は、画像読み込み処理及びデイザデータの読み込み
処理と処理後の書き込み処理を行うメモリアービターへ
の要求の調停を行うメモリアービターI/Fと、メモリ
アービターI/Fから水平ラインの画像データに画像処
理を行うデータ変換処理手段と、メモリアービターI/
Fからの垂直方向の各ラインの変倍後のライン数分のデ
イザデータとデータ変換処理手段からの画像処理後の水
平ライン毎のデータに対してハーフトーン処理を施すハ
ーフトーン処理手段と、データ変換手段とを有すること
に特徴がある。よって、画像データの読み込み処理を中
断することなく、画像データの読み込みと画像処理が並
列に処理可能であり、高速化することができる。
As described above, the image processing apparatus of the present invention includes a memory arbiter I / F that arbitrates requests to a memory arbiter that performs image reading processing, dither data reading processing, and post-processing writing processing. , Data conversion processing means for performing image processing from the memory arbiter I / F to horizontal line image data, and the memory arbiter I / F
Halftone processing means for performing halftone processing on dither data corresponding to the number of lines after scaling of each vertical line from F and data for each horizontal line after image processing from the data conversion processing means, and data conversion. It is characterized by having means. Therefore, the image data reading process and the image processing can be performed in parallel without interrupting the image data reading process, and the speed can be increased.

【0088】また、メモリアービターI/F手段は、垂
直方向に変倍処理を行い、かつ垂直方向の変倍率に応じ
て必要なデイザデータを選択し、読み込むことにより、
高速化できる。
Further, the memory arbiter I / F means performs a scaling process in the vertical direction, selects necessary dither data according to the scaling factor in the vertical direction, and reads it.
Can speed up.

【0089】更に、データ変換手段は、最近傍法により
変倍処理を行う変倍処理手段を有する。よって、画像を
変倍後に直接ハーフトーン処理を行うために無駄なワー
クメモリの領域を必要とせず、かつ高速に処理が可能で
ある。
Further, the data conversion means has a scaling processing means for carrying out scaling processing by the nearest neighbor method. Therefore, it is possible to perform high-speed processing without needing an unnecessary work memory area for performing the halftone processing directly after scaling the image.

【0090】また、データ変換手段は、バイリニア補間
法により変倍処理を行う変倍処理手段を有する。よっ
て、画像を変倍後に直接ハーフトーン処理を行うために
無駄なワークメモリの領域を必要とせず、かつ高速に処
理が可能である。
Further, the data conversion means has a scaling processing means for carrying out scaling processing by the bilinear interpolation method. Therefore, it is possible to perform high-speed processing without needing an unnecessary work memory area for performing the halftone processing directly after scaling the image.

【0091】更に、変倍処理手段は、ハーフトーン処理
手段の並列に処理する画素と同じ数の画素を並列に変倍
処理することが可能な変倍画素係数生成手段を有し、画
像データを直接ハーフトーン処理を行う。よって、無駄
なワークメモリの領域を必要とせず、高速に処理が可能
であり、かつハーフトーン処理手段の並列処理数分の画
素を常に変倍処理手段が生成することが可能であるため
により一層高速に処理することができる。
Further, the scaling processing means has a scaling pixel coefficient generating means capable of scaling processing the same number of pixels in parallel as the halftone processing means in parallel, and outputs the image data. Performs halftone processing directly. Therefore, it is possible to perform high-speed processing without needing a useless work memory area, and it is possible for the scaling processing unit to constantly generate pixels for the number of parallel processings of the halftone processing unit. It can be processed at high speed.

【0092】また、変倍画素係数生成手段は、ハーフト
ーン処理手段の並列処理数と同じ数の画素のX幅を求め
ることが可能な並列X幅生成手段と、その複数のX幅を
受け取り、ハーフトーン処理手段の並列処理数へ分けて
出力する出力X幅生成手段とを有する。よって、水平方
向に並列に変倍処理を行うために高速に処理が可能とな
る。
The scaled pixel coefficient generation means receives parallel X width generation means capable of obtaining the X width of the same number of pixels as the number of parallel processings of the halftone processing means, and the plurality of X widths, And an output X width generating means for outputting the divided half-tone processing means in parallel. Therefore, since the scaling processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0093】更に、ハーフトーン処理手段は、水平方向
に複数の画素を並列に比較する並列比較手段と、デイザ
パターンメモリから受け取った水平方向に複数の閾値マ
トリックスを現在の比較する画素から水平方向に複数の
閾値マトリックスを切り出す比較パターン切り出し手段
とを有する。よって、水平方向に並列にハーフトーン処
理を行うために高速に処理が可能となる。
Further, the halftone processing means includes parallel comparison means for comparing a plurality of pixels in the horizontal direction in parallel, and a plurality of threshold matrixes in the horizontal direction received from the dither pattern memory from the pixel to be currently compared in the horizontal direction. And a comparison pattern cutout unit that cuts out a plurality of threshold matrices. Therefore, since the halftone processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0094】また、比較パターン切り出し手段は、変倍
処理手段から受け取った有効画素数からデイザパターン
メモリから受け取った水平方向に複数の閾値マトリック
スを現在の比較する画素から水平方向に複数の閾値マト
リックスを切り出す。よって、水平方向に並列にハーフ
トーン処理を行うために高速に処理が可能となる。
Further, the comparison pattern cut-out means makes a plurality of horizontal threshold matrixes received from the dither pattern memory from the effective pixel number received from the scaling processing means and a plurality of horizontal threshold matrixes from the current pixel to be compared. Cut out. Therefore, since the halftone processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0095】更に、ハーフトーン処理手段は、水平方向
に複数の画素を並列に比較する並列比較手段とデイザパ
ターンメモリから受け取った水平方向に複数の閾値マト
リックスを現在の比較する画素から水平方向に複数の閾
値マトリックスを切り出す比較パターン切り出し手段と
並列比較手段から受け取った水平方向に複数の画素を、
変倍処理手段から受け取った有効画素数だけ、固定長の
データへ入れ込んでいく固定長生成手段を有する。よっ
て、水平方向に並列にハーフトーン処理を行うために高
速に処理が可能となる。
Further, the halftone processing means includes a parallel comparing means for comparing a plurality of pixels in the horizontal direction in parallel and a plurality of threshold matrixes in the horizontal direction received from the dither pattern memory from the current pixel to be compared in the horizontal direction. A plurality of pixels in the horizontal direction received from the comparison pattern cutout unit and the parallel comparison unit that cuts out a plurality of threshold matrices,
It has a fixed length generation means for inserting into the fixed length data by the number of effective pixels received from the scaling processing means. Therefore, since the halftone processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0096】また、変倍処理手段は、水平方向にMAX
の倍率分、並列に画素を求め、水平方向にMAXの倍率
分、並列に画素を求める。よって、水平方向に並列に変
倍処理を行うために高速に処理が可能となる。
Further, the scaling processing means is capable of horizontally maximizing
Pixels are obtained in parallel for the magnification of, and pixels are obtained in parallel for the magnification of MAX in the horizontal direction. Therefore, since the scaling processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

【0097】更に、変倍処理手段は、水平方向にMAX
の倍率分の画素を並列に計算する水平補間手段と、その
画素の有効数を求める有効数カウント手段とを有する。
よって、水平方向に並列に変倍処理を行うために高速に
処理が可能となる。
Further, the scaling processing means is capable of maximizing in the horizontal direction.
It has a horizontal interpolation means for calculating in parallel the pixels for the magnification and the effective number counting means for obtaining the effective number of the pixels.
Therefore, since the scaling processing is performed in parallel in the horizontal direction, the processing can be performed at high speed.

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

【図1】図1は本発明の画像処理装置を適用する多色画
像形成装置の構成を示す断面図である。
FIG. 1 is a sectional view showing a configuration of a multicolor image forming apparatus to which an image processing apparatus of the present invention is applied.

【図2】図1の電装・制御装置の構成を示すブロック図
である。
FIG. 2 is a block diagram showing a configuration of the electrical equipment / control device of FIG.

【図3】本発明の一実施例に係る画像処理装置の構成を
示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

【図4】図3のデータ変換処理装置の構成を示す図であ
る。
FIG. 4 is a diagram showing a configuration of the data conversion processing device of FIG.

【図5】図3のデータ変換処理装置202の変倍処理が
最近傍法である場合の動作を示すフローチャートであ
る。
5 is a flowchart showing the operation of the data conversion processing device 202 of FIG. 3 when the scaling processing is the nearest neighbor method.

【図6】垂直方向に縮小する場合のタイミング例を示す
図である。
FIG. 6 is a diagram showing a timing example in the case of reducing in the vertical direction.

【図7】垂直方向の等倍及び拡大の場合のタイミング例
を示す図である。
FIG. 7 is a diagram showing a timing example in the case of equal magnification and enlargement in the vertical direction.

【図8】図3のメモリアービターI/Fの詳細な周辺構
成を示すブロック図である。
8 is a block diagram showing a detailed peripheral configuration of the memory arbiter I / F of FIG.

【図9】図3のメモリアービターI/Fの構成を示すブ
ロック図である。
9 is a block diagram showing a configuration of a memory arbiter I / F of FIG.

【図10】図9の変倍率生成装置の構成を示すブロック
図である。
FIG. 10 is a block diagram showing a configuration of the scaling factor generating apparatus of FIG.

【図11】図9のY DDA処理装置の構成を示すブロ
ック図である。
11 is a block diagram showing the configuration of the Y DDA processing device of FIG. 9. FIG.

【図12】図9のIYカウンタ装置の構成を示すブロッ
ク図である。
12 is a block diagram showing a configuration of the IY counter device of FIG.

【図13】図9のメモリアドレス生成装置の構成を示す
ブロック図である。
13 is a block diagram showing the configuration of the memory address generation device of FIG. 9.

【図14】最近傍法の変倍処理装置の構成を示すブロッ
ク図である。
FIG. 14 is a block diagram showing a configuration of a scaling processing apparatus of a nearest neighbor method.

【図15】変倍する画素を変倍画素生成装置からの幅に
変更する様子を示す図である。
FIG. 15 is a diagram showing how a pixel to be scaled is changed to a width from a scaled pixel generation device.

【図16】図14の変倍処理装置の動作を示すフローチ
ャートである。
16 is a flowchart showing the operation of the scaling processing device of FIG.

【図17】図14の元画素格納装置の構成を示すブロッ
ク図である。
17 is a block diagram showing a configuration of the original pixel storage device of FIG. 14. FIG.

【図18】図14の変倍率生成装置の構成を示すブロッ
ク図である。
FIG. 18 is a block diagram showing the configuration of the scaling factor generating apparatus of FIG.

【図19】図14のDDA処理装置の構成を示すブロッ
ク図である。
19 is a block diagram showing a configuration of the DDA processing device of FIG.

【図20】図14のIXカウント装置の構成を示すブロ
ック図である。
20 is a block diagram showing the configuration of the IX counting device of FIG.

【図21】図14の変倍画素係数生成装置の構成を示す
ブロック図である。
21 is a block diagram showing a configuration of a variable pixel coefficient generation device of FIG. 14. FIG.

【図22】図21の並列X幅生成装置の構成を示す図で
ある。
22 is a diagram showing the configuration of the parallel X width generation device in FIG. 21. FIG.

【図23】図21の出力X幅生成装置の構成を示すブロ
ック図である。
23 is a block diagram showing the configuration of the output X width generation device in FIG. 21. FIG.

【図24】図23の累積加算処理装置の構成を示すブロ
ック図である。
FIG. 24 is a block diagram showing a configuration of a cumulative addition processing device of FIG. 23.

【図25】図23のXWIDTH更新処理装置の処理を
示すフローチャートである。
FIG. 25 is a flowchart showing a process of the XWIDTH update processing device of FIG. 23.

【図26】図23の出力XWIDTH生成処理装置の処
理を示すフローチャートである。
FIG. 26 is a flowchart showing processing of the output XWIDTH generation processing device of FIG. 23.

【図27】図23の累積加算処理装置の構成を示すブロ
ック図である。
FIG. 27 is a block diagram showing the configuration of the cumulative addition processing device of FIG. 23.

【図28】図14の変倍画素変換装置の出力画素の0番
目の処理を示すフローチャートである。
28 is a flowchart showing the 0th processing of the output pixel of the variable-magnification pixel conversion apparatus of FIG.

【図29】図14の変倍画素変換装置の出力画素の1番
目の処理を示すフローチャートである。
29 is a flowchart showing a first process of output pixels of the variable-magnification pixel conversion apparatus of FIG.

【図30】図14の変倍画素変換装置の出力画素の2番
目の処理フローを示す図である。
FIG. 30 is a diagram showing a second processing flow of output pixels of the variable-magnification pixel conversion device of FIG. 14;

【図31】図14の変倍画素変換装置の出力画素の3番
目の処理フローを示す図である。
FIG. 31 is a diagram showing a third processing flow of output pixels of the variable-magnification pixel conversion device of FIG. 14;

【図32】図14の変倍画素変換装置の出力画素の4番
目の処理フローを示す図である。
FIG. 32 is a diagram showing a fourth processing flow of output pixels of the variable-magnification pixel conversion device of FIG. 14;

【図33】図14の変倍画素変換装置の出力画素の5番
目の処理フローを示す図である。
FIG. 33 is a diagram showing a fifth processing flow of output pixels of the variable-magnification pixel conversion device of FIG. 14;

【図34】図14の変倍画素変換装置の出力画素の6番
目の処理フローを示す図である。
FIG. 34 is a diagram showing a sixth processing flow of output pixels of the variable-magnification pixel conversion device of FIG. 14;

【図35】図14の変倍画素変換装置の出力画素の7番
目の処理フローを示す図である。
35 is a diagram showing a seventh processing flow of output pixels of the variable-magnification pixel conversion apparatus of FIG.

【図36】ハーフトーン処理装置の構成を示す図であ
る。
FIG. 36 is a diagram showing a configuration of a halftone processing device.

【図37】図36の比較パターン切り出し装置の構成を
示すブロック図である。
FIG. 37 is a block diagram showing a configuration of the comparative pattern cutout device of FIG. 36.

【図38】図36の並列比較装置の構成を示すブロック
図である。
FIG. 38 is a block diagram showing the configuration of the parallel comparison device of FIG. 36.

【図39】図36の固定長データ生成装置の構成を示す
ブロック図である。
FIG. 39 is a block diagram showing a configuration of the fixed-length data generation device of FIG. 36.

【図40】図36のハーフトーン処理装置の処理を示す
フローチャートである。
40 is a flowchart showing processing of the halftone processing apparatus of FIG. 36.

【図41】図36のデイザパターン記憶装置の32*8
のサイズの例を示す図である。
41 is 32 * 8 of the dither pattern storage device of FIG.
It is a figure which shows the example of the size of.

【図42】図41のデイザテーブルを使用した処理の推
移の例を示す図である。
FIG. 42 is a diagram showing an example of transition of processing using the dither table of FIG. 41.

【図43】図36のラインメモリの例を示す図である。FIG. 43 is a diagram showing an example of the line memory of FIG. 36.

【図44】図3のデータ変換処理装置202の変倍処理
がバイリニア法である場合の全体のフローを示す図であ
る。
44 is a diagram showing an overall flow when the scaling processing of the data conversion processing device 202 of FIG. 3 is a bilinear method.

【図45】垂直方向に縮小する場合のタイミング例を示
す図である。
[Fig. 45] Fig. 45 is a diagram illustrating a timing example in the case of reducing in the vertical direction.

【図46】垂直方向の等倍及び拡大の場合のタイミング
例を示す図である。
FIG. 46 is a diagram showing a timing example in the case of equal magnification and enlargement in the vertical direction.

【図47】バイリニア補間法の変倍処理装置の構成を示
すブロック図である。
[Fig. 47] Fig. 47 is a block diagram illustrating a configuration of a scaling processing device using a bilinear interpolation method.

【図48】図47の変倍処理装置の処理を示すフローチ
ャートである。
48 is a flowchart showing the processing of the scaling processing device of FIG. 47. FIG.

【図49】図47のパラメータ処理装置の構成を示すブ
ロック図である。
49 is a block diagram showing the configuration of the parameter processing device of FIG. 47.

【図50】スキャンライン方向から順次入力された画像
データを示す図である。
FIG. 50 is a diagram showing image data sequentially input from the scan line direction.

【図51】補間された画像データを示す図である。FIG. 51 is a diagram showing interpolated image data.

【図52】補間される様子を示す図である。FIG. 52 is a diagram showing how interpolation is performed.

【図53】図47の拡大率生成装置の構成を示すブロッ
ク図である。
53 is a block diagram showing a configuration of the enlargement ratio generation device of FIG. 47.

【図54】図47のDDA処理装置の構成を示すブロッ
ク図である。
54 is a block diagram showing a configuration of the DDA processing device of FIG. 47.

【図55】図47の補間係数生成装置の構成を示すブロ
ック図である。
55 is a block diagram showing a configuration of the interpolation coefficient generation device in FIG. 47.

【図56】図47の補間処理装置の構成を示すブロック
図である。
56 is a block diagram showing the configuration of the interpolation processing device in FIG. 47.

【図57】拡大された画素間を補間した様子を示す図で
ある。
[Fig. 57] Fig. 57 is a diagram illustrating a state where interpolation is performed between enlarged pixels.

【図58】図56の垂直補間処理装置の構成を示すブロ
ック図である。
58 is a block diagram showing a configuration of the vertical interpolation processing device of FIG. 56.

【図59】図56の水平補間係数生成装置の構成を示す
ブロック図ある。
59 is a block diagram showing the configuration of the horizontal interpolation coefficient generation device in FIG. 56.

【図60】図56の水平補間処理装置の構成を示すブロ
ック図である。
FIG. 60 is a block diagram showing the configuration of the horizontal interpolation processing device in FIG. 56.

【図61】ダイレクトメモリアクセス回路内に格納され
た画素の様子を示す図である。
FIG. 61 is a diagram showing a state of a pixel stored in a direct memory access circuit.

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

103;メモリアービター、112;画像処理装置、 201;メモリアービターI/F、202;データ変換
処理装置、 203;ハーフトーン処理装置、204;パラメータ格
納装置。
103; memory arbiter, 112; image processing device, 201; memory arbiter I / F, 202; data conversion processing device, 203; halftone processing device, 204; parameter storage device.

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成14年1月18日(2002.1.1
8)
[Submission date] January 18, 2002 (2002.1.1
8)

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図5[Name of item to be corrected] Figure 5

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図5】 [Figure 5]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図14[Name of item to be corrected] Fig. 14

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図14】 FIG. 14

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 CA08 CA16 CB07 CB16 CD06 CE13 CH11 CH16 5C076 AA21 AA22 BA04 BA06 BA08 BB04 BB44 5C077 LL18 NN09 PP20 PQ12 PQ22 PQ24 RR16 RR19 TT02    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5B057 CA08 CA16 CB07 CB16 CD06                       CE13 CH11 CH16                 5C076 AA21 AA22 BA04 BA06 BA08                       BB04 BB44                 5C077 LL18 NN09 PP20 PQ12 PQ22                       PQ24 RR16 RR19 TT02

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 画像読み込み処理及びデイザデータの読
み込み処理と処理後の書き込み処理を行うメモリアービ
ターへの要求の調停を行うメモリアービターI/Fと、 該メモリアービターI/Fから水平ラインの画像データ
に画像処理を行うデータ変換処理手段と、 前記メモリアービターI/Fからの垂直方向の各ライン
の変倍後のライン数分のデイザデータと前記データ変換
処理手段からの画像処理後の水平ライン毎のデータに対
してハーフトーン処理を施すハーフトーン処理手段と、 データ変換手段とを有する画像処理装置。
1. A memory arbiter I / F that arbitrates a request to a memory arbiter that performs an image reading process, a dither data reading process, and a post-processing writing process, and horizontal line image data from the memory arbiter I / F. Data conversion processing means for performing image processing, dither data for the number of lines after scaling of each vertical line from the memory arbiter I / F, and data for each horizontal line after image processing from the data conversion processing means An image processing apparatus having a halftone processing means for performing a halftone processing on the above and a data conversion means.
【請求項2】 前記メモリアービターI/F手段は、垂
直方向に変倍処理を行い、かつ垂直方向の変倍率に応じ
て必要なデイザデータを選択し、読み込む請求項1記載
の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the memory arbiter I / F means performs a scaling process in the vertical direction and selects and reads necessary dither data according to the scaling factor in the vertical direction.
【請求項3】 前記データ変換手段は、最近傍法により
変倍処理を行う変倍処理手段を有する請求項1記載の画
像処理装置。
3. The image processing apparatus according to claim 1, wherein the data conversion unit includes a scaling processing unit that performs scaling processing by a nearest neighbor method.
【請求項4】 前記データ変換手段は、バイリニア補間
法により変倍処理を行う変倍処理手段を有する請求項1
記載の画像処理装置。
4. The data conversion means has a scaling processing means for performing scaling processing by a bilinear interpolation method.
The image processing device described.
【請求項5】 前記変倍処理手段は、前記ハーフトーン
処理手段の並列に処理する画素と同じ数の画素を並列に
変倍処理することが可能な変倍画素係数生成手段を有
し、画像データを直接ハーフトーン処理を行う請求項3
記載の画像処理装置。
5. The scaling processing means includes scaling pixel coefficient generation means capable of scaling processing the same number of pixels in parallel as the halftone processing means in parallel, 4. The data is directly halftoned.
The image processing device described.
【請求項6】 前記変倍画素係数生成手段は、前記ハー
フトーン処理手段の並列処理数と同じ数の画素のX幅を
求めることが可能な並列X幅生成手段と、その複数のX
幅を受け取り、ハーフトーン処理手段の並列処理数へ分
けて出力する出力X幅生成手段とを有する請求項5記載
の画像処理装置。
6. The scaled pixel coefficient generation means is capable of calculating the X width of the same number of pixels as the number of parallel processings of the halftone processing means, and a plurality of X widths thereof.
The image processing apparatus according to claim 5, further comprising an output X-width generation unit that receives the width and outputs the divided width into the number of parallel processings of the halftone processing unit.
【請求項7】 前記ハーフトーン処理手段は、水平方向
に複数の画素を並列に比較する並列比較手段と、デイザ
パターンメモリから受け取った水平方向に複数の閾値マ
トリックスを現在の比較する画素から水平方向に複数の
閾値マトリックスを切り出す比較パターン切り出し手段
とを有する請求項1記載の画像処理装置。
7. The halftone processing means includes a parallel comparing means for comparing a plurality of pixels in a horizontal direction in parallel, and a plurality of horizontal threshold values received from a dither pattern memory in a horizontal direction from a pixel for current comparison. The image processing apparatus according to claim 1, further comprising a comparison pattern cutout unit that cuts out a plurality of threshold matrixes in a direction.
【請求項8】 前記比較パターン切り出し手段は、前記
変倍処理手段から受け取った有効画素数からデイザパタ
ーンメモリから受け取った水平方向に複数の閾値マトリ
ックスを現在の比較する画素から水平方向に複数の閾値
マトリックスを切り出す請求項7記載の画像処理装置。
8. The comparison pattern cut-out means outputs a plurality of threshold matrixes in the horizontal direction received from the dither pattern memory from the number of effective pixels received from the scaling processing means from the current pixel to be compared in the horizontal direction. The image processing device according to claim 7, wherein a threshold matrix is cut out.
【請求項9】 前記ハーフトーン処理手段は、水平方向
に複数の画素を並列に比較する並列比較手段とデイザパ
ターンメモリから受け取った水平方向に複数の閾値マト
リックスを現在の比較する画素から水平方向に複数の閾
値マトリックスを切り出す比較パターン切り出し手段と
並列比較手段から受け取った水平方向に複数の画素を、
変倍処理手段から受け取った有効画素数だけ、固定長の
データへ入れ込んでいく固定長生成手段を有する請求項
1記載の画像処理装置。
9. The halftone processing means includes a parallel comparison means for comparing a plurality of pixels in a horizontal direction in parallel and a plurality of threshold matrixes in a horizontal direction received from a dither pattern memory from a pixel to be currently compared in the horizontal direction. A plurality of pixels in the horizontal direction received from the comparison pattern cutout means and the parallel comparison means for cutting out a plurality of threshold matrices into
2. The image processing apparatus according to claim 1, further comprising fixed length generation means for inserting into the fixed length data the number of effective pixels received from the scaling processing means.
【請求項10】 前記変倍処理手段は、水平方向にMA
Xの倍率分、並列に画素を求め、水平方向にMAXの倍
率分、並列に画素を求める請求項4記載の画像処理装
置。
10. The magnifying processing means is adapted to horizontally extend the MA.
5. The image processing apparatus according to claim 4, wherein pixels are calculated in parallel for the magnification of X and pixels are calculated in parallel for the magnification of MAX in the horizontal direction.
【請求項11】 前記変倍処理手段は、水平方向にMA
Xの倍率分の画素を並列に計算する水平補間手段と、そ
の画素の有効数を求める有効数カウント手段とを有する
請求項10記載の画像処理装置。
11. The magnifying processing means is configured to horizontally adjust the MA.
11. The image processing apparatus according to claim 10, further comprising a horizontal interpolation unit that calculates pixels for a magnification of X in parallel, and an effective number counting unit that obtains an effective number of the pixels.
JP2002008514A 2002-01-17 2002-01-17 Image processing device Expired - Fee Related JP4118052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002008514A JP4118052B2 (en) 2002-01-17 2002-01-17 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002008514A JP4118052B2 (en) 2002-01-17 2002-01-17 Image processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005324237A Division JP4298695B2 (en) 2005-11-09 2005-11-09 Image processing device

Publications (2)

Publication Number Publication Date
JP2003208608A true JP2003208608A (en) 2003-07-25
JP4118052B2 JP4118052B2 (en) 2008-07-16

Family

ID=27646753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002008514A Expired - Fee Related JP4118052B2 (en) 2002-01-17 2002-01-17 Image processing device

Country Status (1)

Country Link
JP (1) JP4118052B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8842328B2 (en) 2011-10-12 2014-09-23 Ricoh Company, Limited Image processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8842328B2 (en) 2011-10-12 2014-09-23 Ricoh Company, Limited Image processing device

Also Published As

Publication number Publication date
JP4118052B2 (en) 2008-07-16

Similar Documents

Publication Publication Date Title
US7038818B2 (en) Method and apparatus for image processing method, and a computer product
US6891648B2 (en) Image-reading device performing a white-shading correction by obtaining a peak value of average values of image data and read from a reference-white member in blocks as white-shading data
JP5761279B2 (en) Image forming apparatus, image forming method, image forming program, and recording medium
JP5569067B2 (en) Image forming apparatus and image forming method
EP1471723B1 (en) Image processing method for superimposing high-resolution character data on low-resolution image data
US7009622B2 (en) Image processing apparatus, image processing method, and image processing program
JP2003008888A (en) Image processor and processing method therefor
JP4027133B2 (en) Image processing device
US20020085217A1 (en) Image processing apparatus and image processing system
JP4118052B2 (en) Image processing device
JP4298695B2 (en) Image processing device
JP5662675B2 (en) Image forming apparatus and control method thereof
JP2008023959A (en) Image processor, image processing method and program
JPH05292295A (en) Method and device for picture processing
JPH10322542A (en) Image forming device
JP2004282239A (en) Image processor
JP2005269502A (en) Image processing apparatus and image processing method
JP3919430B2 (en) Image processing apparatus and method
JP2018138975A (en) Image forming apparatus and control method
JP2009169727A (en) Image processing apparatus, image processing method and program
JP4012833B2 (en) Image rotation processing apparatus, image rotation processing method, and storage medium
JP2007313845A (en) Image processing apparatus, image processing method, and computer-readable recording medium
JP2009302648A (en) Image forming system, start control method of image forming system, and computer program
JP3801840B2 (en) Image processing device
JP3793050B2 (en) Multiple arithmetic circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080331

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080422

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080422

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110502

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120502

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120502

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130502

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130502

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees