JP3029847B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3029847B2
JP3029847B2 JP2155026A JP15502690A JP3029847B2 JP 3029847 B2 JP3029847 B2 JP 3029847B2 JP 2155026 A JP2155026 A JP 2155026A JP 15502690 A JP15502690 A JP 15502690A JP 3029847 B2 JP3029847 B2 JP 3029847B2
Authority
JP
Japan
Prior art keywords
image information
valued image
correction
processing
valued
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.)
Expired - Lifetime
Application number
JP2155026A
Other languages
Japanese (ja)
Other versions
JPH0447760A (en
Inventor
隆司 小河路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2155026A priority Critical patent/JP3029847B2/en
Publication of JPH0447760A publication Critical patent/JPH0447760A/en
Application granted granted Critical
Publication of JP3029847B2 publication Critical patent/JP3029847B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Storing Facsimile Image Data (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、画像の濃淡を示す多値画情報を2値化する
画像処理装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for binarizing multi-valued image information indicating shading of an image.

[従来の技術] 一般に、文書や写真など各種原稿画像を処理する場
合、原稿画像を1画素ずつ読み取って画像の濃淡を示す
多値画情報を取り出し、その多値画情報を2値化した
後、表示や蓄積などの所定の処理を行なっている。
2. Description of the Related Art In general, when processing various original images such as documents and photographs, the original image is read one pixel at a time, multi-valued image information indicating the density of the image is extracted, and the multi-valued image information is binarized. , Predetermined processing such as display and accumulation.

また、上記多値画情報に対して、MTF(Modulation Tr
ansfer Function)補正やエッジ強調処理などを行なっ
て、画質を向上させることが、よく行なわれている。こ
のMTF補正やエッジ強調処理は、1つひとつの画素に対
して、そのライン上および前後のラインで隣接する各画
素の濃度を参照して濃度補正するものである。
Also, the MTF (Modulation Tr
(Ansfer Function) Correction and edge enhancement are often performed to improve image quality. In the MTF correction and the edge enhancement processing, the density of each pixel is corrected with reference to the density of each adjacent pixel on the line and on the preceding and succeeding lines.

このように1画素に隣接する各画素の濃度を識別する
ために、このような装置には、1ラインの画情報読取中
に、前ラインと前々ラインの画情報を記憶しておくメモ
リを備えている。
In order to identify the density of each pixel adjacent to one pixel as described above, such an apparatus includes a memory for storing the image information of the previous line and the line immediately before the line while reading the image information of one line. Have.

ところで、近年、2値画情報で中間調画像を表現する
方法として、誤差拡散法がよく利用されている。
In recent years, an error diffusion method is often used as a method of expressing a halftone image using binary image information.

ある濃度の1画素を2値化した場合、2値化誤差が生
じるが、誤差拡散法では、その1画素で生じた2値化誤
差に基づいて周辺画素を濃度補正する。そして、その濃
度補正した画素濃度を2値化することになる。
When one pixel of a certain density is binarized, a binarization error occurs. In the error diffusion method, the density of peripheral pixels is corrected based on the binarization error generated in the one pixel. Then, the pixel density after the density correction is binarized.

このように1画素に隣接する各画素の2値化誤差を識
別するために、このような装置には、1ラインの画情報
を読取中に、1ラインあるいは複数ラインの2値化誤差
を記憶しておくメモリを備えている。
In order to identify the binarization error of each pixel adjacent to one pixel as described above, such an apparatus stores the binarization error of one line or a plurality of lines while reading the image information of one line. It has a memory to keep.

[発明が解決しようとする課題] このため、従来の画像処理装置は、前記MTF補正やエ
ッジ強調という画情報の補正機能と、誤差拡散処理の機
能とを備える場合、元の画情報を格納しておくメモリ
と、2値化誤差を格納しておくメモリとをそれぞれ別に
備えるようにしていた。このため、装置コストが高くな
るという問題があった。
[Problems to be Solved by the Invention] For this reason, when the conventional image processing apparatus has a function of correcting image information such as the MTF correction and the edge enhancement and a function of error diffusion processing, it stores the original image information. A memory for storing the binarization error and a memory for storing the binarization error. For this reason, there has been a problem that the apparatus cost is increased.

本発明は、上記問題を解決し、装置コストを低下させ
ることができる画像処理装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image processing apparatus that can solve the above-described problems and can reduce the apparatus cost.

[課題を解決するための手段] このために本発明は、原稿画像を読み取って得た多値
画情報を、誤差拡散法または他方式補正方式の内の一方
により補正して2値化する一方、1つのメモリを備え、
そのメモリには、誤差拡散法を使用した場合には2値化
誤差を格納する一方、他の方式を使用した場合には補正
前の多値画情報を格納するようにしている。
[Means for Solving the Problems] For this purpose, the present invention provides a method of correcting multi-valued image information obtained by reading an original image by using one of an error diffusion method and another method correction method and binarizing it. With one memory,
The memory stores binarized errors when the error diffusion method is used, and stores multi-valued image information before correction when another method is used.

[作用] 2値化誤差や多値画情報格納するメモリは1つだけで
よいので、装置コストが低下する。
[Operation] Since only one memory is required to store the binarization error and the multi-valued image information, the apparatus cost is reduced.

[実施例] 以下、添付図面を参照しながら、本発明の実施例を詳
細に説明する。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明の一実施例に係る画像処理装置のブ
ロック構成図を示したものである。図において、ライン
イメージセンサ1は、原稿画像を1ラインずつ読み取っ
て画像の濃淡を示す画信号を得るもので、A/D変換部2
は、その画信号をデジタル信号に変換して一定階調の画
情報を取り出すものである。
FIG. 1 is a block diagram showing an image processing apparatus according to an embodiment of the present invention. In FIG. 1, a line image sensor 1 reads an original image line by line to obtain an image signal indicating the density of the image.
Converts the image signal into a digital signal and extracts image information of a constant gradation.

画像処理部3は、上記画情報を必要により補正して2
値化するもので、2値化手段、MTF補正手段、エッジ強
調手段、ディザ処理手段および誤差拡散処理手段などを
有している。
The image processing unit 3 corrects the image information as necessary and
It has a binarizing means, an MTF correcting means, an edge emphasizing means, a dither processing means and an error diffusion processing means.

上記2値化手段は、画情報の各画素濃度を一定のしき
い値と比較することにより2値化するものである。MTF
補正手段、エッジ強調手段および誤差拡散処理手段は、
前述したような既知の方法により各画素濃度を補正する
ものである。ディザ処理手段は、しきい値の配列である
ディザマトリクスに基づいて、画情報を2値化するもの
である。
The binarizing means binarizes each pixel density of the image information by comparing it with a certain threshold value. MTF
Correction means, edge enhancement means and error diffusion processing means,
The pixel density is corrected by the known method as described above. The dither processing means binarizes the image information based on a dither matrix which is an array of thresholds.

RAM4は、画情報1ラインを読取中に前ラインと前々ラ
インの画情報を一時格納しておくメモリである。このRA
M4は、記憶要領が、例えば64KB(65536bit)であるとす
ると、1ワード8ビットでアドレス空間を8K(8192)に
したり、1ワード4ビットでアドレス空間を16K(1638
4)にしたりというように、メモリ割り付けを変更する
機能を有している。
The RAM 4 is a memory for temporarily storing the image information of the previous line and the line before the previous line while reading one line of image information. This RA
Assuming that the storage procedure is, for example, 64 KB (65536 bits), M4 makes the address space 8K (8192) with 8 bits per word, or 16K (1638) with 4 bits per word.
4) It has a function to change the memory allocation, for example.

ラッチ回路5は、読取中のラインと前ラインと前々ラ
インとの各ラインから、同一位置の画情報を3ビットず
つ抽出するものである。
The latch circuit 5 extracts three bits of image information at the same position from each of the line being read, the previous line, and the line before the previous line.

画像出力部6は、2値化処理した画像を表示や記録に
より出力するものである。制御部7は、以上の各部を制
御するものである。
The image output unit 6 outputs the image subjected to the binarization processing by display or recording. The control unit 7 controls each of the above units.

ラッチ回路5は、第2図に示すように、画情報を1画
素ずつ一時保持する9個のレジスタa〜gよりなり、レ
ジスタa→b→c,d→e→f,g→h→iの順に、画情報が
順次転送されるように構成されている。
As shown in FIG. 2, the latch circuit 5 includes nine registers a to g for temporarily storing image information one pixel at a time, and registers a → b → c, d → e → f, g → h → i , The image information is sequentially transferred.

画情報は、画像処理部3からレジスタaに入力される
と共に、レジスタb,c,d,e,f,hの各出力が画像処理部3
に入力されている。また、レジスタcとfの各出力はRA
M4に入力され、RAM4の出力がレジスタdとgに入力され
ている。
The image information is input from the image processing unit 3 to the register a, and each output of the registers b, c, d, e, f, and h is output to the image processing unit 3.
Has been entered. Each output of registers c and f is RA
The signal is input to M4, and the output of RAM4 is input to registers d and g.

以上の構成で、次に本実施例の画像処理装置の動作を
説明する。
Next, the operation of the image processing apparatus according to the present embodiment having the above configuration will be described.

原稿画像を読み取る場合、オペレータは、出力画像の
中間調で得るかどうか、および中間調で得る場合には、
ディザ処理によるか誤差拡散処理によるかを決定する。
そして、その決定結果を所定の操作により装置に設定す
る。
When reading a document image, the operator determines whether or not to obtain a halftone of the output image, and
It decides whether to use dither processing or error diffusion processing.
Then, the result of the determination is set in the apparatus by a predetermined operation.

例えば、文書や図面の原稿の場合、中間調にしない
で、写真が入った原稿の場合、中間調に設定する。ま
た、ディザ処理によるか誤差拡散処理によるかは、例え
ば、過去に得られた出力画像の結果からその原稿に適合
するものを選択する。
For example, in the case of a document such as a document or a drawing, halftone is not set in the case of a document including a photograph, and the halftone is set in the case of a document containing a photograph. Whether the processing is performed by the dither processing or the error diffusion processing is selected, for example, from the results of the output images obtained in the past, the one that matches the original.

この後、装置に原稿をセットして装置を起動する。 Thereafter, the original is set on the apparatus and the apparatus is started.

画像処理装置は起動すると、第3図に示すように、上
記出力画像の設定を判別する(処理101)。ここで、中
間調の設定が行なわれていない場合(処理101のN)、R
AM4を第4図(a)に示すように、1ワードを4ビット
としてアドレス空間を16Kに割り付け、その内の8K分を
他の処理で自由に使用できるワークメモリとして開放す
る(処理102)。
When the image processing apparatus is started, the setting of the output image is determined as shown in FIG. 3 (process 101). Here, when the setting of the halftone is not performed (N of the processing 101), R
As shown in FIG. 4 (a), the address space of AM4 is allocated to 16K with one word being 4 bits, and 8K of the address space is released as a work memory that can be used freely in other processes (process 102).

次いで、原稿画像の読み取りを開始する(処理10
3)。これにより、ラインイメージセンサ1はアナログ
信号の画信号を出力し、A/D変換部2は、その画信号を
例えば6ビットの多値画情報に変換する この場合、画像処理部3は、1画素当り6ビットの画
情報の内の上位4ビットを順次取り出して、ラッチ回路
5のレジスタaに転送する。その画情報は、その1画素
当りの転送周期に同期して、レジスタa〜cを順次経由
してRAM4に入力される。この画情報は、第4図(a)の
上方4Kのエリアで一時記憶される。
Next, reading of the document image is started (Process 10
3). As a result, the line image sensor 1 outputs an image signal of an analog signal, and the A / D converter 2 converts the image signal into, for example, 6-bit multi-valued image information. The upper 4 bits of the image information of 6 bits per pixel are sequentially taken out and transferred to the register a of the latch circuit 5. The image information is input to the RAM 4 via the registers a to c sequentially in synchronization with the transfer cycle per pixel. This image information is temporarily stored in the upper 4K area in FIG. 4 (a).

レジスタaに転送される画情報が2ライン目になる
と、前ラインの画情報がRAM4から出力されてレジスタd
に順次入力される。この画情報は、レジスタd〜fを経
由した後、RAM4に入力される。この画情報は、第4図
(a)の下方4Kのエリアで一時記憶される。
When the image information transferred to the register a becomes the second line, the image information of the previous line is output from the RAM 4 and is stored in the register d.
Are sequentially input. This image information is input to the RAM 4 after passing through the registers d to f. This image information is temporarily stored in the lower 4K area in FIG.

レジスタaに転送される画情報が3ライン目になる
と、前々ラインの画情報がRAM4からレジスタgに入力さ
れ、その画情報がレジスタg〜iに順次転送される(以
上、処理104)。
When the image information transferred to the register a becomes the third line, the image information of the line two lines before is input from the RAM 4 to the register g, and the image information is sequentially transferred to the registers g to i (the above processing 104).

このように、ラッチ回路5に、読み取られた画情報が
順次転送され、レジスタb,c,d,e,f,hから前ラインおよ
び前々ラインの一定位置関係にある各画素の画情報が画
像処理部3に入力される。
In this manner, the read image information is sequentially transferred to the latch circuit 5, and the image information of each pixel having a fixed positional relationship between the previous line and the line before the previous line is obtained from the registers b, c, d, e, f, and h. It is input to the image processing unit 3.

画像処理部3は、その内の1画素に対し、他の各画素
濃度を参照して、MTF補正およびエッジ強調処理を実行
する。
The image processing unit 3 executes the MTF correction and the edge enhancement processing on one of the pixels with reference to the other pixel densities.

例えば、MTF補正はレジスタeの画素に対して行な
う。すなわち、いま、レジスタb,c,d,e,f,hに保持され
た各画情報の画素濃度をそれぞれVb,Vc,Vd,Ve,Vf,Vhと
すると、レジスタeの補正した画素濃度Ve′を次式によ
り算出する。
For example, the MTF correction is performed on the pixel of the register e. That is, assuming that the pixel densities of the respective pieces of image information held in the registers b, c, d, e, f, and h are Vb, Vc, Vd, Ve, Vf, and Vh, respectively, the corrected pixel density Ve of the register e 'Is calculated by the following equation.

Ve′=3・Ve−(Vb+Vd+Vf+Vh)/2 また、エッジ強調処理は、上記と同様にレジスタeの
画素に注目し、上記隣接する4画素の各濃度と比較して
既知の手法で、その注目画素の濃度を補正する(以上、
処理105)。
Ve ′ = 3 · Ve− (Vb + Vd + Vf + Vh) / 2 The edge emphasis processing focuses on the pixel of the register e in the same manner as described above, and compares it with the respective densities of the four adjacent pixels using a known method. Correct the density of the pixels.
Process 105).

そして、このように補正した画情報を一定のしきい値
により2値化し(処理106)、これにより得られた画像
を画像出力部6により出力する(処理107)。
Then, the image information corrected in this way is binarized by a certain threshold value (process 106), and the image obtained by this is output by the image output unit 6 (process 107).

順次読み取られる画情報に対して上記処理を繰り返し
(処理108のNより処理103へ)、原稿画像の読取が終了
すると(処理108のY)、以上の画像処理を終える。
The above processing is repeated for the image information to be sequentially read (from N in processing 108 to processing 103). When reading of the document image is completed (Y in processing 108), the above image processing is completed.

一方、装置が起動した後、中間調の設定が行なわれて
いる場合には(処理101のY)、第4図(b)に示すよ
うに、RAM4を1ワード8ビットでアドレス空間8Kに割り
付ける(処理109)。
On the other hand, if the setting of the halftone is performed after the apparatus is started (Y in the processing 101), the RAM 4 is allocated to the address space 8K with one word and eight bits as shown in FIG. 4 (b). (Process 109).

次に、中間調の処理方式の設定を判別する(処理11
0)。ここで、ディザ処理が選択されている場合(処理1
10のN)、前記と同様に原稿画像の画情報を順次読み取
って(処理111)、その画情報を順次ラッチ回路5とRAM
4に転送する(処理112)。この場合、1画素6ビットの
画情報はそのまま転送して、RAM4には、第4図(b)に
示すように、その全記憶領域を使用する。
Next, the setting of the halftone processing method is determined (processing 11
0). Here, when dither processing is selected (processing 1
10) N), the image information of the original image is sequentially read in the same manner as described above (process 111), and the image information is sequentially read into the latch circuit 5 and the RAM.
Transfer to 4 (process 112). In this case, the image information of 6 bits per pixel is transferred as it is, and the entire storage area is used in the RAM 4 as shown in FIG.

