JPH0638040A - Image data processor - Google Patents

Image data processor

Info

Publication number
JPH0638040A
JPH0638040A JP4209674A JP20967492A JPH0638040A JP H0638040 A JPH0638040 A JP H0638040A JP 4209674 A JP4209674 A JP 4209674A JP 20967492 A JP20967492 A JP 20967492A JP H0638040 A JPH0638040 A JP H0638040A
Authority
JP
Japan
Prior art keywords
data
line
pixel
processing
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4209674A
Other languages
Japanese (ja)
Inventor
Tetsuji Kajitani
哲司 梶谷
Arinori Hikosaka
有儀 彦阪
Hideo Azumai
秀夫 東井
Satoshi Iwatsubo
聡 岩坪
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial 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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP4209674A priority Critical patent/JPH0638040A/en
Priority to US08/089,327 priority patent/US5646745A/en
Publication of JPH0638040A publication Critical patent/JPH0638040A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively utilize the storage area of a line memory for two lines by performing processing to use the data of three lines while using the memory. CONSTITUTION:Processing is performed to data Xn-1 of an attention picture element by using data SOUT after shading correction. The processing is executed by performing arithmetic to data Bn and Bn-1 of a present line, data An and An-1 of a line preceding to the last line and data Xn-1 of the attention picture element in the preceding line. Namely, the arithmetic is performed to the data of picture elements at prescribed positions in the matrix of 3X3 picture elements. When the data An of the line preceding to the last line are read from the memory, the data Bn of the present line are stored at the storage position of these data An. Therefore, the line memory for two lines is prepared in the memory.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、たとえばファクシミリ
装置やイメージスキャナなどで用いられ、読取ライン間
のデータの相関を利用したフィルタ処理などのために好
適に適用される画像データ処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data processing apparatus which is used in, for example, a facsimile machine or an image scanner, and which is preferably applied for filter processing utilizing the correlation of data between read lines. is there.

【0002】[0002]

【従来の技術】たとえばファクシミリ装置などでは、イ
メージセンサで読み取られたデータに対して二値画像を
強調したりするための、いわゆるフィルタ処理が施され
る。このようなフィルタ処理は、或る画素に注目し、そ
の注目画素の周辺の画素のデータを参照して行われる。
2. Description of the Related Art For example, in a facsimile machine or the like, so-called filter processing for emphasizing a binary image is performed on data read by an image sensor. Such filter processing is performed by paying attention to a certain pixel and referring to data of pixels around the target pixel.

【0003】フィルタ処理のためには、イメージセンサ
による読取ラインを構成する画素数の3倍の画素数分の
データを記憶することができるラインメモリが用いられ
る。すなわち、このラインメモリには3ライン分のデー
タを記憶させることができる。このラインメモリに、注
目画素を含むラインと、その前後の各ラインとの3ライ
ン分のデータが書き込まれる。そして、注目画素を中心
とした3×3個のマトリクス配列された画素の各データ
に基づき、注目画素のデータに対して処理が施される。
すなわち、注目画素のデータと、この注目画素に対して
所定の位置関係にある画素のデータとに一定の演算が施
され、この演算結果に基づいて注目画素のデータに強調
処理などの処理が施される。
For the filtering process, a line memory is used which can store data for the number of pixels which is three times as large as the number of pixels forming the reading line by the image sensor. That is, this line memory can store data for three lines. Three lines of data including the line including the pixel of interest and each line before and after the line of interest are written in this line memory. Then, the data of the pixel of interest is processed based on each data of the pixels in the matrix of 3 × 3 centered on the pixel of interest.
That is, a certain calculation is performed on the data of the pixel of interest and the data of the pixel having a predetermined positional relationship with the pixel of interest, and the data of the pixel of interest is subjected to processing such as emphasis processing based on the calculation result. To be done.

【0004】この強調処理とは、二値画像に対して白色
および黒色が明瞭に現れるようにデータを増減させる処
理である。したがって、上記のフィルタ処理では、たと
えば、中間調画像と判別される画像部分に対しては強調
処理は施されない。
The emphasis process is a process of increasing or decreasing the data so that white and black appear clearly in the binary image. Therefore, in the above filter processing, for example, the emphasis processing is not performed on the image portion determined to be the halftone image.

【0005】[0005]

【発明が解決しようとする課題】上記のようなフィルタ
処理では、注目画素を中心とした3×3画素のマトリク
スを生成するための3ライン分のラインメモリが用いら
れている。また、上述のようなフィルタ処理のみなら
ず、隣接するライン間の相関に基づいて処理を行う場合
には、複数ラインのラインメモリが必要となる。この場
合に、たとえばN×N画素のマトリクスを作成する必要
があれば、Nライン分のメモリが用いられるのが一般的
である。
In the above filter processing, a line memory for three lines is used to generate a matrix of 3 × 3 pixels centering on the pixel of interest. Further, in addition to the above-described filter processing, when processing is performed based on the correlation between adjacent lines, a line memory of a plurality of lines is required. In this case, if it is necessary to create a matrix of N × N pixels, for example, a memory for N lines is generally used.

【0006】しかし、ファクシミリ装置などに備えられ
るメモリ素子の記憶領域の有効利用の観点からは、フィ
ルタ処理などに要するラインメモリの容量を少なくする
ことが望ましい。さらには、ラインメモリの容量を少な
くして、記憶容量の少ないメモリ素子を用いることがで
きれば、コストの低減をも図ることができる。したがっ
て、フィルタ処理などに要するラインメモリの容量の低
減は必須の課題である。
However, from the viewpoint of effective use of the storage area of the memory element provided in the facsimile apparatus or the like, it is desirable to reduce the capacity of the line memory required for the filtering process. Furthermore, if the capacity of the line memory can be reduced and a memory element with a small storage capacity can be used, the cost can be reduced. Therefore, it is an essential subject to reduce the capacity of the line memory required for the filtering process.

【0007】そこで、本発明の目的は、上述の技術的課
題を解決し、複数ラインの画像データを用いる処理を小
容量のラインメモリを用いて実現できる画像データ処理
装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above technical problems and to provide an image data processing apparatus which can realize a process using image data of a plurality of lines by using a line memory having a small capacity.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
めの請求項1記載の画像データ処理装置は、所定方向に
沿う複数のラインで画像を走査するときの各走査ライン
を構成する個々の画素のデータが順次供給され、この供
給されるデータに対応する画素が属する現ラインのデー
タとこの現ラインの直前の(N−1)ラインのデータと
のNライン分のデータに基づいて処理を行う画像データ
処理装置において、(N−1)ライン分のデータを記憶
することができる記憶手段と、この記憶手段から、現ラ
インの直前の上記(N−1)ラインの各構成画素のデー
タを順次読み出す手段と、この読み出された(N−1)
ラインの各構成画素のデータと、上記現ラインの構成画
素のデータとが与えられる処理手段と、上記記憶手段内
における現ラインよりも(N−1)ラインだけ前のライ
ンの構成画素のデータの読出が終了した記憶位置に、現
ラインの構成画素のデータを書き込む手段とを含むこと
を特徴とする。
In order to achieve the above object, the image data processing apparatus according to the first aspect of the present invention is an image data processing apparatus in which each scanning line when scanning an image with a plurality of lines along a predetermined direction is formed. Pixel data is sequentially supplied, and processing is performed based on N line data of the current line data to which the pixel corresponding to the supplied data belongs and the (N-1) line data immediately before this current line. In the image data processing device for performing, the storage means capable of storing data of (N-1) lines and the data of each constituent pixel of the (N-1) line immediately before the current line are stored from the storage means. Means for sequentially reading and the read (N-1)
The processing means to which the data of each constituent pixel of the line and the data of the constituent pixel of the current line are given, and the data of the constituent pixel of the line which is (N-1) lines before the current line in the storage means. A means for writing the data of the constituent pixels of the current line is included in the storage position where the reading is completed.

【0009】請求項2記載の画像データ処理装置は、所
定方向に沿う複数のラインで画像を走査するときの各走
査ラインを構成する個々の画素のデータが順次供給さ
れ、この供給されるデータに対応する画素が属する現ラ
インのデータと、この現ラインの直前の前ラインのデー
タと、この前ラインの直前の前々ラインのデータとに基
づき、上記前ライン中の注目画素を中心として3×3画
素のマトリクスを形成する9画素分のデータに基づいて
上記注目画素のデータを処理する画像データ処理装置に
おいて、2ライン分のデータを記憶することができる記
憶手段と、この記憶手段から、前ラインおよび前々ライ
ンの各構成画素のデータを順次読み出す手段と、上記読
み出された前ラインおよび前々ラインの各構成画素のデ
ータと、上記現ラインの構成画素のデータとが与えら
れ、上記3×3画素のマトリクスを構成する9画素分の
データのうちの所定のデータに基づいて上記注目画素の
データに所定の処理を施す処理手段と、上記記憶手段内
における前々ラインの構成画素のデータの読出が終了し
た記憶位置に、上記現ラインの構成画素のデータを書き
込む手段とを含むことを特徴とする。
According to another aspect of the image data processing device of the present invention, data of individual pixels constituting each scanning line when scanning an image with a plurality of lines along a predetermined direction are sequentially supplied, and the supplied data is supplied. Based on the data of the current line to which the corresponding pixel belongs, the data of the previous line immediately before this current line, and the data of the previous two lines immediately before this previous line, 3 × with the pixel of interest in the previous line as the center In the image data processing device for processing the data of the pixel of interest based on the data of 9 pixels forming the matrix of 3 pixels, the storage means capable of storing the data of 2 lines and the storage means A means for sequentially reading the data of the respective constituent pixels of the line and the previous-preceding line; And data of the constituent pixels of the pixel of interest, and processing means for performing a predetermined process on the data of the pixel of interest based on predetermined data of the data of nine pixels forming the matrix of 3 × 3 pixels, And a means for writing the data of the constituent pixels of the current line at a storage position in the storage means at which the reading of the data of the constituent pixels of the previous line is completed.

【0010】[0010]

【作用】上記の構成によれば、記憶手段から現ラインの
直前の(N−1)ライン分の各構成画素のデータの読出
が行われるときに、現ラインよりも(N−1)ライン分
だけ前のラインの構成画素のデータの読出終了位置に現
ラインの構成画素のデータが書き込まれる。すなわち、
現ラインとその直前の(N−1)ラインとからなるNラ
インのデータを用いてデータを処理するときに、現ライ
ンから(N−1)ラインだけ前のラインの構成画素のデ
ータは、データ処理のために記憶手段から読み出されて
しまうと、その後は不要となる。この不要となったデー
タの記憶位置に、新たな現ラインのデータを書き込まれ
る。
According to the above structure, when the data of each of the constituent pixels of (N-1) lines immediately before the current line is read from the storage means, (N-1) lines of the current line are read. The data of the constituent pixels of the current line is written at the read end position of the data of the constituent pixels of the previous line. That is,
When processing data using N line data consisting of the current line and the (N-1) line immediately preceding it, the data of the constituent pixels of the line preceding the current line by (N-1) lines is the data. Once read from the storage means for processing, it is no longer necessary. The new data of the current line is written in the storage position of the unnecessary data.

【0011】これにより、Nライン分のデータに基づい
てデータ処理を行う際に、(N−1)ライン分のデータ
を記憶することができる記憶手段を用意すれば足りるこ
とになる。したがって、たとえば注目画素を中心とした
3×3画素のマトリクスを構成する9画素のうちの所定
の画素のデータに基づく演算を行って注目画素に対する
処理を施す際に、2ライン分のデータを記憶することが
できる記憶手段を用意すれば足りる。
Thus, it is sufficient to prepare a storage means capable of storing (N-1) lines of data when performing data processing based on N lines of data. Therefore, for example, when processing is performed on a target pixel by performing an operation based on the data of a predetermined pixel among the 9 pixels forming a matrix of 3 × 3 pixels centering on the target pixel, the data for two lines is stored. It suffices to have a storage means that can do it.

【0012】[0012]

【実施例】以下では、ファクシミリ装置を例にとって、
この発明の一実施例について詳細に説明をする。図1
は、この発明の一実施例が組み込まれたファクシミリ装
置の電気的な構成を示すブロック図である。
[Embodiment] In the following, taking a facsimile machine as an example,
An embodiment of the present invention will be described in detail. Figure 1
FIG. 1 is a block diagram showing an electrical configuration of a facsimile machine incorporating an embodiment of the present invention.

【0013】このファクシミリ装置には、入力画像処理
回路(FIP(Fax Image sensor Processor)部)11
と、画像出力処理回路(PRT部)12と、装置全体の
統括的な制御を司るCPU14と、入力画像処理回路1
1および画像出力処理回路12とCPU14との接続に
必要なCPUインタフェース13とが備えられている。
入力画像処理回路11と画像出力処理回路12とは、非
同期で動作している。また、CPUインタフェース13
は、この実施例では、DMA(Direct MemoryAccess)
機能が内蔵されたものになっている。
In this facsimile machine, an input image processing circuit (FIP (Fax Image sensor Processor) unit) 11 is provided.
An image output processing circuit (PRT section) 12, a CPU 14 that controls the entire apparatus, and an input image processing circuit 1.
1 and an image output processing circuit 12 and a CPU interface 13 necessary for connecting the CPU 14 to each other.
The input image processing circuit 11 and the image output processing circuit 12 operate asynchronously. In addition, the CPU interface 13
Is a DMA (Direct Memory Access) in this embodiment.
It has a built-in function.

【0014】ファクシミリ装置に原稿がセットされて読
み取られる場合には、入力画像処理回路11からイメー
ジセンサ15へ駆動クロックCCLKおよび水平同期信
号SIが与えられる。イメージセンサ15は、与えられ
る駆動クロックCCLKおよび水平同期信号SIに基づ
いて原稿画像を光学的に読み取り、読み取られたアナロ
グ画像データはアナログ部16へ与えられる。
When the original is set on the facsimile and is read, the input image processing circuit 11 supplies the driving clock CCLK and the horizontal synchronizing signal SI to the image sensor 15. The image sensor 15 optically reads the original image based on the supplied drive clock CCLK and the horizontal synchronizing signal SI, and the read analog image data is given to the analog section 16.

【0015】アナログ部16には、入力画像処理回路1
1から自動利得調整信号AGC、サンプルホールド信号
SHOLDおよび利得設定信号DSCHが与えられてお
り、イメージセンサ15から与えられるアナログ画像デ
ータは所定の増幅処理がされたサンプルホールド信号に
されて、A/Dコンバータ17へ与えられる。A/Dコ
ンバータ17は、入力画像処理回路11から与えられる
変換クロックADCCLKによって動作されており、与
えられるサンプルホールド信号をディジタル画像データ
に変換して入力画像処理回路11へ与える。
The analog section 16 includes an input image processing circuit 1
1, the automatic gain adjustment signal AGC, the sample hold signal SHOLD, and the gain setting signal DSCH are given, and the analog image data given from the image sensor 15 is converted into a sample hold signal subjected to a predetermined amplification process, and the A / D It is given to converter 17. The A / D converter 17 is operated by the conversion clock ADCCLK supplied from the input image processing circuit 11, converts the supplied sample hold signal into digital image data, and supplies the digital image data to the input image processing circuit 11.

【0016】入力画像処理回路11では、A/Dコンバ
ータ17から与えられるディジタル画像データ(読取画
像データ)に対して、種々の入力画像処理を行う。入力
画像処理とは、読取画像データに対するシェーディング
補正処理、2値化補正処理、中間調を表現する場合に必
要な誤差拡散処理等である。入力画像処理においては、
複数のラインデータに基づいて2次元の画像処理をする
必要があるため、少なくとも2ライン分の画像データと
その他画像処理に必要な各種のパラメータを記憶してお
くためのメモリが必要である。そこで、入力画像処理回
路11には、たとえば32KBのSRAM(スタティッ
ク・ランダム・アクセス・メモリ)で構成された記憶手
段であるメモリ18が接続されている。メモリ18の或
る領域はラインメモリとして利用され、メモリ18の或
る領域には予め定められたシェーディング補正演算用デ
ータや誤差拡散用データが記憶されている。
The input image processing circuit 11 performs various input image processing on the digital image data (read image data) supplied from the A / D converter 17. The input image process is a shading correction process for the read image data, a binarization correction process, an error diffusion process necessary for expressing a halftone, and the like. In input image processing,
Since it is necessary to perform two-dimensional image processing based on a plurality of line data, a memory is required to store at least two lines of image data and other various parameters required for image processing. Therefore, the input image processing circuit 11 is connected to a memory 18, which is a storage unit composed of, for example, a 32 KB SRAM (static random access memory). A certain area of the memory 18 is used as a line memory, and predetermined data for shading correction calculation and error diffusion data are stored in a certain area of the memory 18.

【0017】入力画像処理回路11は、メモリ18に読
出ストローブ信号/ROE0または書込ストローブ信号
/RWE0を与え、かつ、アドレスを指定して、そのア
ドレス指定領域にラインデータを書き込み、また、ライ
ンデータを読み出す。また、このメモリ18から読み出
したラインデータを用いて読取画像データの入力画像処
理をする。
The input image processing circuit 11 supplies a read strobe signal / ROE0 or a write strobe signal / RWE0 to the memory 18, and designates an address to write the line data in the designated address area and also to write the line data. Read out. Further, the input image processing of the read image data is performed using the line data read from the memory 18.

【0018】入力画像処理回路11がメモリ18にデー
タを書き込み、またはデータを読み出すアクセス速度
は、たとえば20MHzのメモリアクセス用クロックS
YSCLKに同期してなされており、16クロックを1
サイクルとして1画素のデータが処理されるようにされ
ている。なお、イメージセンサ15の読出速度、すなわ
ちイメージセンサ15へ与えられる駆動クロックCCL
Kは、たとえば400KHz程度の周波数であり(この
ような周波数になるのは、イメージセンサ15の動作速
度に限界があるからである)、それに比べると、メモリ
アクセス同期用クロックSYSCLKは十分に速い速度
とされている。
The access speed at which the input image processing circuit 11 writes data into or reads data from the memory 18 is, for example, a memory access clock S of 20 MHz.
It is done in synchronization with YSCLK, and 16 clocks
Data of one pixel is processed as a cycle. The reading speed of the image sensor 15, that is, the drive clock CCL applied to the image sensor 15
K is, for example, a frequency of about 400 KHz (the reason why such a frequency is set is that the operation speed of the image sensor 15 is limited), and the memory access synchronization clock SYSCLK is sufficiently faster than that. It is said that.

【0019】入力画像処理が施された後の読取画像デー
タは、一旦そのままDRAM(ダイナミック・ランダム
・アクセス・メモリ)19にストアされる。入力画像処
理回路11からDRAM19へのデータ転送は、CPU
インタフェース13にDMA機能が内蔵されているの
で、DMA転送により行われる。DMA転送は、入力画
像処理回路11からCPUインタフェース13へ読取画
像データが与えられ、そのデータが所定量に達したとき
に行われる。すなわち、データが所定量に達すると、C
PUインタフェース13はCPU14にDMAリクエス
トをし、CPU14からのDMA承認を受けると、読取
画像データをDRAM19へ転送する。
The read image data after the input image processing is temporarily stored in the DRAM (dynamic random access memory) 19 as it is. Data transfer from the input image processing circuit 11 to the DRAM 19 is performed by the CPU.
Since the interface 13 has a built-in DMA function, DMA transfer is performed. The DMA transfer is performed when the read image data is given from the input image processing circuit 11 to the CPU interface 13 and the data reaches a predetermined amount. That is, when the data reaches a predetermined amount, C
The PU interface 13 makes a DMA request to the CPU 14, and upon receiving the DMA approval from the CPU 14, transfers the read image data to the DRAM 19.

【0020】そしてDRAM19に一旦ストアされた読
取画像データは、CPU14により読み出されて圧縮処
理がされ、再度DRAM19にストアされる。この圧縮
処理は、ファクシミリ装置の規格で種々の方式がある
が、たとえばMRR、MR、MH等の方式が公知であ
る。圧縮されてDRAM19にストアされた読取画像デ
ータは、CPU14で読み出されてモデム20へ与えら
れ、モデム20でディジタルデータからアナログデータ
に変換され、NCU(Network Control Unit)21を介
して電話回線へ出力されて送信相手側のファクシミリ装
置へ伝送される。
The read image data once stored in the DRAM 19 is read out by the CPU 14, compressed, and stored again in the DRAM 19. There are various methods for this compression processing depending on the standard of the facsimile apparatus, and for example, the methods such as MRR, MR, MH are known. The read image data compressed and stored in the DRAM 19 is read by the CPU 14 and given to the modem 20, converted from digital data to analog data by the modem 20, and transferred to a telephone line via an NCU (Network Control Unit) 21. It is output and transmitted to the facsimile machine on the other end of the transmission.

【0021】一方、電話回線を通じてデータが送信され
てきた場合は、NCU21で受信され、受信データ(ア
ナログデータ)はモデム20でディジタルデータに変換
され、DRAM19にストアされる。このデータは、圧
縮データである。DRAM19にストアされた圧縮デー
タは、CPU14で読み出されて伸長処理がされ、DR
AM19に再ストアされる。
On the other hand, when data is transmitted through the telephone line, it is received by the NCU 21, the received data (analog data) is converted into digital data by the modem 20, and stored in the DRAM 19. This data is compressed data. The compressed data stored in the DRAM 19 is read out by the CPU 14 and subjected to decompression processing.
It is restored to AM19.

【0022】その後、CPU14は、DRAM19に再
ストアした画像データを画像出力処理回路12へ与え
る。画像出力処理回路12は、CPU14からCPUイ
ンタフェース13を介して画像データが与えられると、
その画像データに対して出力処理を施し、LSU(レー
ザ走査ユニット)22を駆動して、出力処理を施した画
像データを用紙等に記録する。
After that, the CPU 14 gives the image data restored in the DRAM 19 to the image output processing circuit 12. When the image output processing circuit 12 receives image data from the CPU 14 via the CPU interface 13,
Output processing is performed on the image data, the LSU (laser scanning unit) 22 is driven, and the image data subjected to the output processing is recorded on a sheet or the like.

【0023】画像出力処理回路12が行う出力処理と
は、たとえば、画像データの輪郭の凹凸を滑らかにする
ためのスムージング処理、画像を拡大したり縮小したり
する場合の画素密度やライン密度の変換処理、与えられ
る画像データの密度とLSU22の解像度との相違に起
因する画素密度変換処理等である。これらの出力処理に
おいては、たとえば画像データの中の注目画素に対する
周囲画素の状態に応じて注目画素に対するスムージング
パターンを変えたり、複数ラインのデータの論理和をと
って画素密度を変換するため、画像データを保持するた
めのメモリが必要である。また、画像出力処理回路12
からLSU22に画像データとしてのビデオ信号を出力
する場合、出力処理の速度とLSU22の処理速度とに
は差があるから、バッファとしてラインメモリに一旦ビ
デオ信号を記憶しておき、バッファ用ラインメモリから
ビデオ信号を読み出してLSU22に出力する必要があ
る。そのため、ラインメモリが要求される。そこで、出
力処理においても、メモリ18が活用される。
The output processing performed by the image output processing circuit 12 is, for example, smoothing processing for smoothing the unevenness of the contour of image data, conversion of pixel density or line density when enlarging or reducing an image. Processing, pixel density conversion processing and the like due to the difference between the density of given image data and the resolution of the LSU 22. In these output processes, for example, the smoothing pattern for the pixel of interest is changed according to the state of surrounding pixels for the pixel of interest in the image data, or the pixel density is converted by taking the logical sum of the data of a plurality of lines. A memory is needed to hold the data. Also, the image output processing circuit 12
When outputting a video signal as image data from the LSU 22 to the LSU 22, since there is a difference between the output processing speed and the LSU 22 processing speed, the video signal is temporarily stored in the line memory as a buffer, and then the buffer line memory is used. It is necessary to read the video signal and output it to the LSU 22. Therefore, a line memory is required. Therefore, the memory 18 is also utilized in the output process.

【0024】画像出力処理回路12によるメモリ18の
アクセスは、入力画像処理回路11と同様に、メモリア
クセス用クロックSYSCLKに同期してなされてお
り、入力画像処理回路11を経由して行われる。そのた
め、画像出力処理回路12は入力画像処理回路11にメ
モリリクエスト信号MREQ、書込ストローブ信号/P
RTWEまたは読出ストローブ信号/PRTOEを与
え、かつ、アドレスを指定して、そのアドレス指定領域
にデータの書込を行い、また、読み出す。
The memory 18 is accessed by the image output processing circuit 12 in synchronization with the memory access clock SYSCLK, like the input image processing circuit 11, and is accessed via the input image processing circuit 11. Therefore, the image output processing circuit 12 supplies the input image processing circuit 11 with the memory request signal MREQ and the write strobe signal / P.
RTWE or a read strobe signal / PRTOE is given, an address is designated, and data is written to or read from the address designated area.

