JPS61137469A - Image processing system - Google Patents

Image processing system

Info

Publication number
JPS61137469A
JPS61137469A JP59259707A JP25970784A JPS61137469A JP S61137469 A JPS61137469 A JP S61137469A JP 59259707 A JP59259707 A JP 59259707A JP 25970784 A JP25970784 A JP 25970784A JP S61137469 A JPS61137469 A JP S61137469A
Authority
JP
Japan
Prior art keywords
scanner
data
filter
output
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
JP59259707A
Other languages
Japanese (ja)
Inventor
Kouichi Kakado
宏一 賀門
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 JP59259707A priority Critical patent/JPS61137469A/en
Publication of JPS61137469A publication Critical patent/JPS61137469A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make optimum MTF corrections suitable to the response of an input system by using two-dimensional digital filters which have various characteristics and selecting a two-dimensional filter to be processed optionally according to filter specification. CONSTITUTION:When an MTF correcting circuit 11 corrects the image information BS of an original read by a scanner by two-dimensional digital filter processing, two-dimensional digital filters having various characteristics are used and an optional two-dimensional filter is selected according to a command FCS for filter specification suitable to the response of the input system. Further, the response of the input system for image information is different, scanner by scanner, and even one scanner differs in response between the main scanning direction and subscanning directions. For the purpose, this system uses plural two-dimensional filters (including Laplacean filters) suitable to responses of various input systems and uses the best two-dimensional filter selectively for image reading.

Description

【発明の詳細な説明】 挟1北」 本発明は原稿の画像をスキャナにより画素単位でサンプ
リングして読み取った画情報をデジタル処理する画像処
理に係り、特にスキャナにより読み取られた画情報のM
TF補正を行なわせる画像処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to image processing that digitally processes image information read by sampling an image of a document pixel by pixel using a scanner, and particularly relates to image processing that digitally processes image information read by a scanner.
The present invention relates to an image processing method that performs TF correction.

髪東皮4 一般に、スキャナにより原稿の画情報を読み取る際の光
学系における特性の不均一性、走査系の送りむらなどに
よる画像入力系のレスポンスを補正して記録再生される
画像の画質を向上させるべく、スキャナにより読み取ら
れかつ多値量子化されたデジタル画情報を2次元デジタ
ルフィルタ処理するいわゆるMTF補正を行なわせる必
要がある。
Hair Tohin 4 In general, the image quality of recorded and reproduced images is improved by correcting the response of the image input system due to non-uniformity of characteristics in the optical system when reading the image information of the original with a scanner, uneven feeding of the scanning system, etc. In order to achieve this, it is necessary to perform so-called MTF correction, in which digital image information read by a scanner and multivalued quantized is subjected to two-dimensional digital filter processing.

従来、この種のMTF補正としてはラプラシアンフィル
タを用いた簡易的な方法が多用されているが、そのラプ
ラシアンフィルタは単に文字、線画などのパターン画像
におけるエツジ強調を行なわせるためのもので、本来的
な入力系のレスポンスを考慮したうえでの値をもったも
のではなく。
Conventionally, a simple method using a Laplacian filter has been often used for this type of MTF correction, but the Laplacian filter is simply used to emphasize edges in pattern images such as characters and line drawings, and is not intended to be It is not a value that takes into account the response of the input system.

スキャナごとに異なる入力系のレスポンスに良く適合す
るものではない、そのため、太線や黒べた部などではエ
ツジ部分の白黒が強調されすぎてしまうものとなってい
る。
It does not adapt well to the response of the input system, which differs from scanner to scanner, and as a result, the black and white edges of thick lines and solid black areas are overemphasized.

■孜 本発明は以上の点を考慮してなされたもので。■Kei The present invention has been made in consideration of the above points.

入力系のレスポンスにみあった最適なMTF補正を行な
わせることができるようにした画像処理方式を提供する
ものである。
The present invention provides an image processing method that allows optimal MTF correction to be performed that matches the response of an input system.

1腹 本発明はその目的達成のため、スキャナによって読み取
られた画情報のMTF補正を行なわせる際1種々の特性
をもった2次元デジタルフィルタを複数用意し、フィル
タ指定に応じて処理対象となる2次元デジタルフィルタ
の選択を任意に行なわせることができるようにするもの
である。
In order to achieve the objective, the present invention prepares a plurality of two-dimensional digital filters with various characteristics when performing MTF correction on image information read by a scanner, and processes them according to filter specifications. This makes it possible to arbitrarily select a two-dimensional digital filter.

