JPH1188705A - Image reader - Google Patents

Image reader

Info

Publication number
JPH1188705A
JPH1188705A JP9246370A JP24637097A JPH1188705A JP H1188705 A JPH1188705 A JP H1188705A JP 9246370 A JP9246370 A JP 9246370A JP 24637097 A JP24637097 A JP 24637097A JP H1188705 A JPH1188705 A JP H1188705A
Authority
JP
Japan
Prior art keywords
filter
window
target pixel
selecting
output
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
JP9246370A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yamada
博之 山田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9246370A priority Critical patent/JPH1188705A/en
Publication of JPH1188705A publication Critical patent/JPH1188705A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain image reading with high quality by calculating an edge mount of a center pixel of a window set by a window setting means based on adjacent pixels, selecting a filter that calculates a plurality of output objects to select the output object thereby selectively enhancing the edge part. SOLUTION: A window setting means 14 sets part of areas where R, G, B output data from a sensor are written as a window independently of each color and the setting position is moved in the area. An edge amount calculation means 18 uses a center pixel of a matrix set by the window setting means 14 as an object pixel to calculate an edge amount of the object pixel in the window 16 and adjacent pixels. A filter selection means 19 selects a filter acting on the object pixel based on the calculated edge amount so as to operate an optimum filter. Thus, a side effect such as reproduction of moire is not caused and the extension of the skirt of the edge part is decreased.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、原稿の画像情報を
読み取るためのイメージスキャナやデジタル複写機等の
画像読み取り装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image reading apparatus such as an image scanner or a digital copying machine for reading image information of a document.

【0002】[0002]

【従来の技術】従来から、画像読み取り装置は、イメー
ジスキャナや複写機等のデジタル画像の入力機器として
広く用いられている。そして、近年ではインターネット
の普及や高品位のデジタル画像の必要性もあいまって、
装置のカラー化や高画質化に対する要求が高まりつつあ
る。
2. Description of the Related Art Conventionally, image reading apparatuses have been widely used as digital image input devices such as image scanners and copiers. In recent years, with the spread of the Internet and the need for high-quality digital images,
There is an increasing demand for colorization and higher image quality of the device.

【0003】図17は従来の画像読み取り装置を正面か
ら見た断面図である。図において、画像読み取り装置1
は、光源ユニット4,反射ミラー群5,結像レンズ6,
ラインイメージセンサ7により縮小光学系として構成さ
れる光学キャリッジ8と、光学キャリッジ8を駆動する
ための駆動モータ9とを備えている。
FIG. 17 is a sectional view of a conventional image reading apparatus viewed from the front. In the figure, an image reading device 1
Are light source unit 4, reflection mirror group 5, imaging lens 6,
An optical carriage 8 configured as a reduction optical system by the line image sensor 7 and a drive motor 9 for driving the optical carriage 8 are provided.

【0004】そして、駆動モータ9に連接した駆動プー
リ10及び従動プーリ11に駆動ベルト12を巻回する
とともにガイドシャフト13に光学キャリッジ8を移動
可能に取り付け、駆動モータ9の作動によってこの光学
キャリッジ8を移動させることにより原稿ガラス3上の
原稿2を走査して原稿画像を読み取り可能としている。
A drive belt 12 is wound around a drive pulley 10 and a driven pulley 11 connected to a drive motor 9, and an optical carriage 8 is movably mounted on a guide shaft 13. Is moved, the original 2 on the original glass 3 is scanned to read the original image.

【0005】このような画像読み取り装置1では、まず
使用者が原稿2を原稿ガラス3上にセットし、外部ホス
ト(図示せず)より原稿読み取りの命令が出されると、
光源ユニット4は原稿2を照明する。原稿2の画像情報
の反射光は、光学キャリッジ8の側壁に固定されている
反射ミラー群5により折り返されて、結像レンズ6に入
射する。そして、この反射光は結像レンズ6により所定
の倍率に変倍された後、光情報を電気信号へ変換する素
子であるラインイメージセンサ7へ結像する。
In such an image reading apparatus 1, when a user first sets a document 2 on a document glass 3 and a command to read the document is issued from an external host (not shown),
The light source unit 4 illuminates the document 2. The reflected light of the image information of the document 2 is reflected by the group of reflecting mirrors 5 fixed to the side wall of the optical carriage 8 and enters the imaging lens 6. Then, after the reflected light is scaled to a predetermined magnification by the imaging lens 6, an image is formed on a line image sensor 7 which is an element for converting optical information into an electric signal.

【0006】また、これと同時に、駆動モータ9により
回転力を得た駆動プーリ10は、従動プーリ11により
適正な張力を与えられた駆動ベルト12へ駆動を伝達
し、この駆動ベルト12に固定されている光学キャリッ
ジ8は、画像読み取り装置1の側壁に固定されているガ
イドシャフト13に案内され、図17に示す走査範囲を
矢印Aに示される原稿2の副走査方向へと走査する。
At the same time, the driving pulley 10, which has obtained the rotational force by the driving motor 9, transmits the driving force to the driving belt 12, which is given an appropriate tension by the driven pulley 11, and is fixed to the driving belt 12. The optical carriage 8 is guided by a guide shaft 13 fixed to a side wall of the image reading device 1 and scans a scanning range shown in FIG.

【0007】このような動作により、原稿2上の画像情
報は、ラインイメージセンサ7へ蓄積され、原稿2の画
像情報の全てを取り込むことが可能となる。また光学キ
ャリッジ8は指定された走査範囲の走査を終えると、矢
印Bの方向へ動作を反転し読み取り開始位置まで戻り、
次原稿読み取りのために待機する。
By such an operation, the image information on the document 2 is accumulated in the line image sensor 7 and all the image information of the document 2 can be taken. When the optical carriage 8 finishes scanning in the designated scanning range, it reverses its operation in the direction of arrow B and returns to the reading start position.
Stand by for reading the next original.

【0008】[0008]

【発明が解決しようとする課題】カラー画像の読み取り
において、理想的なR(赤),G(緑),B(青)の各
センサのエッジ部の輝度レベルと走査方向は図18に示
すような関係になることは、従来からよく知られてい
る。ところが、実際には、結像レンズ6の光学特性や光
学キャリッジ8の振動等の影響によって、読み取り画像
には図19に破線矢印に示すようにエッジ部分にすそ野
の広がりWが生じる。
In reading a color image, ideal luminance levels and scanning directions at the edges of R (red), G (green), and B (blue) sensors are as shown in FIG. It is well known that such a relationship is established. However, actually, due to the influence of the optical characteristics of the imaging lens 6, the vibration of the optical carriage 8, and the like, the spread W of the skirt field occurs at the edge portion of the read image as shown by the dashed arrow in FIG.

【0009】このすそ野の広がりWのため、エッジ付近
がぼやけた画像となり、スキャナの読み取り画像の品質
を低下させてしまうという問題がある。
Due to the spread W of the skirt, there is a problem that the image near the edge becomes blurred and the quality of the image read by the scanner is reduced.

【0010】また、領域の属性判定を行う場合、網点属
性と判定された領域については、通常出力時のモアレを
防止するため、ローパスフィルタを作用させる。しか
し、このローパスフィルタのため、画像エッジ部のすそ
野の広がりWは更に広いものとなり、スキャナの読み取
り画像の品質を更に著しく低下させているという問題も
ある。
When the attribute of a region is determined, a low-pass filter is applied to the region determined to have the halftone attribute in order to prevent moire at the time of normal output. However, due to the low-pass filter, the width W of the skirt of the image edge portion becomes wider, and there is a problem that the quality of the image read by the scanner is further remarkably reduced.

【0011】このため、ローパスフィルタを作用させた
画像全体に対して、もう一度ハイパスフィルタを作用さ
せ、エッジを強調する方式も提案されているが、画像全
体に均一のハイパスフィルタを作用させるため、ローパ
スフィルタによって除去されていたモアレが再発生する
という問題点を有していた。
For this reason, a method has been proposed in which a high-pass filter is applied once again to the entire image on which the low-pass filter is applied, thereby enhancing edges. However, in order to apply a uniform high-pass filter to the entire image, a low-pass filter is used. There is a problem that the moiré removed by the filter is regenerated.

【0012】本発明は、画像読み取り走査において、エ
ッジ量により選択的にパラメータを変化させてエッジ部
分を選択的に強調することで、高品位の画像読み取りを
可能とする画像読み取り装置を提供することを目的とす
る。
An object of the present invention is to provide an image reading apparatus capable of reading a high-quality image by selectively changing a parameter depending on an edge amount and selectively enhancing an edge portion in image reading scanning. With the goal.

【0013】[0013]

【課題を解決するための手段】本発明は、カラーイメー
ジセンサからのR,G,Bのそれぞれの出力データが書
き込まれる領域の一部を各色ごとに独立にウインドウと
して設定し且つその設定位置を前記領域内で移動させる
ことが可能なウインドウ設定手段と、このウインドウ設
定手段により設定されたウィンドウの中心画素を対象画
素としてウインドウ内の対象画素と対象画素の隣接画素
とから対象画素のエッジ量を算出するエッジ量算出手段
と、このエッジ量算出手段により算出されたエッジ量に
基づいて対象画素に作用させるフィルタを選択する信号
を生成するフィルタ選択手段と、前記ウインドウ内の対
象画素と対象画素の隣接画素とのデータから複数の出力
候補値を演算するフィルタ演算選択手段と、このフィル
タ演算選択手段で演算された複数の出力候補値から、フ
ィルタ選択手段から出力される選択信号に対応した出力
候補値を選択する出力値選択手段とを備えてなることを
特徴とする。
According to the present invention, a part of an area where R, G, and B output data from a color image sensor is written is independently set as a window for each color, and the set position is set. A window setting means that can be moved within the area, and an edge amount of the target pixel from a target pixel in the window and a pixel adjacent to the target pixel using the center pixel of the window set by the window setting means as a target pixel. Edge amount calculation means for calculating; filter selection means for generating a signal for selecting a filter to be applied to the target pixel based on the edge amount calculated by the edge amount calculation means; and a target pixel and a target pixel in the window. Filter operation selecting means for calculating a plurality of output candidate values from data of adjacent pixels; From calculated by a plurality of output candidate value, characterized by comprising an output value selection means for selecting an output candidate value corresponding to the selection signal output from the filter selection means.

【0014】このような構成により、読み取り画像のエ
ッジ部分にのみ選択的に最適なフィルタを作用させるこ
とが可能なので、モアレの再発生等の副作用を起こすこ
となく、エッジ部分のすそ野の広がりを減少させること
ができる。
With such a configuration, the optimum filter can be selectively applied only to the edge portion of the read image, so that the spread of the hem of the edge portion is reduced without causing side effects such as re-generation of moire. Can be done.

【0015】[0015]