そして、前記と同様に、画情報の各画素に対して、MT
F補正およびエッジ強調処理を実行する(処理113)。そ
の処理の後、既知のディザ法により画情報を2値化して
(処理114)、得られた画像を出力する(処理115)。
Then, similarly to the above, for each pixel of the image information, MT
The F correction and the edge enhancement processing are executed (processing 113). After the processing, the image information is binarized by a known dither method (processing 114), and the obtained image is output (processing 115).

順次読み取られる画情報に対して上記処理を実行し
(処理116のNより処理111へ)、読取終了により(処理
116のN)、その処理を終える。
The above processing is executed for the image information sequentially read (from N in processing 116 to processing 111), and upon completion of reading (processing
116N), the process is terminated.

一方、誤差拡散処理が選択されていた場合には(処理
110のN)、前記と同様に原稿画像を順次読み取り(処
理117)、その画情報を1画素6ビットずつ取り出す。
そして、その画情報に対して所定の誤差拡散処理により
画情報を補正すると共に2値化する。なお、通常の誤差
拡散処理では、先に処理した隣接画素の2値化誤差を参
照する。このため、最初の一定数のラインの処理を終え
るまでは、先に処理した2値化誤差のデータがないので
既知の変則処理を行なうことになる(処理118)。
On the other hand, if the error diffusion process has been selected (processing
In 110), original images are sequentially read in the same manner as described above (process 117), and the image information is taken out by 6 bits per pixel.
Then, the image information is corrected and binarized by a predetermined error diffusion process for the image information. In the normal error diffusion processing, the binarization error of the adjacent pixel previously processed is referred to. For this reason, until the processing of the first fixed number of lines is completed, there is no data of the previously processed binarization error, so that the known anomalous processing is performed (processing 118).