【0025】入力画像処理回路11と画像出力処理回路
12とは、前述したように非同期で動作しているが、両
回路には、共通のメモリアクセス同期用クロックSYS
CLKが与えられている。それゆえ、入力画像処理回路
11および画像出力処理回路12は、非同期で動作しな
がら、メモリ18へのアクセスは、このメモリアクセス
同期用クロックSYSCLKに同期して行う。
Although the input image processing circuit 11 and the image output processing circuit 12 operate asynchronously as described above, a common memory access synchronization clock SYS is used for both circuits.
CLK is given. Therefore, while the input image processing circuit 11 and the image output processing circuit 12 operate asynchronously, the memory 18 is accessed in synchronization with the memory access synchronization clock SYSCLK.

【0026】画像出力処理回路12からメモリアクセス
リクエスト信号MREQが出力されない場合には、入力
画像処理回路11がメモリ18のアクセス権を有する。
また、入力画像処理回路11の動作の1サイクルは、メ
モリアクセス同期用クロックSYSCLKが16クロッ
クに設定されており、しかも、16クロックのうちの8
クロックによって1サイクル内のメモリアクセスが完了
するようにされている。したがって、入力画像処理回路
11の内部状態は、各サイクルにつき、メモリアクセス
同期用クロックSYSCLK16クロックのうち、8ク
ロックに基づいてメモリアクセス動作を行い、残りの8
クロックの期間中は、動作停止(待ち状態)となるよう
にされている。
When the memory access request signal MREQ is not output from the image output processing circuit 12, the input image processing circuit 11 has the access right to the memory 18.
Further, in one cycle of the operation of the input image processing circuit 11, the memory access synchronization clock SYSCLK is set to 16 clocks, and 8 of the 16 clocks are used.
The clock completes the memory access within one cycle. Therefore, in the internal state of the input image processing circuit 11, the memory access operation is performed based on 8 clocks of the 16 clocks of the memory access synchronization clock SYSCLK for each cycle, and the remaining 8
The operation is stopped (waiting state) during the clock period.

【0027】入力画像処理回路11の動作の1サイクル
を、このようにメモリアクセス同期用クロックSYSC
LK16クロックを単位として構成できるのは、前述し
たように、入力画像処理回路11へ与えられるイメージ
センサ15からの読取画像データは、相対的に低い周波
数、たとえば400kHz程度の駆動クロックCCLK
に同期して、画素単位で入力されるのに対して、メモリ
アクセス同期用クロックSYSCLKは、相対的に高い
たとえば20MHzのクロックだからである。つまり、
入力画像処理回路11へ1画素の読取画像データが与え
られる期間を単位として入力画像処理回路11の動作の
1サイクルを定めれば、メモリアクセス同期用クロック
SYSCLK16クロックにて構成されるのである。
One cycle of the operation of the input image processing circuit 11 is performed by the memory access synchronization clock SYSC as described above.
As described above, the LK16 clock can be used as a unit because the read image data from the image sensor 15 supplied to the input image processing circuit 11 has a relatively low frequency, for example, a drive clock CCLK of about 400 kHz.
This is because the memory access synchronization clock SYSCLK is relatively high, for example, a clock of 20 MHz, while it is input in pixel units in synchronization with. That is,
If one cycle of the operation of the input image processing circuit 11 is defined in units of the period in which the read image data of one pixel is given to the input image processing circuit 11, the memory access synchronization clock SYSCLK is 16 clocks.

【0028】以上の結果、入力画像処理回路11は、メ
モリ18のアクセス権を有している場合でも、各サイク
ルにつき、メモリアクセス同期用クロックSYSCLK
8クロック分は停止状態である。一方、入力画像処理回
路11と非同期に動作する画像出力処理回路12から
は、任意のタイミングで、入力画像処理回路11および
メモリアクセス信号切換回路110へメモリアクセスリ
クエスト信号MREQが与えられる。このリクエスト信
号MREQが与えられると、上述したように、メモリア
クセス権が画像出力処理回路12側へ委譲される。
As a result, even when the input image processing circuit 11 has the access right to the memory 18, the memory access synchronization clock SYSCLK is obtained in each cycle.
It is in a stopped state for 8 clocks. On the other hand, the image output processing circuit 12 that operates asynchronously with the input image processing circuit 11 gives a memory access request signal MREQ to the input image processing circuit 11 and the memory access signal switching circuit 110 at an arbitrary timing. When the request signal MREQ is given, the memory access right is transferred to the image output processing circuit 12 side as described above.

【0029】また、入力画像処理回路11は、メモリア
クセスリクエスト信号MREQに応じて、回路動作を停
止し、メモリ18のアクセス権を画像出力処理回路12
へ譲る。このため、画像出力処理回路12は、メモリ1
8のアクセスを行うことができる。画像出力処理回路1
2による1回のメモリアクセス期間は予め決められてい
る。たとえば、メモリアクセス同期用クロックSYSC
LK8クロックの期間とされている。
Further, the input image processing circuit 11 stops the circuit operation in response to the memory access request signal MREQ, and grants the access right of the memory 18 to the image output processing circuit 12.
Hand over to. Therefore, the image output processing circuit 12 uses the memory 1
8 accesses can be made. Image output processing circuit 1
One memory access period of 2 is predetermined. For example, a memory access synchronization clock SYSC
The period is LK8 clocks.

【0030】画像出力処理回路12がメモリ18の1回
のアクセスを終えると、画像出力処理回路12からのメ
モリアクセスリクエスト信号MREQは出力されなくな
る。このため、メモリアクセス信号切換回路110は入
力画像処理回路11側へ切換わり、入力画像処理回路1
1は再びメモリ18のアクセス権を得る。この場合にお
いて、入力画像処理回路11のメモリアクセスは、各サ
イクルごとに、メモリアクセス同期用クロックSYSC
LK8クロックの期間であればよいから、各サイクルご
とに、メモリアクセス同期用クロックSYSCLK8ク
ロック期間がメモリアクセス期間として補償されていれ
ば、入力画像処理回路11によるメモリアクセスは全く
支障なく行える。
When the image output processing circuit 12 completes one access to the memory 18, the memory access request signal MREQ is not output from the image output processing circuit 12. Therefore, the memory access signal switching circuit 110 switches to the input image processing circuit 11 side, and the input image processing circuit 1
1 again gains access to the memory 18. In this case, the memory access of the input image processing circuit 11 is performed every memory cycle by the memory access synchronization clock SYSC.
Since the LK8 clock period is sufficient, if the memory access synchronization clock SYSCLK8 clock period is compensated as the memory access period for each cycle, the memory access by the input image processing circuit 11 can be performed without any trouble.

【0031】つまり、画像出力処理回路12からのメモ
リアクセスリクエスト信号MREQが任意のタイミング
で割り込んでも、該リクエスト信号MREQが割り込ん
でいる期間中は、回路動作を停止すればよく、しかも、
このリクエスト信号MREQの割り込みがなくても各動
作サイクルにおいて、動作停止期間が必然的に存在し、
その停止期間は任意のタイミングでよいから、全く支障
なく入力画像処理回路11はメモリアクセスができる。
That is, even if the memory access request signal MREQ from the image output processing circuit 12 interrupts at an arbitrary timing, the circuit operation may be stopped while the request signal MREQ is interrupted.
Even if the request signal MREQ is not interrupted, an operation stop period is inevitably present in each operation cycle.
Since the stop period may be any timing, the input image processing circuit 11 can access the memory without any trouble.

【0032】また、画像出力処理回路12によるメモリ
アクセスも、任意のタイミングで、各動作サイクルごと
に行うことができる。図2は入力画像処理回路11の内
部構成を示すブロック図である。入力画像処理回路11
は、イメージセンサ15、アナログ部16およびA/D
コンバータ17などを駆動するための信号を出力するた
めのイメージセンサインタフェース25を備えている。
また、メモリ18とのデータの授受のために、RAMイ
ンタフェース26が設けられている。このRAMインタ
フェース26には、15ビットのアドレスバスRAおよ
び8ビットのデータバスRDなどが接続されている。R
AMインタフェース26からは、メモリ18に対して、
読出ストローブ信号/ROE0および書込ストローブ信
号/RWE0などが与えられる。一方、画像出力処理回
路12からは、アドレス信号PRTADR、データPR
TDOUT、書込ストローブ信号PRTWEおよび読出
ストローブ信号PRTOEなどが与えられ、さらにメモ
リリクエスト信号MREQが入力されている。また、上
述のメモリアクセス用クロック信号SYSCLKも与え
られている。
Further, the memory access by the image output processing circuit 12 can also be performed for each operation cycle at an arbitrary timing. FIG. 2 is a block diagram showing the internal configuration of the input image processing circuit 11. Input image processing circuit 11
Is an image sensor 15, an analog section 16 and an A / D
An image sensor interface 25 for outputting a signal for driving the converter 17 and the like is provided.
Further, a RAM interface 26 is provided for exchanging data with the memory 18. A 15-bit address bus RA and an 8-bit data bus RD are connected to the RAM interface 26. R
From the AM interface 26 to the memory 18,
Read strobe signal / ROE0 and write strobe signal / RWE0 are applied. On the other hand, the image output processing circuit 12 outputs the address signal PRTADR and the data PR.
TDOUT, a write strobe signal PRTWE, a read strobe signal PRTOE, and the like are given, and a memory request signal MREQ is further input. Further, the above-mentioned memory access clock signal SYSCLK is also given.

【0033】A/Dコンバータ17からの7ビットのイ
メージデータIDは、シェーディング補正部31に与え
られ、読取用光源の輝度のばらつきなどに起因する画素
間の濃度のばらつきが補正される。シェーディング補正
は、真っ黒の画像に対応した黒基準データBSTと、真
っ白の画像に対応した白基準データWSTとに基づいて
行われる。これらの黒基準データBSTおよび白基準デ
ータWSTは、白/黒基準値生成部32で生成され、R
AMインタフェース26を介してメモリ18に書き込ま
れる。黒基準データBSTは、原稿照明用のランプを消
灯した状態でイメージセンサ15の出力を取得すること
により作成される。また、白基準データWSTは原稿照
明用のランプを点灯させて白色基準画像を形成した白基
準板に対してイメージセンサ15での読取を行わせるこ
とにより作成される。
The 7-bit image data ID from the A / D converter 17 is given to the shading correction section 31, and the variation of the density between pixels due to the variation of the luminance of the reading light source is corrected. The shading correction is performed based on the black reference data BST corresponding to a pure black image and the white reference data WST corresponding to a pure white image. These black reference data BST and white reference data WST are generated by the white / black reference value generation unit 32, and R
It is written in the memory 18 via the AM interface 26. The black reference data BST is created by acquiring the output of the image sensor 15 with the lamp for illuminating the original being turned off. Further, the white reference data WST is created by turning on the lamp for illuminating the original and causing the image sensor 15 to read the white reference plate on which the white reference image is formed.

【0034】白/黒基準値生成部32は、白基準データ
WSTを生成する際に、A/Dコンバータ17の最大出
力データと白基準データWSTとの差をオフセットOF
FSETとして算出する。このオフセットOFFSET
はメモリ18に書き込まれ、シェーディング補正に用い
られる(詳細については後述する。)。すなわち、白/
黒基準値生成部32はオフセット演算手段として機能
し、白基準データWSTを生成する際に、自動的にオフ
セットOFFSETを同時に生成する。なお、このよう
なオフセットOFFSETの生成は必ずしも自動で行わ
れなくてもよく、ファクシミリ装置の操作部からの所定
の操作に応答して白基準データWSTとA/Dコンバー
タ17の最大出力データとに基づいてオフセットOFF
SETが演算されるようにしてもよい。
The white / black reference value generator 32 offsets the difference between the maximum output data of the A / D converter 17 and the white reference data WST when the white reference data WST is generated.
Calculated as FSET. This offset OFFSET
Is written in the memory 18 and used for shading correction (details will be described later). That is, white /
The black reference value generation unit 32 functions as an offset calculation means, and automatically generates the offset OFFSET at the same time when the white reference data WST is generated. The generation of such an offset OFFSET does not necessarily have to be automatically performed, and the white reference data WST and the maximum output data of the A / D converter 17 are generated in response to a predetermined operation from the operation unit of the facsimile apparatus. Offset OFF based on
SET may be calculated.

【0035】シェーディング補正を経たデータSOUT
は、フィルタ処理部33に入力される。このフィルタ処
理部33では、中間調画像域と二値画像域との像域が分
離して検出され、二値画像域の画像に対して画像のエッ
ジ部を強調したりする処理が施される。フィルタ処理後
のデータFOUTは、濃度調整処理部34に与えられ
る。濃度調整処理部34は、特に中間調の画像の濃度の
再現性を高めるための処理を行う。具体的には、4×4
画素のマトリクスを構成する16個の画素を含む画像部
分を順に取り出し、マトリクス内での画素位置に対応さ
せて予め定めた濃度補正値を各画素位置の画素のデータ
に加算する。
Data SOUT after shading correction
Is input to the filter processing unit 33. In the filter processing unit 33, the image areas of the halftone image area and the binary image area are separately detected, and the edge portion of the image is emphasized with respect to the image of the binary image area. . The data FOUT after the filter processing is given to the density adjustment processing unit 34. The density adjustment processing unit 34 performs processing for enhancing the density reproducibility of a halftone image. Specifically, 4x4
An image portion including 16 pixels forming a matrix of pixels is sequentially extracted, and a predetermined density correction value corresponding to the pixel position in the matrix is added to the pixel data at each pixel position.

【0036】濃度調整処理部34の出力信号WOUT
は、γ補正部35および単純二値化処理部26に与えら
れる。すなわち、中間調の画像のデータはγ補正部35
に与えられ、二値画像の画像データは単純二値化部36
に与えられる。γ補正部35では、イメージセンサ15
が有するγ特性や、レーザビームの走査により感光体に
形成された静電潜像をトナー像に現像するときの現像特
性を補正して原稿画像の濃度を正確に再現するための補
正が画像データに施される。
Output signal WOUT of the density adjustment processing section 34
Is given to the γ correction unit 35 and the simple binarization processing unit 26. That is, the data of the halftone image is obtained by the γ correction unit
And the image data of the binary image is given to the simple binarization unit 36.
Given to. In the γ correction unit 35, the image sensor 15
The γ characteristic of the image data and the development characteristic when the electrostatic latent image formed on the photoconductor by the scanning of the laser beam is developed into a toner image, and the correction for accurately reproducing the density of the original image is corrected by the image data. Is applied to.

【0037】γ補正後のデータGOUTは誤差拡散処理
部37に与えられる。誤差拡散処理は、擬似的中間処理
法であり、注目画素の近傍の参照画素の読取濃度と二値
化濃度との誤差を、注目画素との位置関係に応じて重み
付けして分配し、注目画素に対する二値化処理を注目画
素の濃度と周辺の参照画素から分配された二値化誤差と
を加算した結果に基づいて行う技術である。二値化処理
は、一定の閾値に基づいて行われる。
The γ-corrected data GOUT is given to the error diffusion processing section 37. The error diffusion processing is a pseudo intermediate processing method, and the error between the read density and the binarized density of the reference pixel in the vicinity of the target pixel is weighted and distributed according to the positional relationship with the target pixel, Is a technique for performing the binarization process for (1) based on the result of adding the density of the pixel of interest and the binarization error distributed from the reference pixels in the vicinity. The binarization process is performed based on a certain threshold.

【0038】濃度調整処理部34から単純二値化処理部
36に与えられたデータWOUTは、所定の閾値により
「0」または「1」に二値化される。この単純二値化処
理部36には、自動濃度調整処理部38から二値化のた
めの閾値が入力されている。自動濃度調整処理部38
は、複数ラインのピーク濃度の平均値をとり、この平均
値に基づいて、二値化のための閾値を変化させるもので
ある。このため、たとえば1枚の原稿の各部に対して異
なる閾値が設定される。
The data WOUT given from the density adjustment processing unit 34 to the simple binarization processing unit 36 is binarized into "0" or "1" by a predetermined threshold value. A threshold for binarization is input to the simple binarization processing unit 36 from the automatic density adjustment processing unit 38. Automatic density adjustment processing unit 38
Is to take the average value of the peak densities of a plurality of lines and change the threshold value for binarization based on this average value. Therefore, for example, different thresholds are set for each part of one document.

【0039】単純二値化処理部36からの二値データ
は、孤立点除去処理部39に入力される。孤立点除去処
理とは、たとえば原稿を搬送するためのモータの回転む
らなどに起因する画質の低下を防止し、また原稿面の汚
れなどのノイズなどのために白画素または黒画素がたと
えば単独で存在する様な場合に、このようないわば孤立
画素を除去するための処理である。この孤立点除去処理
は、或る注目画素の周囲の所定位置の画素がいずれも白
画素か黒画素の一方の二値データを持つときに、注目画
素の二値データを強制的に当該二値データに変換するこ
とにより行える。
The binary data from the simple binarization processing unit 36 is input to the isolated point removal processing unit 39. The isolated point removal processing prevents deterioration of image quality due to, for example, uneven rotation of a motor for conveying a document, and white pixels or black pixels are independently formed due to noise such as dirt on the document surface. This is a process for removing the so-called isolated pixel when it exists. This isolated point removal processing forces the binary data of the target pixel to be forced to the binary data when a pixel at a predetermined position around the target pixel has binary data of either a white pixel or a black pixel. It can be done by converting to data.

【0040】このような処理により、黒画素または白画
素が孤立することが防がれるから、画質を向上できる。
のみならず、ファクシミリ送信のために二値データの圧
縮符号化を行う際の圧縮効率が高まるから、送信符号量
が減少する。このため、高速通信が可能となる。誤差拡
散処理部37および孤立点除去処理部39からの二値デ
ータは二値化出力回路40に与えられ、1画素ごとに直
列に与えられる二値データが8ビットの並列データBI
N0〜BIN7に変換されて出力される。この二値デー
タが、図1のCPUインタフェース13に与えられる。
By such processing, it is possible to prevent the black pixel or the white pixel from being isolated, so that the image quality can be improved.
Not only that, the compression efficiency at the time of performing the compression encoding of the binary data for the facsimile transmission is increased, so that the transmission code amount is reduced. Therefore, high-speed communication becomes possible. The binary data from the error diffusion processing unit 37 and the isolated point removal processing unit 39 is given to the binarization output circuit 40, and the binary data serially given for each pixel is 8-bit parallel data BI.
It is converted into N0 to BIN7 and output. This binary data is given to the CPU interface 13 of FIG.

【0041】入力画像処理回路11内には、上述の各構
成部分の他に、メモリ18に対する書込または読出アド
レスを発生するアドレスカウンタ41や、各部の動作タ
イミングを制御するタイミング制御回路42などが備え
られている。図3はシェーディング補正部31の内部構
成を示すブロック図である。シェーディング補正部31
には、白基準データWST、黒基準データBSTおよび
画像データIDが与えられる。そして、白基準データW
STと黒基準データBSTとの差(WST−BST)が
第1の減算器45で演算され、画像データIDと黒基準
データBSTとの差(ID−BST)が第2の減算器4
6で演算される。さらに、減算器45,46の出力(W
ST−BST),(ID−BST)はそれぞれ第1、第
2の加算器47,48に与えられ、それぞれにオフセッ
トOFFSETが加算される。
In the input image processing circuit 11, in addition to the above-mentioned components, an address counter 41 for generating a write or read address for the memory 18, a timing control circuit 42 for controlling the operation timing of each unit, and the like. It is equipped. FIG. 3 is a block diagram showing the internal configuration of the shading correction unit 31. Shading correction unit 31
Are given white reference data WST, black reference data BST, and image data ID. Then, the white reference data W
The difference (ST-BST) between ST and the black reference data BST is calculated by the first subtractor 45, and the difference (ID-BST) between the image data ID and the black reference data BST is calculated by the second subtractor 4.
6 is calculated. Further, the outputs of the subtracters 45 and 46 (W
ST-BST) and (ID-BST) are given to the first and second adders 47 and 48, respectively, and the offset OFFSET is added to each.

【0042】加算器47の出力(WST−BST+OF
FSET)と、加算器48の出力(ID−BST+OF
FSET)とは、除算回路49に与えられる。この除算
回路49では、下記第(1) 式で示す除算が行われて、シ
ェーディング補正データSOUTが出力される。
Output of adder 47 (WST-BST + OF
FSET) and the output of the adder 48 (ID-BST + OF
FSET) is given to the division circuit 49. In the division circuit 49, the division shown by the following equation (1) is performed and the shading correction data SOUT is output.

【0043】[0043]

【数1】 [Equation 1]

【0044】なお、この第(1) 式の演算は、白基準デー
タWSTとオフセットOFFSETとの加算、および画
像データIDとオフセットOFFSETとの加算を先に
行い、各加算結果から黒基準データBSTをそれぞれ減
算し、各減算結果に対して除算演算を行うことによって
も実現できる。白基準データWSTおよび黒基準データ
BSTは、白/黒基準値生成部32(図2参照。)で生
成されて、メモリ18に記憶されている。このメモリ1
8内の基準データWSTおよびBSTが読み出されて減
算器45,46に与えられる。
In the calculation of the equation (1), the white reference data WST and the offset OFFSET are added and the image data ID and the offset OFFSET are added first, and the black reference data BST is obtained from each addition result. It can also be realized by subtracting each and performing a division operation on each subtraction result. The white reference data WST and the black reference data BST are generated by the white / black reference value generation unit 32 (see FIG. 2) and stored in the memory 18. This memory 1
The reference data WST and BST in 8 are read out and given to the subtracters 45 and 46.

【0045】一方、オフセットOFFSETは、上述の
ように白/黒基準値生成部32において、白基準データ
WSTが生成されるときに、同時に計算されてメモリ1
8に記憶されており、図外のレジスタから加算器47,
48に供給される。このオフセットOFFSETは、下
記第(2) 式により計算される。 OFFSET=(A/Dコンバータの最大出力)−WST ・・・・ (2) すなわち、A/Dコンバータ17の最大出力データと白
基準値WSTとの差がオフセットOFFSETとなる。
このようなオフセットOFFSETをシェーディング補
正のための除算演算の除数データ(WST−BST)お
よび被除数データ(ID−BST)に加算しておくこと
により、シェーディング補正データSOUTの広いダイ
ナミックレンジが確保される。
On the other hand, the offset OFFSET is calculated at the same time when the white / black reference value generator 32 generates the white reference data WST, as described above, and the offset OFFSET is stored in the memory 1.
8 is stored in the adder 47,
48. This offset OFFSET is calculated by the following equation (2). OFFSET = (maximum output of A / D converter) −WST (2) That is, the difference between the maximum output data of the A / D converter 17 and the white reference value WST is the offset OFFSET.
By adding such offset OFFSET to the divisor data (WST-BST) and the dividend data (ID-BST) of the division operation for shading correction, a wide dynamic range of the shading correction data SOUT is secured.

【0046】すなわち、たとえばA/Dコンバータ17
の出力データが7ビットの深さを有している場合に、白
基準値WSTが「1111」以下のデータである場合に
は、(ID−BST)/(WST−BST)は実質的に
4ビット以下で表現されたデータとなる。このため、シ
ェーディング補正データSOUTのダイナミックレンジ
が狭くなるおそれがある。
That is, for example, the A / D converter 17
When the output data of 7 has a depth of 7 bits and the white reference value WST is data of "1111" or less, (ID-BST) / (WST-BST) is substantially 4 The data is expressed in bits or less. Therefore, the dynamic range of the shading correction data SOUT may be narrowed.

【0047】これに対して、本実施例では、シェーディ
ング補正のための演算の除数データおよび被除数データ
に対してオフセットOFFSETを加算しているから、
有効ビット数が増大し、広いダイナミックレンジが確保
されることになる。これにより、補正後のデータSOU
Tは、濃度を多階調で表現したデータとなる。なお、オ
フセットOFFSETには、上記第(2) 式で計算される
値の代わりに予め定めた一定の値を用いてもよい。
On the other hand, in this embodiment, the offset OFFSET is added to the divisor data and the dividend data of the calculation for shading correction.
The number of effective bits increases, and a wide dynamic range is secured. As a result, the corrected data SOU
T is data representing the density in multiple gradations. It should be noted that the offset OFFSET may use a predetermined constant value instead of the value calculated by the above equation (2).

【0048】除算回路49の構成例は、図4に示されて
いる。すなわち、A÷Bの演算を行う場合に、除数デー
タBが減算器50の一方の入力端子に与えられ、被除数
データAはセレクタ51の入力端子Iaに与えられる。
セレクタ51の出力は、減算器50のもう一つの入力端
子に与えられており、減算器50はセレクタ51の出力
データから除数データBを減じ、減算が可能であれば
(減算結果が負の値とならなければ)ライン52に論理
「1」の信号を導出し、減算が不可能ならライン52に
論理「0」の信号を導出する。この信号は、7ビットの
シフトレジスタ53に入力される。
An example of the configuration of the division circuit 49 is shown in FIG. That is, when the operation of A ÷ B is performed, the divisor data B is given to one input terminal of the subtractor 50, and the dividend data A is given to the input terminal Ia of the selector 51.
The output of the selector 51 is given to the other input terminal of the subtractor 50. The subtractor 50 subtracts the divisor data B from the output data of the selector 51, and if subtraction is possible (the subtraction result is a negative value). If the subtraction is impossible, a signal of logic "0" is derived on line 52. This signal is input to the 7-bit shift register 53.