【発明の実施の形態】請求項1に記載の発明は、カラー
イメージセンサからのR,G,Bのそれぞれの出力デー
タが書き込まれる領域の一部を各色ごとに独立にウイン
ドウとして設定し且つその設定位置を前記領域内で移動
させることが可能なウインドウ設定手段と、このウイン
ドウ設定手段により設定されたウィンドウの中心画素を
対象画素としてウインドウ内の対象画素と対象画素の隣
接画素とから対象画素のエッジ量を算出するエッジ量算
出手段と、このエッジ量算出手段により算出されたエッ
ジ量に基づいて対象画素に作用させるフィルタを選択す
る信号を生成するフィルタ選択手段と、前記ウインドウ
内の対象画素と対象画素の隣接画素とのデータから複数
の出力候補値を演算するフィルタ演算選択手段と、この
フィルタ演算選択手段で演算された複数の出力候補値か
ら、フィルタ選択手段から出力される選択信号に対応し
た出力候補値を選択する出力値選択手段とを備えてなる
ものであり、エッジ部分に選択的に最適のハイパスフィ
ルタを作用させることで、エッジ部分のすそ野の広がり
を減少させるという作用を有する。
According to the first aspect of the present invention, a part of an area where each of R, G, and B output data from a color image sensor is written is set as a window independently for each color, and A window setting means capable of moving the setting position within the area; and a target pixel in the window and a pixel adjacent to the target pixel in the window, with the center pixel of the window set by the window setting means as the target pixel. Edge amount calculating means for calculating an edge amount; filter selecting means for generating a signal for selecting a filter to be applied to the target pixel based on the edge amount calculated by the edge amount calculating means; and a target pixel in the window. Filter operation selecting means for calculating a plurality of output candidate values from data of a pixel adjacent to the target pixel; Output value selecting means for selecting an output candidate value corresponding to a selection signal output from the filter selecting means from a plurality of output candidate values calculated in the stage, and selectively selecting an output part value suitable for an edge portion. Has the effect of reducing the spread of the skirt at the edge portion.

【0016】請求項2に記載の発明は、カラーイメージ
センサからのR,G,Bのそれぞれの出力データが書き
込まれる領域の一部を各色ごとに独立にウインドウとし
て設定し且つその設定位置を前記領域内で移動させるこ
とが可能なウインドウ設定手段と、このウインドウ設定
手段により設定されたウィンドウの中心画素を対象画素
としてウインドウ内の対象画素と対象画素の隣接画素と
から、対象画素のエッジ量を算出するエッジ量算出手段
と、このエッジ量算出手段により算出されたエッジ量に
基づいて対象画素のデータを変換するルックアップテー
ブルを選択する信号を生成するルックアップテーブル選
択手段と、前記ウインドウ内の対象画素のデータから複
数のルックアップテーブルのデータを参照するルックア
ップテーブル参照手段と、このルックアップテーブル参
照手段で参照された複数の出力候補値から、ルックアッ
プテーブル選択手段から出力される選択信号に対応した
出力候補値を選択する出力値選択手段とを備えてなるも
のであり、エッジ部分に選択的に最適のルックアップテ
ーブルでデータを変換することで、エッジ部分のすそ野
の広がりを減少させることができると共に、出力データ
の演算を行わないので、データのスループットが向上す
るという作用を有する。
According to a second aspect of the present invention, a portion of an area where each of R, G, and B output data from the color image sensor is written is independently set as a window for each color, and the set position is set as the window. From the window setting means that can be moved within the area, and the target pixel in the window and the neighboring pixels of the target pixel, the edge amount of the target pixel is determined using the center pixel of the window set by the window setting means as the target pixel. An edge amount calculating means for calculating; a lookup table selecting means for generating a signal for selecting a lookup table for converting data of the target pixel based on the edge amount calculated by the edge amount calculating means; Lookup table reference that refers to multiple lookup table data from the target pixel data And output value selecting means for selecting an output candidate value corresponding to a selection signal output from the look-up table selecting means from a plurality of output candidate values referred to by the look-up table referring means. By selectively converting the data with the optimal look-up table for the edge part, the spread of the skirt of the edge part can be reduced, and the output data is not calculated, thereby improving the data throughput. It has the effect of doing.

【0017】請求項3に記載の発明は、カラーイメージ
センサからのR,G,Bのそれぞれの出力データが書き
込まれる領域の一部を各色ごと独立にウインドウとして
設定し且つその設定位置を前記領域内で移動させること
が可能なウインドウ設定手段と、このウインドウ設定手
段により設定されたウィンドウの中心画素を対象画素と
してウインドウ内の対象画素と対象画素の隣接画素とか
ら、対象画素のエッジ量を算出するエッジ量算出手段
と、このエッジ量算出手段により算出されたエッジ量か
ら、対象画素の輝度の最大値または最小値に貼り付ける
閾値を選択する信号を生成する閾値選択手段と、前記ウ
インドウ内の対象画素を輝度の最大値または最小値に貼
り付ける貼り付け手段と、この貼り付け手段で貼り付け
られた複数の出力候補値の中から閾値選択手段より出力
される選択信号に対応した出力候補値を選択する出力値
選択手段を備えてなるものであり、エッジ部分のすそ野
の広がりを減少させることができると共に、回路の簡素
化が図れるという作用を有する。
According to a third aspect of the present invention, a part of an area in which R, G, and B output data from a color image sensor is written is set as a window independently for each color, and the set position is set in the area. Calculating the edge amount of the target pixel from the target pixel in the window and a pixel adjacent to the target pixel using the center pixel of the window set by the window setting unit as the target pixel An edge amount calculating unit that performs a threshold value selecting unit that generates a signal for selecting a threshold value to be attached to a maximum value or a minimum value of the luminance of the target pixel from the edge amount calculated by the edge amount calculating unit; Pasting means for pasting the target pixel to the maximum or minimum value of the luminance, and a plurality of output targets pasted by the pasting means. Output value selection means for selecting an output candidate value corresponding to the selection signal output from the threshold value selection means from among the values, and it is possible to reduce the spread of the skirt of the edge portion and to reduce the This has the effect that simplification can be achieved.

【0018】請求項4に記載の発明は、カラーイメージ
センサからのR,G,Bのそれぞれの出力データが書き
込まれる領域の一部を各色ごとに独立にウインドウとし
て設定し且つその設定位置を前記領域内で移動させるこ
とが可能なウインドウ設定手段と、このウインドウ設定
手段により設定されたウィンドウの中心画素を対象画素
としてウインドウ内の対象画素と対象画素の隣接画素と
から対象画素のエッジ量を算出するエッジ量算出手段
と、入力画像の属性を判定する属性判定手段と、エッジ
量算出手段により算出されたエッジ量と入力画像の属性
を判定する属性判定手段の判定結果とに基づいて対象画
素に作用させるフィルタを選択する信号を生成するフィ
ルタ選択手段と、ウインドウ内の対象画素と対象画素の
隣接画素とから、複数の出力候補値を演算するフィルタ
演算選択手段と、このフィルタ演算選択手段で演算され
た複数の出力候補値の中からフィルタ選択手段より出力
される選択信号に対応した出力候補値を選択する出力値
選択手段を備てなるものであり、属性判定手段で、網点
属性と判定され、モアレ除去のために、ローパスフィル
タを作用された領域のエッジ部分に選択的に最適のハイ
パスフィルタを作用させることで、エッジ部分のすそ野
の広がりを減少させることができると共に、モアレの再
発生を防止するという作用を有する。
According to a fourth aspect of the present invention, a part of an area where each of the R, G, and B output data from the color image sensor is written is independently set as a window for each color, and the set position is set as the window. A window setting means that can be moved within the region, and an edge amount of the target pixel is calculated from a target pixel in the window and a pixel adjacent to the target pixel using the center pixel of the window set by the window setting means as a target pixel An edge amount calculating unit, an attribute determining unit that determines an attribute of the input image, and a target pixel based on the edge amount calculated by the edge amount calculating unit and a determination result of the attribute determining unit that determines an attribute of the input image. A filter selecting means for generating a signal for selecting a filter to be operated; and a target pixel in a window and a pixel adjacent to the target pixel. Filter operation selecting means for calculating the output candidate value of the above, and an output value for selecting an output candidate value corresponding to a selection signal output from the filter selecting means from a plurality of output candidate values calculated by the filter operation selecting means Selecting means for determining the halftone dot attribute by the attribute determining means and selectively applying an optimal high-pass filter to an edge portion of an area subjected to a low-pass filter to remove moiré; Thus, it is possible to reduce the spread of the skirt of the edge portion and to prevent the occurrence of moire.

【0019】請求項5に記載の発明は、請求項1から4
に記載の画像読み取り装置において、ウインドウ設定手
段が設定するウインドウのサイズが3×3のマトリック
スであるものであり、ウインドウを最小限のハードウエ
アで構成することができるので、ウインドウ設定手段の
回路の簡素化が図れるという作用を有する。
The invention according to claim 5 provides the invention according to claims 1 to 4
The size of the window set by the window setting means is a 3 × 3 matrix, and the window can be configured with a minimum of hardware. This has the effect that simplification can be achieved.

【0020】請求項6に記載の発明は、請求項1から4
に記載の画像読み取り装置において、エッジ量算出手段
が算出するエッジの方向は主走査方向及び副走査方向の
4方向であるものであり、エッジ量算出手段を最小限の
ハードウエアで構成することができるので、エッジ量算
出手段の回路の簡素化が図れるという作用を有する。
The invention according to claim 6 is the invention according to claims 1 to 4
Wherein the directions of the edges calculated by the edge amount calculating means are four directions of the main scanning direction and the sub-scanning direction, and the edge amount calculating means may be configured with a minimum of hardware. Therefore, the circuit of the edge amount calculating means can be simplified.

【0021】請求項7に記載の発明は、請求項4に記載
の画像読み取り装置において、属性判定手段が判定する
属性は、文字属性と網点属性と写真属性の3属性である
ものであり、属性の判定結果により各属性に最適なフィ
ルタを作用させることができるので、各属性に対応させ
て文字属性,写真属性,網点属性をそれぞれ異なったエ
ッジのすそ野の広がりを減少させる処理を行うことがで
きるという作用を有する。
According to a seventh aspect of the present invention, in the image reading apparatus of the fourth aspect, the attributes determined by the attribute determining means are three attributes of a character attribute, a halftone dot attribute, and a photograph attribute. Since the most suitable filter can be applied to each attribute based on the attribute determination result, it is necessary to perform processing to reduce the spread of the base of the character edge, the photograph attribute, and the halftone dot attribute corresponding to each attribute. It has the effect of being able to.

【0022】以下に、本発明の実施の形態について説明
する。 (実施の形態1)図1は、本発明の実施の形態1におけ
る画像読み取り装置のエッジ強調処理を行う回路のブロ
ック図である。
Hereinafter, embodiments of the present invention will be described. (Embodiment 1) FIG. 1 is a block diagram of a circuit for performing edge enhancement processing of an image reading apparatus according to Embodiment 1 of the present invention.

【0023】図1において、14はカラーイメージセン
サからのR,G,Bの各出力データrm,gm,bmが
画像が書き込まれる領域の一部を各色独立にウインドウ
として設定し、その設定位置を前記領域内で移動させる
ことが可能なウインドウ設定手段である。このウインド
ウ設定手段14は、R,G,Bの各出力データが格納さ
れるSRAM15と、R,G,B用の3×3のマトリッ
クス3組で構成されているウインドウ16と、これらの
SRAM15及びウインドウ16を制御するウインドウ
RAMコントロール手段17とで構成されたものであ
る。そして、ウインドウRAMコントロール手段17に
は、主走査方向の同期信号NHSZ,副走査方向の同期
信号NVSZ,画素同期信号VCLKが入力される。
In FIG. 1, reference numeral 14 designates, as a window, a part of a region where an image, in which R, G, and B output data rm, gm, and bm from a color image sensor are written, is independently set for each color. Window setting means that can be moved within the area. The window setting means 14 includes an SRAM 15 for storing R, G, and B output data, a window 16 composed of three sets of 3 × 3 matrices for R, G, and B; It comprises a window RAM control means 17 for controlling the window 16. The window RAM control unit 17 receives a synchronization signal NHSZ in the main scanning direction, a synchronization signal NVSZ in the sub-scanning direction, and a pixel synchronization signal VCLK.