そして、上記画情報を1画素ずつ2値化したときに発
生した誤差を求める。
Then, an error generated when the image information is binarized pixel by pixel is obtained.

ところで、画情報の2値化は、ある濃度を“1"(白)
または“0"(黒)に置換することでなので、2値化誤差
は、正の場合と負の場合とがある。本実施例では、6ビ
ットで得られる2値化誤差に1ビットの符号を付加し
て、1画素当り7ビットで誤差データを形成する。
By the way, binarization of image information is performed by setting a certain density to "1" (white).
Alternatively, since it is replaced by “0” (black), the binarization error may be positive or negative. In the present embodiment, a 1-bit code is added to a 6-bit binary error to form error data with 7 bits per pixel.

このように作成した誤差データを、ラッチ回路5とRA
M4に前記と同様に順次転送する(処理119)。また、上
記2値化により得られた画像を出力する(処理120)。
The error data created in this way is transmitted to the latch circuit 5 and RA
The data is sequentially transferred to M4 in the same manner as described above (process 119). Further, the image obtained by the binarization is output (process 120).

順次読み取られる画情報に対して上記処理を繰り返す
(処理121のNより処理117へ)。
The above processing is repeated for the image information sequentially read (from N in step 121 to step 117).

これにより、RAM4には、第4図(c)に示すように、
読み取りラインに対して、常に前ラインと前々ラインの
誤差データが格納されるようなる。そして、ラッチ回路
5から各画素の誤差データが画像処理部3に入力され
る。
As a result, as shown in FIG.
For the read line, error data between the previous line and the line before the previous line is always stored. Then, the error data of each pixel is input from the latch circuit 5 to the image processing unit 3.