【0049】データセレクタ51の出力は、ライン54
から1ビット上位側にシフトされて当該セレクタ51の
入力端子Icに帰還される。また、減算器50における
減算結果のデータは、ライン55から1ビット上位側に
シフトされてデータセレクタ51の入力端子Icに帰還
される。データセレクタ51には、入力端子Iaに与え
られている被除数データAを選択するための選択制御信
号がライン56から与えられている。さらに、減算器5
0からライン52に導出される信号が入力端子Ib,I
cのいずれかの入力信号を選択するための選択制御信号
としてライン57から与えられている。データセレクタ
51は、ライン57から論理「1」の信号が与えられた
ときには入力端子Ibからの入力データを選択し、ライ
ン57からの信号が論理「0」であれば入力端子Icか
らの入力データを選択する。
The output of the data selector 51 is the line 54
Is shifted by one bit to the upper side and fed back to the input terminal Ic of the selector 51. Further, the data of the subtraction result in the subtractor 50 is shifted from the line 55 to the upper side by 1 bit and fed back to the input terminal Ic of the data selector 51. A selection control signal for selecting the dividend data A given to the input terminal Ia is given to the data selector 51 from the line 56. Furthermore, the subtractor 5
The signals derived from 0 to the line 52 are input terminals Ib, I
It is given from the line 57 as a selection control signal for selecting any one of the input signals of c. The data selector 51 selects the input data from the input terminal Ib when the signal of logic "1" is given from the line 57, and the input data from the input terminal Ic if the signal from the line 57 is logic "0". Select.

【0050】この構成により、最初は入力端子Iaから
の被除数データAが減算器50に与えられる。このと
き、A−B<0であればライン52には論理「0」の信
号が導出される。そして、入力端子Icからの被除数デ
ータAを1ビット上位側にシフトされたデータが選択さ
れて減算器50に入力される。このとき、1ビットシフ
トされたデータから除数データBを引くことができれ
ば、ライン52には論理「1」の信号が導出され、減算
結果を1ビット上位側にシフトした入力端子Ibからの
データがデータセレクタ51で選択される。
With this configuration, the dividend data A from the input terminal Ia is initially supplied to the subtractor 50. At this time, if A−B <0, a signal of logic “0” is derived on the line 52. Then, the data obtained by shifting the dividend data A from the input terminal Ic to the upper side by 1 bit is selected and input to the subtractor 50. At this time, if the divisor data B can be subtracted from the data shifted by 1 bit, a signal of logic "1" is derived on the line 52, and the data from the input terminal Ib obtained by shifting the subtraction result to the upper side by 1 bit is obtained. It is selected by the data selector 51.

【0051】このような動作は、たとえば被除数データ
Aおよび除数データBが7ビットであれば、7回に渡っ
て繰り返し行われる。その結果、シフトレジスタ53に
は、被除数データAを除数データBで除した7ビットの
データが蓄積される。この7ビットのデータが除算デー
タとして出力されることになる。図5はフィルタ処理部
33での処理を説明するための図である。本実施例では
いわゆるラプラシアンフィルタが採用されている。フィ
ルタ処理は、注目画素を中心とした3×3個のマトリク
ス配列された画素のシェーディング補正後のデータに基
づいて行われる。
Such an operation is repeated 7 times if the dividend data A and the divisor data B are 7 bits, for example. As a result, the shift register 53 stores 7-bit data obtained by dividing the dividend data A by the divisor data B. This 7-bit data is output as division data. FIG. 5 is a diagram for explaining the processing in the filter processing unit 33. In this embodiment, a so-called Laplacian filter is used. The filtering process is performed based on the data after the shading correction of the pixels arranged in a matrix of 3 × 3 centered on the target pixel.

【0052】3×3個の画素のマトリクスを作るために
は3ライン分のデータが必要である。すなわち、シェー
ディング補正されて順に出力される現ラインのデータB
n ,Bn-1 ,Bn-2 ,・・・・、注目画素を含む前ラインの
データXn ,Xn-1 ,Xn-2,・・・・および前々ラインの
データAn ,An-1 ,An-2 ,・・・・が必要となる。フィ
ルタ処理では、下記第(3) 式で示す差分値Sが演算され
る。
Data for three lines is required to form a matrix of 3 × 3 pixels. That is, the data B of the current line that is shading-corrected and sequentially output
n, B n-1, B n-2, ····, data X n of the previous line including the target pixel, X n-1, X n -2, the data A n of ... and before the previous line , A n-1 , A n-2 , ... Are required. In the filtering process, the difference value S shown in the following expression (3) is calculated.

【0053】[0053]

【数2】 [Equation 2]

【0054】そして、この演算された差分値Sに応じ
て、下記表1に示されたフィルタ処理後のデータFOU
Tが得られる。ただし、各画素のデータは8ビットのデ
ータであり、0から255の範囲の値を有することがで
きるものとする。
Then, according to the calculated difference value S, the data FOU after the filter processing shown in Table 1 below is performed.
T is obtained. However, it is assumed that the data of each pixel is 8-bit data and can have a value in the range of 0 to 255.

【0055】[0055]

【表1】 [Table 1]

【0056】なお、上記表1において、Xは、図5にお
ける画像データXn-1 に相当し、SLBは黒画素の強調
処理に関する閾値値であり、SWBは白画素の強調処理
に関する閾値である。上記のような処理によって、中間
調領域と二値画像領域とが分離して検出され、二値画像
領域に関して白色および黒色を強調する処理が施され
る。これにより、二値画像の再現性が向上される。
In Table 1, X corresponds to the image data X n-1 in FIG. 5, SLB is a threshold value for black pixel emphasis processing, and SWB is a threshold value for white pixel emphasis processing. . By the above-described processing, the halftone area and the binary image area are separately detected, and the processing for emphasizing white and black is performed on the binary image area. This improves the reproducibility of the binary image.

【0057】本実施例では、フィルタ処理のために、メ
モリ18の記憶領域には2ライン分のラインメモリが設
けられている。このことを、図6に示されたメモリ18
のメモリマップを参照して説明する。メモリ18のアド
レス「0000」から「1AFF」までは、2ライン分
のシェーディング補正後のデータSOUTと黒基準デー
タBSTおよび白基準データWSTとを記憶するために
用いられる。1ラインはたとえば1728画素で構成さ
れている。また、アドレス「1B00」〜「1FFF」
はワークエリアとして用いられ、アドレス「2000」
〜「26BF」は誤差拡散処理や単純二値化処理に用い
られる。さらに、アドレス「26C0」〜「26FF」
はγ補正のための補正テーブルの記憶のために用いら
れ、アドレス「2700」〜「7FFF」はCPU14
のワークエリアとして用いられる。
In this embodiment, a line memory for two lines is provided in the storage area of the memory 18 for the filtering process. This is done by the memory 18 shown in FIG.
The memory map will be described. Addresses "0000" to "1AFF" of the memory 18 are used to store the data SOUT after shading correction for two lines, the black reference data BST, and the white reference data WST. One line is composed of, for example, 1728 pixels. In addition, addresses "1B00" to "1FFF"
Is used as a work area and has the address "2000"
"26BF" is used for error diffusion processing and simple binarization processing. Furthermore, addresses "26C0" to "26FF"
Is used for storing a correction table for γ correction, and addresses “2700” to “7FFF” are stored in the CPU 14
Used as a work area.

【0058】フィルタ処理では、アドレス「0000」
〜「1AFF」が2ライン分のラインメモリとして用い
られる。すなわち、イメージセンサの画像読取における
主走査方向に関する先頭の画素に対応するシェーディン
グ補正後のデータは、アドレス「0000」および「0
001」に書き込まれる。アドレス「0000」には隣
接する2ラインのうちの一方のラインのデータが格納さ
れ、アドレス「0001」には他方のラインのデータが
格納される。同様にして、アドレス「0004」および
「0005」には2番目の画素のデータが格納され、ア
ドレス「0008」および「0009」には3番目の画
素のデータが格納される。このようにして、2ライン分
の各画素のデータを記憶させることができる。
In the filter processing, the address "0000"
~ "1AFF" is used as a line memory for two lines. That is, the data after shading correction corresponding to the first pixel in the main scanning direction in the image reading of the image sensor has the addresses “0000” and “0”.
001 ”is written. The data of one of two adjacent lines is stored in the address “0000”, and the data of the other line is stored in the address “0001”. Similarly, the data of the second pixel is stored in the addresses “0004” and “0005”, and the data of the third pixel is stored in the addresses “0008” and “0009”. In this way, the data of each pixel for two lines can be stored.

【0059】たとえば、アドレス「0000」,「00
04」,「0008」,「000C」,・・・・には前々ラ
インのデータが書き込まれており、アドレス「000
1」,「0005」,「0009」,「000D」,・・
・・には、前ラインのデータが書き込まれているとする。
たとえばアドレス「0008」に書き込まれた前々ライ
ンのデータが図5のデータAn-2 として読み出されてフ
ィルタ処理に使われると、このアドレス「0008」に
は、現ラインのデータBn-2 が書き込まれる。同様にし
て、フィルタ処理において前々ラインのデータの使用が
終了すると、この使用が終了した画素のデータに代わり
に現ラインのデータがその画素データの記憶アドレスに
書き込まれる。
For example, the addresses "0000", "00"
04 ”,“ 0008 ”,“ 000C ”, ... The data of the line before last is written to the address“ 000 ”.
1 ”,“ 0005 ”,“ 0009 ”,“ 000D ”, ...
-It is assumed that the data of the previous line is written in.
For example, when the data of the previous line written at the address "0008" is read out as the data A n-2 of FIG. 5 and used for the filtering process, the data of the current line B n-at the address "0008". 2 is written. Similarly, when the use of the data of the line before the end is completed in the filtering process, the data of the present line is written to the storage address of the pixel data instead of the data of the pixel for which the use is completed.

【0060】このようにして、3ライン分の画像データ
を扱う必要のあるフィルタ処理を2ライン分のラインメ
モリを用意することで達成できる。これより、メモリ1
8の記憶領域の有効活用を図ることができる。また、逆
に、メモリ18として少ない記憶容量の素子を用いるこ
とができるから、コストの低減にも寄与できる。なお、
フィルタ処理には、2ライン分の画像データが用いられ
てもよく、4ライン分以上の画像データが用いられても
よい。もしも、N(N≧2)ライン分のデータに基づい
てフィルタ処理が行われるなら、メモリ18内に(N−
1)ライン分のラインメモリを用意し、現ラインの直前
の(N−1)ライン分の各構成画素のデータをメモリか
ら順に読み出すとともに、現ラインよりも(N−1)ラ
インだけ前のデータが読み出されたアドレスに現ライン
のデータを書き込んでゆけばよい。これにより、Nライ
ン分のデータを要するフィルタ処理を、(N−1)ライ
ン分のメモリを用意することで達成できる。
In this way, the filter processing that needs to handle the image data for three lines can be achieved by preparing the line memory for two lines. From this, memory 1
It is possible to effectively utilize the eight storage areas. On the contrary, since an element having a small storage capacity can be used as the memory 18, the cost can be reduced. In addition,
Image data for two lines may be used for the filtering process, or image data for four lines or more may be used. If the filtering process is performed based on the data for N (N ≧ 2) lines, the memory 18 stores (N−
1) A line memory for lines is prepared, and data of each constituent pixel for (N-1) lines immediately before the current line is sequentially read from the memory, and data before (N-1) lines before the current line. It is sufficient to write the data of the current line to the read address. As a result, the filter processing that requires data for N lines can be achieved by preparing a memory for (N-1) lines.

【0061】図7は濃度調整処理部34における処理を
説明するための図である。濃度調整処理部34は、4×
4画素のマトリクス配列された16個の画素からなる部
分画像を順に取り出し、このマトリクスのなかの所定の
画素位置の画素W0,W1,W2,・・・・,W7に対し
て、予め定めた濃度補正値を加減するものである。たと
えば、画素W0,W1,・・・・,W7に加算される濃度補
正値をそれぞれWD0,WD1,・・・・,WD7とし、 WD0=WD1=WD2=・・・・=WD7=3 ・・・・ (4) とする。このとき、4×4画素のマトリクス配列された
画素に対するフィルタ処理後の画像データFOUTが図
8(a) のようになっているとすると、このデータは図8
(b) のデータWOUTに変化することになる。
FIG. 7 is a diagram for explaining the processing in the density adjustment processing section 34. The density adjustment processing unit 34 is 4 ×
A partial image composed of 16 pixels arranged in a matrix of 4 pixels is taken out in order, and a predetermined density is obtained for the pixels W0, W1, W2, ..., W7 at predetermined pixel positions in this matrix. The correction value is adjusted. For example, the density correction values added to the pixels W0, W1, ..., W7 are WD0, WD1, ..., WD7, respectively, and WD0 = WD1 = WD2 = ... WD7 = 3.・ ・ (4) At this time, if the image data FOUT after the filter processing for the pixels arranged in a matrix of 4 × 4 pixels is as shown in FIG. 8A, this data is
It will be changed to the data WOUT of (b).

【0062】画像データへの濃度補正値WDi(0≦i
≦7)の加算は、所定の条件の下で行われてもよい。た
とえば、 FOUT>0 ・・・・ (5) を加算のための条件とすると、図9(a) のようなフィル
タ処理後の画像データFOUTは、図9(b) のようなデ
ータWOUTに変換される。すなわち、FOUT=0の
画素に対しては、濃度補正値WDiの加算は行われな
い。
The density correction value WDi (0≤i
The addition of ≦ 7) may be performed under predetermined conditions. For example, assuming that FOUT> 0 ... (5) is a condition for addition, the image data FOUT after the filter processing as shown in FIG. 9A is converted into the data WOUT as shown in FIG. 9B. To be done. That is, the density correction value WDi is not added to the pixel of FOUT = 0.

【0063】また、マトリクス内の画素位置毎に異なる
条件を設定し、各画素位置においてデータFOUTが当
該条件を満たすときに、当該画素位置に対応付けた濃度
補正値WDiが加算されるようにしてもよい。たとえ
ば、図10に示すように、マトリクス内の画素W0,W
3,W4,W7に対しては下記の条件C1を設定し、画
素W1,W2,W5,W6に対しては下記条件C2を設
定する。
Further, different conditions are set for each pixel position in the matrix, and when the data FOUT satisfies the condition at each pixel position, the density correction value WDi associated with the pixel position is added. Good. For example, as shown in FIG. 10, pixels W0 and W in the matrix are
The following condition C1 is set for 3, W4 and W7, and the following condition C2 is set for the pixels W1, W2, W5 and W6.

【0064】 条件C1 ・・・・ FOUT>WMIN=0 ・・・・ (6) 条件C2 ・・・・ FOUT>WMAX=8 ・・・・ (7) 各画素位置毎に設定した条件C1,C2が成立した画素
に対して、当該画素位置に対応した濃度補正値WDiを
加算することとすると、図11(a) のようなフィルタ処
理後の画像データFOUTは、図11(b) のようなデー
タWOUTに変換される。すなわち、この場合には条件
C1のみが成立している。
Condition C1 ... FOUT> WMIN = 0 ... (6) Condition C2 ... FOUT> WMAX = 8 ... (7) Conditions C1 and C2 set for each pixel position Assuming that the density correction value WDi corresponding to the pixel position is added to the pixel satisfying the above condition, the image data FOUT after the filtering process as shown in FIG. 11 (a) is as shown in FIG. 11 (b). Converted to data WOUT. That is, in this case, only the condition C1 is satisfied.

【0065】なお、濃度補正値WDiは全て等しくする
必要はなく、各位置の画素毎に異なる濃度補正値が設定
されてもよい。図12は上記の濃度調整処理を行うため
の構成例を示すブロック図である。濃度補正値WD0〜
WD7はメモリ18に予め記憶されている。この濃度補
正値WD0〜WD7はCPU14によりデータバス59
に導出される。そして、CPU14からちの書込信号に
よりレジスタ60,61,・・・・,67に、それぞれ濃度
補正値WD0,WD1,・・・・,WD7が書き込まれる。
The density correction values WDi need not be all equal, and different density correction values may be set for each pixel at each position. FIG. 12 is a block diagram showing a configuration example for performing the above-mentioned density adjustment processing. Density correction value WD0
The WD 7 is stored in the memory 18 in advance. The density correction values WD0 to WD7 are stored in the data bus 59 by the CPU 14.
Be derived to. Then, the density correction values WD0, WD1, ..., WD7 are written in the registers 60, 61 ,.

【0066】一方、条件付けのための閾値データWMI
NおよびWMAXは、データバス59を介して、それぞ
れレジスタ68,69に書き込まれる。この構成によ
り、4×4画素のマトリクス内の画素W0,W1,W
2,・・・・,W7(図7参照。)の画像データに対して、
それぞれ濃度補正値WD0,WD1,WD2,・・・・,W
D7が加算される。
On the other hand, threshold data WMI for conditioning
N and WMAX are written to the registers 68 and 69 via the data bus 59, respectively. With this configuration, the pixels W0, W1, W in the 4 × 4 pixel matrix are
2, ..., W7 (see FIG. 7) image data,
Density correction values WD0, WD1, WD2, ..., W
D7 is added.

【0067】条件付きで加算を行う場合には、加算を行
うべき画素W0,W1,W2,・・・・,W7のデータとレ
ジスタ68,69の出力データとを比較し、その比較結
果に応じて加算を行うか否かを決定すればよい。図13
は濃度調整処理のための他の構成例を示すブロック図で
ある。この構成では、濃度補正値WD0,WD1,・・・
・,WD7は、マルチプレクサ70に入力されており、
いずれ1つの濃度補正値WDiが出力端子Q0〜Q6か
ら濃度補正データWDATAとして導出される。
When the addition is performed conditionally, the data of the pixels W0, W1, W2, ..., W7 to be added are compared with the output data of the registers 68 and 69, and the comparison result is determined. It may be determined whether or not the addition is performed. FIG.
FIG. 9 is a block diagram showing another configuration example for the density adjustment processing. With this configuration, the density correction values WD0, WD1, ...
., WD7 is input to the multiplexer 70,
Any one of the density correction values WDi is derived from the output terminals Q0 to Q6 as density correction data WDATA.

【0068】マルチプレクサ70には、いずれの濃度補
正値WDiを出力するかを選択するための選択制御信号
がラインデコーダ71から与えられている。このライン
デコーダ71は、8本の出力端子Y0〜Y7を有してお
り、選択すべき濃度補正値WDiに対応するいずれか1
つの出力端子にローレベルの信号を導出する。加算を行
わないときには、全ての出力端子Y0〜Y7がハイレベ
ルとなる。
A selection control signal for selecting which of the density correction values WDi to be output is given to the multiplexer 70 from the line decoder 71. The line decoder 71 has eight output terminals Y0 to Y7, and any one of them corresponds to the density correction value WDi to be selected.
Derives low-level signals to two output terminals. When no addition is performed, all output terminals Y0 to Y7 are at high level.

【0069】この構成例では、4×4画素のマトリクス
の各画素位置に対して所定の4ビットのアドレスが与え
られており、このアドレスの下位3ビットの信号が入力
端子A,B,Cに入力されている。そして、上記アドレ
スの最上位ビットはANDゲート72を介して入力端子
G1に与えられている。ANDゲート72にはまた、濃
度調整を行うかどうかを選択するための信号OUTFI
Lが入力されている。
In this configuration example, a predetermined 4-bit address is given to each pixel position of the 4 × 4 pixel matrix, and the signal of the lower 3 bits of this address is input to the input terminals A, B, and C. It has been entered. The most significant bit of the address is given to the input terminal G1 via the AND gate 72. The AND gate 72 also has a signal OUTFI for selecting whether to perform density adjustment.
L has been entered.

【0070】ラインデコーダ71は、入力端子G1にロ
ーレベルの信号が与えられると、出力端子Y0〜Y7の
全てにハイレベルの信号を導出する。したがっで、アド
レスの最上位ビットが「0」であるか、または信号OU
TFILがローレベルであるときには、マルチプレクサ
70の出力データは「0」になる。すなわち、このとき
には、濃度補正値WDiの加算は行われない。
When a low level signal is applied to the input terminal G1, the line decoder 71 derives a high level signal to all the output terminals Y0 to Y7. Therefore, the most significant bit of the address is "0" or the signal OU
When TFIL is at low level, the output data of the multiplexer 70 is "0". That is, at this time, the density correction value WDi is not added.

【0071】図14は4×4画素のマトリクスの各画素
に対して与えた4ビットのアドレスを表す図である。す
なわち、濃度補正値WDiを加算すべき図7の画素W
0,W1,・・・・,W7に対しては最上位ビットが「1」
とされ、残余の画素については最上位ビットは「0」と
されている。このため、画素W0,W1,・・・・,W7に
対してのみ濃度補正値WDiの加算が行われることにな
る。そして、アドレスの下位3ビットにより、各画素W
0〜W7に対応した濃度補正値WD0〜WD7が選択さ
れて濃度補正データWDATAとして出力される。
FIG. 14 is a diagram showing a 4-bit address given to each pixel of a 4 × 4 pixel matrix. That is, the pixel W of FIG. 7 to which the density correction value WDi should be added
0, W1, ..., For W7, the most significant bit is "1"
For the remaining pixels, the most significant bit is “0”. Therefore, the density correction value WDi is added only to the pixels W0, W1, ..., W7. Then, by the lower 3 bits of the address, each pixel W
The density correction values WD0 to WD7 corresponding to 0 to W7 are selected and output as the density correction data WDATA.

【0072】図15はγ補正部35での処理を説明する
ための図である。メモリ18に記憶されたγ補正テーブ
ル(図6参照。)の内容は、下記表2のとおりであり、
このγ補正テーブルをグラフ化したγ曲線が図15に示
されている。なお、「H」はその前の数字が16進数で
あることを表す。
FIG. 15 is a diagram for explaining the processing in the γ correction section 35. The contents of the γ correction table (see FIG. 6) stored in the memory 18 are as shown in Table 2 below.
FIG. 15 shows a γ curve which is a graph of this γ correction table. In addition, "H" represents that the number before it is a hexadecimal number.

【0073】[0073]

【表2】 [Table 2]

【0074】γ補正が行われるときには、濃度調整処理
部34からのデータWOUTがγ補正テーブルのアドレ
スの下位2桁に割り当てられる。そして、そのアドレス
に記憶された値がγ補正後のデータGOUTとしてメモ
リ18から読み出され、これによりγ補正が達成され
る。たとえば、図8(b) の4×4画素のマトリクスの濃
度調整処理後のデータWOUTに対してγ補正を施すこ
とにより、図8(c) のγ補正後のデータGOUTが得ら
れる。同様に、図9(b) および図11(b) の各濃度調整
処理後のデータWOUTに対してγ補正を施すと、それ
ぞれ図8(c) および図11(c) の各画像データGOUT
が得られる。
When the γ correction is performed, the data WOUT from the density adjustment processing section 34 is assigned to the lower two digits of the address of the γ correction table. Then, the value stored at that address is read from the memory 18 as the γ-corrected data GOUT, whereby the γ-correction is achieved. For example, by performing γ correction on the data WOUT after the density adjustment processing of the 4 × 4 pixel matrix of FIG. 8B, the γ-corrected data GOUT of FIG. 8C is obtained. Similarly, when γ correction is performed on the data WOUT after the density adjustment processing of FIGS. 9B and 11B, the image data GOUT of FIGS. 8C and 11C, respectively.
Is obtained.

【0075】これらの図8(c) 、図9(c) および図11
(c) の各データGOUTに対して、図8(d) 、図8(d)
および図11(d) にそれぞれ示すディザマトリクスを用
いた中間調処理を施すと、それぞれ図8(e) 、図9(e)
および図11(e) に示す二値画像が得られることにな
る。なお、斜線部は黒画素である。これらの図8(e) 、
図9(e) および図11(e) の二値画像では、白画素と黒
画素とが適正な比率で混在しているから、たとえば白画
素が周囲の黒画素により潰れてしまうなどという不具合
を克服できる。このことは、たとえばレーザビームプリ
ンタで画像が印刷されるときに、トナー粒子の広がりに
起因して黒画素に広がりが生じる場合に特に有効であ
る。
FIG. 8 (c), FIG. 9 (c) and FIG.
8 (d) and 8 (d) for each data GOUT in (c)
And halftone processing using the dither matrix shown in FIG. 11 (d) respectively, results in FIG. 8 (e) and FIG. 9 (e), respectively.
And the binary image shown in FIG. 11 (e) is obtained. The shaded areas are black pixels. These Figure 8 (e),
In the binary images of FIG. 9 (e) and FIG. 11 (e), since white pixels and black pixels are mixed in an appropriate ratio, there is a problem that, for example, white pixels are crushed by surrounding black pixels. I can overcome it. This is particularly effective when black pixels are spread due to the spread of toner particles when an image is printed by a laser beam printer, for example.