【0024】18はウインドウ設定手段14で設定され
たマトリックスの中心画素を対象画素とし、ウインドウ
16内の対象画素と対象画素の隣接画素とから、対象画
素のエッジ量を算出するエッジ量算出手段であり、ウイ
ンドウ設定手段14とバスで接続されている。
Reference numeral 18 denotes an edge amount calculating means for calculating the edge amount of the target pixel from the target pixel in the window 16 and a pixel adjacent to the target pixel, with the center pixel of the matrix set by the window setting means 14 as the target pixel. Yes, it is connected to the window setting means 14 by a bus.

【0025】19はエッジ量算出手段18により算出さ
れたエッジ量から、対象画素に作用させるフィルタを選
択するフィルタ選択手段で、エッジ量算出手段18とバ
スで接続されており、フィルタ選択信号Filter−
Selを出力する。
Reference numeral 19 denotes a filter selecting unit for selecting a filter to be applied to the target pixel from the edge amount calculated by the edge amount calculating unit 18. The filter selecting unit 19 is connected to the edge amount calculating unit 18 by a bus.
Output Sel.

【0026】20はウインドウ16内の対象画素に隣接
する画素のデータから複数の出力候補値を演算するフィ
ルタ演算選択手段であり、これはウィンドウ設定手段1
4とバスで接続されたものである。そして,このフィル
タ演算選択手段20は,図2に示すウインドウ16の座
標R00,R10,R20,G00,G10,G20,
B00,B10,B20を入力データとし、出力候補値
fAR,fBR,fCR,fAG,fBG,fCG,f
AB,fBB,fCBをそれぞれ出力する。
Reference numeral 20 denotes a filter calculation selecting means for calculating a plurality of output candidate values from data of pixels adjacent to the target pixel in the window 16, and this is a window setting means 1.
4 and a bus. Then, the filter operation selecting means 20 outputs the coordinates R00, R10, R20, G00, G10, G20,
B00, B10 and B20 are input data, and output candidate values fAR, fBR, fCR, fAG, fBG, fCG, f
AB, fBB, and fCB are output, respectively.

【0027】なお、本実施の形態では、フィルタ演算選
択手段20は、フィルタA21,フィルタB22,フィ
ルタC23の3種類のフィルタで構成されており、各出
力候補値の2番目の添字はフィルタの種類を、3番目の
添字は出力の色チャンネルを示すこととする。
In the present embodiment, the filter operation selecting means 20 is composed of three types of filters, a filter A21, a filter B22, and a filter C23, and the second suffix of each output candidate value is the type of the filter. And the third subscript indicates the output color channel.

【0028】更に、24はフィルタ演算選択手段20で
演算された複数の出力候補値から、フィルタ選択手段1
9が出力したフィルタ選択信号Filter−Selに
対応した出力候補値を選択する出力値選択手段である。
Further, reference numeral 24 denotes a filter selection means 1 based on a plurality of output candidate values calculated by the filter calculation selection means 20.
Reference numeral 9 denotes output value selection means for selecting an output candidate value corresponding to the filter selection signal Filter-Sel output.

【0029】図3は本発明の実施の形態1におけるエッ
ジ量算出手段18の構成を示す図、図4は同上方向,下
方向,左方向及び右方向のエッジ量算出オペレータを示
す図、図5は同フィルタ選択手段19の構成を示す図、
図6は同画像の座標を示す図、図7は同フィルタ演算選
択手段20の構成の一例を示す図、図8は同出力値選択
手段24の構成を示す図である。
FIG. 3 is a diagram showing a configuration of the edge amount calculating means 18 according to the first embodiment of the present invention, FIG. 4 is a diagram showing an edge amount calculating operator in the upward, downward, left and right directions, and FIG. Is a diagram showing a configuration of the filter selection means 19,
FIG. 6 is a diagram showing the coordinates of the same image, FIG. 7 is a diagram showing an example of the configuration of the filter operation selection means 20, and FIG. 8 is a diagram showing the configuration of the output value selection means 24.

【0030】以上の構成の画像読み取り装置の動作をこ
れらの図を用いて以下に説明する。ラインイメージセン
サ7からの出力は、主走査方向の同期信号NHSZ,副
走査方向の同期信号NVSZ及び画素同期信号VCLK
に同期して、ウインドウ設定手段14に送られ、それぞ
れ、図2に示すウインドウ16のR00,R10,R2
0,G00,G10,G20,B00,B10,B20
に格納される。同時に、SRAM15に保持されている
1ライン及び2ライン前の画像データを読み込み、ウイ
ンドウを構成する。このとき、R00,R10,R2
0,G00,G10,G20,B00,B10,B20
のデータは、次のラインを対象画素としたウインドウ形
成に必要になるので、SRAM15への書き込みも行
う。
The operation of the image reading apparatus having the above configuration will be described below with reference to these drawings. Outputs from the line image sensor 7 include a synchronization signal NHSZ in the main scanning direction, a synchronization signal NVSZ in the sub-scanning direction, and a pixel synchronization signal VCLK.
Are transmitted to the window setting means 14 in synchronism with R00, R10, R2 of the window 16 shown in FIG.
0, G00, G10, G20, B00, B10, B20
Is stored in At the same time, the image data of one line and two lines before that is held in the SRAM 15 is read to form a window. At this time, R00, R10, R2
0, G00, G10, G20, B00, B10, B20
Is necessary for forming a window with the next line as a target pixel, so writing to the SRAM 15 is also performed.

【0031】このようにして構成されたウインドウ16
に対し、エッジ量算出手段18は図3に示す構成とした
ものであり、図4に示す上方向,下方向,左方向及び右
方向のエッジ量算出オペレータを、ウインドウ16に対
して作用させることにより、各プレーン及び各方向のエ
ッジ量を求める。
The window 16 thus constructed
On the other hand, the edge amount calculating means 18 has the configuration shown in FIG. 3, and allows the upward, downward, leftward, and rightward edge amount calculating operators shown in FIG. Thus, the edge amount in each plane and each direction is obtained.

【0032】図3のエッジ検出オペレーターの実際の演
算は、同一位置のオペレータの値と、ウインドウ16の
値の積をとり、それらの和をとる演算を行う。具体的に
Rのウインドウ16(R)を例として以下に説明する。
In the actual calculation of the edge detection operator in FIG. 3, the product of the value of the operator at the same position and the value of the window 16 is calculated, and the calculation is performed to sum them. This will be specifically described below using the R window 16 (R) as an example.

【0033】まず、上方向のエッジ量をUrobR,下
方向のエッジ量をDrobR,左方向のエッジ量をLr
obR,右方向のエッジ量をRrobRとする。そし
て、エッジ量算出手段18は、各方向のエッジ量を求め
るために以下の演算を行う。
First, the upward edge amount is UlobR, the downward edge amount is DrobR, and the leftward edge amount is Lr.
obR, the edge amount in the right direction is RrobR. Then, the edge amount calculation means 18 performs the following calculation to obtain the edge amount in each direction.

【0034】 UrobR=R00+2R01+R02−(R20+2R21+R22)・・ ・・(1) DrobR=−(R00+2R01+R02)+R20+2R21+R22・ ・・・(2) LrobR=R00+2R10+R20−(R02+2R12+R22)・・ ・・(3) RrobR=−(R00+2R10+R20)+R02+2R12+R22・ ・・・(4) 同様にGのウインドウ16(G)の値からUrobG,
DrobG,LrobG,RrobGを、及びBのウイ
ンドウ16(B)の値からUrobB,DrobB,L
robB,RrobBを求める演算を行う。
UrobR = R00 + 2R01 + R02- (R20 + 2R21 + R22)... (1) DrobR =-(R00 + 2R01 + R02) + R20 + 2R21 + R22. ) + R02 + 2R12 + R22 (4) Similarly, from the value of the G window 16 (G), UrobG,
From the values of the window 16 (B) of B, UrobB, DrobB, L
An operation for obtaining robB and RrobB is performed.

【0035】次に、フィルタ選択手段19は図5に示す
ように構成されたものであり、UrobR,Drob
R,LrobR,RrobR,UrobG,Drob
G,LrobG,RrobG,UrobB,Drob
B,LrobB,RrobB、及びエッジ判定閾値信号
Edg−th1〜Edg−th3を入力信号として、フ
ィルタ選択信号Filter−Selを出力する。フィ
ルタ選択信号Filter−Selは、R,G,B各チ
ャンネルについて出力候補値を選択しない選択信号Fi
lter−SelR0,Filter−SelG0,F
ilter−SelB0,フィルタA21を選択する選
択信号Filter−SelR1,Filter−Se
lG1,Filter−SelB1、フィルタB22を
選択する選択信号Filter−SelR2,Filt
er−SelG2,Filter−SelB2、及びフ
ィルタC23を選択する選択信号Filter−Sel
R3,Filter−SelG3,Filter−Se
lB3で構成されている。
Next, the filter selecting means 19 is constructed as shown in FIG.
R, LlobR, RlobR, UrobG, Drob
G, LlobG, RlobG, UrobB, Drob
B, LlobB, RlobB, and edge determination threshold signals Edg-th1 to Edg-th3 are input signals to output a filter selection signal Filter-Sel. The filter selection signal Filter-Sel is a selection signal Fi that does not select an output candidate value for each of the R, G, and B channels.
lter-SelR0, Filter-SelG0, F
selection signals Filter-SelR1 and Filter-Se for selecting filter-SelB0 and filter A21.
Selection signals Filter-SelR2, Filter for selecting 1G1, Filter-SelB1, and Filter B22
er-SelG2, Filter-SelB2, and a selection signal Filter-Sel for selecting the filter C23.
R3, Filter-SelG3, Filter-Se
1B3.

【0036】フィルタ選択手段19のフィルタ選択の方
式は、まず、対象画素のR,G,Bのそれぞれのチャン
ネルの最大エッジ量として、MaxrobR,Maxr
obG、MaxrobBをそれぞれ算出する。
The filter selecting method of the filter selecting means 19 is as follows. First, MaxrobR, MaxrR are set as the maximum edge amounts of the R, G, and B channels of the target pixel.
ObG and MaxrobB are calculated respectively.

【0037】次いで、Rのチャンネルについて、Max
robRの値がエッジ判定閾値Edg−th1未満の場
合、すなわちEdg−th1>MaxrobRの場合に
は、出力候補値を選択しない選択信号Filter−S
elR0がアサートされる。
Next, for the R channel, Max
If the value of robR is less than the edge determination threshold value Edg-th1, that is, if Edg-th1> MaxrobR, a selection signal Filter-S that does not select an output candidate value
elR0 is asserted.