第5図は、誤差拡散フィルタの一例を示したもので、
「*」は処理対象の画素を示し、4つの数字は、対応位
置の画素の2値化誤差に対する重みを示している。い
ま、この誤差拡散フィルタに基づいて誤差拡散処理を実
行しているものとすると、ラッチ回路5のレジスタbが
処理対象の画素位置で、レジスタc〜fの位置が、隣接
する上記4画素に対応する。
FIG. 5 shows an example of the error diffusion filter.
“*” Indicates a pixel to be processed, and four numbers indicate weights for the binarization error of the pixel at the corresponding position. Now, assuming that the error diffusion processing is executed based on this error diffusion filter, the register b of the latch circuit 5 is the pixel position to be processed, and the positions of the registers c to f correspond to the above four adjacent pixels. I do.

ここで、処理対象の画素濃度をVb、各レジスタc〜f
から出力される誤差データの値をそれぞれEc〜Efとする
と、補正した画素濃度Vb′は、 Vb′=Vb+(2・Ec+2・Ee+Ed+Ef)/6 として算出する。この後、算出した画素濃度Vb′を一定
のしきい値と比較して、“1"または“0"に2値化する。
このような処理が前記処理118において実行される。
Here, the pixel density to be processed is Vb, and each of the registers c to f
, The corrected pixel density Vb 'is calculated as Vb' = Vb + (2.Ec + 2.Ee + Ed + Ef) / 6. Thereafter, the calculated pixel density Vb 'is compared with a fixed threshold value, and is binarized to "1" or "0".
Such processing is executed in the processing 118.