【0076】上記のように中間調処理後の画像におい
て、白画素と黒画素との適正な比率が得られるのは、濃
度調整処理部34での濃度調整処理の結果であり、この
濃度調整処理部34での調整を省くと、中間調画像の濃
度再現が不良になるおそれがある。さらに詳細に説明す
ると、図8(a) の部分画像を構成する各画素の濃度デー
タはいずれも中間的な値「6」である。したがって、こ
の部分画像の各濃度データに対して直接γ補正を施して
も、全ての画素が同一の値に変換されるだけである。し
たがって、実質的にディザマトリクスによる中間調処理
のみを施した場合と変わらなくなり、中間的な濃度が良
好に再現されないおそれがある。
As described above, it is the result of the density adjustment processing in the density adjustment processing unit 34 that an appropriate ratio of white pixels and black pixels is obtained in the image after the halftone processing. If the adjustment in the section 34 is omitted, the density reproduction of the halftone image may be poor. More specifically, the density data of each pixel forming the partial image of FIG. 8A is an intermediate value "6". Therefore, even if γ correction is directly applied to each density data of this partial image, all pixels are only converted to the same value. Therefore, there is substantially no difference from the case where only the halftone processing by the dither matrix is performed, and there is a possibility that the intermediate density is not reproduced well.

【0077】これに対して本実施例における濃度調整処
理を施せば、図8(b) に示すように濃度データにばらつ
きを生じさせることができる。このため、いわば4×4
画素のマトリクスを構成する部分画像単位で中間的な濃
度を表現するためのγ補正が施されたことになり、中間
的な濃度を良好に再現できる。この場合に、図9に示さ
れた処理のように、上記第(5) 式の条件下で濃度補正値
WDiの加算を行うこととすれば、明らかに黒画素であ
る画素の濃度データが中間的な濃度データに補正される
ことを防止できる。これにより、濃度の再現性が一層良
好になる。
On the other hand, if the density adjustment processing in this embodiment is performed, it is possible to cause variations in the density data as shown in FIG. 8 (b). Therefore, so to speak, 4 × 4
Since the γ correction for expressing the intermediate density is performed for each partial image forming the matrix of pixels, the intermediate density can be reproduced well. In this case, if the density correction value WDi is added under the condition of the above expression (5) as in the processing shown in FIG. 9, the density data of the pixel which is a black pixel is obviously intermediate. It can be prevented from being corrected to the typical density data. As a result, the density reproducibility is further improved.

【0078】さらに、図11に示された処理のように、
画素位置毎に異なる条件を設定して濃度調整処理を行う
こととすれば、濃度再現の調整範囲が広くなり、一層良
好に濃度を再現できる。図16は濃度調整処理およびγ
補正処理のための他の処理技術を説明するための図であ
る。この例では、濃度調整のための4×4画素のマトリ
クスの各画素位置WP0,WP1,WP2,・・・・,WP
15のそれぞれに対してγ補正テーブルGT0,GT
2,GT3,・・・・,GT15(図16中では、繁雑さを
避けるためGT0〜GT8のみを示す。)が設けられて
いる。そして、濃度調整処理の対象となる4×4画素の
フィルタ処理後の画像データFOUTに対して、各画素
のマトリクス内の位置に応じて異なるγ補正テーブルが
参照される。
Further, as in the processing shown in FIG.
If the density adjustment processing is performed by setting different conditions for each pixel position, the density reproduction adjustment range is widened, and the density can be reproduced more favorably. FIG. 16 shows the density adjustment process and γ
It is a figure for explaining other processing techniques for amendment processing. In this example, each pixel position WP0, WP1, WP2, ..., WP of a 4 × 4 pixel matrix for density adjustment
Γ correction tables GT0, GT for each of 15
, GT3, ..., GT15 (in FIG. 16, only GT0 to GT8 are shown to avoid complexity). Then, for the 4 × 4 pixel filtered image data FOUT that is the target of the density adjustment processing, a different γ correction table is referred to depending on the position of each pixel in the matrix.

【0079】図16の例では、γ補正テーブルのアドレ
スは、上位2桁に画素位置WP0,WP1,WP2,・・
・・,WP15に対応した「00H」〜「0FH」が割り
当てられており、下記2桁にフィルタ処理後のデータが
割り当てられている。したがって、たとえば画素位置W
P8のフィルタ処理後の画像データFOUTが「06
H」なら、アドレス「0806H」のデータ「05H」
がγ補正後のデータGOUTとして得られることにな
る。
In the example of FIG. 16, the addresses of the γ correction table are in the upper two digits in the pixel positions WP0, WP1, WP2, ...
.., "00H" to "0FH" corresponding to WP15 are assigned, and the data after filtering is assigned to the following two digits. Therefore, for example, the pixel position W
The image data FOUT after the filter process of P8 is “06
If "H", data "05H" at address "0806H"
Is obtained as the data GOUT after γ correction.

【0080】γ補正テーブルGT0〜GT15の相互間
の関係は、たとえば図7の4×4画素のマトリクス内の
画素W0〜W7に対しては、濃度補正値WD1〜WD7
を加算し、マトリクス内の残余の画素に対しては加算処
理を行わないように濃度調整を行い、さらに濃度調整後
のデータに対してγ補正を施した結果が得られるように
なっている。
The relationship between the γ correction tables GT0 to GT15 is, for example, the density correction values WD1 to WD7 for the pixels W0 to W7 in the matrix of 4 × 4 pixels in FIG.
Are added, the density adjustment is performed so that the addition processing is not performed on the remaining pixels in the matrix, and the result of the γ correction on the data after the density adjustment is obtained.

【0081】このような構成により、上述の濃度調整処
理およびγ補正処理を一気に行える。図17は誤差拡散
処理部37での処理を説明するための図である。誤差拡
散処理は、或る画素P0を二値化したときに、この画素
P0の多値濃度データと二値化後の濃度データ(白また
は黒に対応した濃度データ)との誤差HGを求め、この
誤差を画素P0の周辺の画素に所定の分配比率で分配す
る処理である。たとえば画素P0の二値化処理される多
値濃度データが「30H」で、二値化閾値が「20H」
なら、画素P0は白画素となる。このとき、たとえば真
っ白の画素の濃度が「3F」であるとすると、二値化誤
差HGは、 HG=3FH−30H=FH ・・・・ (8) となる。
With such a configuration, the above-described density adjustment processing and γ correction processing can be performed at once. FIG. 17 is a diagram for explaining the processing in the error diffusion processing unit 37. In the error diffusion processing, when a certain pixel P0 is binarized, an error HG between the multivalued density data of this pixel P0 and the binarized density data (density data corresponding to white or black) is obtained, This is a process of distributing this error to pixels around the pixel P0 at a predetermined distribution ratio. For example, the multi-value density data to be binarized for the pixel P0 is “30H” and the binarization threshold is “20H”.
Then, the pixel P0 becomes a white pixel. At this time, assuming that the density of a pure white pixel is “3F”, the binarization error HG is HG = 3FH−30H = FH (8)

【0082】本実施例では、画素P0で発生した二値化
誤差HGは、画素P0に対してイメージセンサ15によ
る画像読取時の主走査方向RMおよび副走査方向RSの
各下流側にそれぞれ隣接する画素P1,P5に対して係
数1/4を乗じて分配される。また、画素P1に対して
主走査方向RMの下流側に隣接する画素P2と、画素P
5に対して主走査方向RMの上流側の2つの画素P3,
P4と、画素P5に対して主走査方向下流側に隣接する
画素P6とに、係数1/8を乗じて分配される。
In the present embodiment, the binarization error HG generated in the pixel P0 is adjacent to the pixel P0 on the downstream side in each of the main scanning direction RM and the sub scanning direction RS when the image is read by the image sensor 15. The pixels P1 and P5 are distributed by being multiplied by a coefficient ¼. In addition, a pixel P2 adjacent to the pixel P1 on the downstream side in the main scanning direction RM, and a pixel P
5, two pixels P3 on the upstream side in the main scanning direction RM
P4 and a pixel P6 adjacent to the pixel P5 on the downstream side in the main scanning direction are multiplied by a factor of 1/8 and distributed.

【0083】注目画素に対する誤差拡散処理では、周辺
の画素から分配される誤差を注目画素の濃度データに加
算し、この加算結果に対して二値化処理が施されること
になる。この処理を図18を参照して説明する。注目画
素Aを中心に考えると、この注目画素Aには、前ライン
L1の画素G,E,Dでの二値化誤差HG(G),HG
(E),HG(D)が、係数1/8を乗じて分配され
る。また、画素Fでの二値化誤差HG(F)は係数1/
4を乗じて分配される。注目画素Aを含む現ラインL2
については、その主走査方向RSの上流側に隣接する画
素Bでの二値化誤差HG(B)が係数1/4を乗じて分
配され、さらに画素Bに対して主走査方向RSの上流側
に位置する画素Cでの二値化誤差HG(C)が係数1/
8を乗じて分配される。
In the error diffusion processing for the target pixel, the error distributed from the peripheral pixels is added to the density data of the target pixel, and the binarization processing is performed on the addition result. This process will be described with reference to FIG. Considering the pixel of interest A as a center, the pixel of interest A has binarization errors HG (G), HG in the pixels G, E, D of the previous line L1.
(E) and HG (D) are distributed by being multiplied by the coefficient 1/8. In addition, the binarization error HG (F) at the pixel F has a coefficient of 1 /
It is distributed by multiplying by 4. Current line L2 including pixel of interest A
With respect to, the binarization error HG (B) in the pixel B adjacent to the upstream side in the main scanning direction RS is distributed by being multiplied by a coefficient ¼, and further, to the pixel B, the upstream side in the main scanning direction RS. The binarization error HG (C) at the pixel C located at
It is distributed by multiplying by 8.

【0084】したがって、注目画素Aに対してγ補正部
35から与えられたデータがGOUT(A)であるとす
ると、注目画素Aに対する二値化処理は、下記第(9) 式
で示す値T(A)と所定の閾値とを比較して行われる。
Therefore, assuming that the data given from the γ correction unit 35 to the target pixel A is GOUT (A), the binarization process for the target pixel A is performed by the value T shown by the following equation (9). It is performed by comparing (A) with a predetermined threshold value.

【0085】[0085]

【数3】 [Equation 3]

【0086】このような誤差拡散処理の具体的な処理手
順は次のとおりである。本実施例で行われる誤差拡散処
理は、次の〔処理1〕〜〔処理6〕から構成されてい
る。 〔処理1〕注目画素Aの1画素前の処理で発生した二値
化誤差HG(B)と2画素前の二値化誤差HG(C)と
を、注目画素Aとの位置関係に対応した係数を乗じて加
算し、下記第(10)式で示された累積誤差値RG(h)を
演算する。
The specific processing procedure of such an error diffusion processing is as follows. The error diffusion process performed in this embodiment is composed of the following [Process 1] to [Process 6]. [Processing 1] The binarization error HG (B) generated in the process one pixel before the pixel of interest A and the binarization error HG (C) two pixels before are associated with the positional relationship with the pixel of interest A. A coefficient is multiplied and added, and the cumulative error value RG (h) shown by the following formula (10) is calculated.

【0087】[0087]

【数4】 [Equation 4]

【0088】〔処理2〕下記第(11)式に示された前ライ
ンL1での累積誤差値RG(m)と、〔処理1〕で求め
た累積誤差値RG(h)とを加算して、注目画素Aのデ
ータに加算すべき累積誤差値RG(i)を下記第(12)式
の演算により求める。なお、累積誤差値RG(m)は前
ラインL1の画素に対して既に終了している後述の〔処
理6〕によりメモリ18に記憶されている。この累積誤
差値RG(m)は、メモリ18に格納されている(図6
参照。)。
[Processing 2] The cumulative error value RG (m) in the previous line L1 shown in the following equation (11) and the cumulative error value RG (h) obtained in [Processing 1] are added to each other. The cumulative error value RG (i) to be added to the data of the pixel of interest A is calculated by the equation (12) below. The accumulated error value RG (m) is stored in the memory 18 by [Process 6] described later, which has already been completed for the pixel of the previous line L1. This accumulated error value RG (m) is stored in the memory 18 (FIG. 6).
reference. ).

【0089】[0089]

【数5】 [Equation 5]

【0090】〔処理3〕注目画素Aのγ補正後のデータ
GOUT(A)と〔処理2〕で求めた累積誤差値R
(i)とを加算して、二値化判定対象となる値T(A)
を求める。この値T(A)は、下記第(13)式の値とな
る。 T(A)=GOUT(A)+RG(i) ・・・・ (13) 〔処理4〕上記の二値化判定対象値T(A)と二値化閾
値とを比較して、二値化判定時の二値化誤差HG(A)
を求める。真っ白の濃度に対応したデータと真っ黒の濃
度に対応したデータとは予め判っているから、判定対象
値T(A)と二値化閾値とを比較すれば、注目画素Aに
対する二値化誤差HG(A)を求めることができる。
[Processing 3] Data GOUT (A) after γ correction of the target pixel A and accumulated error value R obtained in [Processing 2]
(I) is added to the value T (A) to be a binarization determination target
Ask for. This value T (A) becomes the value of the following expression (13). T (A) = GOUT (A) + RG (i) (13) [Process 4] The binarization determination target value T (A) is compared with the binarization threshold value to perform binarization. Binarization error HG (A) at judgment
Ask for. Since the data corresponding to the pure white density and the data corresponding to the pure black density are known in advance, if the judgment target value T (A) is compared with the binarization threshold, the binarization error HG for the target pixel A is obtained. (A) can be obtained.

【0091】〔処理5〕求められた注目画素Aの二値化
誤差HG(A)に誤差拡散係数1/8を乗じた値に、1
画素前の画素Bを注目画素とした誤差拡散処理における
上記〔処理1〕で求まる累積誤差値RG(j)を加算
し、加算値を累積誤差値RG(k)とする。累積誤差値
RG(j)は、画素Cの直前の画素Xに対する誤差拡散
処理において発生した二値化誤差HG(X)を用いて下
記第(14)式で表される。
[Processing 5] The value obtained by multiplying the obtained binarization error HG (A) of the target pixel A by the error diffusion coefficient ⅛ is set to 1
The cumulative error value RG (j) obtained in the above [Process 1] in the error diffusion process in which the pixel B before the pixel is the target pixel is added, and the added value is set as the cumulative error value RG (k). The cumulative error value RG (j) is expressed by the following equation (14) using the binarization error HG (X) generated in the error diffusion processing for the pixel X immediately before the pixel C.

【0092】[0092]

【数6】 [Equation 6]

【0093】したがって、累積誤差値RG(k)は下記
第(15)式により表されることになる。
Therefore, the cumulative error value RG (k) is expressed by the following expression (15).

【0094】[0094]

【数7】 [Equation 7]

【0095】〔処理6〕上記の累積誤差値RG(j)
に、注目画素Aの直前の画素Bにおける二値化誤差HG
(B)に誤差拡散係数1/8を乗じた値を加算し、下記
第(16)式で表される累積誤差値RG(n)を求める。
[Process 6] Cumulative error value RG (j)
, The binarization error HG in the pixel B immediately before the target pixel A
A value obtained by multiplying (B) by the error diffusion coefficient ⅛ is added to obtain a cumulative error value RG (n) represented by the following expression (16).

【0096】[0096]

【数8】 [Equation 8]

【0097】この累積誤差値RG(n)は次のラインの
画素Yに対する処理に用いるために、メモリ18の注目
画素Aに対応するアドレスに書き込まれる。この書き込
まれた値は、画素Yが注目画素となったときに、上記の
〔処理2〕で用いられる。このような〔処理1〕〜〔処
理6〕が、注目画素が切り換わるたび毎に行われていく
ことによって、誤差拡散処理が達成され、これにより擬
似中間調処理が行われることになる。
This accumulated error value RG (n) is written to the address corresponding to the target pixel A in the memory 18 in order to use it for the processing for the pixel Y of the next line. The written value is used in the above [Processing 2] when the pixel Y becomes the target pixel. By performing such [Processing 1] to [Processing 6] every time the target pixel is switched, the error diffusion process is achieved, and thereby the pseudo halftone process is performed.

【0098】上記のように本実施例における誤差拡散処
理では、累積誤差値RG(n)を注目画素Aに対応付け
てメモリ18に記憶しておき、この累積誤差値RG
(n)を次のラインにおいて画素Aに対して所定の位置
関係にある画素Yについての誤差拡散処理に用いてい
る。このため、画素Yに対する誤差拡散処理を行うため
に、画素G,F,E,Dに対する二値化誤差をメモリか
ら個々に読み出すのではなく、累積誤差値RG(n)を
読み出せば、画素Yに対する前ラインであるラインL2
の画素に関するデータの読出が完了する。したがって、
メモリ18に対するアクセス回数が少ないので、誤差拡
散処理を高速に行える。
As described above, in the error diffusion processing of this embodiment, the cumulative error value RG (n) is stored in the memory 18 in association with the target pixel A, and the cumulative error value RG is stored.
(N) is used in the error diffusion process for the pixel Y having a predetermined positional relationship with the pixel A in the next line. Therefore, in order to perform the error diffusion process on the pixel Y, if the binarization errors for the pixels G, F, E, and D are not individually read from the memory, but the cumulative error value RG (n) is read, Line L2, which is the previous line for Y
The reading of the data relating to the pixel is completed. Therefore,
Since the number of accesses to the memory 18 is small, the error diffusion process can be performed at high speed.

【0099】図19は上記のシェーディング補正、フィ
ルタ処理、濃度調整処理、γ補正処理および誤差拡散処
理を共通に実現する具体的なハードウェア構成を示すブ
ロック図である。γ補正および誤差拡散処理は中間調画
像に対してのみ行われるから、この図19の構成は中間
調画像に対するデータ処理のための構成と言える。A/
Dコンバータ17(図1参照。)からの7ビットのイメ
ージデータIDは、ライン80から第1の加算器81お
よび第2の加算器82の各入力端子Aに与えられてい
る。この加算器81,82の入力端子Aにはまた、メモ
リ18からのデータがライン83から入力されており、
またレジスタ91で一旦保持されたメモリ18からのデ
ータも与えられている。メモリ18から読み出されたデ
ータはまた、リードレジスタ84にも保持され、このリ
ードレジスタ84の内容も、加算器81,82の入力端
子Aに与え得るようになっている。
FIG. 19 is a block diagram showing a concrete hardware configuration for commonly implementing the above shading correction, filter processing, density adjustment processing, γ correction processing and error diffusion processing. Since the γ correction and the error diffusion process are performed only on the halftone image, the configuration of FIG. 19 can be said to be a configuration for data processing on the halftone image. A /
The 7-bit image data ID from the D converter 17 (see FIG. 1) is given from the line 80 to each input terminal A of the first adder 81 and the second adder 82. The data from the memory 18 is also input from the line 83 to the input terminal A of the adders 81 and 82,
Further, the data from the memory 18 which is once held in the register 91 is also given. The data read from the memory 18 is also held in the read register 84, and the contents of the read register 84 can be given to the input terminal A of the adders 81 and 82.

【0100】第1の加算器81の出力は、レジスタ9
0,92,93を経てその入力端子Aに帰還されている
とともに、入力端子Bにそのまま帰還されている。さら
に、第1の加算器81の出力は、ライン85から除算回
路86にも与えられている。この除算回路86の出力
は、第1の加算器81の入力端子Bに与えられている。
第1の加算加算器81の出力はさらに、メモリ18にア
ドレスを生成するためのアドレス生成部87にも与えら
れている。
The output of the first adder 81 is the register 9
It is fed back to the input terminal A through 0, 92, 93 and is fed back to the input terminal B as it is. Further, the output of the first adder 81 is also given to the division circuit 86 from the line 85. The output of the division circuit 86 is given to the input terminal B of the first adder 81.
The output of the first addition adder 81 is also given to the address generation unit 87 for generating an address in the memory 18.

【0101】一方、第2の加算器82の出力は、レジス
タ94を経て、誤差拡散処理における二値化判定のため
の二値化判定回路88に入力されている。この二値化判
定回路88から出力される二値データはレジスタ99を
介して二値化出力回路40(図2参照。)に入力され
る。また、二値化判定回路88からは二値化時に生じる
二値化誤差がライン89に導出され、この誤差はレジス
タ97,98を介して加算器82の入力端子Aに与えら
れる。二値化誤差はまた、レジスタ97やライン100
からも加算器82の入力端子Aに入力できるようになっ
ている。
On the other hand, the output of the second adder 82 is input to the binarization determination circuit 88 for binarization determination in the error diffusion processing via the register 94. The binary data output from the binarization determination circuit 88 is input to the binarization output circuit 40 (see FIG. 2) via the register 99. Further, the binarization determination circuit 88 derives a binarization error that occurs during binarization on the line 89, and this error is given to the input terminal A of the adder 82 via the registers 97 and 98. The binarization error also occurs in the register 97 and the line 100.
Can also be input to the input terminal A of the adder 82.

【0102】第2の加算器82の出力はまた、そのまま
入力端子Bに帰還されている。また、この出力は、レジ
スタ95,96を経て入力端子Bに帰還されている。さ
らに、第2の加算器82の出力は、二値化判定回路88
にも与えられている。図20および図21は動作を説明
するためのタイミングチャートである。先ず図20を参
照して、シェーディング補正処理、フィルタ処理および
濃度調整処理について説明する。図20において、(a)
は処理動作を規定するクロック信号CLKを示し、(b)
はA/Dコンバータ17から1画素毎に入力されるイメ
ージIDを示し、(c) は処理内容を表し、(d) はメモリ
18からの読出データを示し、(e) はメモリ18への書
込データを示し、(f) はアドレス生成回路87が内部に
有するアドレスカウンタ41(図2参照。)の発生値を
示し、(g) はリードレジスタ84の保持内容を示してい
る。さらに、(h) は除算回路86における被除数データ
を表し、(i) は除数データを表し、(j) は除算データを
表している。また、(k) は第1の加算器81の入力端子
Aから取り込まれるデータを表し、(l) は入力端子Bか
ら取り込まれるデータを表し、(m) はその出力データを
表している。さらに、(n),(o),(p),(q) はそれぞれレジ
スタ90,91,92,93の保持内容を表している。
The output of the second adder 82 is also fed back to the input terminal B as it is. Further, this output is fed back to the input terminal B via the registers 95 and 96. Furthermore, the output of the second adder 82 is the binarization determination circuit 88.
Is also given to. 20 and 21 are timing charts for explaining the operation. First, the shading correction process, the filter process, and the density adjustment process will be described with reference to FIG. In FIG. 20, (a)
Indicates a clock signal CLK that defines the processing operation, (b)
Indicates an image ID input from the A / D converter 17 for each pixel, (c) indicates processing contents, (d) indicates read data from the memory 18, and (e) indicates writing to the memory 18. 7F shows the embedded data, (f) shows the generated value of the address counter 41 (see FIG. 2) inside the address generation circuit 87, and (g) shows the contents held in the read register 84. Furthermore, (h) represents dividend data in the division circuit 86, (i) represents divisor data, and (j) represents division data. Further, (k) represents data taken in from the input terminal A of the first adder 81, (l) represents data taken in from the input terminal B, and (m) represents its output data. Furthermore, (n), (o), (p) and (q) represent the contents held in the registers 90, 91, 92 and 93, respectively.

【0103】はじめに、メモリ18に関連する動作につ
いて、下記表3を参照して説明する。
First, the operation relating to the memory 18 will be described with reference to Table 3 below.

【0104】[0104]

【表3】 [Table 3]

【0105】各画素に対する処理は、第1サイクルから
第8サイクルまでの8サイクルで終了する。第1サイク
ル(WST)では、メモリ18から白基準データWST
が読み出され、アドレスカウンタ41の値は現時点の値
から−2だけデクリメントされる。第2サイクル(A)
では、シェーディング補正後のデータがメモリ18から
読み出され、アドレスカウンタ41の値は変化させられ
ない。この第2サイクル(A)で読み出されるシェーデ
ィング補正後のデータは、図5において頭文字Aを付し
て示した前々ラインのデータである。
The processing for each pixel is completed in 8 cycles from the first cycle to the eighth cycle. In the first cycle (WST), the white reference data WST is read from the memory 18.
Is read and the value of the address counter 41 is decremented by -2 from the current value. Second cycle (A)
Then, the data after the shading correction is read from the memory 18, and the value of the address counter 41 is not changed. The data after the shading correction that is read in the second cycle (A) is the data of the pre-previous line indicated by adding the initial letter A in FIG.