【0038】また、MaxrobRの値がエッジ判定閾
値Edg−th1以上でEdg−th12未満の場合、
すなわちEdg−th1≦MaxrobR<Edg−t
h2の場合には、フィルタA21を選択する選択信号F
ilter−SelR1がアサートされる。また、Ma
xrobRの値がエッジ判定閾値Edg−th2以上で
Edg−th3未満の場合、すなわちEdg−th2≦
MaxrobR<Edg−th3の場合には、フィルタ
B22を選択する選択信号Filter−SelR2が
アサートされる。また、MaxrobRの値がエッジ判
定閾値Edg−th3以上の場合、すなわちEdg−t
h3≦MaxrobRの場合には、フィルタC23を選
択する選択信号Filter−SelR3がアサートさ
れる。
When the value of MaxrobR is equal to or more than the edge determination threshold value Edg-th1 and less than Edg-th12,
That is, Edg-th1 ≦ MaxrobR <Edg-t
h2, the selection signal F for selecting the filter A21
ilter-SelR1 is asserted. Also, Ma
When the value of xrobR is equal to or more than the edge determination threshold value Edg-th2 and less than Edg-th3, that is, Edg-th2 ≦
When MaxrobR <Edg-th3, the selection signal Filter-SelR2 for selecting the filter B22 is asserted. Further, when the value of MaxrobR is equal to or greater than the edge determination threshold value Edg-th3, that is, when Edg-t
When h3 ≦ MaxrobR, the selection signal Filter-SelR3 for selecting the filter C23 is asserted.

【0039】同様に、GのチャンネルについてはMax
robGの値により、Filter−SelG0,Fi
lter−SelG1,Filter−SelG2,F
ilter−SelG3のいずれかが、Bのチャンネル
についてもMaxrobBの値により、Filter−
SelB0,Filter−SelB1,Filter
−SelB2,Filter−SelB3のいずれかが
アサートされる。
Similarly, for the G channel, Max
According to the value of robG, Filter-SelG0, Fi
lter-SelG1, Filter-SelG2, F
Any one of the filter-SelG3 also determines the Filter-
SelB0, Filter-SelB1, Filter
One of -SelB2 and Filter-SelB3 is asserted.

【0040】また、フィルタ演算手段20は、図6に示
す構成であり、図示の例のフィルタ演算手段では、エッ
ジ量算手段で行ったのと同様の演算を行う。具体的に
は、図7に示す各フィルタ同一位置のオペレータの値と
ウインドウ16の値の積をとり、それらの和をとる演算
を行う。具体的にRのウインドウ16(R)を例に説明
する。
The filter operation means 20 has the configuration shown in FIG. 6, and the filter operation means in the illustrated example performs the same operation as that performed by the edge amount calculation means. Specifically, the calculation is performed by multiplying the value of the operator at the same position of each filter shown in FIG. 7 by the value of the window 16 and taking the sum thereof. Specifically, an R window 16 (R) will be described as an example.

【0041】RチャンネルのフィルタAの出力候補値を
fRA,フィルタBのそれをfBR,フィルタCのそれ
をfCRとすると、フィルタ演算出手段20は、各フィ
ルタの出力候補値を求めるために以下の演算を行う。
Assuming that the output candidate value of the filter A of the R channel is fRA, that of the filter B is fBR, and that of the filter C is fCR, the filter calculation output means 20 calculates the following output candidate value of each filter. Perform the operation.

【0042】 fAR=2R11−1/4(R01+R10+R12+R21)・・・(5) fBR=3R11−1/2(R01+R10+R12+R21)・・・(6) fCR=R11−(R01+R10+R12+R21)・・・(7) 同様にGのウインドウ16(G)の値からfAG,fB
G,fCGを、Bのウインドウ16(B)の値からfA
B,fBB,fCBを求める演算を行う。
FAR = 2R11- / (R01 + R10 + R12 + R21) (5) fBR = 3R11-1 / 2 (R01 + R10 + R12 + R21) (6) fCR = R11- (R01 + R10 + R12 + R21) (7) Similarly FAG, fB from the value of window 16 (G) of G
G and fCG are calculated from the value of the window 16 (B) of B by fA
An operation for obtaining B, fBB, and fCB is performed.

【0043】最後に、出力値選択手段24は、図8に示
す構成であり、フィルタ演算手段20の出力候補値fA
R,fBR,fCR,fAG,fBG,fCG,fA
B,fBB,fCB及び、カラーイメージセンサ7の出
力データrm,gm,bmから、R,G,Bの各チャン
ネルについて、フィルタ選択手段19により出力された
フィルタ選択信号に対応した出力候補値の選択を行い、
出力データとしてCCDA−R,CCDA−G,CCD
A−Bを出力する。
Finally, the output value selecting means 24 has the configuration shown in FIG.
R, fBR, fCR, fAG, fBG, fCG, fA
Selection of output candidate values corresponding to the filter selection signal output by the filter selection means 19 for each of the R, G, B channels from the output data rm, gm, bm of the color image sensor 7 for B, fBB, fCB. Do
CCDA-R, CCDA-G, CCD as output data
Output AB.

【0044】Rチャンネルを例に具体的に説明すると、
フィルタ選択信号Filter−SelR0がアサート
されている場合には、rmがCCDA−Rとして出力さ
れる。また、Filter−SelR1がアサートされ
ている場合にはfARが、Filter−SelR2が
アサートされている場合にはfBRが、Filter−
SelR3がアサートされている場合にはfBCが、C
CDA−Rとして出力される。
A specific description will be given by taking the R channel as an example.
When the filter selection signal Filter-SelR0 is asserted, rm is output as CCDA-R. Further, when Filter-SelR1 is asserted, fAR, and when Filter-SelR2 is asserted, fBR is Filter-SelR2.
If SelR3 is asserted, fBC
Output as CDA-R.

【0045】Gチャンネル及びBチャンネルについて
も、同様の処理で、フィルタ選択信号内のアサートされ
ている信号に対応した出力候補値が、それぞれCCDA
−G,CCDA−Bとして出力される。
For the G channel and the B channel, in the same manner, the output candidate values corresponding to the asserted signal in the filter selection signal are respectively set to CCDA.
-G, output as CCDA-B.

【0046】(実施の形態2)次に、本発明の実施の形
態2について説明する。
Second Embodiment Next, a second embodiment of the present invention will be described.

【0047】図9は実施の形態2の画像読み取り装置の
エッジ強調処理行う回路のブロック図であり、図1に示
す本発明の実施の形態1の画像読み取り装置と同一の構
成要素については、同一の符号を付与し、その説明は省
略する。
FIG. 9 is a block diagram of a circuit for performing edge enhancement processing of the image reading apparatus according to the second embodiment. The same components as those in the image reading apparatus according to the first embodiment of the present invention shown in FIG. And a description thereof will be omitted.

【0048】この画像読み取り装置において、図1の実
施の形態1と異なる点は、フィルタ選択手段19がルッ
クアップテーブル選択手段25に、及びフィルタ演算手
段20がルックアップテーブル参照手段26にそれぞれ
置き換わった点である。
This image reading apparatus differs from the first embodiment in FIG. 1 in that the filter selecting means 19 is replaced by a look-up table selecting means 25 and the filter calculating means 20 is replaced by a look-up table referring means 26. Is a point.

【0049】本実施の形態では、ルックアップテーブル
参照手段26は、テーブルA27,テーブルB28及び
テーブルC23の3種類のフィルタで構成されており、
各テーブル参照値の2番目の添字はテーブルの種類を示
し、3番目の添字は出力の色チャンネルを示すこととす
る。
In this embodiment, the look-up table reference means 26 is composed of three types of filters, a table A27, a table B28 and a table C23.
The second suffix of each table reference value indicates the type of the table, and the third suffix indicates the output color channel.

【0050】図10は本発明の実施の形態2におけるル
ックアップテーブル選択手段25の構成を示す図、図1
1は同ルックアップテーブル参照手段26の構成を示す
図である。
FIG. 10 is a diagram showing a configuration of the lookup table selecting means 25 according to the second embodiment of the present invention.
1 is a diagram showing a configuration of the lookup table reference means 26.

【0051】ルックアップテーブル選択手段25は、図
10に示す構成であり、UrobR,DrobR,Lr
obR,RrobR,UrobG,DrobG,Lro
bG,RrobG,UrobB,DrobB,Lrob
B,RrobB,エッジ判定閾値信号Edg−th1〜
Edg−th3を入力信号として、ルックアップテーブ
ル選択信号Table−Selを出力する。フィルタ選
択信号Table−Selは、R,G,Bの各チャンネ
ルについてルックアップテーブルの参照値を選択しない
選択信号Table−SelR0,Table−Sel
G0,Table−SelB0,テーブルA27を選択
する選択信号Table−SelR1,Table−S
elG1,Table−SelB1,テーブルB28を
選択する選択信号Table−SelR2,Table
−SelG2,Table−SelB2,テーブルC2
9を選択する選択信号Table−SelR3,Tab
le−SelG3,Table−SelB3で構成され
ている。
The look-up table selecting means 25 has the configuration shown in FIG. 10 and includes UlobR, DrobR, Lr
obR, RobR, UrobG, DrobG, Lro
bG, RlobG, UrobB, DrobB, Llob
B, RlobB, edge determination threshold signal Edg-th1
A lookup table selection signal Table-Sel is output using Edg-th3 as an input signal. The filter selection signals Table-Sel are selection signals Table-SelR0, Table-Sel that do not select the lookup table reference value for each of the R, G, and B channels.
Selection signals Table-SelR1, Table-S for selecting G0, Table-SelB0, and Table A27
elG1, Table-SelB1, selection signal Table-SelR2, Table for selecting table B28
-SelG2, Table-SelB2, Table C2
9 selecting signal Table-SelR3, Tab
It is composed of le-SelG3 and Table-SelB3.

【0052】ルックアップテーブル選択手段25のフィ
ルタ選択の方式は、実施の形態1で説明したフィルタ選
択手段と同様であり、対象画素のR,G,Bのそれぞれ
のチャンネルの最大エッジ量MaxrobR,Maxr
obG,MaxrobBを求める。
The filter selection method of the lookup table selection means 25 is the same as that of the filter selection means described in the first embodiment, and the maximum edge amounts MaxrobR, MaxrR of the R, G, and B channels of the target pixel are used.
ObG and MaxrobB are obtained.

【0053】次に、Rのチャンネルについて、Maxr
obRの値がエッジ判定閾値Edg−th1未満の場
合、すなわちEdg−th1>MaxrobRの場合に
は、ルックアップテーブルの参照値を選択しない選択信
号Table−SelR0がアサートされる。また、M
axrobRの値がエッジ判定閾値Edg−th1でE
dg−th2未満の場合、すなわちEdg−th1≦M
axrobR<Edg−th2の場合には、ルックアッ
プテーブルA27を選択する選択信号Table−Se
lR1がアサートされる。また、MaxrobRの値が
エッジ判定閾値Edg−th2以上でEdg−th3未
満の場合、すなわちEdg−th2≦MaxrobR<
Edg−th3の場合には、テーブルB28を選択する
選択信号Table−SelR2がアサートされる。ま
た、MaxrobRの値がエッジ判定閾値Edg−th
3以上の場合、すなわちEdg−th3≦Maxrob
Rの場合には、テーブルC29を選択する選択信号Ta
ble−SelR3がアサートされる。
Next, for the R channel, Maxr
When the value of obR is less than the edge determination threshold value Edg-th1, that is, when Edg-th1> MaxrobR, the selection signal Table-SelR0 that does not select the reference value of the lookup table is asserted. Also, M
The value of axrobR is E at the edge determination threshold value Edg-th1.
dg-th2, that is, Edg-th1 ≦ M
When axrobR <Edg-th2, the selection signal Table-Se for selecting the lookup table A27 is used.
lR1 is asserted. Further, when the value of MaxrobR is equal to or more than the edge determination threshold value Edg-th2 and less than Edg-th3, that is, Edg-th2 ≦ MaxrobR <
In the case of Edg-th3, the selection signal Table-SelR2 for selecting the table B28 is asserted. Further, the value of MaxrobR is the edge determination threshold value Edg-th
In the case of 3 or more, that is, Edg-th3 ≦ Maxrob
In the case of R, a selection signal Ta for selecting the table C29
ble-SelR3 is asserted.