そして、画像読取が終了すると(処理121のN)、以
上の処理を終える。
Then, when the image reading is completed (N in process 121), the above process is completed.

以上のように、本実施例では、多値画情報に対して、
誤差拡散法による補正、またはエッジ強調とMTF補正の
内の一方を実行して2値化している。そして、誤差拡散
法で補正した場合には2値化誤差をRAM4に格納する一
方、エッジ強調とMTF補正を行なった場合には補正前の
多値画情報をそのRAM4に格納している。
As described above, in the present embodiment, for multi-valued image information,
The binarization is performed by executing one of the correction by the error diffusion method or the edge enhancement and the MTF correction. When the correction is performed by the error diffusion method, the binarization error is stored in the RAM 4, and when the edge enhancement and the MTF correction are performed, the multi-valued image information before correction is stored in the RAM 4.

これにより、各種補正処理を1つのメモリのみで実行
できるので、装置コストを低下させることができる。
As a result, various correction processes can be performed with only one memory, so that the apparatus cost can be reduced.

なお、この場合、誤差拡散法とエッジ強調とMTF補正
とを併用することができないが、誤差拡散法は単独で十
分良好な出力画像を得ることができるので、上記併用は
不要と考えられる。
In this case, the error diffusion method, the edge enhancement, and the MTF correction cannot be used in combination, but the error diffusion method alone can provide a sufficiently good output image, and thus the above combination is considered unnecessary.