【0106】第3サイクル(B)では、シェーディング
補正後のデータの書込が行われ、アドレスカウンタ41
の値は−1デクリメントされる。このとき書き込まれる
データは、図5において頭文字Bを付して示す現ライン
のデータである。第4サイクル(X)では、第2サイク
ル(A)と同様にシェーディング補正後のデータの読出
が行われ、アドレスカウンタ41の値は変化しない。こ
の第4サイクル(X)で読み出されるデータは、図5に
おいて頭文字Xを付して示した前ラインのデータであ
る。
In the third cycle (B), data after shading correction is written, and the address counter 41
The value of is decremented by -1. The data written at this time is the data of the current line indicated by the initial letter B in FIG. In the fourth cycle (X), the data after the shading correction is read as in the second cycle (A), and the value of the address counter 41 does not change. The data read in the fourth cycle (X) is the data of the previous line indicated by adding the initial letter X in FIG.

【0107】第5サイクル(RGn)では、誤差拡散処
理において生成された上記第(16)式の累積誤差値RGn
がメモリ18に書き込まれる。このときアドレスカウン
タ41の値は、+3インクリメントされる。第6サイク
ル(RGm)では、前ラインの誤差拡散処理において得
られた上記第(11)式の累積誤差値RGmがメモリ18か
ら読み出され、アドレスカウンタ41の値は変化させら
れない。
In the fifth cycle (RGn), the accumulated error value RGn of the above equation (16) generated in the error diffusion processing is generated.
Are written in the memory 18. At this time, the value of the address counter 41 is incremented by +3. In the sixth cycle (RGm), the accumulated error value RGm of the above equation (11) obtained in the error diffusion processing of the previous line is read from the memory 18, and the value of the address counter 41 is not changed.

【0108】第7サイクル(BST)では、黒基準デー
タBSTが読み出される。このとき、アドレスカウンタ
41の値は不変とされる。第8サイクル(GOUT)で
は、γ補正テーブル(図6参照。)から生成されるγ補
正後のデータGOUTの読込が行われ、アドレスカウン
タ41の値が+1インクリメントされる。
In the seventh cycle (BST), the black reference data BST is read. At this time, the value of the address counter 41 remains unchanged. In the eighth cycle (GOUT), the γ-corrected data GOUT generated from the γ-correction table (see FIG. 6) is read, and the value of the address counter 41 is incremented by +1.

【0109】イメージデータIDは、第1画素のイメー
ジデータID1から順に、ID1,ID2,・・・・の順に
与えられる。図20には第8画素目のイメージデータI
D8からが表されている。第8画素目のイメージID8
の入力される期間に、先ず、第1サイクル(WST)で
は、アドレスカウンタ41が指示する第9番目の画素に
対応してメモリ18に記憶されている黒基準データWS
T9が読み出される。この読み出されたデータはクロッ
ク信号CLKの立ち上がりでレジスタ91に保持され
る。
The image data ID is given in order from the image data ID1 of the first pixel to ID1, ID2, ... FIG. 20 shows the image data I of the eighth pixel.
From D8 is represented. Image ID 8 of the 8th pixel
In the first cycle (WST), the black reference data WS stored in the memory 18 corresponding to the ninth pixel designated by the address counter 41
T9 is read. The read data is held in the register 91 at the rising edge of the clock signal CLK.

【0110】アドレスカウンタ41の指示値は−2だけ
デクリメントされて「7」となり、第2サイクル(A)
では、前々ラインの第7画素目のシェーディング補正後
のデータA7が読み出される。このデータA7は、リー
ドレジスタ84に保持され、さらに、第1の加算器81
の一方の入力端子Aに与えられる。加算器81の他方の
入力端子Bには、除算回路86から出力される現ライン
の第8画素目に対応したシェーディング補正後のデータ
SOUT7がデータB7として与えられる。これによ
り、第7番目の画素に対して前々ラインのデータA7と
現ラインのデータB7との和(A7+B7)が加算器8
1の出力端子に導出される。
The instruction value of the address counter 41 is decremented by -2 to "7", and the second cycle (A)
Then, the data A7 after the shading correction of the seventh pixel in the line before the previous line is read. This data A7 is held in the read register 84, and further the first adder 81
Is applied to one input terminal A. To the other input terminal B of the adder 81, the data SOUT7 after shading correction corresponding to the eighth pixel of the current line output from the division circuit 86 is given as the data B7. As a result, the sum (A7 + B7) of the data A7 on the previous line and the data B7 on the current line for the seventh pixel is the adder 8
1 to the output terminal.

【0111】第2サイクル(A)ではアドレスカウンタ
41の指示値は「7」に保たれ、第3サイクル(B)で
は、第7画素目に対応したシェーディング補正後データ
SOUT7が、データA7が記憶されていた位置に格納
される。すなわち、前々ラインのシェーディング補正補
正後のデータが読み出された記憶アドレスに、現ライン
のシェーディング補正後のデータが書き込まれる。
In the second cycle (A), the instruction value of the address counter 41 is kept at "7", and in the third cycle (B), the shading-corrected data SOUT7 and the data A7 corresponding to the seventh pixel are stored. It is stored in the position where it was. That is, the data after the shading correction of the current line is written to the storage address from which the data after the shading correction of the previous line is read.

【0112】第1の加算器81における上記の(A7+
B7)の演算は、第3サイクル(B)に行われる。この
演算は、上述のフィルタ処理における画素データAn
nとの加算に相当する。この第3サイクル(B)にお
ける加算演算のビット計算式は、図22に示されてい
る。すなわち、7ビットのデータAと7ビットのデータ
Bとが加算されて、8ビットのデータ(A+B)が得ら
れる。なお、図において、A(0),A(1),・・・・, B(0),B
(1),・・・・, A+B(0),A+B(1),・・・・などは、各ビット
毎の「0」または「1」のデータを表す。
The above (A7 +) in the first adder 81
The calculation of B7) is performed in the third cycle (B). This calculation corresponds to the addition of the pixel data A n and B n in the above filter processing. The bit calculation formula of the addition operation in the third cycle (B) is shown in FIG. That is, 7-bit data A and 7-bit data B are added to obtain 8-bit data (A + B). In the figure, A (0), A (1), ..., B (0), B
(1), ..., A + B (0), A + B (1), ... Represents “0” or “1” data for each bit.

【0113】さて、イメージデータID8に対する第3
サイクル(B)で得られた加算値(A7+B7)は、第
4サイクル(X)において、データレジスタ90に格納
されるとともに、加算器81の入力端子Bに与えられ
る。この第4サイクル(X)では、データレジスタ93
に保持されていたデータ(A5+B5)が第1の加算器
81の入力端子Aに取り込まれる。すなわち、第4サイ
クル(X)では、第7画素目に対応したデータ(A7+
B7)がデータレジスタ90に保持されており、第6画
素目に対応したデータ(A6+B6)がデータレジスタ
92に保持されており、第5画素目に対応したデータ
(A5+B5)がデータレジスタ93に保持されてい
る。したがって、データA7,B7が図5のデータ
n ,Bn に相当するとすれば、データA5,B5はそ
れぞれデータAn-2 ,Bn-2 に対応する。
Now, the third for the image data ID8
The added value (A7 + B7) obtained in the cycle (B) is stored in the data register 90 and given to the input terminal B of the adder 81 in the fourth cycle (X). In the fourth cycle (X), the data register 93
The data (A5 + B5) held in the above is taken into the input terminal A of the first adder 81. That is, in the fourth cycle (X), the data (A7 +) corresponding to the seventh pixel
B7) is held in the data register 90, data (A6 + B6) corresponding to the sixth pixel is held in the data register 92, and data (A5 + B5) corresponding to the fifth pixel is held in the data register 93. Has been done. Therefore, if the data A7 and B7 correspond to the data A n and B n in FIG. 5, the data A5 and B5 correspond to the data A n-2 and B n-2 , respectively.

【0114】第1の加算器81での加算結果である下記
第(17)式の4AVは出力端子に導出される。 4AV=(A7+B7)+(A5+B5) ・・・・ (17) この加算演算のビット計算式は、図23に示されてお
り、データ(A7+B7)に相当する8ビットのデータ
(A+B)と、データ(A5+B6)に相当するデータ
(A+B)′とが加算され、9ビットの加算結果4AV
が得られる。この9ビットのデータ4AVは、加算対象
となった4画素のデータA7,B7,A5,B5の平均
値AVの4倍に相当する。
4AV of the following expression (17), which is the addition result of the first adder 81, is led to the output terminal. 4AV = (A7 + B7) + (A5 + B5) (17) The bit calculation formula of this addition operation is shown in FIG. 23, and 8-bit data (A + B) corresponding to data (A7 + B7) and data The data (A + B) 'corresponding to (A5 + B6) is added, and the 9-bit addition result 4AV
Is obtained. The 9-bit data 4AV corresponds to four times the average value AV of the data A7, B7, A5, B5 of the four pixels that are the addition targets.

【0115】第3サイクル(B)ではアドレスカウンタ
41の値が−1デクリメントされるから、第4サイクル
(X)では、第6画素目のシェーディング補正後のデー
タX6が目18から読み出される。このデータX6は、
データA7,B7が図5のデータAn ,Bn に対応する
とき、データXn-1 に相当する。メモリ18から読み出
されたデータX6は、第5サイクル(RGn)において
リードレジスタ84から第1の加算器81の入力端子A
に与えられる。このとき、後述するビット操作により、
データX6を2倍したデータ2X6が入力端子Aに与え
られることになる。また、入力端子Bには、第4サイク
ル(X)における加算器81の出力である4AVを後述
のビット操作により2で除した値2AVが入力される。
このとき入力される2AVは反転して入力され、したが
って、加算器81では、下記第(18)式の演算が行われ
る。
Since the value of the address counter 41 is decremented by -1 in the third cycle (B), the data X6 after the shading correction of the sixth pixel is read from the eye 18 in the fourth cycle (X). This data X6 is
When the data A7 and B7 correspond to the data A n and B n in FIG. 5, they correspond to the data X n-1 . The data X6 read from the memory 18 is read from the read register 84 to the input terminal A of the first adder 81 in the fifth cycle (RGn).
Given to. At this time, by the bit operation described later,
The data 2X6 which is twice the data X6 is supplied to the input terminal A. Further, a value 2AV obtained by dividing 4AV which is the output of the adder 81 in the fourth cycle (X) by 2 by a bit operation described later is input to the input terminal B.
The 2AV input at this time is inverted and input, and therefore the adder 81 performs the operation of the following expression (18).

【0116】[0116]

【数9】 [Equation 9]

【0117】この第(18)式と上述の第(3) 式とを比較す
ることにより、上記第(18)式の値は、前ラインの第6番
目の画素に対応した差分Sに他ならないことが理解され
る。第5サイクル(RGn)におけるビット計算式は、
図23に示されているとおりである。すなわち、第4サ
イクル(X)で演算されたデータ4AVは、反転され
(図23中においてオーバーラインを付して示す。)、
さらに1ビットだけ下位側にシフトされ、これによりデ
ータ−2AVが作成される。そして、データ4AVの最
下位ビットAV(0) がデータX6に相当するデータXの
下位に付け足され、これによりデータXを2倍したデー
タ2Xが作成される。そして、データ2Xとデータ−2
AVとの加算が行われ、上記第(18)式で示された演算に
より、9ビットの差分Sが得られる。
By comparing this equation (18) with the above equation (3), the value of the above equation (18) is nothing but the difference S corresponding to the sixth pixel of the previous line. Be understood. The bit calculation formula in the fifth cycle (RGn) is
As shown in FIG. 23. That is, the data 4AV calculated in the fourth cycle (X) is inverted (shown with an overline in FIG. 23),
Further, it is shifted to the lower side by one bit, and data-2AV is created. Then, the least significant bit AV (0) of the data 4AV is added to the lower order of the data X corresponding to the data X6, and thereby the data 2X which is twice the data X is created. And data 2X and data-2
The addition with AV is performed, and the difference S of 9 bits is obtained by the calculation shown in the equation (18).