【0054】同様に、GのチャンネルについてはMax
robGの値により、Table−SelG0,Tab
le−SelG1,Table−SelG2,Tabl
e−SelG3のいずれかが、Bのチャンネルについて
もMaxrobBの値により、Table−SelB
0,Table−SelB1,Table−SelB
2,Table−SelB3のいずれかがアサートされ
る。
Similarly, for the G channel, Max
Depending on the value of robG, Table-SelG0, Tab
le-SelG1, Table-SelG2, Tabl
Any of the e-SelG3s can also determine the value of the Max-RobB for the channel of the Table-SelG3.
0, Table-SelB1, Table-SelB
2, either Table-SelB3 is asserted.

【0055】また、ルックアップテーブル参照手段26
は、図11に示す構成になっており、R11,G11,
B11を入力値として、各ルックアップテーブルを参照
することにより、tAR,tBR,tCR,tAG,t
BG,tCG,tAB,tBB,tCBをそれぞれ出力
する。
Also, look-up table reference means 26
Has a configuration shown in FIG. 11, and R11, G11,
By referring to each look-up table with B11 as an input value, tAR, tBR, tCR, tAG, t
BG, tCG, tAB, tBB, and tCB are output, respectively.

【0056】最後に、出力値選択手段24は、実施の形
態1と同様に、ルックアップテーブル参照手段26のテ
ーブル参照値tAR,tBR,tCR,tAG,tB
G,tCG,tAB,tBB,tCB、及びカラーイメ
ージセンサ7の出力データrm,gm,bmから、R,
G,Bの各チャンネルについて、ルックアップテーブル
選択手段25により出力されたルックアップテーブル選
択信号に対応した出力候補値の選択を行い、出力データ
としてCCDA−R,CCDA−G,CCDA−Bを出
力する。
Finally, the output value selection means 24 outputs the table reference values tAR, tBR, tCR, tAG, tB of the lookup table reference means 26, as in the first embodiment.
From G, tCG, tAB, tBB, tCB, and output data rm, gm, bm of the color image sensor 7, R,
For each of the channels G and B, an output candidate value corresponding to the lookup table selection signal output by the lookup table selection means 25 is selected, and CCDA-R, CCDA-G, and CCDA-B are output as output data. I do.

【0057】(実施の形態3)図12は、本発明の実施
の形態3の画像読み取り装置のエッジ強調処理を行う回
路のブロック図であり、図1に示した本発明の実施の形
態1の画像読み取り装置と同一の構成要素については、
同一の符号を付与し、その説明は省略する。
(Embodiment 3) FIG. 12 is a block diagram of a circuit for performing edge enhancement processing of an image reading apparatus according to Embodiment 3 of the present invention. For the same components as the image reading device,
The same reference numerals are given, and the description is omitted.

【0058】この画像読み取り装置において、実施の形
態1と異なる点は、フィルタ選択手段19が閾値選択手
段30に、フィルタ演算手段20が輝度の最大値または
最小値に貼り付ける貼り付け手段31にそれぞれ置き換
わった点である。
This image reading apparatus is different from the first embodiment in that the filter selecting means 19 is attached to the threshold value selecting means 30 and the filter calculating means 20 is attached to the attaching means 31 for attaching to the maximum or minimum luminance value. It has been replaced.

【0059】本実施の形態では、閾値選択手段30は、
閾値A,閾値B,閾値Cの3種類の閾値で構成されてお
り、貼り付け手段の出力候補値の2番目の添字はテーブ
ルの種類を示し、3番目の添字は出力の色チャンネルを
示すこととする。
In the present embodiment, the threshold value selecting means 30
It consists of three types of thresholds, threshold A, threshold B, and threshold C. The second suffix of the output candidate value of the pasting means indicates the type of the table, and the third suffix indicates the color channel of the output. And

【0060】図13は本発明の実施の形態3における閾
値選択手段30の構成を示す図、図14は同貼り付け手
段31の構成を示す図である。
FIG. 13 is a diagram showing the structure of the threshold value selecting means 30 according to the third embodiment of the present invention, and FIG.

【0061】閾値選択手段30は、図13に示す構成で
あり、UrobR,DrobR,LrobR,Rrob
R,UrobG,DrobG,LrobG,Rrob
G,UrobB,DrobB,LrobB,Rrob
B,エッジ判定閾値信号Edg−th1〜Edg−th
3を入力信号として、閾値選択信号Th−Selを出力
する。閾値選択信号Th−Selは、R,G,Bの各チ
ャンネルについて貼り付け手段の出力候補値を選択しな
い選択信号Th−SelR0,Th−SelG0,Th
−SelB0、閾値Aを選択する選択信号Th−Sel
R1,Table−SelG1,Table−SelB
1、閾値Bを選択する選択信号Th−SelR2,Th
−SelG2,Th−SelB2、閾値Cを選択する選
択信号Th−SelR3,Th−SelG3,Th−S
elB3で構成されている。
The threshold value selecting means 30 has the configuration shown in FIG. 13 and includes UrobR, DrobR, LlobR, and Rlob.
R, UrobG, DrobG, LlobG, Rlob
G, UrobB, DrobB, LlobB, Rlob
B, edge determination threshold signals Edg-th1 to Edg-th
3 as an input signal, and outputs a threshold selection signal Th-Sel. The threshold selection signal Th-Sel is a selection signal Th-SelR0, Th-SelG0, Th that does not select an output candidate value of the pasting means for each of R, G, and B channels.
-SelB0, selection signal Th-Sel for selecting threshold A
R1, Table-SelG1, Table-SelB
1. Selection signal Th-SelR2, Th for selecting threshold B
Selection signals Th-SelR3, Th-SelG3, Th-S for selecting SelG2, Th-SelB2, and threshold C
elB3.

【0062】閾値選択手段30の閾値選択の方式は、実
施の形態1のフィルタ選択手段と同様であり、対象画素
のR,G,Bのそれぞれのチャンネルの最大エッジ量M
axrobR,MaxrobG,MaxrobBを求め
る。
The threshold selection method of the threshold selection unit 30 is the same as that of the filter selection unit of the first embodiment, and the maximum edge amount M of each of the R, G, and B channels of the target pixel is set.
Find axrobR, MaxrobG, and MaxrobB.

【0063】次に、Rのチャンネルについて、Maxr
obRの値がエッジ判定閾値Edg−th1未満の場
合、すなわちEdg−th1>MaxrobRの場合に
は、貼り付け手段の出力候補値を選択しない選択信号T
h−SelR0がアサートされる。また、Maxrob
Rの値がエッジ判定閾値Edg−th1以上でEdg−
th2未満の場合、すなわちEdg−th1≦Maxr
obR<Edg−th2の場合には、閾値Aを選択する
選択信号Table−SelR1がアサートされる。ま
た、MaxrobRの値がエッジ判定閾値Edg−th
2以上でEdg−th3未満の場合、すなわちEdg−
th2≦MaxrobR<Edg−th3の場合には、
閾値Bを選択する選択信号Th−SelR2がアサート
される。また、MaxrobRの値がエッジ判定閾値E
dg−th3以上の場合、すなわちEdg−th3≦M
axrobRの場合には、閾値Cを選択する選択信号T
h−SelR3がアサートされる。
Next, for the R channel, Maxr
When the value of obR is smaller than the edge determination threshold value Edg-th1, that is, when Edg-th1> MaxrobR, the selection signal T that does not select the output candidate value of the pasting unit.
h-SelR0 is asserted. Also, Maxrob
When the value of R is equal to or greater than the edge determination threshold value Edg-th1, Edg-
less than th2, ie, Edg-th1 ≦ Maxr
When obR <Edg-th2, the selection signal Table-SelR1 for selecting the threshold A is asserted. Further, the value of MaxrobR is the edge determination threshold value Edg-th
2 or more and less than Edg-th3, that is, Edg-th
When th2 ≦ MaxrobR <Edg-th3,
The selection signal Th-SelR2 for selecting the threshold B is asserted. Also, the value of MaxrobR is equal to the edge determination threshold E
dg-th3 or more, that is, Edg-th3 ≦ M
In the case of axrobR, the selection signal T for selecting the threshold value C
h-SelR3 is asserted.

【0064】同様に、GのチャンネルについてはMax
robGの値により、Th−SelG0,Th−Sel
G1,Th−SelG2,Th−SelG3のいずれか
が、BのチャンネルについてもMaxrobBの値によ
り、Th−SelB0,Th−SelB1,Th−Se
lB2,Th−SelB3のいずれかがアサートされ
る。
Similarly, for the G channel, Max
According to the value of robG, Th-SelG0, Th-Sel
Any of G1, Th-SelG2, and Th-SelG3 also determines Th-SelB0, Th-SelB1, and Th-Se for the B channel according to the value of MaxlobB.
One of IB2 and Th-SelB3 is asserted.

【0065】また、貼り付け手段31は、図14に示す
構成であり、R11,G11,B11を入力値として、
閾値により輝度の最大値または最小値への貼り付けを行
い、hAR,hBR,hCR,hAG,hBG,hC
G,hAB,hBB,hCBを出力する。
The pasting means 31 has the configuration shown in FIG. 14, and uses R11, G11, and B11 as input values.
Pasting to the maximum value or minimum value of the luminance is performed according to the threshold, and hAR, hBR, hCR, hAG, hBG, hC
G, hAB, hBB, and hCB are output.

【0066】貼り付け手段による貼り付けの方法をRチ
ャンネルを例に具体的に説明すると、入力データR11
が閾値A未満の場合、つまりR11<閾値Aの場合、h
ARは輝度の最小値Yminに貼り付けられる。逆に、
閾値A以上の場合、つまりR11≧閾値Aの場合、hA
Rは輝度の最大値Ymaxに貼り付けられる。
The method of pasting by the pasting means will be specifically described by taking the R channel as an example.
Is less than the threshold value A, that is, when R11 <threshold value A, h
AR is pasted on the minimum luminance value Ymin. vice versa,
When the threshold value A or more, that is, when R11 ≧ threshold value A, hA
R is pasted on the maximum luminance value Ymax.

【0067】同様に、閾値B,閾値C及びGとBのチャ
ンネルについても同様の貼り付けを行う。
Similarly, the same paste is performed for the threshold B, the threshold C, and the channels G and B.

【0068】最後に、出力値選択手段24は、実施の形
態1と同様に貼り付け手段31の出力候補値hAR,h
BR,hCR,hAG,hBG,hCG,hAB,hB
B,hCB、及びカラーイメージセンサ7の出力データ
rm,gm,bmから、R,G,Bの各チャンネルにつ
いて、出力閾値選択手段25により出力された閾値選択
信号に対応した出力候補値の選択を行い、出力データと
してCCDA−R,CCDA−G,CCDA−Bを出力
する。
Finally, the output value selecting means 24 outputs the output candidate values hAR, h of the pasting means 31 in the same manner as in the first embodiment.
BR, hCR, hAG, hBG, hCG, hAB, hB
From the B, hCB, and output data rm, gm, bm of the color image sensor 7, selection of an output candidate value corresponding to the threshold selection signal output by the output threshold selection unit 25 for each of the R, G, B channels. Then, CCDA-R, CCDA-G, and CCDA-B are output as output data.