また、本実施例では、ディザ処理や誤差拡散法で中間
調を再現する場合には、画情報を6ビットの階調で取り
出し、中間調を再現しない場合には、4ビットの階調で
解り出している。そして、中間調を再現しない場合に
は、第4図(a)に示したように、空き領域をワークエ
リアとして、他の処理に開放するので、メモリを有効に
利用することができる。なお、この場合、画像の濃淡を
示す階調数が低下するが、2値化した出力画像は、中間
調を再現しないので、ほとんど悪化しないと考えられ
る。
In the present embodiment, when reproducing halftones by dithering or error diffusion, image information is extracted in 6-bit gradations. Is out. When the halftone is not reproduced, as shown in FIG. 4 (a), the empty area is used as a work area and released to other processing, so that the memory can be used effectively. In this case, although the number of gradations indicating the shading of the image is reduced, the binarized output image does not reproduce halftones, so it is considered that the output image hardly deteriorates.

なお、以上の実施例では、読み取った画情報を先に読
み取った画情報を参照して補正する例として、MTF補正
とエッジ強調処理の場合を説明したが、他の補正方式に
おいても本発明は同様に適用できることは当然である。
In the above embodiment, the MTF correction and the edge emphasis processing are described as an example of correcting the read image information with reference to the image information read first, but the present invention is also applicable to other correction methods. Of course, it is equally applicable.