【0118】なお、上記のデータ4AVおよびデータX
に対するビット操作により、上記第(3) 式の乱数(R1
+R2−1)が生じる。このようにして演算された差分
Sは、次の第6サイクル(RGm)において、加算器8
1の入力端子Bに与えられ、(X6+S)が演算され
る。そして、差分値Sおよび加算結果(X6+S)の値
に応じて、上記表1に示されたデータ加工方法に適合す
るようにデータが選択され、選択されたデータが第8サ
イクル(BSTにおいて、フィルタ処理後のデータFO
UT6としてデータレジスタ90に書き込まれることに
なる。
The above-mentioned data 4AV and data X
Bit manipulation on the random number (R1
+ R2-1) occurs. The difference S thus calculated is added by the adder 8 in the next sixth cycle (RGm).
1 is applied to the input terminal B, and (X6 + S) is calculated. Then, according to the difference value S and the value of the addition result (X6 + S), the data is selected so as to conform to the data processing method shown in Table 1 above, and the selected data is the eighth cycle (in the BST, the filter is used). Data FO after processing
It is written in the data register 90 as UT6.

【0119】第6サイクル(RGm)でのビット計算
は、図23に示されているように、第5サイクルで作成
されたデータSの下位7ビットと7ビットのデータXと
を加算するようにして行われる。これにより、8ビット
のデータXSが得られる。フィルタ処理後のデータFO
UT6はまた、第8サイクル(BST)おいて加算器8
1の入力端子Bにも与えられる。このとき、加算器81
の入力端子Aには、フィルタ処理されたデータFOUT
6の画素位置に対応する濃度補正データWDが与えられ
る。
The bit calculation in the sixth cycle (RGm) is performed by adding the lower 7 bits of the data S created in the fifth cycle and the 7-bit data X, as shown in FIG. Is done. As a result, 8-bit data XS is obtained. Data FO after filtering
The UT6 also adds the adder 8 in the eighth cycle (BST).
1 is also applied to the input terminal B. At this time, the adder 81
The filtered data FOUT
The density correction data WD corresponding to the 6 pixel positions is given.

【0120】このため、加算器81の出力は、図8など
に示された濃度調整処理が施された下記第(19)式のデー
タWOUT6となる。 WOUT6=FOUT6+WD ・・・・ (19) このデータWOUT6に基づいて後述のγ補正が行わ
れ、γ補正後のデータGOUTが得られる。
Therefore, the output of the adder 81 becomes the data WOUT6 of the following formula (19) which has been subjected to the density adjustment processing shown in FIG. WOUT6 = FOUT6 + WD (19) Based on this data WOUT6, γ correction described later is performed, and γ-corrected data GOUT is obtained.

【0121】濃度調整のための上記第(19)式の加算演算
は第7サイクル(BST)で行われ、γ補正は第8サイ
クル(GOUT)で行われる。この第7および第8サイ
クルでのビット計算式は、図23に示すとおりである。
第8サイクル(BST)では、アドレスカウンタ41の
値は「9」であるから、第9番目の画素と組み合わせて
記憶された黒基準データBST9がメモリ18から読み
出される。加算器81の入力端子Bには、図19には図
示されていないレジスタからオフセットOFFSETが
反転されて与えられる。そして BST′9=BST9−OFFSET ・・・・ (20) が演算される。
The addition operation of the equation (19) for density adjustment is performed in the seventh cycle (BST), and the γ correction is performed in the eighth cycle (GOUT). The bit calculation formulas in the seventh and eighth cycles are as shown in FIG.
In the eighth cycle (BST), since the value of the address counter 41 is “9”, the black reference data BST9 stored in combination with the ninth pixel is read from the memory 18. The offset OFFSET is inverted and given to the input terminal B of the adder 81 from a register not shown in FIG. Then, BST'9 = BST9-OFFSET (20) is calculated.

【0122】第8サイクル(BST)における加算器8
1でのビット計算式は、図24に示されている。すなわ
ち、黒基準データBST9に相当する7ビットのデータ
BSTから7ビットのオフセットOFFSETが減じら
れ、データBST′9に相当する8ビットのデータBS
T′が得られる。この演算された値BST′9は、図2
0に示すように、第9番目の画素のイメージデータID
9に対応した第1サイクル(WST)において、加算器
81の入力端子Bに与えられ、またデータレジスタ90
に保持される。この第1サイクル(WST)では、デー
タレジスタ91に保持されている白基準データWST9
が加算器81の入力端子Aに与えられる。そして、加算
器81では、下記第(21)式に示す演算が行われることに
なる。
Adder 8 in the eighth cycle (BST)
The bit calculation formula for 1 is shown in FIG. That is, 7-bit offset OFFSET is subtracted from 7-bit data BST corresponding to black reference data BST9 to obtain 8-bit data BS corresponding to data BST'9.
T'is obtained. This calculated value BST'9 is shown in FIG.
As shown in 0, the image data ID of the 9th pixel
9 is applied to the input terminal B of the adder 81 in the first cycle (WST) and the data register 90
Held in. In the first cycle (WST), the white reference data WST9 held in the data register 91.
Is applied to the input terminal A of the adder 81. Then, in the adder 81, the calculation shown in the following Expression (21) is performed.

【0123】 WST9−BST′9 ・・・・ (21) この第1サイクル(WST)におけるビット計算は、図
24に示されているとおりである。すなわち、データW
ST9に相当する7ビットのデータWSTからデータB
ST′9に相当する7ビットのデータBST′が減じら
れ、8ビットのデータ(W−B′)が得られる。このデ
ータ(W−B′)は、上記第(21)式の値(WST9−B
ST′9)に相当する。
WST9-BST'9 (21) The bit calculation in this first cycle (WST) is as shown in FIG. That is, the data W
Data B from 7-bit data WST corresponding to ST9
The 7-bit data BST 'corresponding to ST'9 is subtracted to obtain 8-bit data (WB'). This data (W-B ') is the value (WST9-B) of the equation (21).
This corresponds to ST'9).

【0124】続く第2サイクル(A)では、図20に示
すように、上記第(21)式の値は、除算回路86に除数デ
ータとして取り込まれる。また、加算器81の入力端子
Bには、データレジスタ90からの値BST′9が与え
られる。その一方で、入力端子Aには、イメージデータ
ID9が取り込まれる。そして、下記第(22)式の演算が
行われる。
In the subsequent second cycle (A), as shown in FIG. 20, the value of the equation (21) is taken into the division circuit 86 as divisor data. Further, the value BST ′ 9 from the data register 90 is given to the input terminal B of the adder 81. On the other hand, the input terminal A receives the image data ID9. Then, the calculation of the following formula (22) is performed.

【0125】 ID9−BST′9 ・・・・ (22) この演算のビット計算式は、図24に示すとおりであ
る。すなわち、イメージデータID9に相当する7ビッ
トのデータIDから、データBST′9に相当する7ビ
ットのデータBST′が減じられ、8ビットのデータ
(I−B′)が得られる。このデータ(I−B′)は、
上記第(22)式のデータ(ID9−BST′9)に相当す
る。
ID9-BST′9 (22) The bit calculation formula of this operation is as shown in FIG. That is, the 7-bit data ID corresponding to the image data ID9 is subtracted from the 7-bit data BST 'corresponding to the data BST'9 to obtain 8-bit data (IB'). This data (IB ') is
This corresponds to the data (ID9-BST'9) in the equation (22).

【0126】続く第3サイクル(B)において、上記第
(22)式の値は、第20図に示されているように、被除数
データとして除算回路86に取り込まれることになる。
そして、クロックCLKが7個入力される期間に、下記
第(23)式で示す除算が行われ、その除算結果が第9番目
の画素に対するシェーディング補正後のデータSOUT
9とされる。
In the following third cycle (B), the above-mentioned
As shown in FIG. 20, the value of the equation (22) is taken in by the division circuit 86 as dividend data.
Then, during the period in which seven clocks CLK are input, the division shown by the following equation (23) is performed, and the division result is the data SOUT after the shading correction for the ninth pixel.
9

【0127】[0127]

【数10】 [Equation 10]

【0128】この第(23)式の値がシェーディング補正を
施した値であることは、上記の第(1) 式との比較から明
らかであろう。さて、このシェーディング補正後のデー
タSOUT9は、第10画素目のイメージデータID1
0に対する第3サイクル(B)において、メモリ18に
書き込まれる。このときのデータ書込位置は、その直前
にフィルタ処理のために読み出された前々ラインのシェ
ーディング補正後のデータA9の読出位置である。
It will be apparent from the comparison with the above equation (1) that the value of the equation (23) is the value after shading correction. Now, the data SOUT9 after the shading correction is the image data ID1 of the tenth pixel.
In the third cycle (B) for 0, it is written in the memory 18. The data writing position at this time is the reading position of the data A9 after the shading correction of the previous-before line which was read out immediately before that for the filter processing.

【0129】上記第(23)式の除算演算のビット計算式
は、図24に示されているとおりである。すなわち、第
2サイクルで得られたデータ(I−B′) の下位7ビッ
ト分をとり、その下位側に1ビット付加して全体で8ビ
ットのデータを作成する。そして、この8ビットのデー
タ(I−B′)から第1サイクルで演算されたデータ
(W−B′)の下位7ビットを減じる。この減算の結果
として、第1〜第8ビットには8ビットのデータDIV
が得られ、第9ビット目には減算が可能であったかどう
かに応じて「1」または「0」のデータSOUT(k)
(ただし、0≦k≦7である。)が得られる。
The bit calculation formula of the division operation of the above formula (23) is as shown in FIG. That is, the lower 7 bits of the data (IB ') obtained in the second cycle are taken, and 1 bit is added to the lower side to create a total of 8 bits of data. Then, the lower 7 bits of the data (WB ') calculated in the first cycle are subtracted from the 8-bit data (IB'). As a result of this subtraction, 8-bit data DIV is included in the first to eighth bits.
Is obtained, and the data SOUT (k) of "1" or "0" is obtained in the 9th bit depending on whether or not the subtraction was possible.
(However, 0 ≦ k ≦ 7) is obtained.

【0130】そして、減算が可能であったときには、減
算結果を上位側に1ビットシフトさせたデータから除数
データ(W−B′)を減じ、減算ができなかったときに
は、減算の対象となったデータ(I−B′)を1ビット
上位側にシフトして再び減算の対象として用いる。この
ような動作を7回に渡って繰り返し、各減算演算におい
て得られるデータSOUT(k) を蓄積していくことによ
り、7ビットのデータSOUTが得られる。このデータ
SOUTは上記第(23)式のデータSOUT9に相当し、
シェーディング補正後のデータとなる。
Then, when the subtraction is possible, the divisor data (WB ') is subtracted from the data obtained by shifting the subtraction result by 1 bit to the upper side, and when the subtraction is not possible, it becomes the target of the subtraction. The data (IB ') is shifted to the upper side by 1 bit and used again as a target of subtraction. By repeating such an operation seven times and accumulating the data SOUT (k) obtained in each subtraction operation, the 7-bit data SOUT can be obtained. This data SOUT corresponds to the data SOUT9 of the equation (23),
The data will be after shading correction.

【0131】次に、図21のタイミングチャートを参照
して、γ補正処理および誤差拡散処理について説明す
る。図21において、(a) 〜(g) の内容は図20(a) 〜
(g) と同一である。そして、(r) には第2の加算器82
の入力端子Aに与えられるデータが示されており、(s)
にはその入力端子Bに与えられるデータが示されてお
り、(t) にはその出力端子に導出される演算結果のデー
タが示されている。さらに、(u),(v),(w),(x),(y),(z)
にはレジスタ94,95,96,97,98,99の保
持データがそれぞれ示されている。
Next, the γ correction process and the error diffusion process will be described with reference to the timing chart of FIG. In FIG. 21, the contents of (a) to (g) are shown in FIG.
Same as (g). The second adder 82 is added to (r).
The data given to the input terminal A of is shown, (s)
Shows the data given to its input terminal B, and (t) shows the data of the operation result derived at its output terminal. Furthermore, (u), (v), (w), (x), (y), (z)
Data stored in the registers 94, 95, 96, 97, 98, 99 are shown in FIG.

【0132】第9番目の画素に対応したイメージデータ
ID9に対する第7サイクル(BST)で加算器81か
ら濃度調整後のデータWOUT7(図20参照。)が出
力さされると、アドレス生成部87はγ補正テーブルの
アドレスを生成する。濃度調整後のデータWOUT7は
上述のようにγ補正テーブルのアドレスの一部をなす。
When the density-adjusted data WOUT7 (see FIG. 20) is output from the adder 81 in the seventh cycle (BST) for the image data ID9 corresponding to the ninth pixel, the address generation unit 87 outputs γ. Generate the address of the correction table. The data WOUT7 after the density adjustment constitutes a part of the address of the γ correction table as described above.

【0133】これにより、第8サイクル(GOUT)で
は、メモリ18からγ補正後のデータGOUT7が読み
出され、γ補正が達成される(図23参照。)。γ補正
後のデータGOUT7は、第10画素目のイメージデー
タID10に対応した第1サイクル(WST)におい
て、誤差拡散処理における注目画素のデータGOUT
(X7)としてリードレジスタ84から、第2の加算器
82の入力端子Aに入力される。このとき、加算器82
の入力端子Bには、その出力端子から累積誤差RGが与
えられる。
As a result, in the eighth cycle (GOUT), the data GOUT7 after γ correction is read from the memory 18, and γ correction is achieved (see FIG. 23). The data GOUT7 after the γ correction is the data GOUT of the pixel of interest in the error diffusion processing in the first cycle (WST) corresponding to the image data ID10 of the tenth pixel.
(X7) is input from the read register 84 to the input terminal A of the second adder 82. At this time, the adder 82
The accumulated error RG is applied to the input terminal B of the output terminal from the output terminal.

【0134】この累積誤差RGは、上記第(11)式に示さ
れた累積誤差RG(m)に相当する。すなわち、データ
GOUT(X7)に対応する画素が図18における注目
画素Aである場合における周辺画素データG,F,E,
D,C,Bの各発生誤差HGに誤差拡散係数を乗じた値
を加算した値である。データGOUT(X7)は入力さ
れるイメージデータIDを現ラインのデータとすると、
前ラインの第7画素目に相当する。
This accumulated error RG corresponds to the accumulated error RG (m) shown in the above equation (11). That is, when the pixel corresponding to the data GOUT (X7) is the target pixel A in FIG. 18, the peripheral pixel data G, F, E,
This is a value obtained by adding a value obtained by multiplying each of the D, C, and B generated errors HG by the error diffusion coefficient. The data GOUT (X7) is the image data ID of the current line when the input image data ID is
It corresponds to the 7th pixel in the previous line.

【0135】より具体的に述べれば、前々ラインの第6
画素目のデータA6、第7画素目のデータA7、第8画
素目のデータA8および第9画素目のデータA9、なら
びに前ラインの第5画素目のデータX5および第6画素
目のデータX6に対してそれぞれ発生した二値化誤差H
Gに誤差拡散係数を乗じて加算した値が、第1サイクル
(WST)で入力される累積誤差RGである。RAND
は乱数である。この乱数RANDについては後述する。
More specifically, the sixth line of the line before the previous line
The data A6 of the pixel, the data A7 of the seventh pixel, the data A8 of the eighth pixel and the data A9 of the ninth pixel, and the data X5 of the fifth pixel and the data X6 of the sixth pixel in the previous line Binarization error H
The value obtained by multiplying G by the error diffusion coefficient and adding is the cumulative error RG input in the first cycle (WST). RAND
Is a random number. The random number RAND will be described later.

【0136】上記の結果、第1サイクル(WST)およ
び第2サイクル(A)では、加算器82の出力端子に
は、下記第(24)式に示すデータT(X7)が導出され
る。 T(X7)=GOUT(X7)+RG ・・・・ (24) このようにして、誤差拡散処理における上記の〔処理
3〕が行われる。すなわち、上記のデータT(X7)
は、二値化判定対象となる第(13)式のT(A)に相当す
る。
As a result, in the first cycle (WST) and the second cycle (A), the data T (X7) shown in the following expression (24) is derived from the output terminal of the adder 82. T (X7) = GOUT (X7) + RG (24) In this way, the above [Process 3] in the error diffusion process is performed. That is, the above data T (X7)
Corresponds to T (A) in the equation (13) that is the target of the binarization determination.

【0137】この加算演算のビット計算式は、図25に
示されている。すなわち、第1サイクル(WST)およ
び第2サイクル(A)において、6ビットのデータGO
UTと7ビットのデータRGとが加算され、8ビットの
データTが得られる。第3サイクル(B)では、上記の
データT(X7)が二値化判定回路88に与えられて二
値化判定処理が行われ、二値化されたデータBIN(X
7)がレジスタ99に保持される。一方、二値化判定回
路88では、図25に示されているように二値化閾値と
データT(X7)との比較に基づいて、データT(X
7)に対する二値化誤差データHG(X7)が生成され
る。
The bit calculation formula of this addition operation is shown in FIG. That is, in the first cycle (WST) and the second cycle (A), 6-bit data GO
The UT and 7-bit data RG are added to obtain 8-bit data T. In the third cycle (B), the above-mentioned data T (X7) is given to the binarization determination circuit 88 and binarization determination processing is performed, and the binarized data BIN (X
7) is held in the register 99. On the other hand, in the binarization determination circuit 88, as shown in FIG. 25, based on the comparison between the binarization threshold and the data T (X7), the data T (X
Binarization error data HG (X7) for 7) is generated.

【0138】この生成された二値化誤差データHG(X
7)は、図21に示されているように、加算器82の入
力端子Aに与えられる。このとき、入力端子Bには、レ
ジスタ96の保持データRG(X4+X5)が与えられ
る。このデータRG(X4+X5)は、データX7に相
当する画素が図18の画素Aであるとき、図18の画素
XおよびCで発生した二値化誤差に誤差拡散係数を乗じ
て加算した値に相当する。
The generated binarization error data HG (X
7) is applied to the input terminal A of the adder 82, as shown in FIG. At this time, the input terminal B is supplied with the data RG (X4 + X5) held in the register 96. This data RG (X4 + X5) corresponds to a value obtained by multiplying the binarization error generated in the pixels X and C in FIG. 18 by the error diffusion coefficient and adding the pixel when the pixel corresponding to the data X7 is the pixel A in FIG. To do.

【0139】すなわち、データX4,X5に相当する画
素での二値化誤差をそれぞれH(X4),H(X5)と
すると、
That is, if the binarization errors in the pixels corresponding to the data X4 and X5 are H (X4) and H (X5), respectively,

【0140】[0140]

【数11】 [Equation 11]

【0141】と表される。そして、二値化誤差HG(X
7)に誤差拡散係数1/8を乗じて、上記の累積誤差R
G(X4+X5)を加算した値RG(X4+X5+X
7)が出力端子に導出される。第3サイクル(B)にお
けるビット計算式は、図26に示されている。すなわ
ち、第2サイクル(A)で生成された8ビットの二値化
誤差HG(X7)は、3ビットだけ下位側にシフトされ
て1/8倍の値とされた後に、8ビットの累積誤差ある
RG(X4+X5)に乗じられる。これにより、下記第
(26)式で示す累積誤差RG(X4+X5+X7)が得ら
れる。このようにして、上記の〔処理5〕が行われるこ
とになる。
It is represented by Then, the binarization error HG (X
7) is multiplied by the error diffusion coefficient ⅛ to obtain the above cumulative error R
Value obtained by adding G (X4 + X5) RG (X4 + X5 + X
7) is led to the output terminal. The bit calculation formula in the third cycle (B) is shown in FIG. That is, the 8-bit binarization error HG (X7) generated in the second cycle (A) is shifted to the lower side by 3 bits to be ⅛ times, and then the 8-bit accumulated error is generated. It is multiplied by a certain RG (X4 + X5). As a result,
The accumulated error RG (X4 + X5 + X7) shown in the equation (26) is obtained. In this way, the above [Process 5] is performed.

【0142】[0142]

【数12】 [Equation 12]

【0143】演算された累積誤差RG(X4+X5+X
7)は、次に第4サイクル(X)において、加算器82
の入力端子Bに与えられる。このとき入力端子Aには、
レジスタ98から前ラインの第6番目の画素での二値化
誤差HG(X6)が与えられる。この第4サイクル
(X)および第5サイクル(RGn)では、第26図に
ビット計算式を示すように、二値化誤差HG(X6)は
3ビットだけ下位側にシフトされて1/8倍の値とさ
れ、この値と累積誤差RG(X4+X5+X7)とが加
算される。これにより、下記第(27)式に示す累積誤差R
G(X4〜X7)が得られる。これにより、誤差拡散処
理における上記の〔処理6〕が行われる。
Calculated cumulative error RG (X4 + X5 + X
7) next, in the fourth cycle (X), the adder 82
Is applied to the input terminal B of. At this time, the input terminal A is
The binarization error HG (X6) at the sixth pixel on the previous line is given from the register 98. In the fourth cycle (X) and the fifth cycle (RGn), as shown in the bit calculation formula in FIG. 26, the binarization error HG (X6) is shifted to the lower side by 3 bits and is multiplied by 1/8. And the cumulative error RG (X4 + X5 + X7) is added. As a result, the accumulated error R shown in the following equation (27)
G (X4 to X7) is obtained. As a result, the above [Process 6] in the error diffusion process is performed.

【0144】[0144]

【数13】 [Equation 13]

【0145】この演算された累積誤差RG(X4〜X
7)は、レジスタ94に書き込まれるとともに、メモリ
18に書き込まれ、現ラインの画素についての誤差拡散
処理が行われるときに用いられる。第6サイクル(RG
m)では、レジスタ97に保持されているデータX7に
対応した二値化誤差HG(X7)が加算器82に入力端
子Aに与えられる。そして、レジスタ98に保持されて
いるデータX6に対応する二値化誤差HG(X6)が入
力端子Bに与えられる。そして、図25に示されたビッ
ト計算により、下記第(28)式で示す累積誤差RG(X6
+X7)が演算される。これにより、上述の〔処理1〕
が行われることになる。
This calculated cumulative error RG (X4 to X
7) is written in the register 94 and the memory 18, and is used when the error diffusion processing is performed on the pixels of the current line. 6th cycle (RG
In m), the binarization error HG (X7) corresponding to the data X7 held in the register 97 is given to the input terminal A of the adder 82. Then, the binarization error HG (X6) corresponding to the data X6 held in the register 98 is given to the input terminal B. Then, by the bit calculation shown in FIG. 25, the accumulated error RG (X6
+ X7) is calculated. Thereby, the above [Process 1]
Will be done.

【0146】[0146]

【数14】 [Equation 14]

【0147】得られた累積誤差RG(X6+X7)は、
図21に示されているように、次の第7サイクル(BS
T)において加算器82の入力端子Bに与えられる。こ
のとき入力端子Aには、現に入力されているイメージデ
ータIDに相当するラインを現ラインとして、前々ライ
ンの画素に対して誤差拡散処理が行われた際に求められ
た累積誤差RG(A7〜A10)が与えられる。この累
積誤差RG(A7〜A10)は、第6サイクル(RG
m)において、メモリ18からデータRGmとして読み
出され、第7サイクル(BST)において、リードレジ
スタ84から加算器82の入力端子Aに与えられるもの
である。
The obtained cumulative error RG (X6 + X7) is
As shown in FIG. 21, the next 7th cycle (BS
In T), it is given to the input terminal B of the adder 82. At this time, at the input terminal A, the line corresponding to the image data ID currently input is taken as the current line, and the accumulated error RG (A7 ~ A10) is given. This accumulated error RG (A7 to A10) is equal to the sixth cycle (RG
m), the data is read from the memory 18 as the data RGm, and given from the read register 84 to the input terminal A of the adder 82 in the seventh cycle (BST).

【0148】累積誤差RG(A7〜A10)は、次に誤
差拡散処理を施すべきデータX8に対応したデータであ
る。すなわち、前ラインの第8画素目のデータX8が、
図18の画素Aに相当するとすれば、画素G,F,E,
Dに相当する前々ラインの第7画素目から第10画素目
のデータA7〜A10での二値化誤差の累積値が累積誤
差RG(A7〜A10)である。具体的には、データA
7〜A10に対応する二値化誤差をそれぞれHG(A
7),HG(A8),HG(A9),HG(A10)と
すれば、累積誤差(A7〜A10)は下記第(29)式の値
となる。
The accumulated error RG (A7 to A10) is data corresponding to the data X8 to be subjected to the error diffusion processing next. That is, the data X8 of the eighth pixel on the previous line is
If it corresponds to the pixel A in FIG. 18, the pixels G, F, E,
The cumulative value of the binarization error in the data A7 to A10 of the 7th pixel to the 10th pixel of the previous-before line corresponding to D is the cumulative error RG (A7 to A10). Specifically, data A
The binarization errors corresponding to 7 to A10 are HG (A
7), HG (A8), HG (A9), HG (A10), the cumulative error (A7 to A10) becomes the value of the following formula (29).

【0149】[0149]

【数15】 [Equation 15]

【0150】したがって、第7サイクル(BST)で
は、加算器82の出力端子には、下記第(30)式の累積誤
差RG(A7〜A10+X6+X7)が演算され、上述
の〔処理2〕が行われることになる。 RG(A7〜A10+X6+X7)=RG(A7〜A10)+RG(X6+X7) ・・・・ (30) この演算のビット計算式は、図25に示されているとお
りであり、第6サイクル(RGm)での演算結果である
8ビットの累積誤差RG(X6+X7)と、メモリ18
から読み込まれた7ビットの累積誤差RGm(=RG
(A7〜A10))とがそのまま加算される。
Therefore, in the seventh cycle (BST), the cumulative error RG (A7 to A10 + X6 + X7) of the following Expression (30) is calculated at the output terminal of the adder 82, and the above-mentioned [Process 2] is performed. It will be. RG (A7 to A10 + X6 + X7) = RG (A7 to A10) + RG (X6 + X7) ... (30) The bit calculation formula of this operation is as shown in FIG. The accumulated error RG (X6 + X7) of 8 bits, which is the calculation result in (RGm), and the memory 18
7-bit accumulated error RGm (= RG
(A7 to A10)) are added as they are.

【0151】第7サイクル(BST)での加算結果は、
第8サイクル(GOUT)において再び加算器82の入
力端子Bに与えられる。このとき入力端子Aには、乱数
RANDが入力され、その結果、出力端子には累積誤差
RG(A7〜A10+X6+X7+RAND)が導出さ
れる。乱数RANDの加算は次のような意義を有してい
る。すなわち、比較的広い面積を有する画像部分におけ
る濃度データが中間的な濃度に対応した或る特定値で一
定である場合に、誤差拡散処理を施すと、処理後の画像
が著しく劣化することが経験的に知られている。このよ
うな画像の劣化は、上記のような乱数の加算により排除
することができる。
The addition result in the seventh cycle (BST) is
In the eighth cycle (GOUT), it is supplied to the input terminal B of the adder 82 again. At this time, the random number RAND is input to the input terminal A, and as a result, the cumulative error RG (A7 to A10 + X6 + X7 + RAND) is derived at the output terminal. The addition of the random number RAND has the following significance. That is, if the density data in an image portion having a relatively large area is constant at a certain specific value corresponding to an intermediate density, the error diffusion process may significantly deteriorate the processed image. Known to be. Such image deterioration can be eliminated by adding random numbers as described above.

【0152】加算器82で演算された累積誤差RG(A
7〜A10+X6+X7+RAND)は、レジスタ94
に与えられるとともに、続く第11画素目のイメージデ
ータID11に対応した第1サイクル(WST)におい
て加算器82の入力端子Bに与えられる。これ以後は、
第9番目の画素に対応したイメージデータID9の入力
期間においてデータX7に対してなされたのと同様な誤
差拡散処理が、前ラインの第8画素目のデータX8に対
して行われることになる。
The cumulative error RG (A
7-A10 + X6 + X7 + RAND) is a register 94
And to the input terminal B of the adder 82 in the first cycle (WST) corresponding to the image data ID11 of the 11th pixel that follows. After this,
The error diffusion processing similar to that performed on the data X7 in the input period of the image data ID9 corresponding to the ninth pixel is performed on the data X8 of the eighth pixel on the previous line.

【0153】以上のようにして、図19の構成により、
主として加算器81、除算回路86およびレジスタ9
0,92,93ならびにアドレス生成回路87などによ
り、シェーディング補正、フィルタ処理および濃度調整
処理が達成され、主として加算器82、二値化判定回路
88およびレジスタ95〜98などによりγ補正および
誤差拡散処理が達成される。
As described above, with the configuration of FIG.
Mainly adder 81, division circuit 86 and register 9
The shading correction, the filter processing, and the density adjustment processing are achieved by the 0, 92, 93, the address generation circuit 87, and the like, and the gamma correction and the error diffusion processing are mainly performed by the adder 82, the binarization determination circuit 88, the registers 95 to 98, and the like. Is achieved.

【0154】次に、二値画像に対して孤立点除去処理部
39(図2参照。)で行われる孤立点除去処理について
説明する。図27、図28および図29は孤立点除去処
理を説明するため図である。孤立点除去処理は、単純二
値化処理部36で処理された二値画像において、「*」
で示す注目画素の値が、その注目画素を取り囲む周囲の
所定位置画素のいずれの値とも異なる場合に、この注目
画素の値をその周囲の画素の値に変換する処理である。
Next, the isolated point removal processing performed by the isolated point removal processing unit 39 (see FIG. 2) on the binary image will be described. 27, 28, and 29 are diagrams for explaining the isolated point removal processing. The isolated point removal process is performed by adding “*” to the binary image processed by the simple binarization processing unit 36.
When the value of the pixel of interest indicated by is different from any of the values of pixels at predetermined surrounding positions surrounding the pixel of interest, the value of the pixel of interest is converted into the value of the surrounding pixels.

【0155】具体的には、図27(a) のように、注目画
素が白画素であり、その周囲の8つの画素が黒画素であ
るなら、注目画素は孤立した白画素である。このため、
この孤立した白画素は黒画素に変換される。図27(b)
は逆に注目画素が孤立した黒画素である場合であり、こ
のときには注目画素は白画素に変換される。また、図2
8および図29は、注目画素と異なる値の画素が注目画
素をコ字状に取り囲む場合であり、この場合にも注目画
素の値が変換される。具体的には、図28(a) および
(b) ならびに図29(a) および(b) の場合には注目画素
の値は黒画素に変換され、図28(c) および(d) ならび
に図29(c) および(d) の場合には、注目画素の値は白
画素に変換される。
Specifically, as shown in FIG. 27A, if the pixel of interest is a white pixel and the eight pixels around it are black pixels, the pixel of interest is an isolated white pixel. For this reason,
The isolated white pixel is converted into a black pixel. Figure 27 (b)
Conversely, the target pixel is an isolated black pixel, and the target pixel is converted to a white pixel at this time. Also, FIG.
8 and 29 show the case where a pixel having a value different from that of the target pixel surrounds the target pixel in a U-shape, and the value of the target pixel is also converted in this case. Specifically, as shown in FIG.
In the case of (b) and FIGS. 29 (a) and (b), the value of the pixel of interest is converted into a black pixel, and in the cases of FIGS. 28 (c) and (d) and FIGS. , The value of the pixel of interest is converted to a white pixel.

【0156】このような孤立点除去処理により、二値化
画像中に残るノイズ成分や、原稿の搬送むらなどにより
生じるジッタの影響などを除去して、良好な二値化画像
を再生できる。のみならず、孤立点を除去することによ
り、データ圧縮効率を向上できる。これにより、たとえ
ばMH、MRおよびMRRのような符号化処理により生
成される送信符号が少なくなるから、ファクシミリ通信
に要する時間を低減できる。
By such isolated point removal processing, a good binary image can be reproduced by removing the noise component remaining in the binary image and the influence of the jitter caused by the uneven transportation of the document. Not only that, the data compression efficiency can be improved by removing the isolated points. This reduces the transmission code generated by the encoding processing such as MH, MR, and MRR, so that the time required for facsimile communication can be reduced.

【0157】図30は孤立点除去処理部39に関連する
構成を示すブロック図である。メモリ18の一部の記憶
領域(図6参照。)で構成されたラインメモリ110
は、2ライン分の画素の各二値データを記憶することが
できる記憶容量を有している。このラインメモリ110
には、制御回路111が接続されており、この制御回路
111からmビット(本実施例では8ビット)のアドレ
ス信号AD1〜ADmが与えられている。制御回路11
はまた、書込許可信号WEおよび出力許可信号OEを、
ラインメモリ110に与える。なお、図中、信号を表す
記号に付したオーバーラインは、当該信号が負論理の信
号であることを表すものとし、明細書中ではオーバーラ
インの記載を省略する。
FIG. 30 is a block diagram showing a configuration related to the isolated point removal processing unit 39. The line memory 110 configured by a partial storage area (see FIG. 6) of the memory 18.
Has a storage capacity capable of storing each binary data of pixels for two lines. This line memory 110
Is connected to a control circuit 111, and m-bit (8-bit in this embodiment) address signals AD1 to ADm are applied from the control circuit 111. Control circuit 11
In addition, the write enable signal WE and the output enable signal OE are
It is given to the line memory 110. In the drawings, an overline attached to a symbol indicating a signal indicates that the signal is a signal of negative logic, and the description of the overline is omitted in the specification.

【0158】制御回路111には、孤立点除去処理以前
のシェーディング補正から単純二値化処理に至る各処理
を担当する構成部分を含む画像処理ユニット112が接
続されている。この画像処理部112は、各画素毎に二
値化された二値データBIDを1ビットずつ直列に出力
する。この二値データBIDは、nビット(本実施例で
は2ビット)のシフトレジスタSRzのシリアル入力端
子SIに与えられる。このシフトレジスタSRzは、制
御回路111から与えられるクロック信号CK3に基づ
き、二値データBIDを1ビットずつ内部に取り込んで
いく。シフトレジスタSRzのパラレル出力端子PO1
〜POnは、ライン113を介してラインメモリ110
の入力端子DI1〜DInに接続されている。
The control circuit 111 is connected to an image processing unit 112 including components that are in charge of each process from shading correction before isolated point removal processing to simple binarization processing. The image processing unit 112 serially outputs the binarized binary data BID for each pixel bit by bit. This binary data BID is given to the serial input terminal SI of the n-bit (2-bit in this embodiment) shift register SRz. The shift register SRz takes in the binary data BID bit by bit based on the clock signal CK3 supplied from the control circuit 111. Parallel output terminal PO1 of shift register SRz
~ P On is the line memory 110 via the line 113.
Of the input terminals DI1 to DIn.

【0159】一方、ラインメモリ110の出力端子DO
1〜DOnは、nビットのシフトレジスタSRxおよび
SRyの各パラレル入力端子PI1〜PInに接続され
ている。シフトレジスタSRx,SRyにはそれぞれラ
インメモリ110からのnビットのデータを並列にラッ
チするためのトリガ信号が入力される制御信号入力端子
S/Pが設けられており、それぞれ制御回路111から
の制御信号LO1,LO2が与えられている。この制御
信号LO1,LO2の立ち下がりエッジで、入力端子P
I1〜PInからのデータがラッチされる。
On the other hand, the output terminal DO of the line memory 110
1 to DOn are connected to the parallel input terminals PI1 to PIn of the n-bit shift registers SRx and SRy. Each of the shift registers SRx and SRy is provided with a control signal input terminal S / P to which a trigger signal for latching n-bit data from the line memory 110 in parallel is input. Signals LO1 and LO2 are provided. At the falling edges of the control signals LO1 and LO2, the input terminal P
The data from I1 to PIn is latched.

【0160】シフトレジスタSRx,SRyには、制御
回路111から、データシフト用のクロック信号CK
1,CK2がそれぞれ入力されている。クロック信号C
K1が与えられると、シフトレジスタSRx内でデータ
が1ビットずつシフトされ、そのシリアル出力端子SO
から1ビットずつデータが出力される。シフトレジスタ
SRyに関しても同様である。
A clock signal CK for data shift is supplied from the control circuit 111 to the shift registers SRx and SRy.
1 and CK2 are input respectively. Clock signal C
When K1 is given, the data is shifted bit by bit in the shift register SRx and the serial output terminal SO
To output data bit by bit. The same applies to the shift register SRy.

【0161】シフトレジスタSRx,SRy,SRzの
各シリアル出力信号は、3ビットのシフトレジスタ12
1,122,123の各シリアル入力端子SIに与えら
れ、それぞれクロック信号CK1,CK2,CK3に基
づいて内部に取り込まれる。シフトレジスタ121,1
22,123にそれぞれ取り込まれた3ビットのデータ
は、それぞれのパラレル出力端子POn+1 ,POn+2
POn+3 から、二値化再判定回路115の入力端子A,
B,C,・・・・,Iに与えられる。この二値化再判定回路
15は、入力端子Eに与えられるデータに対応した画素
を注目画素として、上記の図27、図28および図30
に示された孤立点除去処理を行い、処理後のデータE′
を出力するものである。
The serial output signals of the shift registers SRx, SRy and SRz are the 3-bit shift register 12 respectively.
1, 122 and 123 are applied to the respective serial input terminals SI and are taken in based on the clock signals CK1, CK2 and CK3, respectively. Shift registers 121, 1
The 3-bit data respectively taken in by 22 and 123 are converted into parallel output terminals PO n + 1 , PO n + 2 ,
From PO n + 3 to the input terminal A of the binarization redetermination circuit 115,
B, C, ..., I. The binarization re-determination circuit 15 sets the pixel corresponding to the data given to the input terminal E as the pixel of interest, and the above-described FIG. 27, FIG. 28, and FIG.
The isolated point removal processing shown in is performed, and the processed data E ′
Is output.

【0162】二値化再判定回路115には、モードレジ
スタ116が接続されている。このモードレジスタ11
6には、孤立点除去処理のモードを選択するためのkビ
ット(本実施例では2ビット)のデータMO1〜MOk
がCPU14(図1参照。)から与えられる。本実施例
では、3種類のモードが選択可能であり、第1モードで
は図27の条件が成立したときに注目画素の値が変換さ
れ、第2モードでは図27または図28の条件が成立し
たときに注目画素の値が変換され、第3モードでは図2
7、図28または図29の条件が成立したときに注目画
素の値が変換される。
A mode register 116 is connected to the binarization redetermination circuit 115. This mode register 11
Reference numeral 6 denotes k-bit (2 bits in this embodiment) data MO1 to MOk for selecting a mode of isolated point removal processing.
Is given from the CPU 14 (see FIG. 1). In this embodiment, three types of modes can be selected, the value of the pixel of interest is converted when the condition of FIG. 27 is satisfied in the first mode, and the condition of FIG. 27 or 28 is satisfied in the second mode. Sometimes the value of the pixel of interest is converted, and in the third mode, as shown in FIG.
7, the value of the pixel of interest is converted when the condition of FIG. 28 or 29 is satisfied.

【0163】図31は二値化再判定回路115に入力さ
れるデータの関係を説明するための図である。シフトレ
ジスタ123からは、画像処理ユニット112での処理
を経たばかりの現ラインの3画素分のデータID1z,
ID2z,ID3zが出力される。また、シフトレジス
タ122には前ラインのデータがシフトレジスタSRy
から与えられ、その3画素分のデータID1y,ID2
y,ID3yが出力される。さらに、シフトレジスタ1
21には前々ラインのデータがシフトレジスタSRxか
ら与えられ、その3画素分のデータID1x,ID2
x,ID3xが出力される。
FIG. 31 is a diagram for explaining the relationship of the data input to the binarization redetermination circuit 115. From the shift register 123, data ID1z, for three pixels of the current line, which has just been processed by the image processing unit 112,
ID2z and ID3z are output. Further, the shift register 122 stores the data of the previous line in the shift register SRy.
Data ID1y, ID2 for the three pixels
y, ID3y is output. Furthermore, the shift register 1
The data of the line before two is given to 21 from the shift register SRx, and the data ID1x and ID2 for the three pixels are given.
x, ID3x is output.

【0164】この結果、二値化再判定回路115には、
図31に示すように3×3画素のマトリクスを構成する
各画素の二値データが並列に入力されることになる。こ
のとき、入力端子Eに与えられるデータID2xが注目
画素のデータとされて処理が行われる。処理は、イメー
ジセンサ15(図1参照。)での読取順に行われるか
ら、シフトレジスタ121,123,124に先に入力
されたデータに対応する画素ほど各ラインの先頭位置に
近い画素である。
As a result, the binarization redetermination circuit 115
As shown in FIG. 31, binary data of each pixel forming a 3 × 3 pixel matrix is input in parallel. At this time, the data ID2x given to the input terminal E is treated as the data of the pixel of interest, and the processing is performed. Since the processing is performed in the order of reading by the image sensor 15 (see FIG. 1), the pixels corresponding to the data previously input to the shift registers 121, 123, and 124 are closer to the head position of each line.

【0165】図32は動作を説明するたのタイミングチ
ャートである。(a) はサイクル番号を示し、(b) はシフ
トレジスタSRzに入力される現ラインの二値データB
IDを示し、(c) はアドレス信号AD1〜ADmを示
し、(d) はローアクティブの書込許可信号WEを示し、
(e) はローアクティブの出力許可信号を示し、(f) はラ
インメモリ110の出力端子DO1〜DOnに導出され
るデータを示し、(g) はラインメモリ110の入力端子
DI1〜DInからラインメモリ110に書き込まれる
データを示している。さらに、(h),(j) は、それぞれシ
フトレジスタSRx,SRyに与えられる制御信号LO
1,LO2を示し、この信号の立ち下がりエッジでシフ
トレジスタSRx,SRyへのデータの並列書込が行わ
れる。また(i),(k),(l) はクロック信号CK1,CK
2,CK3をそれぞれ示し、(m) 〜(v) はそれぞれ二値
化再判定回路115に入力されるデータを示している。
FIG. 32 is a timing chart for explaining the operation. (a) shows the cycle number, and (b) shows the binary data B of the current line input to the shift register SRz.
ID, (c) shows address signals AD1 to ADm, (d) shows a low-active write enable signal WE,
(e) shows a low active output enable signal, (f) shows data derived from the output terminals DO1 to DOn of the line memory 110, and (g) shows the line memories from the input terminals DI1 to DIn of the line memory 110. The data written in 110 is shown. Further, (h) and (j) are control signals LO supplied to the shift registers SRx and SRy, respectively.
1 and LO2, and parallel writing of data to the shift registers SRx and SRy is performed at the falling edge of this signal. Also, (i), (k), (l) are clock signals CK1, CK
2 and CK3, and (m) to (v) represent data input to the binarization redetermination circuit 115, respectively.

【0166】第2サイクルから第(n−1)サイクルま
での期間に、シフトレジスタSRzには現ラインを構成
する各画素の二値データID1z,ID2z,ID3
z,・・・・,ID(n−1)zが順に入力される。そし
て、第nサイクルにおいてデータIDnzがシフトレジ
スタSRzに入力されると、時刻t1に出力許可信号O
Eがローレベルとなる。このとき、アドレスAD1〜A
Dmの値は、前ラインのnビットのデータID1y〜I
Dnyに対応した値(IDny)となっており、このた
めデータID1y〜IDnyのnビットのデータが出力
端子DO1〜DOnに導出される。このデータは、制御
信号LO2が立ち下がりに同期してシフトレジスタSR
yに並列にラッチされる。
In the period from the second cycle to the (n-1) th cycle, the shift register SRz stores binary data ID1z, ID2z, ID3 of each pixel forming the current line.
z, ..., ID (n-1) z are sequentially input. When the data IDnz is input to the shift register SRz in the nth cycle, the output enable signal O is output at time t1.
E becomes low level. At this time, addresses AD1 to A
The value of Dm is the n-bit data ID1y to I of the previous line.
It has a value (IDny) corresponding to Dny, and therefore n-bit data of data ID1y to IDny is derived to the output terminals DO1 to DOn. This data is stored in the shift register SR in synchronization with the fall of the control signal LO2.
Latched in parallel with y.

【0167】時刻t2に出力許可信号OEが立ち上がる
と、アドレスAD1〜ADmは前々ラインのnビットの
データID1x〜IDnxに対応した値(IDnx)に
切り換わる。アドレスが切り換わった後の時刻t3には
再び出力許可信号OEがローレベルとなる。これによ
り、出力端子DO1〜DOnには前々ラインのnビット
のデータID1x〜IDnxが導出される。このデータ
は、制御信号LO1の立ち下がりに同期してシフトレジ
スタSRyに書き込まれる。
When the output permission signal OE rises at time t2, the addresses AD1 to ADm are switched to the values (IDnx) corresponding to the n-bit data ID1x to IDnx of the line before the previous line. At time t3 after the address is switched, the output enable signal OE becomes low level again. As a result, the n-bit data ID1x to IDnx of the previous line are derived from the output terminals DO1 to DOn. This data is written in the shift register SRy in synchronization with the fall of the control signal LO1.

【0168】時刻t4に出力許可信号が立ち上がると、
今度はアドレスを不変に保ったままで時刻t5に書込許
可信号Eが立ち下がる。これにより、シフトレジスタS
Rzに保持されている現ラインのnビットのデータID
1z〜IDnzが、前々ラインのデータID1x〜ID
nxが記憶されていたアドレス(IDnx)に格納され
ることになる。すなわち、孤立点除去処理のために前々
ラインのデータが読み出されると、その読出位置に現ラ
インのデータが書き込まれる。このようにしている結
果、3ラインの画素に対する処理である孤立点除去処理
を2ライン分の容量のラインメモリ110で実現でき
る。
When the output permission signal rises at time t4,
This time, the write enable signal E falls at time t5 while keeping the address unchanged. As a result, the shift register S
N-bit data ID of the current line held in Rz
1z to IDnz are the data IDs 1x to ID of the line before the last
The nx is stored at the stored address (IDnx). That is, when the data of the previous line is read for the isolated point removal processing, the data of the current line is written at the read position. As a result, the isolated point removal process, which is a process for pixels on three lines, can be realized by the line memory 110 having a capacity of two lines.

【0169】一方、シフトレジスタSRyに書き込まれ
たデータのうち先頭のデータID1yは、時刻t6に与
えられるクロック信号CK2によりシフトレジスタ12
2の第1段目に書き込まれる。同様に、シフトレジスタ
SRx,SRzに書き込まれたデータのうちそれぞれの
先頭のデータID1x,ID1zは、時刻t7に与えら
れるクロック信号CK1,CK3により、シフトレジス
タ121,123の第1段目に書き込まれる。
On the other hand, the head data ID1y of the data written in the shift register SRy is shifted by the clock signal CK2 applied at time t6.
No. 2 is written in the first stage. Similarly, the leading data ID1x, ID1z of the data written in the shift registers SRx, SRz are written in the first stage of the shift registers 121, 123 by the clock signals CK1, CK3 given at time t7. .

【0170】その後は、クロック信号CK1,CK2,
CK3により、シフトレジスタ121,122,123
内でのデータのシフトが行われ、その結果、時刻t8か
らの期間には、二値化再判定回路115の入力端子A〜
Iには、図31のマトリクスを構成する9画素のデータ
が並列に入力されることになる。そして、二値化再判定
回路115の判定結果のデータID′2yが出力端子
E′から出力される。
After that, clock signals CK1, CK2,
CK3 allows shift registers 121, 122, 123
The data is shifted within the range, and as a result, during the period from time t8, the input terminals A to
The data of 9 pixels forming the matrix of FIG. 31 is input to I in parallel. Then, the data ID'2y as the determination result of the binarization re-determination circuit 115 is output from the output terminal E '.

【0171】図33は1ラインの画素に対する孤立点除
去処理の末期の動作を説明するためのタイミングチャー
トである。図中(a) 〜(v) の信号またはデータは図32
と同様である。この例では、1ラインが99画素で構成
されている場合を想定しており、また説明を簡単にする
ためにn=2、m=8としている。画像処理ユニット1
12は、現ラインの最後の画素の二値データID99z
を出力した後は、直ちには次のラインのデータを出力せ
ず、ダミーデータdummy を出力する。このダミーデータ
dummy は、たとえば白画素に対応したデータである。
FIG. 33 is a timing chart for explaining the final stage operation of the isolated point removal processing for one line of pixels. Signals (a) to (v) in the figure are shown in Fig. 32.
Is the same as. In this example, it is assumed that one line is composed of 99 pixels, and n = 2 and m = 8 are set to simplify the description. Image processing unit 1
12 is the binary data ID99z of the last pixel of the current line
Immediately after outputting, the data of the next line is not output and dummy data dummy is output. This dummy data
The dummy is data corresponding to, for example, white pixels.

【0172】ダミーデータdummy は、1ラインの構成画
素数がラインメモリ110に対する1回のアクセスで読
出/書込される画素数の整数倍と異なる際に出力され
る。すなわち、1ラインの最後の画素の二値データID
99xがシフトレジスタSRxに書き込まれてから、さ
らにこのシフトレジスタSRxにラインメモリ110に
書き込んでいないデータがn画素分(図33の例では2
画素分)蓄積されるまで、画像処理ユニット112はダ
ミーデータdummy を出力する。
The dummy data dummy is output when the number of pixels constituting one line is different from an integral multiple of the number of pixels read / written in one access to the line memory 110. That is, the binary data ID of the last pixel in one line
After 99x is written in the shift register SRx, the data not written in the line memory 110 in the shift register SRx is n pixels (2 pixels in the example of FIG. 33).
The image processing unit 112 outputs dummy data dummy until it is stored (for pixels).

【0173】ところで、2ライン分のデータを記憶でき
るラインメモリ110に対して、連続するアドレスを各
ラインに交互に割り当てた場合には問題が生じる。すな
わち、たとえば前ラインのデータを奇数アドレス・・・・,
「95」,「97」,「99」,・・・・に記憶しており、
前々ラインのデータを偶数アドレス・・・・,「96」,
「98」,・・・・のように記憶している場合を想定する。
このとき、連続的なアドレスを生成することにより、前
ラインのデータと前々ラインのデータとを交互に読み出
すことができる。
By the way, when a continuous address is alternately assigned to each line in the line memory 110 capable of storing data for two lines, a problem occurs. That is, for example, if the data of the previous line is an odd address ...
It is stored in "95", "97", "99", ...
The data of the line before the last is an even address ... "96",
It is assumed that the information is stored as "98", ....
At this time, by generating consecutive addresses, the data of the previous line and the data of the previous-two lines can be read alternately.

【0174】一方、ラインメモリ110への現ラインの
データの書込は、上述のように前々ラインの読出終了ア
ドレスに対して行われる。すなわち、上記の場合には、
偶数アドレス・・・・,「96」,「98」,・・・・に現ライ
ンのデータが書き込まれることになる。その結果、次ラ
インのデータが画像処理ユニット112から与えられる
ときには、この次ラインの前のラインのデータが偶数ア
ドレス・・・・,「96」,「98」,・・・・に記憶され、前
々ラインのデータが奇数アドレス・・・・,「95」,「9
7」,「99」,・・・・に記憶されていることになる。す
なわち、1ラインの処理毎にアドレスの偶奇とデータと
の対応関係が異なることになる。
On the other hand, the writing of the data of the current line to the line memory 110 is performed for the read end address of the line before the previous line as described above. That is, in the above case,
.., "96", "98", ... Are written in the current line data. As a result, when the data of the next line is given from the image processing unit 112, the data of the line before the next line is stored in the even addresses, ..., “96”, “98” ,. The data on the line before the previous one is an odd address ... "95", "9"
7 ”,“ 99 ”, ... That is, the correspondence between the even and odd addresses and the data differs for each processing of one line.

【0175】そこで、本実施例では、1ライン毎に発生
アドレスを異ならせることとしている。すなわち、或る
ラインに対しては図33(c) に示すように連続的なアド
レスが生成され、その次のラインに対しては図34(c)
に示すようなアドレスが生成される。つまり、書込アド
レスが必ず前々ラインのデータが記憶されたアドレスと
なるように、偶数アドレスと奇数アドレスとの交換が行
われている。
Therefore, in this embodiment, the generated address is made different for each line. That is, continuous addresses are generated as shown in FIG. 33 (c) for a certain line, and FIG. 34 (c) for the next line.
An address as shown in is generated. That is, the even-numbered address and the odd-numbered address are exchanged so that the write address is always the address in which the data of the previous line is stored.

【0176】このようなアドレスを発生するために制御
回路111内に備えられる構成は、図35に示されてい
る。すなわち、クロック信号CKINに基づいて連続的
な8ビットのアドレスを生成するアドレスカウンタ12
5の最下位ビットに相当する出力端子Q1の出力は排他
的論理和ゲート126を通ってアドレスAD1〜AD8
の最下位ビットAD1となる。排他的論理和ゲート12
6には、1ライン毎に「0」と「1」との間でトグルす
る信号ROWが画像処理ユニット112から与えられて
いる。信号ROWが「0」なら出力端子Q1の信号がそ
のままアドレスの最下位ビットAD1となり、信号RO
W「1」なら出力端子Q1の信号は反転されて最下位ビ
ットAD1となる。これにより、1ライン毎に、図33
(c) に示す連続的なアドレスと、図34(c) に示す不連
続なアドレスとが交互に生成されることになる。
The structure provided in the control circuit 111 for generating such an address is shown in FIG. That is, the address counter 12 that generates a continuous 8-bit address based on the clock signal CKIN
The output of the output terminal Q1 corresponding to the least significant bit of 5 passes through the exclusive OR gate 126 and addresses AD1 to AD8.
Is the least significant bit AD1. Exclusive OR gate 12
6, a signal ROW which toggles between “0” and “1” for each line is given from the image processing unit 112. If the signal ROW is "0", the signal at the output terminal Q1 becomes the least significant bit AD1 of the address as it is, and the signal RO
If W is "1", the signal at the output terminal Q1 is inverted and becomes the least significant bit AD1. As a result, for each line, as shown in FIG.
The continuous addresses shown in (c) and the discontinuous addresses shown in FIG. 34 (c) are generated alternately.

【0177】図36は二値化再判定回路115の内部構
成を示す図である。二値化再判定回路115はANDゲ
ートを主体とした論理回路により構成された論理演算部
140を備えている。論理演算部140には、3×3個
のマトリクス配列された画素の二値データが入力端子
A,B,C,・・・・,Iから入力されている。また、モー
ドレジスタ116からの2ビットのモード選択データM
O1,MO2がORゲート141およびANDゲート1
42ならびにライン146を介して入力されている。
FIG. 36 is a diagram showing the internal structure of the binarization redetermination circuit 115. The binarization re-determination circuit 115 includes a logical operation unit 140 configured by a logical circuit mainly composed of AND gates. Binary data of 3 × 3 matrix-arranged pixels are input from the input terminals A, B, C, ... In addition, 2-bit mode selection data M from the mode register 116
O1 and MO2 are OR gate 141 and AND gate 1
42 and line 146.

【0178】論理演算部140は、機能面から10個に
区分され得る論理回路部130,132,・・・・,139
を有している。各論理回路部130〜139は、それぞ
れ入力端子A〜IならびにORゲート141およびAN
Dゲート142の出力信号が、図36に示す状態となっ
たときに、ライン143に論理「1」の信号を導出す
る。すなわち、たとえば論理回路部130は、入力端子
EおよびORゲート141からの入力信号が論理「1」
で残余の入力信号が論理「0」であるときに、ライン1
43aに論理「1」の信号を導出する。
The logic operation section 140 is divided into ten logic circuit sections 130, 132, ...
have. Each of the logic circuit units 130 to 139 has input terminals A to I and OR gates 141 and AN, respectively.
When the output signal of the D gate 142 is in the state shown in FIG. 36, a signal of logic “1” is output to the line 143. That is, for example, in the logic circuit unit 130, the input signals from the input terminal E and the OR gate 141 are logic “1”.
When the remaining input signal is a logic "0" at line 1
A signal of logic "1" is derived at 43a.

【0179】ライン143に導出された信号は、ORゲ
ート144を介して排他的論理和ゲート145の一方の
入力端子に与えられる。この排他的論理和ゲート145
の他方の入力端子には、入力端子Eからの信号が与えら
れており、この排他的論理和ゲート145の出力が二値
化再判定処理を経た注目画素のデータとして出力端子
E′に導出される。すなわち、ORゲート144の出力
が論理「1」なら注目画素の二値データである入力端子
Eの入力データが反転され、ORゲート144の出力が
論理「0」なら入力端子Eの入力データがそのまま二値
化再判定処理後のデータとされる。
The signal derived on line 143 is applied to one input terminal of exclusive OR gate 145 via OR gate 144. This exclusive OR gate 145
The signal from the input terminal E is applied to the other input terminal of the output of the exclusive OR gate 145, and the output of the exclusive OR gate 145 is output to the output terminal E ′ as the data of the pixel of interest that has undergone the binarization re-determination process. It That is, if the output of the OR gate 144 is logic "1", the input data of the input terminal E, which is the binary data of the pixel of interest, is inverted, and if the output of the OR gate 144 is logic "0", the input data of the input terminal E is unchanged. It is the data after the binarization re-determination process.

【0180】白画素が論理「1」であり、黒画素が論理
「0」であるとすると、図27、図28および図29と
図31とを比較することにより明らかなように、論理回
路部130〜139と図27、図28および図29の各
図との間には、次のような対応関係がある。 論理回路部130 ・・・・ 図27(a) 論理回路部131 ・・・・ 図27(b) 論理回路部132 ・・・・ 図28(a) 論理回路部133 ・・・・ 図28(b) 論理回路部134 ・・・・ 図28(c) 論理回路部135 ・・・・ 図28(d) 論理回路部136 ・・・・ 図29(a) 論理回路部137 ・・・・ 図29(b) 論理回路部138 ・・・・ 図29(c) 論理回路部139 ・・・・ 図29(d) 一方、上述の第1モード、第2モードおよび第3モード
とモード選択データMO1,MO2との対応関係は次の
とおりである。
Assuming that the white pixel has a logic "1" and the black pixel has a logic "0", the logic circuit section can be clearly understood by comparing FIGS. 27, 28 and 29 with FIG. There is the following correspondence between 130 to 139 and the respective drawings of FIGS. 27, 28 and 29. 27. (a) Logic circuit section 131 .. FIG. 27 (b) Logic circuit section 132 ..... FIG. 28 (a) Logic circuit section 133 .. b) Logic circuit section 134 ... FIG. 28 (c) Logic circuit section 135 ..... FIG. 28 (d) Logic circuit section 136 .... FIG. 29 (a) Logic circuit section 137. 29 (b) Logic circuit portion 138 ... 29 (c) Logic circuit portion 139 .. FIG. 29 (d) On the other hand, the above-mentioned first mode, second mode and third mode and mode selection data MO1 , MO2 is as follows.

【0181】 第1モード ・・・・ MO1=1,MO2=0 第2モード ・・・・ MO1=0,MO2=1 第2モード ・・・・ MO1=1,MO2=1 したがって、第1モードでは、ORゲート141の出力
信号のみが論理「1」となるから、論理回路部130お
よび131だけが有効となる。このため、図27(a),
(b) の画像については、入力端子Eに与えられた二値デ
ータが反転される。
First Mode ・ ・ ・ MO1 = 1, MO2 = 0 Second Mode ・ ・ ・ MO1 = 0, MO2 = 1 Second Mode ・ ・ ・ MO1 = 1, MO2 = 1 Therefore, the first mode Then, since only the output signal of the OR gate 141 has the logic "1", only the logic circuit units 130 and 131 are valid. Therefore, as shown in FIG.
Regarding the image of (b), the binary data given to the input terminal E is inverted.

【0182】また、第2モードでは、ORゲート141
の出力信号とライン146からの信号とが論理「1」と
なるから、論理回路部130〜135が有効となる。こ
のため、図27(a),(b) および図28(a),(b),(c),(d)
の画像について、入力端子Eに与えられた二値データが
反転される。さらに、第3モードでは、ORゲート14
1の出力信号、ANDゲート142の出力信号およびラ
イン146からの信号がいずれも論理「1」となる。こ
のため、論理回路部130〜139が全て有効となり、
図27、図28および図29に示された全ての画像につ
いて、入力端子Eからのデータが反転される。
In the second mode, the OR gate 141
Since the output signal of 1 and the signal from the line 146 are logic "1", the logic circuit units 130 to 135 are enabled. Therefore, FIGS. 27 (a), (b) and FIGS. 28 (a), (b), (c), (d)
The binary data given to the input terminal E is inverted for the image. Further, in the third mode, the OR gate 14
The output signal of 1, the output signal of the AND gate 142, and the signal from the line 146 are all logic "1". Therefore, all the logic circuit units 130 to 139 become effective,
The data from the input terminal E is inverted for all the images shown in FIGS. 27, 28 and 29.

【0183】このようにして、各モードでの二値化再判
定処理が達成される。図27、図28および図29の各
図のパターンにより孤立画素が生じる全てのパターンが
網羅されているから、二値画像中に存在する孤立画素
は、それがいずれの原因により生じたものであっても確
実に除去されることになる。これにより、二値画像を圧
縮符号化する際の圧縮効率が高まるから、送信符号量を
少なくすることができる。これにより、通信を高速化す
ることができ、通信回線の占有時間を短縮することがで
きる。
In this way, the binarization redetermination process in each mode is achieved. Since all the patterns in which isolated pixels are generated are covered by the patterns shown in FIGS. 27, 28, and 29, the isolated pixel existing in the binary image is caused by any of the causes. However, it will be surely removed. As a result, the compression efficiency at the time of compression-encoding the binary image is improved, so that the transmission code amount can be reduced. As a result, the communication can be speeded up and the occupation time of the communication line can be shortened.

【0184】いずれの第1、第2および第3モードのう
ちのいずれのモードを選択するかは、画質の良否と伝送
速度の高低とのバランスを考慮して決定すればよい。一
方、上記のようにメモリ18の一部の記憶領域を孤立点
除去処理のためのラインメモリ110として用いてい
る。このため、1ライン分の二値データを記憶できるシ
フトレジスタやFIFOメモリのような高価で複雑な構
成を用意することなく処理を行えるから、コストの低減
に寄与できる。
Which of the first, second and third modes is selected may be determined in consideration of the balance between the quality of the image quality and the high or low of the transmission speed. On the other hand, as described above, a part of the storage area of the memory 18 is used as the line memory 110 for the isolated point removal processing. Therefore, the processing can be performed without preparing an expensive and complicated structure such as a shift register or a FIFO memory capable of storing binary data for one line, which contributes to cost reduction.

【0185】また、ラインメモリ110に対するアクセ
スは、nビットのシフトレジスタを用いて複数画素単位
で行っている。このため、ラインメモリ110に対する
アクセス回数が少なくて済むから、高速処理が可能とな
る。しかも、複数画素単位で二値データの読出/書込を
行っているので、複数ビットで構成された多値濃度デー
タを処理するフィルタ処理や誤差拡散処理と共通の記憶
領域を共用することができるという利点がある(図6参
照。)。
The access to the line memory 110 is performed in units of a plurality of pixels using an n-bit shift register. For this reason, the number of accesses to the line memory 110 is small, and high-speed processing is possible. Moreover, since the binary data is read / written in units of a plurality of pixels, it is possible to share a common storage area with a filter process or an error diffusion process for processing multi-value density data composed of a plurality of bits. (See FIG. 6).

【0186】図37は孤立点除去処理部39の他の構成
例を示すブロック図である。この図37において上述の
図30に示された各部に対応する部分には同一の参照符
号を付して示す。この構成例では、シフトレジスタSR
x,SRy,SRzの容量の2倍である2nビットのデ
ータを1ワードとして記憶し、全体として2ライン分の
二値データを記憶することができるラインメモリ110
Aが、メモリ18(図1参照。)の記憶領域の一部に形
成されている。
FIG. 37 is a block diagram showing another configuration example of the isolated point removal processing unit 39. In FIG. 37, parts corresponding to the respective parts shown in FIG. 30 are designated by the same reference numerals. In this configuration example, the shift register SR
A line memory 110 that can store 2n-bit data, which is twice the capacity of x, SRy, and SRz, as one word, and can store binary data for two lines as a whole.
A is formed in a part of the storage area of the memory 18 (see FIG. 1).

【0187】このラインメモリ110Aの2nビットの
入力端子DI1〜DI2nのうちの下位nビット分の端
子DI1〜DInには、シフトレジスタSRzに保持さ
れた現ラインのnビットのデータが与えられる。また、
上位nビット分の端子DIn+1〜DI2nには、シフ
トレジスタSRzに保持された前ラインのnビットのデ
ータが与えられる。
Out of the 2n-bit input terminals DI1 to DI2n of the line memory 110A, the lower-order n-bit terminals DI1 to DIn are supplied with the n-bit data of the current line held in the shift register SRz. Also,
The n-bit data of the previous line held in the shift register SRz is given to the terminals DIn + 1 to DI2n for the upper n bits.

【0188】一方、ラインメモリ110Aの2nビット
の出力端子DO1〜DO2nのうち、下位nビット分の
端子DO01〜DOnに導出されたデータは、前々ライ
ンに対応したシフトレジスタSRxに与えられる。ま
た、その上位nビット分の端子DIn+1〜DI2nに
導出されたデータは前ラインに対応したシフトレジスタ
SRyに与えられる。
On the other hand, of the 2n-bit output terminals DO1 to DO2n of the line memory 110A, the data derived to the lower n-bit terminals DO01 to DOn are applied to the shift register SRx corresponding to the line before the previous line. Further, the data led to the terminals DIn + 1 to DI2n for the upper n bits are given to the shift register SRy corresponding to the previous line.

【0189】シフトレジスタSRx,SRyには、制御
回路111Aからの制御信号LO1およびクロック信号
CK1が共通に与えられている。この構成により、現ラ
インのnビット分のデータは、ラインメモリ110Aの
各ワードの下位nビットに書き込まれる。そして、次ラ
インのデータが画像処理ユニット112から与えられる
期間に、この次ラインに対する前ラインのデータとして
シフトレジスタSRyに与えられる。
A control signal LO1 and a clock signal CK1 from the control circuit 111A are commonly applied to the shift registers SRx and SRy. With this configuration, the n-bit data of the current line is written in the lower n bits of each word in the line memory 110A. Then, during the period when the data of the next line is given from the image processing unit 112, it is given to the shift register SRy as the data of the previous line for the next line.

【0190】このシフトレジスタSRyに書き込まれた
前ラインのデータは、ラインメモリ110Aの各ワード
の上位nビットのデータとして書き込まれる。そして、
次のラインに対する処理が行われるときに、前々ライン
のデータとしてシフトレジスタSRxに与えられること
になる。図38は動作を説明するためのタイミングチャ
ートである。画像処理ユニット112は第2サイクルか
ら現ラインのデータを第1画素目から順に出力する。こ
のとき制御回路111Aは、第n画素目のデータIDn
−1が出力され、さらに第n画素目のデータIDnzが
出力されるまでの期間には、アドレスAD1〜ADMを
第1画素に対応した値「0」とする。
The data of the previous line written in the shift register SRy is written as the upper n-bit data of each word of the line memory 110A. And
When the process for the next line is performed, it is given to the shift register SRx as the data of the line before the previous line. FIG. 38 is a timing chart for explaining the operation. The image processing unit 112 sequentially outputs the data of the current line from the first pixel from the second cycle. At this time, the control circuit 111A controls the data IDn of the nth pixel.
During the period until −1 is output and the data IDnz of the nth pixel is further output, the addresses AD1 to ADM are set to the value “0” corresponding to the first pixel.

【0191】シフトレジスタSRzにn画素分のデータ
が蓄積された時刻t11に出力許可信号OEが立ち下が
り、これにより、出力端子DO1〜DOnには、nビッ
トのデータが出力されてシフトレジスタSRyに与えら
れる。このnビットのデータは、前ラインの第1画素か
ら第n画素までのデータID1y〜IDnyに相当す
る。また出力端子DOn+1〜DO2nにもnビットの
データが導出され、シフトレジスタSRxに与えられ
る。このnビットのデータは前々ラインの第1画素から
第n画素までのデータID1x〜IDnxに相当する。
The output enable signal OE falls at the time t11 when the data for n pixels is accumulated in the shift register SRz, whereby the n-bit data is output to the output terminals DO1 to DOn and the shift register SRy is output. Given. The n-bit data corresponds to the data ID1y to IDny from the first pixel to the n-th pixel on the previous line. Further, n-bit data is also derived from the output terminals DOn + 1 to DO2n and given to the shift register SRx. This n-bit data corresponds to the data ID1x to IDnx from the first pixel to the n-th pixel in the previous line.

【0192】時刻t12に出力許可信号が立ち上がる
と、代わって時刻t13に書込許可信号WEが立ち下が
り、シフトレジスタSRzに保持されている現ラインの
n画素分のデータID1z〜IDnzが、入力端子DI
1〜DInからラインメモリ110Aに書き込まれる。
また、同時にシフトレジスタSRyに保持されている前
ラインのn画素分のデータID1y〜IDnyが入力端
子DIn+1〜DI2nからラインメモリ110Aに書
き込まれる。このときの書込アドレスは、前ラインおよ
び前々ラインのデータID1y〜IDny,ID1x〜
IDnxが書き込まれていたアドレスである。すなわ
ち、データ読出が終了したアドレスに新たなデータが書
き込まれる。
When the output permission signal rises at time t12, the write permission signal WE falls instead at time t13, and the data ID1z to IDnz for n pixels of the current line held in the shift register SRz are input terminals. DI
It is written in the line memory 110A from 1 to DIn.
At the same time, data ID1y to IDny for n pixels of the previous line held in the shift register SRy are written in the line memory 110A from the input terminals DIn + 1 to DI2n. At this time, the write address is the data ID1y to IDny, ID1x to
This is the address where IDnx was written. That is, new data is written to the address where the data reading is completed.

【0193】この書込の終了後には、制御回路111A
は、第(n+1)サイクルからの期間に、アドレスAD
1〜ADMを次のアドレス「1」に切り換える。時刻t
14にクロック信号CK1が与えられると、シフトレジ
スタSRxおよびSRyでシフト動作が行われ、この結
果、シフトレジスタ121および122の第1段目に対
応した二値化再判定回路115の入力端子C,Eにそれ
ぞれ前々ラインおよび前ラインの各第1画素目のデータ
ID1x,ID1yが入力される。
After the completion of this writing, the control circuit 111A
Is the address AD during the period from the (n + 1) th cycle.
1 to ADM are switched to the next address "1". Time t
When the clock signal CK1 is supplied to 14, shift operations are performed in the shift registers SRx and SRy, and as a result, the input terminals C, C of the binarization redetermination circuit 115 corresponding to the first stages of the shift registers 121 and 122 are generated. The data ID1x and ID1y of the first pixel on the previous-preceding line and on the preceding line are input to E, respectively.

【0194】さらに、時刻t15にクロック信号CK3
がシフトレジスタSRzに与えられると、そのシフト動
作に伴い、シフトレジスタ123の第1段目に現ライン
の第1画素目のデータID1zが保持され、このデータ
が二値化再判定回路115の入力端子Iに与えられる。
その後は、クロックCK1,CK3の入力に伴ってシフ
トレジスタSRx,SRy,SRzおよびシフトレジス
タ121,122,123でのシフト動作が行われ、時
刻t16にデータID2yの二値化再判定処理を行うた
めの9画素分のデータが並列に二値化再判定回路115
に入力される。これにより、再判定されたデータID′
2yが出力端子E′に導出される。
Further, at time t15, the clock signal CK3
Is given to the shift register SRz, the data ID1z of the first pixel of the current line is held in the first stage of the shift register 123 along with the shift operation, and this data is input to the binarization redetermination circuit 115. Given to terminal I.
After that, the shift operations in the shift registers SRx, SRy, SRz and the shift registers 121, 122, 123 are performed in accordance with the input of the clocks CK1, CK3, and the binarization redetermination process of the data ID2y is performed at time t16. Data of 9 pixels in parallel
Entered in. As a result, the re-determined data ID '
2y is led to the output terminal E '.

【0195】このようにして、本構成例では、2ライン
分のラインメモリを用いて孤立点除去処理を行うに当た
り、ラインメモリ110Aの各ワードのビット分割によ
り隣接する2ラインのデータを記憶するようにしてい
る。そして、各ワードデータの下位ビットに対応するラ
インの前のラインのデータが各ワードの上位ビットに格
納されるように、シフトレジスタSRx,SRy,SR
zとラインメモリ110Aとが接続されている。
As described above, in the present configuration example, when performing isolated point removal processing using the line memory for two lines, the data of adjacent two lines is stored by bit division of each word of the line memory 110A. I have to. Then, the shift registers SRx, SRy, SR are arranged so that the data of the line before the line corresponding to the lower bit of each word data is stored in the upper bit of each word.
z and the line memory 110A are connected.

【0196】この構成により、いずれのラインの処理に
対しても連続的なアドレスを生成すれば、前ラインおよ
び前々ラインのデータをシフトレジスタSRx,SRy
に与えることができるから、上記の図30に示された第
1の構成例とは異なり、ラインメモリに与えるアドレス
に工夫を要することがない。したがって、画像処理ユニ
ット112からは、1ラインの処理毎にトグルする信号
ROWを制御回路111Aに与える必要もない。
With this configuration, if continuous addresses are generated for the processing of any line, the data of the previous line and the data of the line before the shift lines SRx and SRy are transferred.
Therefore, unlike the first configuration example shown in FIG. 30, the address given to the line memory does not need to be devised. Therefore, it is not necessary for the image processing unit 112 to provide the control circuit 111A with the signal ROW that toggles each time one line is processed.

【0197】本発明の実施例の説明は以上のとおりであ
るが、本発明は上記の実施例に限定されるものではな
い。たとえば、上記の実施例では、ファクシミリ装置を
例に取ったが、本発明はイメージスキャナや複写機のよ
うに、光学的に画像を読み取って得られた画像データを
処理する構成などに対して、広く適用することができる
ものである。その他、本発明の要旨を変更しない範囲で
種々の設計変更を施すことが可能である。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments. For example, in the above-described embodiment, a facsimile machine is taken as an example, but the present invention has a configuration for processing image data obtained by optically reading an image, such as an image scanner or a copying machine. It can be widely applied. In addition, various design changes can be made without changing the gist of the present invention.

【0198】[0198]

【発明の効果】以上のように本発明の画像データ処理装
置によれば、Nライン分のデータに基づく処理を行うた
めに、(N−1)ライン分のデータを記憶することがで
きる記憶手段を用意すれば足りる。これにより、たとえ
ばファクシミリ装置などに備えられたメモリの記憶領域
が有効に活用できるようになる。また、逆に、少ない容
量のメモリ素子を用いることができるから、コストの低
減に寄与することができる。
As described above, according to the image data processing apparatus of the present invention, the storage means capable of storing (N-1) lines of data in order to perform the processing based on the data of N lines. Is enough. As a result, for example, the storage area of the memory provided in the facsimile machine can be effectively used. On the contrary, since a memory element having a small capacity can be used, it is possible to contribute to cost reduction.

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

【図1】本発明の一実施例が適用されるファクシミリ装
置の全体の構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a facsimile apparatus to which an embodiment of the present invention is applied.

【図2】上記ファクシミリ装置の入力画像処理回路の内
部構成を示すブロック図である。
FIG. 2 is a block diagram showing an internal configuration of an input image processing circuit of the facsimile device.

【図3】シェーディング補正部の構成を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration of a shading correction unit.

【図4】除算回路の構成例を示すブロック図である。FIG. 4 is a block diagram showing a configuration example of a division circuit.

【図5】フィルタ処理を説明するための図である。FIG. 5 is a diagram for explaining filter processing.

【図6】メモリ内における記憶領域の割り当て状態を示
す図である。
FIG. 6 is a diagram showing a storage area allocation state in a memory.

【図7】濃度調整処理を説明するための図である。FIG. 7 is a diagram for explaining density adjustment processing.

【図8】濃度調整処理およびγ補正処理などを説明する
ための図である。
FIG. 8 is a diagram for explaining density adjustment processing, γ correction processing, and the like.

【図9】濃度調整処理およびγ補正処理などを説明する
ための図である。
FIG. 9 is a diagram for explaining density adjustment processing, γ correction processing, and the like.

【図10】濃度調整処理を説明するための図である。FIG. 10 is a diagram for explaining density adjustment processing.

【図11】濃度調整処理およびγ補正処理などを説明す
るための図である。
FIG. 11 is a diagram for explaining density adjustment processing, γ correction processing, and the like.

【図12】濃度調整処理部の構成例を示すブロック図で
ある。
FIG. 12 is a block diagram illustrating a configuration example of a density adjustment processing unit.

【図13】濃度調整処理部の他の構成例を示すブロック
図である。
FIG. 13 is a block diagram illustrating another configuration example of the density adjustment processing unit.

【図14】濃度調整処理対象のマトリクスの各画素位置
に割り当てられたアドレスを示す図である。
FIG. 14 is a diagram showing an address assigned to each pixel position of a density adjustment processing target matrix.

【図15】γ補正処理を説明するための図である。FIG. 15 is a diagram for explaining γ correction processing.

【図16】濃度調整処理およびγ補正処理のための他の
技術を説明するための図である。
FIG. 16 is a diagram for explaining another technique for density adjustment processing and γ correction processing.

【図17】誤差拡散処理を説明するための図である。FIG. 17 is a diagram for explaining error diffusion processing.

【図18】誤差拡散処理を説明するための図である。FIG. 18 is a diagram for explaining error diffusion processing.

【図19】中間調画像に対する処理を行うためのハード
ウェア構成を示すブロック図である。
FIG. 19 is a block diagram showing a hardware configuration for performing processing on a halftone image.

【図20】シェーディング補正処理、フィルタ処理およ
び濃度調整処理に関連する動作を説明するためのタイミ
ングチャートである。
FIG. 20 is a timing chart for explaining operations related to shading correction processing, filter processing, and density adjustment processing.

【図21】γ補正処理および誤差拡散処理に関連する動
作を説明するためのタイミングチャートである。
FIG. 21 is a timing chart for explaining operations related to γ correction processing and error diffusion processing.

【図22】フィルタ処理に関連するビット計算を説明す
るための図である。
FIG. 22 is a diagram for explaining bit calculation related to filter processing.

【図23】濃度調整処理およびγ補正処理に関連するビ
ット計算を説明するための図である。
FIG. 23 is a diagram for explaining bit calculation related to density adjustment processing and γ correction processing.

【図24】シェーディング補正処理に関連するビット計
算を説明するための図である。
FIG. 24 is a diagram for explaining bit calculation related to shading correction processing.

【図25】誤差拡散処理に関連するビット計算を説明す
るための図である。
FIG. 25 is a diagram for explaining bit calculation related to error diffusion processing.

【図26】誤差拡散処理に関連するビット計算を説明す
るための図である。
FIG. 26 is a diagram for explaining bit calculation related to error diffusion processing.

【図27】孤立点除去処理を説明するための図である。FIG. 27 is a diagram for explaining isolated point removal processing.

【図28】孤立点除去処理を説明するための図である。FIG. 28 is a diagram for explaining isolated point removal processing.

【図29】孤立点除去処理を説明するための図である。FIG. 29 is a diagram for explaining isolated point removal processing.

【図30】孤立点除去処理に関連する構成を示すブロッ
ク図である。
FIG. 30 is a block diagram showing a configuration related to isolated point removal processing.

【図31】孤立点除去処理に用いられるデータに対応す
る画素の位置関係を説明するための図である。
FIG. 31 is a diagram for explaining a positional relationship of pixels corresponding to data used for isolated point removal processing.

【図32】動作を説明するためのタイミングチャートで
ある。
FIG. 32 is a timing chart for explaining the operation.

【図33】1ラインに対する処理の末期における動作を
説明するためのタイミングチャートである。
FIG. 33 is a timing chart for explaining the operation in the final stage of the process for one line.

【図34】1ラインに対する処理の末期における動作を
説明するためのタイミングチャートである。
FIG. 34 is a timing chart for explaining an operation in the final stage of the process for one line.

【図35】ラインメモリに与えられるアドレスを生成す
るための構成を示すブロック図である。
FIG. 35 is a block diagram showing a configuration for generating an address given to a line memory.

【図36】二値化再判定回路の構成を示すブロック図で
ある。
FIG. 36 is a block diagram showing a configuration of a binarization redetermination circuit.

【図37】孤立点除去処理部の他の構成例を示すブロッ
ク図である。
FIG. 37 is a block diagram illustrating another configuration example of the isolated point removal processing unit.

【図38】動作を説明するためのタイミングチャートで
ある。
FIG. 38 is a timing chart for explaining the operation.

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

11 入力画像処理回路 14 CPU 15 イメージセンサ 17 A/Dコンバータ 18 メモリ 22 LSU 31 シェーディング補正部 32 白/黒基準値生成部 33 フィルタ処理部 34 濃度調整部 35 γ補正部 36 単純二値化処理部 37 誤差拡散処理部 39 孤立点除去処理部 45,46 減算器 47,48 加算器 49 除算回路 11 Input Image Processing Circuit 14 CPU 15 Image Sensor 17 A / D Converter 18 Memory 22 LSU 31 Shading Correction Section 32 White / Black Reference Value Generation Section 33 Filter Processing Section 34 Density Adjustment Section 35 γ Correction Section 36 Simple Binarization Processing Section 37 error diffusion processing unit 39 isolated point removal processing unit 45,46 subtractor 47,48 adder 49 division circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岩坪 聡 大阪府大阪市東住吉区住道矢田9丁目2番 28号 テラスFLORA E号 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Satoshi Iwatsubo 9-2 28, Yada, Sumida, Higashisumiyoshi-ku, Osaka City, Osaka Prefecture Terrace FLORA E

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】所定方向に沿う複数のラインで画像を走査
するときの各走査ラインを構成する個々の画素のデータ
が順次供給され、この供給されるデータに対応する画素
が属する現ラインのデータとこの現ラインの直前の(N
−1)ラインのデータとのNライン分のデータに基づい
て処理を行う画像データ処理装置において、 (N−1)ライン分のデータを記憶することができる記
憶手段と、 この記憶手段から、現ラインの直前の上記(N−1)ラ
インの各構成画素のデータを順次読み出す手段と、 この読み出された(N−1)ラインの各構成画素のデー
タと、上記現ラインの構成画素のデータとが与えられる
処理手段と、 上記記憶手段内における現ラインよりも(N−1)ライ
ンだけ前のラインの構成画素のデータの読出が終了した
記憶位置に、現ラインの構成画素のデータを書き込む手
段とを含むことを特徴とする画像データ処理装置。
1. Data of individual pixels constituting each scan line when scanning an image with a plurality of lines along a predetermined direction are sequentially supplied, and data of a current line to which a pixel corresponding to the supplied data belongs. And (N before the current line
-1) In an image data processing device that performs processing based on line data and N line data, storage means capable of storing (N-1) line data and current storage means Means for sequentially reading the data of each of the constituent pixels of the (N-1) line immediately before the line, the data of each of the constituent pixels of the read (N-1) line, and the data of the constituent pixels of the current line And the processing means to which the data of the constituent pixels of the current line are written in the storage position where the reading of the data of the constituent pixels of the line preceding the current line by (N-1) lines is completed. An image data processing device comprising:
【請求項2】所定方向に沿う複数のラインで画像を走査
するときの各走査ラインを構成する個々の画素のデータ
が順次供給され、この供給されるデータに対応する画素
が属する現ラインのデータと、この現ラインの直前の前
ラインのデータと、この前ラインの直前の前々ラインの
データとに基づき、上記前ライン中の注目画素を中心と
して3×3画素のマトリクスを形成する9画素分のデー
タに基づいて上記注目画素のデータを処理する画像デー
タ処理装置において、 2ライン分のデータを記憶することができる記憶手段
と、 この記憶手段から、前ラインおよび前々ラインの各構成
画素のデータを順次読み出す手段と、 上記読み出された前ラインおよび前々ラインの各構成画
素のデータと、上記現ラインの構成画素のデータとが与
えられ、上記3×3画素のマトリクスを構成する9画素
分のデータのうちの所定のデータに基づいて上記注目画
素のデータに所定の処理を施す処理手段と、 上記記憶手段内における前々ラインの構成画素のデータ
の読出が終了した記憶位置に、上記現ラインの構成画素
のデータを書き込む手段とを含むことを特徴とする画像
データ処理装置。
2. Data of individual pixels constituting each scan line when scanning an image with a plurality of lines along a predetermined direction are sequentially supplied, and data of a current line to which a pixel corresponding to the supplied data belongs. And 9 pixels forming a matrix of 3 × 3 pixels centered on the pixel of interest in the previous line, based on the data of the previous line immediately before this current line and the data of the previous line immediately before this previous line In the image data processing device for processing the data of the pixel of interest on the basis of the minute data, storage means capable of storing data for two lines, and from this storage means, each of the constituent pixels of the previous line and the line before the preceding line. Means for sequentially reading the data of, the data of each of the constituent pixels of the preceding line and the preceding two lines that have been read, and the data of the constituent pixels of the current line are given, The processing means for performing a predetermined process on the data of the pixel of interest based on predetermined data of the data for 9 pixels forming the matrix of 3 × 3 pixels, and the constituent pixels of the line before the line in the storage means. Means for writing the data of the constituent pixels of the current line at the storage position where the reading of the data has been completed.
JP4209674A 1992-07-13 1992-07-13 Image data processor Pending JPH0638040A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4209674A JPH0638040A (en) 1992-07-13 1992-07-13 Image data processor
US08/089,327 US5646745A (en) 1992-07-13 1993-07-12 Image data processing apparatus having line memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4209674A JPH0638040A (en) 1992-07-13 1992-07-13 Image data processor

Publications (1)

Publication Number Publication Date
JPH0638040A true JPH0638040A (en) 1994-02-10

Family

ID=16576735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4209674A Pending JPH0638040A (en) 1992-07-13 1992-07-13 Image data processor

Country Status (1)

Country Link
JP (1) JPH0638040A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6292580A (en) * 1985-10-18 1987-04-28 Canon Inc Picture smoothing device
JPH0263270A (en) * 1988-08-29 1990-03-02 Ricoh Co Ltd Picture processing circuit
JPH02224464A (en) * 1989-02-25 1990-09-06 Minolta Camera Co Ltd Picture processor
JPH02224463A (en) * 1989-02-25 1990-09-06 Minolta Camera Co Ltd Picture processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6292580A (en) * 1985-10-18 1987-04-28 Canon Inc Picture smoothing device
JPH0263270A (en) * 1988-08-29 1990-03-02 Ricoh Co Ltd Picture processing circuit
JPH02224464A (en) * 1989-02-25 1990-09-06 Minolta Camera Co Ltd Picture processor
JPH02224463A (en) * 1989-02-25 1990-09-06 Minolta Camera Co Ltd Picture processor

Similar Documents

Publication Publication Date Title
US5790704A (en) Image processing apparatus for performing random mask process
US6373990B1 (en) Image processing utilizing luminance-density conversion
JPH11164146A (en) System and method for image data processing
US5289294A (en) Image processing apparatus
JP2960611B2 (en) Shading correction method and shading correction device
JPH0638031A (en) Image density reproducing method
JP3313447B2 (en) Image processing device
JP2003208607A (en) Image processing device, method therefor, control program, and recording medium
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
US5646745A (en) Image data processing apparatus having line memory
JP3142381B2 (en) Image processing device
JP3074222B2 (en) Image processing device
JPH0638040A (en) Image data processor
JPH1093821A (en) Picture data processing method/system
JP3679522B2 (en) Image processing method and apparatus
US5949923A (en) Image reader
JPS632517B2 (en)
JP3774523B2 (en) Image processing apparatus and control method thereof
JPH08317213A (en) Image processor
JP2001045287A (en) Image processor and image processing method
JPH11308448A (en) Image processor and image processing method
JP3950871B2 (en) Image processing method and apparatus
JPH0822016B2 (en) Image signal processor
JP2000333000A (en) Device and method for image processing
JPH11275356A (en) Image processor