【0069】(実施の形態4)図15は、本発明の実施
の形態4の画像読み取り装置のエッジ強調処理を行う回
路のブロック図であり、図1に示す本発明の実施の形態
1の画像読み取り装置と同一の構成要素については、同
一の符号を付与し、その説明は省略する。
(Embodiment 4) FIG. 15 is a block diagram of a circuit for performing edge enhancement processing of an image reading apparatus according to Embodiment 4 of the present invention. The image according to Embodiment 1 of the present invention shown in FIG. The same components as those of the reading device are denoted by the same reference numerals, and description thereof will be omitted.

【0070】この画像読み取り装置において、図1の実
施の形態1と異なる点は、入力画像の属性を判定する属
性判定手段35が追加され、その属性判定結果がフィル
タ選択手段36に入力される点、及び、フィルタ演算手
段37内がフィルタA21,フィルタB22,フィルタ
C23に加えてフィルタD38及びフィルタE39が加
えられ、出力候補値fAR,fBR,fCR,fAG,
fBG,fCG,fAB,fBB,fCB,fDR,f
DG,fDB,fER,fEG,fEBを出力する点で
ある。なお、本実施の形態ではフィルタの数を5種類と
したが属性判定の属性数以上であれば何種類でも良い。
This image reading apparatus is different from the first embodiment in FIG. 1 in that an attribute judging means 35 for judging the attribute of an input image is added, and the attribute judgment result is inputted to a filter selecting means 36. , And the filter operation means 37 is provided with a filter D38 and a filter E39 in addition to the filters A21, B22 and C23, and the output candidate values fAR, fBR, fCR, fAG,
fBG, fCG, fAB, fBB, fCB, fDR, f
DG, fDB, fER, fEG, and fEB are output. In the present embodiment, the number of filters is five, but any number of filters may be used as long as the number of attributes is equal to or larger than the number of attributes for attribute determination.

【0071】また、属性判定結果が文字判定の場合は、
フィルタなし、フィルタA21、フィルタB22及びフ
ィルタC23のうちのいずれかが選択され、写真判定の
場合は、フィルタなし、フィルタB22、フィルタC2
3及びフィルタD38のいずれかが選択され、網点判定
の場合は、フィルタなし、フィルタC23、フィルタD
38及びフィルタE39のいずれかが選択されるものと
する。
When the attribute determination result is a character determination,
No filter, one of filter A21, filter B22, and filter C23 are selected. In the case of photo determination, no filter, filter B22, filter C2
3 and the filter D38 are selected, and in the case of the halftone dot determination, there is no filter, the filter C23, the filter D
38 and the filter E39 are selected.

【0072】属性判定手段35は、入力画像の属性判定
を行い属性判定信号を出力する。属性判定信号は文字判
定Char−Sig,網点判定Ami−Sig,写真判
定Photo−Sigで構成され、判定結果が文字判定
であればChar−Sigが、網点であればAmi−S
igが、写真判定であればPhoto−Sigがそれぞ
れアサートされる。
The attribute determining means 35 determines the attribute of the input image and outputs an attribute determination signal. The attribute determination signal includes a character determination Char-Sig, a halftone determination Ami-Sig, and a photo determination Photo-Sig. If the determination result is a character determination, Char-Sig is determined. If the determination result is a halftone dot, Ami-S is determined.
If ig is a photo determination, Photo-Sig is asserted.

【0073】フィルタ選択手段36は図16に示すよう
に構成され、UrobR,DrobR,LrobR,R
robR,UrobG,DrobG,LrobG,Rr
obG,UrobB,DrobB,LrobB,Rro
bB、エッジ判定閾値信号Edg−th1〜Edg−t
h3、属性判定信号Char−Sig,Ami−Si
g,Photo−Sigを入力信号として、フィルタ選
択信号Filter−Selを出力する。フィルタ選択
信号Filter−Selは、R,G,Bの各チャンネ
ルについて出力候補値を選択しない選択信号Filte
r−SelR0,Filter−SelG0,Filt
er−SelB0、フィルタA21を選択する選択信号
Filter−SelR1,Filter−SelG
1,Filter−SelB1、フィルタB22を選択
する選択信号Filter−SelR2,Filter
−SelG2,Filter−SelB2、フィルタC
23を選択する選択信号Filter−SelR3,F
ilter−SelG3,Filter−SelB3、
フィルタD38を選択する選択信号Filter−Se
lR4,Filter−SelG4,Filter−S
elB4、フィルタE39を選択する選択信号Filt
er−SelR5,Filter−SelG5,Fil
ter−SelB5で構成されている。
The filter selecting means 36 is constructed as shown in FIG. 16 and includes UlobR, DrobR, LlobR, R
robR, UrobG, DrobG, LlobG, Rr
obG, UrobB, DrobB, LlobB, Rro
bB, edge determination threshold signals Edg-th1 to Edg-t
h3, attribute determination signals Char-Sig, Ami-Si
g, Photo-Sig as an input signal, and outputs a filter selection signal Filter-Sel. The filter selection signal Filter-Sel is a selection signal Filter that does not select an output candidate value for each of the R, G, and B channels.
r-SelR0, Filter-SelG0, Filt
er-SelB0, selection signals Filter-SelR1, Filter-SelG for selecting the filter A21.
1, a selection signal Filter-SelR2 for selecting Filter-SelB1 and a filter B22, Filter
-SelG2, Filter-SelB2, Filter C
Selection signal Filter-SelR3, F for selecting
ilter-SelG3, Filter-SelB3,
Selection signal Filter-Se for selecting filter D38
IR4, Filter-SelG4, Filter-S
elB4, selection signal Filt for selecting filter E39
er-SelR5, Filter-SelG5, Fil
ter-SelB5.

【0074】フィルタ選択手段36のフィルタ選択の方
式は、実施の形態1と同様に、まず、対象画素のR,
G,Bのそれぞれのチャンネルの最大エッジ量Maxr
obR,MaxrobG,MaxrobBを求める。
The filter selection method of the filter selection means 36 is the same as that of the first embodiment.
Maximum edge amount Maxr of each channel of G and B
ObR, MaxrobG, and MaxrobB are obtained.

【0075】次に、Rのチャンネルについて、属性判定
結果が文字判定の場合、すなわちChar−Sigがア
サートされ、かつMaxrobRの値がエッジ判定閾値
Edg−th1未満、すなわちEdg−th1>Max
robRの場合には、出力候補値を選択しない選択信号
Filter−SelR0がアサートされる。また、M
axrobRの値がエッジ判定閾値Edg−th1以上
でEdg−th12未満、すなわちEdg−th1≦M
axrobR<Edg−th2の場合には、フィルタA
21を選択する選択信号Filter−SelR1がア
サートされる。
Next, for the R channel, if the attribute determination result is a character determination, that is, Char-Sig is asserted, and the value of MaxrobR is less than the edge determination threshold value Edg-th1, that is, Edg-th1> Max
In the case of robR, a selection signal Filter-SelR0 that does not select an output candidate value is asserted. Also, M
The value of axrobR is equal to or more than the edge determination threshold value Edg-th1 and less than Edg-th12, that is, Edg-th1 ≦ M
If axrobR <Edg-th2, filter A
A selection signal Filter-SelR1 for selecting 21 is asserted.

【0076】また、MaxrobRの値がエッジ判定閾
値Edg−th2以上でEdg−th3未満、すなわち
Edg−th2≦MaxrobR<Edg−th3の場
合には、フィルタB22を選択する選択信号Filte
r−SelR2がアサートされる。また、Maxrob
Rの値がエッジ判定閾値Edg−th3以上、すなわち
Edg−th3≦MaxrobRの場合には、フィルタ
C23を選択する選択信号Filter−SelR3が
アサートされる。
When the value of MaxrobR is equal to or larger than the edge determination threshold value Edg-th2 and smaller than Edg-th3, that is, when Edg-th2 ≦ MaxrobR <Edg-th3, the selection signal Filter for selecting the filter B22 is selected.
r-SelR2 is asserted. Also, Maxrob
When the value of R is equal to or greater than the edge determination threshold value Edg-th3, that is, when Edg-th3 ≦ MaxrobR, the selection signal Filter-SelR3 for selecting the filter C23 is asserted.

【0077】属性判定結果が写真判定の場合、すなわち
Photo−Sigがアサートされ、かつMaxrob
Rの値がエッジ判定閾値Edg−th1未満、すなわち
Edg−th1>MaxrobRの場合には、出力候補
値を選択しない選択信号Filter−SelR0がア
サートされる。また、MaxrobRの値がエッジ判定
閾値Edg−th1以上でEdg−th2未満、すなわ
ちEdg−th1≦MaxrobR<Edg−th2の
場合には、フィルタB22を選択する選択信号Filt
er−SelR2がアサートされる。また、Maxro
bRの値がエッジ判定閾値Edg−th2以上でEdg
−th3未満、すなわちEdg−th2≦Maxrob
R<Edg−th3の場合には、フィルタC23を選択
する選択信号Filter−SelR3がアサートされ
る。また、MaxrobRの値がエッジ判定閾値Edg
−th3以上の場合、すなわちEdg−th3≦Max
robRの場合には、フィルタD38を選択する選択信
号Filter−SelR4がアサートされる。
If the attribute determination result is a photo determination, that is, Photo-Sig is asserted and Maxrob
When the value of R is less than the edge determination threshold value Edg-th1, that is, when Edg-th1> MaxrobR, a selection signal Filter-SelR0 that does not select an output candidate value is asserted. When the value of MaxrobR is equal to or more than the edge determination threshold value Edg-th1 and less than Edg-th2, that is, when Edg-th1 ≦ MaxrobR <Edg-th2, the selection signal Filt for selecting the filter B22 is selected.
er-SelR2 is asserted. Also, Maxro
When the value of bR is equal to or greater than the edge determination threshold value Edg-th2, Edg
Less than −th3, that is, Edg−th2 ≦ Maxrob
When R <Edg-th3, the selection signal Filter-SelR3 for selecting the filter C23 is asserted. Also, the value of MaxrobR is the edge determination threshold value Edg
−th3 or more, ie, Edg-th3 ≦ Max
In the case of robR, a selection signal Filter-SelR4 for selecting the filter D38 is asserted.

【0078】また、属性判定結果が網点判定の場合、す
なわちAmi−Sigがアサートされ、かつMaxro
bRの値がエッジ判定閾値Edg−th1未満すなわち
Edg−th1>MaxrobRの場合には、出力候補
値を選択しない選択信号Filter−SelR0がア
サートされる。また、MaxrobRの値がエッジ判定
閾値Edg−th1以上でEdg−th2未満、すなわ
ちEdg−th1≦MaxrobR<Edg−th2の
場合には、フィルタC23を選択する選択信号Filt
er−SelR3がアサートされる。また、Maxro
bRの値がエッジ判定閾値Edg−th2以上でEdg
−th3未満、すなわちEdg−th2≦Maxrob
R<Edg−th3の場合には、フィルタD38を選択
する選択信号Filter−SelR4がアサートされ
る。また、MaxrobRの値がエッジ判定閾値Edg
−th3以上の場合、すなわちEdg−th3≦Max
robRの場合には、フィルタE39を選択する選択信
号Filter−SelR5がアサートされる。
When the attribute determination result is a halftone dot determination, that is, Ami-Sig is asserted and Maxro
When the value of bR is less than the edge determination threshold value Edg-th1, that is, when Edg-th1> MaxrobR, a selection signal Filter-SelR0 that does not select an output candidate value is asserted. When the value of MaxrobR is equal to or more than the edge determination threshold value Edg-th1 and less than Edg-th2, that is, when Edg-th1 ≦ MaxrobR <Edg-th2, the selection signal Filt for selecting the filter C23 is selected.
er-SelR3 is asserted. Also, Maxro
When the value of bR is equal to or greater than the edge determination threshold value Edg-th2, Edg
Less than −th3, that is, Edg−th2 ≦ Maxrob
When R <Edg-th3, the selection signal Filter-SelR4 for selecting the filter D38 is asserted. Also, the value of MaxrobR is the edge determination threshold value Edg
−th3 or more, ie, Edg-th3 ≦ Max
In the case of robR, a selection signal Filter-SelR5 for selecting the filter E39 is asserted.