[発明の効果] 以上のように、本発明によれば、原稿画像を読み取っ
て得た多値画情報を、誤差拡散法または他の補正方式の
内の一方により補正して2値化し、誤差拡散法で使用す
る2値化誤差または補正前の多値画情報を共通の1つの
メモリに格納するようにしたので、従来のようにメモリ
を2つ設ける必要かないので、装置コストを低下させる
ことができる。
[Effects of the Invention] As described above, according to the present invention, multi-valued image information obtained by reading a document image is binarized by correcting the multi-valued image information by one of an error diffusion method and another correction method. Since the binarization error used in the diffusion method or the multi-valued image information before correction is stored in one common memory, it is not necessary to provide two memories as in the related art, so that the apparatus cost can be reduced. Can be.

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

第1図は本発明の一実施例に係る画像処理装置のブロッ
ク構成図、第2図はラッチ回路とRAMのブロック構成
図、第3図は画像処理の動作フローチャート、第4図は
RAMの割り付け状態を示す説明図、第5図は誤差拡散フ
ィルタの一例を示す説明図である。 1……ラインイメージセンサ、2……A/D変換部、3…
…画像処理部、4……RAM、5……ラッチ回路、6……
画像出力部、7……制御部、a〜g……レジスタ。
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram of a latch circuit and a RAM, FIG. 3 is an operation flowchart of image processing, and FIG.
FIG. 5 is an explanatory diagram showing a RAM allocation state, and FIG. 5 is an explanatory diagram showing an example of an error diffusion filter. 1 ... Line image sensor, 2 ... A / D converter, 3 ...
... Image processing unit, 4 ... RAM, 5 ... Latch circuit, 6 ...
Image output unit 7, control unit, a to g, registers.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/405 H04N 1/21 特許ファイル(PATOLIS)──────────────────────────────────────────────────の Continued on the front page (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/405 H04N 1/21 Patent file (PATOLIS)

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿画像をライン順に読取って1画素ずつ
多値画情報として順次取り出す画像読取手段と、前記多
値画情報を先に2値化した多値画情報の2値化誤差を参
照して補正する誤差拡散法補正手段と、前記多値画情報
を先に取り出した多値画情報を参照して補正する他方式
補正手段とを備えた画像処理装置であって、 前記誤差拡散法補正手段または他方式補正手段により前
記多値画情報を補正する選択的補正手段と、 補正した多値画情報を中間調を再現する方式または再現
しない方式で2値化する2値化手段と、 前記多値画情報の補正を前記誤差拡散法補正手段により
実行し、2値化した際に発生する2値化誤差を順次過去
分を更新しながら補正処理に必要なライン数分だけ1つ
の共通ラインメモリに格納する2値化誤差データ格納手
段と、 前記多値画情報の補正を前記他方式補正手段により実行
した後、中間調再現方式により2値化する場合には、補
正前の多値画情報を順次過去分を更新しながら補正処理
に必要なライン数分だけ前記1つの共通ラインメモリに
格納する中間調再現多値画情報格納手段と、 前記多値画情報の補正を前記他方式補正手段により実行
した後、単純2値化する場合には、中間調を再現する場
合よりも階調数の少ない多値画情報を順次過去分を更新
しながら補正処理に必要なライン数分だけ前記1つの共
通ラインメモリに格納する単純2値化多値画情報格納手
段と、 階調数の少ない多値画情報を前記共通ラインメモリに格
納した際に生ずるメモリ空き領域を他の処理用に開放す
るメモリ割付手段とを備えていることを特徴とする画像
処理装置。
An image reading means for reading a document image in line order and sequentially taking out one pixel at a time as multi-valued image information, and referring to a binarization error of the multi-valued image information obtained by binarizing the multi-valued image information first. An error diffusion method correcting means for correcting the error diffusion method, and another method correcting means for correcting the multi-valued image information by referring to the multi-valued image information extracted earlier, wherein the error diffusion method A selective correcting means for correcting the multi-valued image information by a correcting means or another method correcting means; a binarizing means for binarizing the corrected multi-valued image information in a method for reproducing halftones or a method for not reproducing the halftones; The multi-valued image information is corrected by the error diffusion method correcting means, and the binary errors generated when the binarization is performed are sequentially updated in the past while the number of lines required for the correction processing is changed to one common value. Binary error data stored in line memory When the multi-valued image information is corrected by the other method correcting means and then binarized by the halftone reproduction method, the multi-valued image information before correction is corrected while sequentially updating the past. Halftone reproduction multi-valued image information storage means for storing the same number of lines as necessary for processing in the one common line memory; and correction of the multi-valued image information by the other method correction means, followed by simple binarization In this case, multi-valued image information having a smaller number of gradations than in the case of reproducing a halftone is stored in the one common line memory as many as the number of lines required for the correction processing while sequentially updating the past. Valued multi-valued image information storage means; and memory allocating means for releasing a memory empty area generated when the multi-valued image information having a small number of gradations is stored in the common line memory for other processing. An image processing apparatus characterized by the above-mentioned.
【請求項2】前記画像読取手段から得られる現読取ライ
ンの画情報と、前記共通ラインメモリに格納されている
それ以前のラインの多値画情報あるいは2値化誤差から
補正処理を行うに必要な複数の画情報を抽出する画情報
抽出手段とを備えていることを特徴とする請求項1記載
の画像処理装置。
2. A correction process is required based on image information of a current read line obtained from said image reading means and multi-value image information or a binarization error of a previous line stored in said common line memory. 2. The image processing apparatus according to claim 1, further comprising image information extracting means for extracting a plurality of pieces of image information.
【請求項3】前記他方式補正手段は、多値画情報をMTF
補正又はエッジ強調処理する手段であることを特徴とす
る請求項1記載の画像処理装置。
3. The method according to claim 1, wherein the other system correction means converts the multi-valued image information into MTF data.
2. The image processing apparatus according to claim 1, wherein the image processing apparatus is means for performing correction or edge enhancement processing.
【請求項4】前記他方式補正手段による中間調再現方式
は、ディザ方式であることを特徴とする請求項1記載の
画像処理装置。
4. The image processing apparatus according to claim 1, wherein the halftone reproduction method by said other method correction means is a dither method.
【請求項5】前記ディザ方式により中間調を再現する場
合は、前記多値画データをMTF補正又はエッジ強調処理
を行って補正した後ディザ方式により2値化することを
特徴とする請求項4記載の画像処理装置。
5. When reproducing halftones by the dither method, the multi-valued image data is corrected by performing MTF correction or edge enhancement processing, and then binarized by the dither method. The image processing apparatus according to any one of the preceding claims.
JP2155026A 1990-06-15 1990-06-15 Image processing device Expired - Lifetime JP3029847B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2155026A JP3029847B2 (en) 1990-06-15 1990-06-15 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2155026A JP3029847B2 (en) 1990-06-15 1990-06-15 Image processing device

Publications (2)

Publication Number Publication Date
JPH0447760A JPH0447760A (en) 1992-02-17
JP3029847B2 true JP3029847B2 (en) 2000-04-10

Family

ID=15597048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2155026A Expired - Lifetime JP3029847B2 (en) 1990-06-15 1990-06-15 Image processing device

Country Status (1)

Country Link
JP (1) JP3029847B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5374111A (en) * 1993-04-26 1994-12-20 Kennametal Inc. Extraction undercut for flanged bits

Also Published As

Publication number Publication date
JPH0447760A (en) 1992-02-17

Similar Documents

Publication Publication Date Title
JP3222183B2 (en) Image processing device
US5289294A (en) Image processing apparatus
JPH11187264A (en) Method and device for processing image
JPH1084475A (en) Image area discrimination method and image-processing unit
JPH03248674A (en) Half-tone picture processor
JP3029847B2 (en) Image processing device
JPH05268470A (en) Picture signal processing unit
JPS60136478A (en) Picture processor
US20020008879A1 (en) Image processing method
JP2646598B2 (en) Gradation correction device
JP2857906B2 (en) Halftone binarization processor
JPS60136476A (en) Picture processor
JP3475606B2 (en) Image processing device
JPS632517B2 (en)
JP2934971B2 (en) Image binarization processing device
JPS59156069A (en) Picture processing device
JPH01288448A (en) Intermediate tone correcting method
JPS63232571A (en) Artificial half tone processor
JPS62107572A (en) Image processor
JP2001078033A (en) Picture processor
JPH0223067B2 (en)
JPH0818805A (en) Image processing unit
JPS6198068A (en) Image processor
JPH05276387A (en) Image reader
JPH0522588A (en) Picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080204

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 11