以下、添付図面を参照して本発明の一実施例について詳
述する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第4図は原稿画像を読み取るスキャナの一構成例を示す
もので2コンタクトガラスl上にのせられた原稿2をそ
れと平行に副走査方向に速度Vでガイド3に沿って移動
する第1走行体4に取り付けられた光源5によって下側
から主走査方向に順次照明し、その原稿面からの反射光
を同じく第1走行体4に取り付けられた第1ミラー6、
速度V/2でガイド3に沿って副走査方向に移動する第
2走行体7に取り付けられた光路長補正用の第2ミラー
8および固定側に設けられた結像レンズ9を介して画素
単位によるCCDなどの固定撮像素子が主走査方向に1
ライン分配設されたラインイメージセンサ10に送って
原稿画像を順次読み取るように構成されている。なおこ
こでは副走査送りの線速Vが180 +*m/ See
で、読取密度が主走査、副走査方向ともに400画素/
インチとなるようにしている。したがって、1画素当り
の走査時間は約70nSec (14,3MHz)とな
る。またラインイメージセンサ10は画素数5000で
、その出力が奇数画素列と偶数画素列との2チヤンネル
に分かれたものを使用し、その奇数、偶数の各画素列に
よる出力データをそれぞれ並列的に処理し、1画素当り
の処理時間をみかけ上140nSecとなるようにして
いる。
FIG. 4 shows an example of the configuration of a scanner for reading an original image. A first traveling body moves an original 2 placed on a contact glass l parallel to the original 2 in the sub-scanning direction at a speed V along a guide 3. 4 is sequentially illuminated from below in the main scanning direction by a light source 5 attached to the document surface, and the reflected light from the document surface is reflected onto the first mirror 6, which is also attached to the first traveling body 4.
Pixel by pixel via a second mirror 8 for optical path length correction attached to a second traveling body 7 that moves in the sub-scanning direction along a guide 3 at a speed of V/2 and an imaging lens 9 provided on the fixed side. A fixed image sensor such as a CCD is
The original image is sent to a line image sensor 10 arranged in a line-distributed manner and is sequentially read. In addition, here, the linear speed V of sub-scanning feed is 180 + * m/ See
The reading density is 400 pixels/in both the main scanning and sub-scanning directions.
I try to make it in inches. Therefore, the scanning time per pixel is approximately 70 nSec (14.3 MHz). In addition, the line image sensor 10 has 5000 pixels, and its output is divided into two channels, odd and even pixel columns, and the output data from each of the odd and even pixel columns is processed in parallel. The processing time per pixel is apparently 140 nSec.

第5図に1画像読取システムにおける制御系およびデー
タ処理系の構成例を示している。ここでプリンタなどと
のインタフェース51としては、システムの構成などに
よって種々に変化するが。
FIG. 5 shows an example of the configuration of a control system and a data processing system in a single image reading system. Here, the interface 51 with the printer etc. varies depending on the system configuration.

ここでは基本的なものをあげている。コマンドC8とし
ては1画像読取システムのスタート、ストップあるいは
異常状態時などの制御に関するものと、データ処理方法
の選択などの制御に関するものとに分かれている。その
コマンド入力は、そのほとんどが操作パネルなどを介し
てオペレータによって入力されることになる。コマンド
C5はいったんコントローラ52に与えられ、コントロ
ーラ52においてシステムの状態をチェックしたうえで
それぞれ必要なところに送られることになる。
I'm listing the basics here. Commands C8 are divided into those related to control such as starting, stopping, or abnormal conditions of the single-image reading system, and those related to control such as selection of data processing method. Most of the commands are input by an operator via an operation panel or the like. The command C5 is once given to the controller 52, which checks the system status and then sends it to each necessary location.

データ処理に関するコマンドとしては、原稿サイズ、変
倍率の指定、地肌ノイズ除去のオン、オフ。
Commands related to data processing include specifying the document size, scaling ratio, and turning on/off background noise removal.

文書モード/写真モード、濃度ポジションの選択指定お
よびMTF補正のフィルタ指定などがある。
These include document mode/photo mode, density position selection designation, MTF correction filter designation, etc.

第5図の構成にあって、コントローラ52がスキャナス
タートのコマンドを受は取ると、サーボモータMを駆動
して光学系をスタートさせて原稿画像の読取りを開始さ
せる。その際サーボモータMはエンコーダを用いて位置
および速度のフィードバック制御がなされて、線速18
0wes/Seeに対して±2%以内の精度に保持され
るようになっている。また、そのとき原稿サイズ、変倍
率のコマンドに応じて光学系のリターン位置、線速か制
御される。またその際、クロック発生器53は、ライン
イメージセンサ10、ビデオ信号処理回路54および画
像処理装置55に制御クロックCLKを与える。ライン
イメージセンサ10は主走査方向における1ラインごと
の原稿の画情報を読み取る。その際、スキャナの読取密
度が400画素/インチ、線速か180 +mw+/S
eeにより、■ライン当りの読取時間は353μSee
となる。ラインイメージセンサlOからクロックCLK
により時系列的に読み出された奇数画素列と偶数画素列
との各データがビデオ信号処理回路54に送られ。
In the configuration shown in FIG. 5, when the controller 52 receives a scanner start command, it drives the servo motor M to start the optical system and start reading the original image. At that time, the servo motor M is subjected to position and speed feedback control using an encoder, and the linear speed is 18
The accuracy is maintained within ±2% with respect to 0wes/See. Also, at this time, the return position and linear speed of the optical system are controlled in accordance with commands for the document size and magnification ratio. Further, at this time, the clock generator 53 provides a control clock CLK to the line image sensor 10, the video signal processing circuit 54, and the image processing device 55. The line image sensor 10 reads image information of a document line by line in the main scanning direction. At that time, the reading density of the scanner is 400 pixels/inch, and the linear speed is 180 +mw+/S.
ee, the reading time per line is 353μSee
becomes. Clock CLK from line image sensor lO
The data of the odd-numbered pixel columns and the even-numbered pixel columns read out in time series are sent to the video signal processing circuit 54.