【0079】同様に、G,BのチャンネルについてはM
axrobG,MaxrobB及び属性判定信号属性判
定信号の値により、Filter−SelG0,Fil
ter−SelG1,Filter−SelG2,Fi
lter−SelG3,Filter−SelG4,F
ilter−SelG5,Filter−SelB0,
Filter−SelB1,Filter−SelB
2,Filter−SelB3,Filter−Sel
B4,Filter−SelB5のいずれかがアサート
される。
Similarly, for the G and B channels, M
Filter-SelG0, Filter-SelG0, Filro-SelG0, Filro-SelG0, Filro-SelG0
ter-SelG1, Filter-SelG2, Fi
lter-SelG3, Filter-SelG4, F
ilter-SelG5, Filter-SelB0,
Filter-SelB1, Filter-SelB
2, Filter-SelB3, Filter-Sel
One of B4 and Filter-SelB5 is asserted.

【0080】最後に、出力値選択手段24では、フィル
タ演算手段37の出力候補値fAR,fBR,fCR,
fDR,fER,fAG,fBG,fCG,fDG,f
EG,fAB,fBB,fCB,fDB,fEB及び、
カラーイメージセンサ7の出力データrm,gm,bm
から、R,G,Bの各チャンネルについて、フィルタ選
択手段36により出力されたフィルタ選択信号に対応し
た出力候補値の選択を行い、出力データとしてCCDA
−R,CCDA−G,CCDA−Bを出力する。
Finally, in the output value selecting means 24, the output candidate values fAR, fBR, fCR,
fDR, fER, fAG, fBG, fCG, fDG, f
EG, fAB, fBB, fCB, fDB, fEB, and
Output data rm, gm, bm of color image sensor 7
, For each of the R, G, and B channels, an output candidate value corresponding to the filter selection signal output by the filter selection means 36 is selected, and CCDA is output as output data.
-R, CCDA-G and CCDA-B are output.

【0081】Rチャンネルを例に具体的に説明すると、
フィルタ選択信号Filter−SelR0がアサート
されている場合には、rmがCCDA−Rとして出力さ
れる。また、Filter−SelR1がアサートされ
ている場合にはfARが、Filter−SelR2が
アサートされている場合にはfBRが、Filter−
SelR3がアサートされている場合にはfBCが、F
ilter−SelR4がアサートされている場合には
fDRが、Filter−SelR5がアサートされて
いる場合にはfERがCCDA−Rとして出力される。
More specifically, taking the R channel as an example,
When the filter selection signal Filter-SelR0 is asserted, rm is output as CCDA-R. Further, when Filter-SelR1 is asserted, fAR, and when Filter-SelR2 is asserted, fBR is Filter-SelR2.
When SelR3 is asserted, fBC becomes FBC
When filter-SelR4 is asserted, fDR is output as CCDA-R. When Filter-SelR5 is asserted, fER is output as CCDA-R.

【0082】Gチャンネル、Bチャンネルについても、
同様の処理で、フィルタ選択信号内のアサートされてい
る信号に対応した出力候補値が、それそれCCDA−
G,CCDA−Bとして出力される。
For the G channel and the B channel,
In the same process, the output candidate values corresponding to the asserted signal in the filter selection signal are respectively output from the CCDA-
G, output as CCDA-B.

【0083】[0083]

【発明の効果】請求項1に記載の発明では、エッジ部分
に選択的に最適のハイパスフィルタを作用させることが
できるので、エッジ部分のすそ野の広がりを減少させる
ことが可能となり、これによって読み取り画像の画質の
向上が図れる。
According to the first aspect of the present invention, an optimum high-pass filter can be selectively applied to an edge portion, so that it is possible to reduce the spread of the hem field of the edge portion, thereby obtaining a read image. Image quality can be improved.

【0084】請求項2に記載の発明では、エッジ部分に
選択的に最適のルックアップテーブルでデータを変換す
ることで、エッジ部分のすそ野の広がりを減少させ画質
の向上が図れると共に、出力データの演算を行わないの
で、データのスループットの向上が図れ、機器の高速化
に容易に対応できる。
According to the second aspect of the present invention, the data is selectively converted to the edge portion by using the optimum look-up table, so that the spread of the hem field at the edge portion can be reduced and the image quality can be improved. Since no calculation is performed, data throughput can be improved, and it is possible to easily cope with high-speed equipment.

【0085】請求項3に記載の発明では、フィルタ演算
手段やルックアップテーブル参照手段等のように比較的
に複雑なハードウエアを用いるのに代えて、構成が簡単
な輝度の最大値及び最小値えの貼り付け手段で装置を構
成することができるので、エッジ部分のすそ野の広がり
を減少させることができると共に、回路の簡素化が可能
になり、コストダウンが実現できる。
According to the third aspect of the present invention, instead of using relatively complicated hardware such as filter operation means and look-up table reference means, the maximum value and minimum value of the luminance are simple. Since the device can be constituted by the attaching means, the spread of the skirt of the edge portion can be reduced, the circuit can be simplified, and the cost can be reduced.

【0086】請求項4に記載の発明では、属性判定手段
で、網点属性と判定され、モアレ除去のために、ローパ
スフィルタを作用された領域のエッジ部分に選択的に最
適のハイパスフィルタを作用させることで、エッジ部分
のすそ野の広がりを減少させ画質の向上が図れると共
に、モアレの再発生を防止することが可能になる。
According to the fourth aspect of the present invention, the attribute determining means determines the halftone dot attribute and applies an optimal high-pass filter selectively to an edge portion of a region subjected to the low-pass filter to remove moire. By doing so, it is possible to improve the image quality by reducing the spread of the skirt of the edge portion, and it is possible to prevent the re-generation of moire.

【0087】請求項5に記載の発明では、ウインドウを
最小限のハードウエアで構成することにより、ウインド
ウ設定手段の回路の簡素化が図れるので、装置コストの
上昇を最小限に抑えることができる。
According to the fifth aspect of the present invention, since the window is constituted by the minimum hardware, the circuit of the window setting means can be simplified, so that an increase in the apparatus cost can be minimized.

【0088】請求項6に記載の発明では、エッジ量算出
手段を最小限のハードウエアで構成することにより、エ
ッジ量算出手段の簡素化が図れるので、装置コストの上
昇を最小限に抑えることができる。
According to the sixth aspect of the present invention, since the edge amount calculation means is constituted by the minimum hardware, the edge amount calculation means can be simplified, so that an increase in apparatus cost can be minimized. it can.

【0089】請求項7に記載の発明では、属性の判定結
果により各属性に対応した異なった処理を行うことがで
きるので、更に読み取り画像の画質の向上が図られる。
According to the seventh aspect of the present invention, different processing corresponding to each attribute can be performed according to the attribute determination result, so that the quality of a read image is further improved.

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

【図1】本発明の実施の形態1における画像読み取り装
置のエッジ強調処理を行う回路のブロック図
FIG. 1 is a block diagram of a circuit that performs edge enhancement processing of an image reading device according to a first embodiment of the present invention.

【図2】本発明の実施の形態1におけるウインドウの座
標を示す図
FIG. 2 is a diagram showing coordinates of a window according to the first embodiment of the present invention.

【図3】本発明の実施の形態1におけるエッジ量算出手
段の構成を示す図
FIG. 3 is a diagram showing a configuration of an edge amount calculating unit according to the first embodiment of the present invention;

【図4】本発明の実施の形態1における上方向、下方
向、左方向、右方向のエッジ量算出オペレータを示す図
FIG. 4 is a diagram showing an edge amount calculation operator in an upward direction, a downward direction, a left direction, and a right direction according to the first embodiment of the present invention;

【図5】本発明の実施の形態1におけるエッジ判定手段
の構成を示す図
FIG. 5 is a diagram showing a configuration of an edge determination unit according to the first embodiment of the present invention.

【図6】本発明の実施の形態1における画像の座標を示
す図
FIG. 6 is a diagram showing coordinates of an image according to the first embodiment of the present invention;

【図7】本発明の実施の形態1におけるフィルタ演算手
段の構成の一例を示す図
FIG. 7 is a diagram illustrating an example of a configuration of a filter operation unit according to the first embodiment of the present invention.

【図8】本発明の実施の形態1における出力値選択手段
の構成を示す図
FIG. 8 is a diagram showing a configuration of an output value selection unit according to the first embodiment of the present invention.

【図9】本発明の実施の形態2における画像読み取り装
置のエッジ強調処理行う回路のブロック図
FIG. 9 is a block diagram of a circuit that performs edge enhancement processing of the image reading device according to the second embodiment of the present invention;

【図10】本発明の実施の形態2におけるルックアップ
テーブル選択手段の構成を示す図
FIG. 10 is a diagram showing a configuration of a look-up table selecting unit according to the second embodiment of the present invention.

【図11】本発明の実施の形態2におけるルックアップ
テーブル参照手段の構成を示す図
FIG. 11 is a diagram showing a configuration of a lookup table reference unit according to the second embodiment of the present invention.

【図12】本発明の実施の形態3における画像読み取り
装置のエッジ強調処理を行う回路のブロック図
FIG. 12 is a block diagram of a circuit that performs edge enhancement processing of the image reading device according to the third embodiment of the present invention.

【図13】本発明の実施の形態3における閾値選択手段
の構成を示す図
FIG. 13 is a diagram showing a configuration of a threshold value selecting unit according to the third embodiment of the present invention.

【図14】本発明の実施の形態3における貼り付け手段
の構成を示す図
FIG. 14 is a diagram showing a configuration of a pasting unit according to Embodiment 3 of the present invention.

【図15】本発明の実施の形態4における画像読み取り
装置のエッジ強調処理を行う回路のブロック図
FIG. 15 is a block diagram of a circuit that performs edge enhancement processing of the image reading device according to the fourth embodiment of the present invention.

【図16】本発明の実施の形態4におけるフィルタ選択
手段の構成を示す図
FIG. 16 is a diagram showing a configuration of a filter selection unit according to a fourth embodiment of the present invention.

【図17】従来の画像読み取り装置を正面から見た断面
FIG. 17 is a cross-sectional view of a conventional image reading apparatus as viewed from the front.

【図18】理想的なR,G,Bの各センサのエッジ部の
輝度レベルと走査方向の関係を示す図
FIG. 18 is a diagram illustrating a relationship between a luminance level of an edge portion of each of ideal R, G, and B sensors and a scanning direction;

【図19】実際のR,G,Bの各センサのエッジ部の輝
度レベルと走査方向の関係を示す図
FIG. 19 is a diagram showing the relationship between the luminance level of the edge portion of each of the R, G, and B sensors and the scanning direction.

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

1 画像読み取り装置 2 原稿 3 原稿ガラス 4 光源ユニット 5 反射ミラー群 6 結像レンズ 7 ラインイメージセンサ 8 光学キャリッジ 9 駆動モータ 10 駆動プーリ 11 従動プーリ 12 駆動ベルト 13 ガイドシャフト 14 ウインドウ設定手段 15 SRAM 16 ウインドウ 17 ウインドウRAMコントロール手段 18 エッジ量算出手段 19 フィルタ選択手段 20 フィルタ演算選択手段 21 フィルタA 22 フィルタB 23 フィルタC 24 出力値選択手段 DESCRIPTION OF SYMBOLS 1 Image reading apparatus 2 Document 3 Document glass 4 Light source unit 5 Reflection mirror group 6 Imaging lens 7 Line image sensor 8 Optical carriage 9 Drive motor 10 Drive pulley 11 Follower pulley 12 Drive belt 13 Guide shaft 14 Window setting means 15 SRAM 16 Window 17 Window RAM control means 18 Edge amount calculation means 19 Filter selection means 20 Filter calculation selection means 21 Filter A 22 Filter B 23 Filter C 24 Output value selection means

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】カラーイメージセンサからのR,G,Bの
それぞれの出力データが書き込まれる領域の一部を各色
ごとに独立にウインドウとして設定し且つその設定位置
を前記領域内で移動させることが可能なウインドウ設定
手段と、このウインドウ設定手段により設定されたウィ
ンドウの中心画素を対象画素としてウインドウ内の対象
画素と対象画素の隣接画素とから対象画素のエッジ量を
算出するエッジ量算出手段と、このエッジ量算出手段に
より算出されたエッジ量に基づいて対象画素に作用させ
るフィルタを選択する信号を生成するフィルタ選択手段
と、前記ウインドウ内の対象画素と対象画素の隣接画素
とのデータから複数の出力候補値を演算するフィルタ演
算選択手段と、このフィルタ演算選択手段で演算された
複数の出力候補値から、フィルタ選択手段から出力され
る選択信号に対応した出力候補値を選択する出力値選択
手段とを備えてなることを特徴とする画像読み取り装
置。
A part of an area where R, G, and B output data from a color image sensor is written is set as a window independently for each color, and the set position is moved within the area. Possible window setting means, and edge amount calculation means for calculating an edge amount of a target pixel from a target pixel in the window and a pixel adjacent to the target pixel with the center pixel of the window set by the window setting means as a target pixel, Filter selecting means for generating a signal for selecting a filter to be applied to the target pixel based on the edge amount calculated by the edge amount calculating means; and a plurality of data from the data of the target pixel and the adjacent pixel to the target pixel in the window. Filter operation selecting means for calculating an output candidate value, and a plurality of output candidate values calculated by the filter operation selecting means Al, the image reading apparatus characterized by comprising an output value selection means for selecting an output candidate value corresponding to the selection signal output from the filter selection means.
【請求項2】カラーイメージセンサからのR,G,Bの
それぞれの出力データが書き込まれる領域の一部を各色
ごとに独立にウインドウとして設定し且つその設定位置
を前記領域内で移動させることが可能なウインドウ設定
手段と、このウインドウ設定手段により設定されたウィ
ンドウの中心画素を対象画素としてウインドウ内の対象
画素と対象画素の隣接画素とから、対象画素のエッジ量
を算出するエッジ量算出手段と、このエッジ量算出手段
により算出されたエッジ量に基づいて対象画素のデータ
を変換するルックアップテーブルを選択する信号を生成
するルックアップテーブル選択手段と、前記ウインドウ
内の対象画素のデータから複数のルックアップテーブル
のデータを参照するルックアップテーブル参照手段と、
このルックアップテーブル参照手段で参照された複数の
出力候補値から、ルックアップテーブル選択手段から出
力される選択信号に対応した出力候補値を選択する出力
値選択手段とを備えてなることを特徴とする画像読み取
り装置。
2. A method according to claim 1, wherein a part of an area in which R, G, B output data from the color image sensor is written is set as a window independently for each color, and the set position is moved in said area. Possible window setting means, and edge amount calculating means for calculating an edge amount of the target pixel from a target pixel in the window and a pixel adjacent to the target pixel with the center pixel of the window set by the window setting means as a target pixel. A look-up table selecting means for generating a signal for selecting a look-up table for converting the data of the target pixel based on the edge amount calculated by the edge amount calculating means; Lookup table reference means for referring to the data of the lookup table;
Output value selecting means for selecting an output candidate value corresponding to a selection signal output from the look-up table selecting means from a plurality of output candidate values referred to by the look-up table referring means. Image reading device.
【請求項3】カラーイメージセンサからのR,G,Bの
それぞれの出力データが書き込まれる領域の一部を各色
ごと独立にウインドウとして設定し且つその設定位置を
前記領域内で移動させることが可能なウインドウ設定手
段と、このウインドウ設定手段により設定されたウィン
ドウの中心画素を対象画素としてウインドウ内の対象画
素と対象画素の隣接画素とから、対象画素のエッジ量を
算出するエッジ量算出手段と、このエッジ量算出手段に
より算出されたエッジ量から、対象画素の輝度の最大値
または最小値に貼り付ける閾値を選択する信号を生成す
る閾値選択手段と、前記ウインドウ内の対象画素を輝度
の最大値または最小値に貼り付ける貼り付け手段と、こ
の貼り付け手段で貼り付けられた複数の出力候補値の中
から閾値選択手段より出力される選択信号に対応した出
力候補値を選択する出力値選択手段を備えてなることを
特徴とする画像読み取り装置。
3. A part of an area where R, G, and B output data from a color image sensor is written can be set as a window independently for each color, and the set position can be moved within the area. A window setting means, and an edge amount calculating means for calculating an edge amount of the target pixel from a target pixel in the window and a pixel adjacent to the target pixel using the center pixel of the window set by the window setting means as a target pixel; Threshold value selecting means for generating a signal for selecting a threshold value to be attached to the maximum value or the minimum value of the luminance of the target pixel from the edge amount calculated by the edge amount calculating means; Or pasting means for pasting to the minimum value, and threshold selecting means from among a plurality of output candidate values pasted by the pasting means Image reading apparatus characterized by comprising an output value selection means for selecting an output candidate value corresponding to the selection signal output Ri.
【請求項4】カラーイメージセンサからのR,G,Bの
それぞれの出力データが書き込まれる領域の一部を各色
ごとに独立にウインドウとして設定し且つその設定位置
を前記領域内で移動させることが可能なウインドウ設定
手段と、このウインドウ設定手段により設定されたウィ
ンドウの中心画素を対象画素としてウインドウ内の対象
画素と対象画素の隣接画素とから対象画素のエッジ量を
算出するエッジ量算出手段と、入力画像の属性を判定す
る属性判定手段と、エッジ量算出手段により算出された
エッジ量と入力画像の属性を判定する属性判定手段の判
定結果とに基づいて対象画素に作用させるフィルタを選
択する信号を生成するフィルタ選択手段と、ウインドウ
内の対象画素と対象画素の隣接画素とから、複数の出力
候補値を演算するフィルタ演算選択手段と、このフィル
タ演算選択手段で演算された複数の出力候補値の中から
フィルタ選択手段より出力される選択信号に対応した出
力候補値を選択する出力値選択手段を備えてなることを
特徴とする画像読み取り装置。
4. A part of an area in which output data of each of R, G, and B from a color image sensor is written is set as a window independently for each color, and the set position is moved within the area. Possible window setting means, and edge amount calculation means for calculating an edge amount of a target pixel from a target pixel in the window and a pixel adjacent to the target pixel with the center pixel of the window set by the window setting means as a target pixel, A signal for selecting a filter to be applied to the target pixel based on the edge amount calculated by the edge amount calculating means and the determination result of the attribute determining means for determining the attribute of the input image; And a plurality of output candidate values are calculated from the target pixel in the window and the neighboring pixels of the target pixel. Filter operation selecting means, and output value selecting means for selecting an output candidate value corresponding to a selection signal output from the filter selecting means from a plurality of output candidate values calculated by the filter operation selecting means. An image reading device characterized by the above-mentioned.
【請求項5】ウインドウ設定手段が設定するウインドウ
のサイズが3×3のマトリックスであることを特徴とす
る請求項1から4のいずれかに記載の画像読み取り装
置。
5. The image reading apparatus according to claim 1, wherein the size of the window set by the window setting means is a 3 × 3 matrix.
【請求項6】エッジ量算出手段が算出するエッジの方向
は主走査方向及び副走査方向の4方向であることを特徴
とする請求項1から4のいずれかに記載の画像読み取り
装置。
6. The image reading apparatus according to claim 1, wherein the direction of the edge calculated by the edge amount calculating means is four directions of a main scanning direction and a sub-scanning direction.
【請求項7】属性判定手段が判定する属性は、文字属性
と網点属性と写真属性の3属性であることを特徴とする
請求項4記載の画像読み取り装置。
7. The image reading apparatus according to claim 4, wherein the attributes determined by the attribute determining means are three attributes of a character attribute, a halftone dot attribute, and a photograph attribute.
JP9246370A 1997-09-11 1997-09-11 Image reader Pending JPH1188705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9246370A JPH1188705A (en) 1997-09-11 1997-09-11 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9246370A JPH1188705A (en) 1997-09-11 1997-09-11 Image reader

Publications (1)

Publication Number Publication Date
JPH1188705A true JPH1188705A (en) 1999-03-30

Family

ID=17147543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9246370A Pending JPH1188705A (en) 1997-09-11 1997-09-11 Image reader

Country Status (1)

Country Link
JP (1) JPH1188705A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100322602B1 (en) * 1999-08-27 2002-03-18 윤종용 Method and apparatus for reduction of image noise using filtering window
US6757427B1 (en) 1999-08-24 2004-06-29 Nec Corporation Edge enhancement preprocessing with image region determining function
KR100439697B1 (en) * 1999-02-05 2004-07-14 삼성전자주식회사 Color image processing method and apparatus thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100439697B1 (en) * 1999-02-05 2004-07-14 삼성전자주식회사 Color image processing method and apparatus thereof
US6757427B1 (en) 1999-08-24 2004-06-29 Nec Corporation Edge enhancement preprocessing with image region determining function
KR100322602B1 (en) * 1999-08-27 2002-03-18 윤종용 Method and apparatus for reduction of image noise using filtering window

Similar Documents

Publication Publication Date Title
JP3048158B2 (en) Color image processing equipment
US5189523A (en) Image processing apparatus
JP2003219116A (en) Image processing device and its controlling method
JP3611742B2 (en) Image processing device
JP2984306B2 (en) Image reading device having focus adjusting device
EP0901273A2 (en) Method of forming pixel weighted transition region
JPH1188705A (en) Image reader
JP2002262035A (en) Image reader
JP3262553B2 (en) Color image processing apparatus and color image processing method
JP3906524B2 (en) Image reading device
JP3236281B2 (en) Color image processing apparatus and color image processing method
JPH0622159A (en) Picture reader
JP4042335B2 (en) Document reader
JP2971522B2 (en) Image reading device
JPH10215381A (en) Image reader
JP3236280B2 (en) Color image processing apparatus and color image processing method
JPH0229072A (en) Picture correction device for digital picture processing unit
JP2915503B2 (en) Image processing device
JPH10336470A (en) Image reader
JP2004180196A (en) Image reading apparatus
JPH099038A (en) Picture processor and picture processing method
KR0161247B1 (en) Mtf correcting method of image input apparatus
JPS6384373A (en) Image correcting device
JPH08172531A (en) Method for generating shading correction data for image reader
JP2000013606A (en) Image reader