そこでまずデータ増幅がなされる。その際、ラインイメ
ージセンサ[0の出力信号の大きさは最大(白レベル)
で120〜200mVとなるために、それを1v近くに
増幅する。次に、ラインイメージセンサ10の出力信号
中のDCオフセットおよびビデオ増幅器のDCオフセッ
トを取り除くためにダミーセンサ出力中にMOS  F
ETを使ってゼロホールドする。さらにラインイメージ
センサ出力信号のうねりを除去するためにサンプルホー
ルドする。ビデオ信号処理回路54では、次にスキャナ
における光源の照度ムラなどによるシェーディングを補
正するとともに原稿の地肌除去を行ない、最終的にスキ
ャナによって画素単位で読み取られたデータを6ビツト
のデジタル信号に変換して画像処理装置55に送る。な
お、地肌除去はコマンドによって適宜オン、オフされる
Therefore, data amplification is first performed. At that time, the magnitude of the output signal of the line image sensor [0 is the maximum (white level)
In order to obtain 120-200 mV, amplify it to nearly 1 V. Next, in order to remove the DC offset in the output signal of the line image sensor 10 and the DC offset of the video amplifier, a MOS F is installed in the dummy sensor output.
Use ET to zero hold. Furthermore, a sample and hold is performed to remove the undulations of the line image sensor output signal. The video signal processing circuit 54 then corrects shading caused by uneven illuminance of the light source in the scanner, removes the background of the document, and finally converts the data read pixel by pixel by the scanner into a 6-bit digital signal. and sends it to the image processing device 55. Note that background removal is turned on and off as appropriate by commands.

本発明に係る画像処理装置55にあっては、第1図に示
すように、スキャナによって画素単位で読み取られ、か
つ波形整形、増幅などの信号処理がなされた原稿の画情
報BS(ここでは奇数画素列の画情報BSIと偶数画素
列の画情報BS2との2チヤンネルに分離されている)
を入力とし、そのパターン画像用の最適2値化処理を行
なわせるMTF補正回路11および2値化回路12から
なる第1の処理系統と、同じく入力画情報BSの濃淡画
像用の最適2値化処理を行なわせる中間調処理回路13
からなる第2の処理系統と、原稿画像中における濃淡画
像部の領域指定に応じて切換信号Sを出力するデータ切
換制御回路14と、その切換信号Sに応じて第1の処理
系統における2値化回路12の出力データと第2の処理
系統における中間調処理回路13の出力データとの切り
換えを行なわせるデータ切換回路15と、その適宜切り
換えられた処理データを蓄積する出力バッファ回路16
(ここでは奇数画素列の処理データ蓄積用のRAM1と
偶数画素列の処理データ蓄積用のRAM2とからなって
いる)とによって構成されている。ここでは、特に同一
原稿中にパターン画像部と濃淡画像部とが混在する場合
、スキャナによって読み取られた画情報に応じて各画像
部にそれぞれ最適な2値化処理を区別して行なわせるこ
とができるようにしている。
In the image processing device 55 according to the present invention, as shown in FIG. 1, the image information BS (in this case, odd number (separated into two channels: image information BSI for pixel columns and image information BS2 for even-numbered pixel columns)
A first processing system includes an MTF correction circuit 11 and a binarization circuit 12 that performs optimal binarization processing for the pattern image, and also performs optimal binarization processing for the grayscale image of the input image information BS. Halftone processing circuit 13 that performs processing
a second processing system consisting of a data switching control circuit 14 that outputs a switching signal S in accordance with the area designation of the grayscale image portion in the original image; a data switching circuit 15 that switches between the output data of the conversion circuit 12 and the output data of the halftone processing circuit 13 in the second processing system; and an output buffer circuit 16 that stores the appropriately switched processing data.
(Here, it consists of a RAM 1 for storing processing data of odd-numbered pixel columns and a RAM 2 for storing processing data of even-numbered pixel columns). Here, especially when a pattern image area and a grayscale image area coexist in the same document, the optimal binarization process can be performed separately for each image area according to the image information read by the scanner. That's what I do.

データ切換制御回路14は、第2図に示すように、画像
読取システムのコントローラ(第5図参照)から与えら
れる原稿画像中における濃淡画像部の領域を指定する位
置データX(PI)、Y(Ql)、X (Pl)、Y 
(Q2)と、主走査方向の画素クロックD−CLKを計
数していく主走査カウンタ141、副走査方向のライン
同期信号L −5YNCを計数していく副走査カウンタ
142の各カウンタ出力とをそれぞれ比較する比較器1
43〜146と、それら各比較器の出力状態の組合せに
応じて適宜切換信号Sを出力する論理ゲート回路とから
なっている。またデータ切換回路15は、切換信号Sが
Ll、Vtのときに2値化回路12の出力側を導通状態
にするとともに中間調処理回路13の出力側をしゃ断状
態にし、切換信号SがII O7Hのときに2値化回路
12の出力側をしゃ断状態にするとともに中間調処理回
路13の出力側を導通状態にするゲート回路からなって
いる。なお、比較器143はその入力A側の位置データ
X(Pl)とその入力B側の主走査カウンタ141の出
力データとを比較してA3Bのとき出力が” 1″′と
なり、同じく比較器144は位置データY(Ql)と副
走査カウンタ142の出力データとを比較してA3Bの
とき出力が′1″となり、また比較器145は位置デー
タX(Pl)と主走査カウンタ141の出力データとを
比較してA≧Bのとき出力がII 171となり、また
比較器146は位置データY (Q2)と副走査カウン
タ142の出力データとを比較してA≧8のとき出力が
## L IIとなるようになっている。
As shown in FIG. 2, the data switching control circuit 14 uses position data X (PI), Y ( Ql), X (Pl), Y
(Q2) and the counter outputs of the main scanning counter 141 that counts the pixel clock D-CLK in the main scanning direction and the sub-scanning counter 142 that counts the line synchronization signal L-5YNC in the sub-scanning direction, respectively. Comparator 1 to compare
43 to 146, and a logic gate circuit that outputs a switching signal S as appropriate depending on the combination of the output states of these comparators. Further, the data switching circuit 15 turns on the output side of the binarization circuit 12 and cuts off the output side of the halftone processing circuit 13 when the switching signal S is Ll, Vt, and when the switching signal S is set to II O7H. It is comprised of a gate circuit that turns off the output side of the binarization circuit 12 and turns on the output side of the halftone processing circuit 13 when . Note that the comparator 143 compares the position data X (Pl) on its input A side with the output data of the main scanning counter 141 on its input B side, and when the output is A3B, the output becomes "1"'. compares the position data Y (Ql) and the output data of the sub-scanning counter 142, and the output becomes '1'' when it is A3B, and the comparator 145 compares the position data When A≧B, the output is II 171, and the comparator 146 compares the position data Y (Q2) with the output data of the sub-scanning counter 142, and when A≧8, the output is ## L II. It is designed to be.

このように構成されたデータ切換制御回路14では、い
ま例えば第3図に示すように、原稿画像中における濃淡
画像部分に応じてスキャナにおけるコンタクトガラスl
上の斜線部分を濃淡画像モードにする場合、キーボード
などの入力手段を用いてオペレータによりその二次元座
標上の走査開始点(pt、Ql)およびその走査終了点
(Pl。
In the data switching control circuit 14 configured in this way, for example, as shown in FIG.
When setting the upper hatched area to the grayscale image mode, the operator inputs the scanning start point (pt, Ql) and the scanning end point (Pl) on the two-dimensional coordinates using an input means such as a keyboard.

Q2)を入力させる。それに応じてシステムのコントロ
ーラはその入力された座標点の位置をそれぞれ主走査カ
ウント値X (PL)、X (Pl)および副走査カウ
ント値Y (Ql)、Y (Q2)にそれぞれ換算して
データ切換制御回路14に与える。しかしてスキャナが
原稿画像中の濃淡画像部分を走査しているとき、すなわ
ちX(PL)≦C1≦X  (P2)、Y  (Ql)
  ≦C2≦Y(Q2)のときにはデータ切換制御回路
14から出力される切換信号SがIT OItとなって
データ切換回路15により中間調処理回路13側が選択
されることになる。またスキャナが原稿画像中の濃淡画
像部分を走査しているときには、切換信号Sが′1″と
なってデータ切換回路15により2値化回路12側が選
択されることになる。なおデータ切換制御回路14を設
ける代わりに、CPUなどを用いて切換信号Sを直接コ
ントロールすることも容易に可能となる。
Q2) is input. Accordingly, the system controller converts the positions of the input coordinate points into main scanning count values X (PL), X (Pl) and sub-scanning count values Y (Ql), Y (Q2), respectively. is applied to the switching control circuit 14. Therefore, when the scanner is scanning the grayscale image part in the original image, that is, when X (PL)≦C1≦X (P2), Y (Ql)
When ≦C2≦Y (Q2), the switching signal S output from the data switching control circuit 14 becomes ITOIt, and the halftone processing circuit 13 side is selected by the data switching circuit 15. Further, when the scanner is scanning a grayscale image part in the original image, the switching signal S becomes '1'', and the data switching circuit 15 selects the binarization circuit 12 side. Note that the data switching control circuit Instead of providing the switch 14, it is also possible to directly control the switching signal S using a CPU or the like.

このように構成されたものにあって1本発明による画像
処理方式では、スキャナによって読み取られた原稿の画
情報BSをMTF補正回路11において2次元デジタル
フィルタ処理させる際、予め種々の特性をもった2次元
デジタルフィルタを複数用意しておき、入力系のレスポ
ンスにみあったフィルタ指定のコマンドFC5にしたが
って任意の2次元デジタルフィルタを選択させる手段を
とるようにしている。
In the image processing system according to the present invention, when the image information BS of the document read by the scanner is subjected to the two-dimensional digital filter processing in the MTF correction circuit 11, the image processing method according to the present invention has various characteristics in advance. A plurality of two-dimensional digital filters are prepared, and an arbitrary two-dimensional digital filter is selected according to a filter designation command FC5 that matches the response of the input system.

MTF補正は、本来的にスキャナにおけるラインイメー
ジセンサ10における各CCDの特性のばらつき、結像
レンズ9の収差むら、走行体4゜7の走行振動などに起
因する入力系のレスポンスを2次元デジタルフィルタ処
理によって補正するものである。第6図に入力画情報B
Sを3×3構成のラプラシアンフィルタFによりMTF
補正する場合を示しており、処理対象となる注目画素D
5のラプラシアンフィルタFによる処理出力Oはその周
囲画素を考慮したうえで、 ○=3D5− (D2+D4+D6+D8)/2によっ
て与えられることになる。図中、Xは主走査方向、Yは
副走査方向をそれぞれ示している。
MTF correction essentially uses a two-dimensional digital filter to correct the response of the input system caused by variations in the characteristics of each CCD in the line image sensor 10 in the scanner, uneven aberrations of the imaging lens 9, and vibrations of the traveling body 4. This is corrected through processing. Figure 6 shows input image information B.
MTF is applied to S using a Laplacian filter F with a 3×3 configuration.
This shows the case of correction, and the target pixel D to be processed is
The processing output O by the Laplacian filter F of No. 5 is given by ◯=3D5-(D2+D4+D6+D8)/2, taking into account the surrounding pixels. In the figure, X indicates the main scanning direction, and Y indicates the sub-scanning direction.

画情報の入力系のレスポンスはスキャナごとに異なり、
また1つのスキャナにあっても主走査方向と副走査方向
とではレスポンスが相違する場合が多いものとなってい
る。したがって、本発明では予め種々の入力系のレスポ
ンスにそれぞれみあう複数の2次元デジタルフィルタ(
ラプラシアンフィルタを含む)を用意しておき、画像読
取りに際して最適な2次元デジタルフィルタを選択的に
使用することができるようにしている。
The response of the image information input system varies depending on the scanner.
Furthermore, even in one scanner, the response in the main scanning direction and the sub-scanning direction often differ. Therefore, in the present invention, a plurality of two-dimensional digital filters (
(including a Laplacian filter), so that an optimal two-dimensional digital filter can be selectively used when reading an image.

具体的には、第7図に示すように、ROMに予め複数の
2次元デジタルフィルタをそれぞれ用いたときの各処理
結果によるデータを署き込んでおき、フィルタ指定のコ
マンドFC5と注目画素D5のデータおよびその周囲画
素の組合せD2+D8、D4+D6による各データをそ
れぞれアドレスとして適宜選択された2次元デジタルフ
ィルタによる所定の処理結果が読み出されるようにする
Specifically, as shown in FIG. 7, data from each processing result when using a plurality of two-dimensional digital filters is written in the ROM in advance, and the command FC5 for specifying the filter and the data for the target pixel D5 are written. A predetermined processing result by an appropriately selected two-dimensional digital filter is read out by using each data of the data and the surrounding pixel combinations D2+D8 and D4+D6 as addresses, respectively.

なおその際、2次元デジタルフィルタが例えば第6図に
示すように周囲画素に対応するフィルタ定数が同じの場
合には、周囲画素の組合せD2+D4+D6+D8によ
るデータをアドレスとして用いることができるようにな
る。またこのようなROMのアドレッシングによるMT
F補正手段は1種類の2次元デジタルフィルタのみを用
いる場合にあっても適用することができる(この場合フ
ィルタ指定のコマンドFC3は必要としない)。
At this time, if the two-dimensional digital filter has the same filter constants corresponding to surrounding pixels as shown in FIG. 6, for example, data from the surrounding pixel combination D2+D4+D6+D8 can be used as the address. Also, MT using such ROM addressing
The F correction means can be applied even when only one type of two-dimensional digital filter is used (in this case, the filter designation command FC3 is not required).

なお第1図の構成にあって、2値化回路12には7通り
のしきい値が用意されており、コントローラから与えら
れる濃度ポジションのコマンドによって読取対象となる
原稿画像の状態に最適なしきい値を任意に選定すること
ができるようになっている。また中間調処理回路13は
ディザ法や濃度パターン法あるいはそれらの中間に位置
する部分マトリクス法によるものが用いられる。
In the configuration shown in Fig. 1, the binarization circuit 12 is provided with seven threshold values, and the optimal threshold for the state of the original image to be read is determined by the density position command given from the controller. The value can be selected arbitrarily. Further, the halftone processing circuit 13 uses a dither method, a density pattern method, or a partial matrix method located between these methods.

第8図(、)は部分マトリクス法に使用される8×8構
成のしきい値マトリクスを示すもので。
FIG. 8(,) shows an 8×8 threshold matrix used in the partial matrix method.

それから4×4のサブマトリクスを切り出して画素単位
による入力データとそのサブマトリクスと対応させて6
4階調の再現ができるようにしている6同図(b)に、
4×4のサブマトリクスを示している。すなわちそのし
きい値マトリクスを用いれば、階調性の単位は8X8、
解像力の単位は4×4ということになる。なおそのしき
い値マド   ゛リクスの大きさおよびサブマトリクス
の大きさ。
Then, cut out a 4×4 submatrix and make it correspond to the input data in pixel units and that submatrix.
6 In the same figure (b), it is possible to reproduce four gradations.
A 4×4 submatrix is shown. In other words, if we use that threshold matrix, the gradation unit is 8×8,
The unit of resolution is 4×4. Also, the size of the threshold matrix and the size of the submatrix.

形状は種々応用できることはいうまでもない。It goes without saying that the shape can be applied in various ways.

第9図に、しきい値マトリクスを用いた部分マトリクス
法の原理を示している。図中、BSは6値デジタル化さ
れた入力データ、Pは出カバターンをそれぞれ示してい
る。第8図では、入力データの画素数を出カバターンの
画素数と比べると出カバターンの方が16倍になってい
る。これは入力画素と出力画素の大きさが同じとすると
、出力は面積で入力の16倍となる。
FIG. 9 shows the principle of the partial matrix method using a threshold matrix. In the figure, BS indicates six-value digitized input data, and P indicates an output pattern. In FIG. 8, when the number of pixels of the input data is compared with the number of pixels of the output pattern, the number of pixels of the output pattern is 16 times larger. If the size of the input pixel and the output pixel are the same, the output will be 16 times the area of the input.

ここで例えば入力画素と出力画素との大きさがともに4
00ドツト/インチとした場合1人、出力の等倍を基本
とするとき、入力データを部分マトリクスの大きさの単
位にまとめて入力と出力の大きさを同じにする必要があ
る。その際、平均値をとる方法が考えられる。平均値を
とることは平滑化することであり、濃淡画像に対しては
高周波成分をとり除くことができて有利となるにこで部
分マトリゲスの大きさ分の画素データを加算すると、そ
の加算結果によるデータの有する階調性は1画素の有す
る階調性よりも増大することになる。例えば、1画素の
データが6ビツト(64階調)で4×4のサブマトリク
スによる加算を行なうと、その結果は10ビツト(10
24024階調る。その平均値をとると、その加算結果
を16でわってもとの6ビツトにしてしまうわけだが。
For example, the size of both the input pixel and the output pixel is 4.
In the case of 00 dots/inch, if one person is using the same output, it is necessary to group the input data into units of the size of the partial matrix so that the input and output sizes are the same. In this case, a method of taking an average value may be considered. Taking an average value is smoothing, and it is advantageous for grayscale images because it can remove high frequency components.If you add pixel data for the size of the partial matrices, the result of the addition will be The gradation of data is greater than the gradation of one pixel. For example, if the data for one pixel is 6 bits (64 gradations) and addition is performed using a 4 x 4 submatrix, the result is 10 bits (10
24024 gradations. If we take the average value, we will divide the addition result by 16 and get the original 6 bits.

その際切り捨る4ビツトにも意味がある。ただ人間の目
の能力は64〜256階調程度といわれているために、
ここでは上位8ビツト(256階調)を使用するように
している。すなわち、しきい値マトリクスの大きさを1
6X16とし、階調性の単位を256階調、解像力の単
位を4X4とする。
The 4 bits that are discarded at this time also have meaning. However, since the human eye is said to have a range of 64 to 256 gradations,
Here, the upper 8 bits (256 gradations) are used. In other words, the size of the threshold matrix is set to 1
The size is 6×16, the unit of gradation is 256 gradations, and the unit of resolution is 4×4.

したがって、それにより入力1画素につき64階調から
出力256階調が得られる。
Therefore, 64 gray levels per input pixel to 256 output gray levels are thereby obtained.

°それを実現するための中間調処理回路13の具体的な
構成例を第10図に示している。ここでは。
10 shows a specific configuration example of the halftone processing circuit 13 for realizing this. here.

まずスキャナから送られてくる奇数画素列の画情報BS
Iと偶数画素列の画情報BS2とに応じて主走査方向の
4画素分の加算を第1の加算器17、ラッチ18および
第2の加算器19によって第11図に示すようなタイミ
ングで行ない、副走査1ライン目のときその加算結果A
DDIをRAM 20に書き込む。次に副走査2ライン
目のときに同じように加算された結果ADD2と先程R
AM20に書き込まれた副走査1ライン目の加算結果A
DDIとを第3の加算器21によって加算し、その結果
をRAM22に書き込む。副走査3ライン目では、その
3ライン目の加算結果ADD3と先にRAM2’2に書
き込まれている加算結果とを加算器21により加算して
その結果をRAM23に書き込む。同様にして、副走査
4ライン目に加算されたものは4×4に対応する加算結
果となる。
First, the image information BS of odd-numbered pixel rows sent from the scanner
Addition of four pixels in the main scanning direction is performed by the first adder 17, latch 18, and second adder 19 at the timing shown in FIG. , the addition result A for the first sub-scanning line
Write DDI to RAM 20. Next, at the second sub-scanning line, the result of addition is ADD2 and R
Addition result A of the first sub-scanning line written to AM20
DDI and is added by the third adder 21 and the result is written into the RAM 22. In the third sub-scanning line, the adder 21 adds the addition result ADD3 of the third line and the addition result previously written to the RAM 2'2, and writes the result to the RAM 23. Similarly, what is added to the fourth sub-scanning line becomes an addition result corresponding to 4×4.

これをRAM24aに格納し、続く副走査の4ライン分
による加算結果がRAM24bに格納される間に先にR
AM24aに格納されているデータが読み出され、比較
器25aにおいて予め16X16のしきい値マトリクス
が書き込まれているPROM26aから読み出された主
走査位置および副走査位置に対応するしきい値と比較さ
れ、データ≧しきい値ならばre 1 rrを、データ
くしきい値ならばRO)gを出力する。その2値化出力
は、奇数画素列の出力データDiと偶数画素列の出力デ
ータD2との2系統になるようになっている。なおPR
OM26には、前述のように7通りのしきい値マトリク
スのデータが格納されており、濃度ポジションコマンド
DO5に応じてしきい値マトリクスが適宜選択されるよ
うになっている。図中、27は入出力切換回路をそれぞ
れ示している。また、副走査方向のタイミングを第12
図に・示している。
This is stored in the RAM 24a, and while the addition result of the subsequent four lines of sub-scanning is stored in the RAM 24b,
The data stored in the AM 24a is read out, and compared in the comparator 25a with the threshold values corresponding to the main scanning position and the sub-scanning position read out from the PROM 26a in which a 16×16 threshold matrix is written in advance. , if data≧threshold, re 1 rr is output, and if data is smaller than threshold, RO)g is output. The binarized output is arranged in two systems: output data Di for odd pixel columns and output data D2 for even pixel columns. Furthermore, PR
The OM26 stores seven types of threshold matrix data as described above, and the threshold matrix is appropriately selected according to the density position command DO5. In the figure, 27 indicates an input/output switching circuit. Also, the timing in the sub-scanning direction is set to 12th.
Shown in the figure.

図中、Wはライトサイクル、Rはリードサイクルである
。同図において−RAM20とRAM23との使用タイ
ミングが互いに逆になっていることから、それらを1つ
のRAMによって共用することも可能である。
In the figure, W is a write cycle and R is a read cycle. In the figure, since the usage timings of RAM 20 and RAM 23 are reversed, it is also possible to share them with one RAM.

またPROM26に与えられるコマンドとして。Also as a command given to PROM26.

濃度ポジションがある。その濃度ポジションは7段階で
、第13図に示すような入力−出力変換を考えている。
There is a concentration position. There are seven density positions, and input-output conversion as shown in FIG. 13 is considered.

第13図で、入力データXに対して出力階調数(黒部の
面積比)が直線的になる通常の中間調処理をy=f4(
x)とし、fl (x)−f3(X)側はダーク諷、f
5(x) 〜f7(X)側はライト調となる関数を考え
て、その変換を実現するようにしきい値マトリクスの要
素を決定するようにしている。fL(x)〜f7(x)
に対応する7通りのしきい値マトリクスを決めたら、そ
れをFROM26に格納するようにする。
In Fig. 13, normal halftone processing in which the number of output gradations (black area ratio) is linear with respect to input data X is shown as y=f4(
x), fl (x) - f3 (X) side is dark idiom, f
For the 5(x) to f7(X) sides, a light tone function is considered, and the elements of the threshold matrix are determined so as to realize the conversion. fL(x) ~ f7(x)
After determining the seven threshold matrices corresponding to , they are stored in the FROM 26.

FROM26への書込みは、処理方法が奇数、偶数の並
列処理であるためにしきい値データも主走査方向に奇数
と偶数とに分けて2つのFROM26a、FROM26
bにそれぞれ格納する。なおFROM26のアドレスは
第14図に示すように。
Writing to the FROM 26 is performed using parallel processing for odd and even numbers, so the threshold data is also divided into odd and even numbers in the main scanning direction and written to the two FROM 26a and FROM 26.
Each is stored in b. Note that the address of FROM 26 is as shown in FIG.

そのアドレスAO−A2には主走査カウンタの下位3ビ
ツトの出力データCtが、アへレスA3−八6には副走
査カウンタの下位4ビツトの出力データC2がそれぞれ
割り当てられてしきい値が読み出され、またそのアドレ
スA7〜A9には濃度ポジションのコマンドDO3が与
えられるようになっている。
The output data Ct of the lower 3 bits of the main scanning counter is assigned to addresses AO-A2, and the output data C2 of the lower 4 bits of the sub-scanning counter are assigned to addresses A3-86, so that the threshold value can be read. The density position command DO3 is given to the addresses A7 to A9.

図U艮 以上、本発明による画像処理方式にあっては、スキャナ
によって読み取られた画情報のMTF補正を行なおせる
際、種々の特性をもった2次元デジタルフィルタを複数
用意し、フィルタ指定に応じて処理対象となる2次元デ
ジタルフィルタの選択を任意に行なわせるようにしたも
ので、簡単な手段により入力系のレスポンスにみあった
最適なMTF補正を行なわせることができるという優れ
た利点を有している。
As described above, in the image processing method according to the present invention, when performing MTF correction of image information read by a scanner, a plurality of two-dimensional digital filters with various characteristics are prepared, and a plurality of two-dimensional digital filters are prepared according to the filter specification. This allows the user to arbitrarily select a two-dimensional digital filter to be processed, and has the excellent advantage of being able to perform MTF correction optimally suited to the response of the input system using simple means. are doing.

【図面の簡単な説明】 第1図は本発明による画像処理方式を具体的に実施する
ための画像処理装置の一構成例を示すブロック図、第2
図は同実施例におけるデータ切換制御回路およびデータ
切換回路の具体的な構成例を示すブロック図、第3図は
原稿中における濃淡画像部の領域指定手段の一例を示す
図、第4図はスキャナの構成例を飛す簡略図、第5図は
画像読取システムの制御系およびデータ処理系の構成例
を示すブロック図、第6図は入力画情報に応じたラプラ
シアンフィルタを示す図、第7図は複数の2次元デジタ
ルフィルタによるMTF補正結果のデータが格納された
ROMのアドレスを示す図、第8図は部分マトリクス法
に使用されるしきい値マトリクスの一構成例を示す図、
第9図は部分マトリクス法の原理を示す図、第10図は
同実施例における中間調処理回路の具体的な構成例を示
すブロック図、第11図はその中間調処理回路における
加算タイミングを示すタイムチャート、第12図は同じ
くその副走査方向のタイミングを示すタイムチャート、
第13図は中間調処理回路における入力データに対する
出力階調数の特性を示す図、第14図は中間調処理回路
におけるFROMのアドレスを示す図である。
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a block diagram showing an example of the configuration of an image processing device for specifically implementing the image processing method according to the present invention, and FIG.
The figure is a block diagram showing a specific configuration example of the data switching control circuit and the data switching circuit in the same embodiment, FIG. 3 is a diagram showing an example of area specifying means for a grayscale image part in a document, and FIG. 4 is a diagram showing a scanner. 5 is a block diagram showing an example of the configuration of the control system and data processing system of the image reading system. FIG. 6 is a diagram showing a Laplacian filter according to input image information. FIG. 7 8 is a diagram showing addresses of a ROM in which data of MTF correction results by a plurality of two-dimensional digital filters is stored, and FIG. 8 is a diagram showing an example of the configuration of a threshold matrix used in the partial matrix method.
Fig. 9 is a diagram showing the principle of the partial matrix method, Fig. 10 is a block diagram showing a specific configuration example of the halftone processing circuit in the same embodiment, and Fig. 11 shows the addition timing in the halftone processing circuit. A time chart, FIG. 12 is a time chart showing the timing in the sub-scanning direction.
FIG. 13 is a diagram showing characteristics of the number of output gradations with respect to input data in the halftone processing circuit, and FIG. 14 is a diagram showing FROM addresses in the halftone processing circuit.

Claims (1)

【特許請求の範囲】[Claims] スキャナによって読み取られた画情報の2次元デジタル
フィルタ処理によるMTF補正を行なわせる際、種々の
特性をもった2次元デジタルフィルタを複数用意し、フ
ィルタ指定に応じて処理対象となる2次元デジタルフィ
ルタの選択を行なわせる手段をとるようにした画像処理
方式。
When performing MTF correction by two-dimensional digital filter processing of image information read by a scanner, multiple two-dimensional digital filters with various characteristics are prepared, and the two-dimensional digital filter to be processed is adjusted according to the filter specification. An image processing method that uses means to make selections.
JP59259707A 1984-12-07 1984-12-07 Image processing system Pending JPS61137469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59259707A JPS61137469A (en) 1984-12-07 1984-12-07 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59259707A JPS61137469A (en) 1984-12-07 1984-12-07 Image processing system

Publications (1)

Publication Number Publication Date
JPS61137469A true JPS61137469A (en) 1986-06-25

Family

ID=17337816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59259707A Pending JPS61137469A (en) 1984-12-07 1984-12-07 Image processing system

Country Status (1)

Country Link
JP (1) JPS61137469A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225168A (en) * 1988-07-14 1990-01-26 Chinon Ind Inc Image pickup signal processing unit
JPH0514725A (en) * 1991-07-02 1993-01-22 Sharp Corp Original picture reader

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225168A (en) * 1988-07-14 1990-01-26 Chinon Ind Inc Image pickup signal processing unit
JPH0514725A (en) * 1991-07-02 1993-01-22 Sharp Corp Original picture reader

Similar Documents

Publication Publication Date Title
JP3105168B2 (en) Image forming apparatus and image processing method
JPH04354470A (en) Picture processing method, scanning/printing system for executing said method and picture selector for said scanning/printing system
CA2040562C (en) Half tone image processing circuit
JPS61137469A (en) Image processing system
JP2946520B2 (en) Image reading device
JPS61137466A (en) Image processing system
JP2005173926A (en) Image processing apparatus, method, program, and storage medium
JPS61137472A (en) Image processing system
JPS61137468A (en) Image processor
JPS61137471A (en) Image processing system
JP4328608B2 (en) Image processing apparatus, method, program, and storage medium
JP3850582B2 (en) Image processing device
JP3880793B2 (en) Image processing apparatus and image forming apparatus
JP4328609B2 (en) Image processing apparatus, method, program, and storage medium
JP2007194955A (en) Image processing device
JP4080726B2 (en) Image reduction method, image processing apparatus, and image processing apparatus control method
JPH10191038A (en) Multi-valued image binarization method
JP3792400B2 (en) Image processing device
JP2608397B2 (en) Image processing device
JPH1132210A (en) Image processor
JPS61196677A (en) Picture signal processing system
JP2002290717A (en) Image processing device
JPS6318776A (en) Picture processor
JPH01253367A (en) Image processor
JPH06189126A (en) Method and device for image processing