JP2000295444A - Device and method for reading image and storage medium - Google Patents
Device and method for reading image and storage mediumInfo
- Publication number
- JP2000295444A JP2000295444A JP11099953A JP9995399A JP2000295444A JP 2000295444 A JP2000295444 A JP 2000295444A JP 11099953 A JP11099953 A JP 11099953A JP 9995399 A JP9995399 A JP 9995399A JP 2000295444 A JP2000295444 A JP 2000295444A
- Authority
- JP
- Japan
- Prior art keywords
- image
- reference voltage
- data processing
- digital signal
- counting
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 49
- 238000003705 background correction Methods 0.000 claims abstract description 59
- 238000006243 chemical reaction Methods 0.000 claims description 60
- 230000003287 optical effect Effects 0.000 claims description 21
- 238000000605 extraction Methods 0.000 claims 2
- 230000006870 function Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 10
- 239000000428 dust Substances 0.000 description 6
- 238000005286 illumination Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Landscapes
- Facsimile Scanning Arrangements (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像読取装置、画
像読取方法、及び記憶媒体に関し、特に、原稿画像の濃
度調整機能を備えた画像読取装置、該画像読取装置に適
用される画像読取方法、及び該画像読取方法を実行する
プログラムを記憶した記憶媒体に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus, an image reading method, and a storage medium, and more particularly, to an image reading apparatus having a function of adjusting the density of a document image, and an image reading method applied to the image reading apparatus. And a storage medium storing a program for executing the image reading method.
【0002】[0002]
【従来の技術】従来、画像信号の2値化方法として、セ
ンサー等から入力された画像アナログ信号をA/D変換
後、所定の閾値にて2値化する方法が知られている。こ
の方法では、原稿をスキャナー等で読み取って画像信号
を得る場合、原稿の下地が灰色であったり、原稿用紙に
色がついている場合に適正に2値化ができないことがあ
る。2. Description of the Related Art Conventionally, as a method of binarizing an image signal, a method is known in which an image analog signal input from a sensor or the like is A / D converted and then binarized at a predetermined threshold. In this method, when an image signal is obtained by reading a document with a scanner or the like, binarization may not be properly performed if the background of the document is gray or if the document paper is colored.
【0003】このような場合の対策として従来から濃度
調整が行われている。従来の濃度調整方法としては、セ
ンサー等からのアナログ信号をA/D変換器によりA/
D変換する時に画像濃度の調整を行うものであり、具体
的には、センサー等からのアナログ信号を基に、画素毎
にリファレンス電圧を作成し、A/D変換器ではリファ
レンス電圧と同一レベルのアナログ信号に対して、白を
表すディジタル値を付与し、アナログ信号のレベルが該
リファレンス電圧から所定レベル小さくなる毎に黒に近
いディジタル値(多値)を付与する。リファレンス電圧
を可変することにより、濃度調整が行われ得る。As a countermeasure in such a case, density adjustment has been conventionally performed. As a conventional density adjustment method, an analog signal from a sensor or the like is converted into an analog signal by an A / D converter.
The image density is adjusted at the time of D conversion. Specifically, a reference voltage is created for each pixel based on an analog signal from a sensor or the like, and the A / D converter has the same level as the reference voltage. A digital value representing white is given to the analog signal, and a digital value (multi-value) close to black is given every time the level of the analog signal becomes lower than the reference voltage by a predetermined level. By varying the reference voltage, density adjustment can be performed.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、従来の
上記濃度調数方法には、下記のような問題が有る。However, the above-mentioned conventional density adjustment method has the following problems.
【0005】すなわち、近年、オフィス等で使用される
原稿は、デジタル複写機やレーザービームプリンタ(L
BP)の普及によりデジタル画像となっているものが多
い。デジタル画像は細かい点で構成されており、中間濃
度を形成するためには網点画像となっている。また、ト
ナーの飛び散りを防ぐため、原稿の端面部には画像が形
成されないようになっている。That is, in recent years, documents used in offices and the like are digital copiers and laser beam printers (L
Many are digital images due to the spread of BP). A digital image is composed of fine points, and is a halftone image in order to form an intermediate density. Further, in order to prevent toner from scattering, no image is formed on the end face of the document.
【0006】この中間濃度を形成する網点画像に対して
従来の濃度調整方法を使用すると、前述のように、セン
サー等からのアナログ信号を基に、画素毎にA/D変換
器のリファレンス電圧が設定される。そのため、網点画
像の点を読み取ったときにはA/D変換器のリファレン
ス電圧が白レベル側に移動され、また網点画像の点では
ない部分を読み取ったときにはリファレンス電圧が白レ
ベル側に移動される。したがって、中間濃度を形成する
網点画像を読み取っている場合、A/D変換器のリファ
レンス電圧が、網点画像を構成する各部分毎に変化して
しまい、その結果、得られた画像信号から元の網点画像
を再現できなくなる。When the conventional density adjustment method is used for the halftone image forming the intermediate density, as described above, the reference voltage of the A / D converter is set for each pixel based on the analog signal from the sensor or the like. Is set. Therefore, the reference voltage of the A / D converter is shifted to the white level side when a dot of the halftone image is read, and the reference voltage is shifted to the white level side when a portion other than the dot of the halftone image is read. . Therefore, when a halftone image forming an intermediate density is read, the reference voltage of the A / D converter changes for each part constituting the halftone image, and as a result, the The original halftone image cannot be reproduced.
【0007】また、上記したようにオフイス等で使用さ
れる原稿には、端面部には画像が無いものが多い。従来
の濃度調整方法は、この端面部でも上記のように濃度調
整を行うため、端面部を読み取っているときのリファレ
ンス電圧が適正な値とならないという問題が生じる。As described above, many originals used in offices and the like have no image on the end face. In the conventional density adjustment method, since the density adjustment is also performed on the end face as described above, there is a problem that the reference voltage when reading the end face does not become an appropriate value.
【0008】また、原稿上に小さなゴミ、汚れ等がある
場合には、そのゴミや汚れによってリファレンス電圧を
変化させてしまい、本来の原稿の下地を表すリファレン
ス電圧からずれを起こしてしまうという問題もある。Also, when there is small dust or dirt on the original, the reference voltage is changed by the dust or dirt, causing a deviation from the reference voltage representing the original background of the original. is there.
【0009】本発明はこのような問題点に鑑みてなされ
たものであって、中間濃度を形成する網点画像に対して
適正な濃度デジタル値を得ることができる画像読取装
置、画像読取方法、及び記憶媒体を提供することを第1
の目的とする。The present invention has been made in view of such a problem, and an image reading apparatus, an image reading method, and an image reading method capable of obtaining an appropriate density digital value for a halftone image forming an intermediate density. And providing the storage medium is the first
The purpose of.
【0010】また、原稿端面部等の白地に対して適正な
濃度デジタル値を得ることができる画像読取装置、画像
読取方法、及び記憶媒体を提供することを第2の目的と
する。It is a second object of the present invention to provide an image reading apparatus, an image reading method, and a storage medium capable of obtaining an appropriate density digital value for a white background such as a document end face.
【0011】さらに、小さなゴミ、汚れ等がある原稿に
対して適正な濃度デジタル値を得ることができる画像読
取装置、画像読取方法、及び記憶媒体を提供することを
第3の目的とする。It is a third object of the present invention to provide an image reading apparatus, an image reading method, and a storage medium capable of obtaining an appropriate density digital value for an original having small dust and dirt.
【0012】[0012]
【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明によれば、原稿画像の濃度調整
機能を備えた画像読取装置において、原稿から入射され
る光信号を読み取ったラインセンサーが出力するアナロ
グ信号を、リファレンス電圧に基づきデジタル信号に変
換するA/D変換手段と、前記A/D変換手段で変換さ
れたデジタル信号にシェーディング補正を行う第1のデ
ータ処理手段と、前記第1のデータ処理手段でシェーデ
ィング補正されたデジタル信号に対してガンマ補正処理
と2値化処理とを行う第2のデータ処理手段と、前記第
1のデータ処理手段でシェーディング補正された1ライ
ン分のデジタル信号を基に、画像信号レベルが前記A/
D変換手段のリファレンス電圧以上である画素数をカウ
ントするカウント手段と、前記カウント手段が1ライン
分のデジタル信号に亘ってカウントして得た画素数が所
定の上限値以上または所定の下限値以下である場合に、
前記A/D変換手段のリファレンス電圧を変化させるリ
ファレンス電圧変化手段とを有することを特徴とする。According to the first aspect of the present invention, there is provided an image reading apparatus having a function of adjusting the density of a document image by reading an optical signal incident from the document. A / D conversion means for converting an analog signal output from the line sensor into a digital signal based on a reference voltage, and first data processing means for performing shading correction on the digital signal converted by the A / D conversion means. A second data processing unit for performing a gamma correction process and a binarization process on the digital signal that has been subjected to shading correction by the first data processing unit, and a first signal that has been subjected to shading correction by the first data processing unit. Based on the digital signal for the line, the image signal level is A / A
Counting means for counting the number of pixels that are equal to or higher than the reference voltage of the D conversion means, and wherein the number of pixels obtained by the counting means counting over one line of the digital signal is equal to or more than a predetermined upper limit value or equal to or less than a predetermined lower limit value If
Reference voltage changing means for changing a reference voltage of the A / D conversion means.
【0013】請求項3記載の発明によれば、原稿画像の
濃度調整機能を備えた画像読取装置において、原稿から
入射される光信号を読み取ったラインセンサーが出力す
るアナログ信号を、リファレンス電圧に基づきデジタル
信号に変換するA/D変換手段と、前記A/D変換手段
で変換されたデジタル信号にシェーディング補正を行う
第1のデータ処理手段と、前記第1のデータ処理手段で
シェーディング補正されたデジタル信号に対してガンマ
補正処理と2値化処理とを行う第2のデータ処理手段
と、前記第1のデータ処理手段に含まれ、前記シェーデ
ィング補正された1ライン分のデジタル信号を基に、前
記原稿の端面部を除く画像部だけに関わる画像信号を抽
出する抽出手段と、前記抽出手段が抽出した1ライン分
の画像信号を基に、画像レベルが前記A/D変換手段の
リファレンス電圧以上である画素数をカウントするカウ
ント手段と、前記カウント手段が1ライン分の画像信号
に亘ってカウントして得た画素数が所定の上限値以上ま
たは所定の下限値以下である場合に、前記A/D変換手
段のリファレンス電圧を変化させるリファレンス電圧変
化手段とを有することを特徴とする。According to the third aspect of the present invention, in an image reading apparatus having a function of adjusting the density of a document image, an analog signal output from a line sensor that reads an optical signal incident from the document is converted based on a reference voltage. A / D conversion means for converting into a digital signal, first data processing means for performing shading correction on the digital signal converted by the A / D conversion means, and digital data which has been subjected to shading correction by the first data processing means. A second data processing means for performing gamma correction processing and binarization processing on the signal; and a digital signal for one line, which is included in the first data processing means and has been subjected to the shading correction, based on the digital signal for one line. Extracting means for extracting an image signal relating only to the image portion excluding the end face of the document, and one line of the image signal extracted by the extracting means, Counting means for counting the number of pixels whose image level is equal to or higher than the reference voltage of the A / D conversion means, and wherein the number of pixels obtained by counting over one line of the image signal is equal to or higher than a predetermined upper limit value Alternatively, a reference voltage changing means for changing a reference voltage of the A / D conversion means when the reference voltage is equal to or less than a predetermined lower limit value is provided.
【0014】請求項5記載の発明によれば、原稿画像の
濃度調整機能を備えた画像読取装置において、原稿から
入射される光信号を読み取ったラインセンサーが出力す
るアナログ信号を、リファレンス電圧に基づきデジタル
信号に変換するA/D変換手段と、前記A/D変換手段
で変換されたデジタル信号にシェーディング補正を行う
第1のデータ処理手段と、前記第1のデータ処理手段で
シェーディング補正されたデジタル信号に対してガンマ
補正処理と2値化処理とを行う第2のデータ処理手段
と、前記第1のデータ処理手段でシェーディング補正さ
れた1ライン分のデジタル信号を基に、画像信号レベル
が前記A/D変換手段のリファレンス電圧以上である画
素が連続して所定数検出されたときに、該画素の数をカ
ウントするカウント手段と、前記カウント手段が1ライ
ン分のデジタル信号に亘ってカウントして得た画素数が
所定の上限値以上または所定の下限値以下である場合
に、前記A/D変換手段のリファレンス電圧を変化させ
るリファレンス電圧変化手段とを有することを特徴とす
る。According to the fifth aspect of the present invention, in an image reading apparatus having a function of adjusting the density of a document image, an analog signal output from a line sensor that reads an optical signal incident from a document is converted based on a reference voltage. A / D conversion means for converting into a digital signal, first data processing means for performing shading correction on the digital signal converted by the A / D conversion means, and digital data which has been subjected to shading correction by the first data processing means. A second data processing means for performing gamma correction processing and binarization processing on the signal, and an image signal level based on the digital signal for one line which has been subjected to shading correction by the first data processing means. When a predetermined number of pixels that are equal to or higher than the reference voltage of the A / D conversion means are continuously detected, a count for counting the number of the pixels. And when the number of pixels obtained by the counting means counting over one line of the digital signal is equal to or more than a predetermined upper limit value or equal to or less than a predetermined lower limit value, the reference voltage of the A / D conversion means is changed. Reference voltage changing means for changing the reference voltage.
【0015】また、請求項7記載の発明によれば、原稿
画像の濃度調整機能を備えた画像読取装置に適用される
画像読取方法において、原稿から入射される光信号を読
み取ったラインセンサーが出力するアナログ信号を、リ
ファレンス電圧に基づきデジタル信号に変換するA/D
変換ステップと、前記A/D変換ステップで変換された
デジタル信号にシェーディング補正を行う第1のデータ
処理ステップと、前記第1のデータ処理ステップでシェ
ーディング補正されたデジタル信号に対してガンマ補正
処理と2値化処理とを行う第2のデータ処理ステップ
と、前記第1のデータ処理ステップでシェーディング補
正された1ライン分のデジタル信号を基に、画像信号レ
ベルが前記リファレンス電圧以上である画素数をカウン
トするカウントステップと、前記カウントステップで得
られた画素数が所定の上限値以上または所定の下限値以
下である場合に、前記リファレンス電圧を変化させるリ
ファレンス電圧変化ステップとを有することを特徴とす
る。According to a seventh aspect of the present invention, in the image reading method applied to the image reading apparatus having the function of adjusting the density of the original image, the line sensor that reads the optical signal incident from the original is output. A / D for converting an analog signal to be converted into a digital signal based on a reference voltage
A first data processing step of performing shading correction on the digital signal converted in the A / D conversion step, and a gamma correction processing on the digital signal that has been subjected to shading correction in the first data processing step. Based on a second data processing step of performing a binarization process and a digital signal of one line subjected to shading correction in the first data processing step, the number of pixels whose image signal level is equal to or higher than the reference voltage is determined. A counting step of counting, and a reference voltage changing step of changing the reference voltage when the number of pixels obtained in the counting step is equal to or more than a predetermined upper limit or equal to or less than a predetermined lower limit. .
【0016】請求項9記載の発明によれば、原稿画像の
濃度調整機能を備えた画像読取装置に適用される画像読
取方法において、原稿から入射される光信号を読み取っ
たラインセンサーが出力するアナログ信号を、リファレ
ンス電圧に基づきデジタル信号に変換するA/D変換ス
テップと、前記A/D変換ステップで変換されたデジタ
ル信号にシェーディング補正を行う第1のデータ処理ス
テップと、前記第1のデータ処理ステップでシェーディ
ング補正されたデジタル信号に対してガンマ補正処理と
2値化処理とを行う第2のデータ処理ステップと、前記
第1のデータ処理ステップでシェーディング補正された
1ライン分のデジタル信号を基に、前記原稿の端面部を
除く画像部だけに関わる画像信号を抽出する抽出ステッ
プと、前記抽出ステップが抽出した1ライン分の画像信
号を基に、画像レベルが前記リファレンス電圧以上であ
る画素数をカウントするカウントステップと、前記カウ
ントステップで得られた画素数が所定の上限値以上また
は所定の下限値以下である場合に、前記リファレンス電
圧を変化させるリファレンス電圧変化ステップとを有す
ることを特徴とする。According to the ninth aspect of the present invention, in the image reading method applied to the image reading apparatus having the function of adjusting the density of the original image, the analog signal output from the line sensor which reads the optical signal incident from the original is provided. An A / D conversion step of converting a signal into a digital signal based on a reference voltage, a first data processing step of performing shading correction on the digital signal converted in the A / D conversion step, and the first data processing A second data processing step of performing gamma correction processing and binarization processing on the digital signal that has been subjected to shading correction in the step, and a digital signal for one line that has been subjected to shading correction in the first data processing step. An extracting step of extracting an image signal relating only to an image portion excluding an end surface portion of the original; A counting step of counting the number of pixels whose image level is equal to or higher than the reference voltage based on the image signal of one line extracted by the flip-flop; and determining whether the number of pixels obtained in the counting step is equal to or higher than a predetermined upper limit value or a predetermined value. A reference voltage changing step of changing the reference voltage when the value is equal to or less than the lower limit of the reference voltage.
【0017】請求項11記載の発明によれば、原稿画像
の濃度調整機能を備えた画像読取装置に適用される画像
読取方法において、原稿から入射される光信号を読み取
ったラインセンサーが出力するアナログ信号を、リファ
レンス電圧に基づきデジタル信号に変換するA/D変換
ステップと、前記A/D変換ステップで変換されたデジ
タル信号にシェーディング補正を行う第1のデータ処理
ステップと、前記第1のデータ処理ステップでシェーデ
ィング補正されたデジタル信号に対してガンマ補正処理
と2値化処理とを行う第2のデータ処理ステップと、前
記第1のデータ処理ステップでシェーディング補正され
た1ライン分のデジタル信号を基に、画像信号レベルが
前記リファレンス電圧以上である画素が連続して所定数
検出されたときに、該画素の数をカウントするカウント
ステップと、前記カウントステップが1ライン分のデジ
タル信号に亘ってカウントして得た画素数が所定の上限
値以上または所定の下限値以下である場合に、前記リフ
ァレンス電圧を変化させるリファレンス電圧変化ステッ
プとを有することを特徴とする。According to the eleventh aspect of the present invention, in the image reading method applied to the image reading apparatus having the function of adjusting the density of the original image, the analog signal output from the line sensor which reads the optical signal incident from the original is provided. An A / D conversion step of converting a signal into a digital signal based on a reference voltage, a first data processing step of performing shading correction on the digital signal converted in the A / D conversion step, and the first data processing A second data processing step of performing gamma correction processing and binarization processing on the digital signal that has been subjected to shading correction in the step, and a digital signal for one line that has been subjected to shading correction in the first data processing step. When a predetermined number of pixels whose image signal levels are equal to or higher than the reference voltage are detected consecutively, A counting step of counting the number of pixels, and the reference step is performed when the number of pixels obtained by counting over one line of the digital signal is equal to or more than a predetermined upper limit or equal to or less than a predetermined lower limit. And a reference voltage changing step of changing a voltage.
【0018】さらに、請求項13記載の発明によれば、
原稿画像の濃度調整機能を備えた画像読取装置に適用さ
れる画像読取方法をプログラムとして記憶した、コンピ
ュータにより読み出し可能な記憶媒体において、前記画
像読取方法が、原稿から入射される光信号を読み取った
ラインセンサーが出力するアナログ信号を、リファレン
ス電圧に基づきデジタル信号に変換するA/D変換ステ
ップと、前記A/D変換ステップで変換されたデジタル
信号にシェーディング補正を行う第1のデータ処理ステ
ップと、前記第1のデータ処理ステップでシェーディン
グ補正されたデジタル信号に対してガンマ補正処理と2
値化処理とを行う第2のデータ処理ステップと、前記第
1のデータ処理ステップでシェーディング補正された1
ライン分のデジタル信号を基に、画像信号レベルが前記
リファレンス電圧以上である画素数をカウントするカウ
ントステップと、前記カウントステップで得られた画素
数が所定の上限値以上または所定の下限値以下である場
合に、前記リファレンス電圧を変化させるリファレンス
電圧変化ステップとを有することを特徴とする。Further, according to the invention of claim 13,
An image reading method applied to an image reading apparatus having a density adjustment function of a document image is stored as a program. In a computer-readable storage medium, the image reading method reads an optical signal incident from a document. An A / D conversion step of converting an analog signal output by the line sensor into a digital signal based on a reference voltage; a first data processing step of performing shading correction on the digital signal converted in the A / D conversion step; Gamma correction processing is performed on the digital signal subjected to shading correction in the first data processing step.
A second data processing step for performing a binarization process;
A counting step of counting the number of pixels whose image signal level is equal to or higher than the reference voltage based on the digital signals for the lines, and the number of pixels obtained in the counting step is equal to or higher than a predetermined upper limit or equal to or lower than a predetermined lower limit. A reference voltage changing step of changing the reference voltage in some cases.
【0019】請求項15記載の発明によれば、原稿画像
の濃度調整機能を備えた画像読取装置に適用される画像
読取方法をプログラムとして記憶した、コンピュータに
より読み出し可能な記憶媒体において、前記画像読取方
法が、原稿から入射される光信号を読み取ったラインセ
ンサーが出力するアナログ信号を、リファレンス電圧に
基づきデジタル信号に変換するA/D変換ステップと、
前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、
前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、前記第1のデー
タ処理ステップでシェーディング補正された1ライン分
のデジタル信号を基に、前記原稿の端面部を除く画像部
だけに関わる画像信号を抽出する抽出ステップと、前記
抽出ステップが抽出した1ライン分の画像信号を基に、
画像レベルが前記リファレンス電圧以上である画素数を
カウントするカウントステップと、前記カウントステッ
プで得られた画素数が所定の上限値以上または所定の下
限値以下である場合に、前記リファレンス電圧を変化さ
せるリファレンス電圧変化ステップとを有することを特
徴とする。According to a fifteenth aspect of the present invention, there is provided a computer-readable storage medium storing, as a program, an image reading method applied to an image reading apparatus having a density adjusting function of a document image. An A / D conversion step of converting an analog signal output by a line sensor that reads an optical signal incident from a document into a digital signal based on a reference voltage;
A first data processing step of performing shading correction on the digital signal converted in the A / D conversion step;
A second data processing step of performing gamma correction processing and binarization processing on the digital signal that has been subjected to shading correction in the first data processing step, and one line that has been subjected to shading correction in the first data processing step Extracting an image signal relating to only the image portion excluding the end face portion of the document based on the digital signal for one minute, based on the image signal for one line extracted by the extracting step,
A counting step of counting the number of pixels whose image level is equal to or higher than the reference voltage; and changing the reference voltage when the number of pixels obtained in the counting step is equal to or higher than a predetermined upper limit or equal to or lower than a predetermined lower limit. And a reference voltage changing step.
【0020】請求項17記載の発明によれば、原稿画像
の濃度調整機能を備えた画像読取装置に適用される画像
読取方法をプログラムとして記憶した、コンピュータに
より読み出し可能な記憶媒体において、前記画像読取方
法が、原稿から入射される光信号を読み取ったラインセ
ンサーが出力するアナログ信号を、リファレンス電圧に
基づきデジタル信号に変換するA/D変換ステップと、
前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、
前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、前記第1のデー
タ処理ステップでシェーディング補正された1ライン分
のデジタル信号を基に、画像信号レベルが前記リファレ
ンス電圧以上である画素が連続して所定数検出されたと
きに、該画素の数をカウントするカウントステップと、
前記カウントステップが1ライン分のデジタル信号に亘
ってカウントして得た画素数が所定の上限値以上または
所定の下限値以下である場合に、前記リファレンス電圧
を変化させるリファレンス電圧変化ステップとを有する
ことを特徴とする。According to a seventeenth aspect of the present invention, there is provided a computer-readable storage medium storing, as a program, an image reading method applied to an image reading apparatus having a function of adjusting the density of a document image. An A / D conversion step of converting an analog signal output by a line sensor that reads an optical signal incident from a document into a digital signal based on a reference voltage;
A first data processing step of performing shading correction on the digital signal converted in the A / D conversion step;
A second data processing step of performing gamma correction processing and binarization processing on the digital signal that has been subjected to shading correction in the first data processing step, and one line that has been subjected to shading correction in the first data processing step A counting step of counting the number of pixels, when a predetermined number of pixels whose image signal levels are equal to or higher than the reference voltage are detected consecutively based on the digital signal for minutes,
A reference voltage changing step of changing the reference voltage when the number of pixels obtained by counting over one line of the digital signal is equal to or more than a predetermined upper limit or equal to or less than a predetermined lower limit. It is characterized by the following.
【0021】[0021]
【発明の実施の形態】以下、本発明の実施の形態を、図
面を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0022】(第1の実施の形態)図1は、本発明の第
1の実施形態に係る画像読取装置のデータ処理部分の構
成を示すブロック図である。(First Embodiment) FIG. 1 is a block diagram showing a configuration of a data processing portion of an image reading apparatus according to a first embodiment of the present invention.
【0023】画像読取装置は、図示を省略したが、例え
ば原稿台、照明光源、ラインセンサー、光学系装置、駆
動装置等から構成され、原稿台に載置された原稿に対し
て照明光源が光を照射し、反射光が光学系装置を介して
ラインセンサーに送られ、ラインセンサーが画像信号を
出力する。ラインセンサーは、多数の撮像素子が一列に
並んだ構成になっており、駆動装置によって、ラインセ
ンサーが原稿に対して相対的に、撮像素子の並び方向と
垂直方向に移動する。Although not shown in the figure, the image reading apparatus is composed of, for example, a document table, an illumination light source, a line sensor, an optical device, a driving device, etc., and the illumination light source emits light to a document placed on the document table. And the reflected light is sent to the line sensor via the optical system device, and the line sensor outputs an image signal. The line sensor has a configuration in which a number of image sensors are arranged in a line, and the driving device moves the line sensor relative to a document in a direction perpendicular to the direction in which the image sensors are arranged.
【0024】図1中、101がこのラインセンサーを表
す。ラインセンサー101で検出された1ライン分の画
像信号はA/D変換部102へ送られる。A/D変換部
102は、後述のようにD/A変換部107から送られ
るアナログ信号のレベルに応じてリファレンス電圧を変
化させ、このリファレンス電圧を用いて0レベルを設定
した上で、画像信号を多値のデジタル信号に変換する。
このデジタル信号はデータ処理部103に送られる。デ
ータ処理部103ではシェーディング補正が行われ、デ
ータ処理部104及びカウンタ105へ送られる。デー
タ処理104ではガンマ補正等の画像処理が行われ、さ
らに2値化が行われて出力される。In FIG. 1, reference numeral 101 denotes this line sensor. An image signal for one line detected by the line sensor 101 is sent to the A / D converter 102. The A / D converter 102 changes the reference voltage according to the level of the analog signal sent from the D / A converter 107 as described later, sets the 0 level using the reference voltage, and then sets the image signal. Is converted to a multi-valued digital signal.
This digital signal is sent to the data processing unit 103. The data processing unit 103 performs shading correction and sends the result to the data processing unit 104 and the counter 105. In the data processing 104, image processing such as gamma correction is performed, and further binarized and output.
【0025】データ処理部103でシェーディング補正
が行われた画像データを受け取ったカウンタ105で
は、1ライン分の画像データを基に、画素の信号レベル
がリファレンス電圧以上である画素の数をカウントす
る。そのカウント値が判定部106へと送られ、判定部
106では、送られたカウント値を、予め設定されてい
る上限値及び下限値と比較する。カウント値が上限値よ
り大きい場合、またはカウント値が下限値より小さい場
合、その差分を示すデジタル信号をD/A変換部107
へ送る。D/A変換部107は、送られたデジタル信号
を基に前記差分を示すアナログ信号を作成し、A/D変
換部102へ送る。A/D変換部102は、送られたア
ナログ信号のレベルに応じてリファレンス電圧を変化さ
せる。The counter 105 receiving the image data subjected to the shading correction by the data processing unit 103 counts the number of pixels whose signal level is equal to or higher than the reference voltage based on the image data for one line. The count value is sent to the determination unit 106, and the determination unit 106 compares the sent count value with a preset upper limit value and lower limit value. When the count value is larger than the upper limit value or when the count value is smaller than the lower limit value, the digital signal indicating the difference is converted into a digital signal by the D / A converter 107.
Send to The D / A converter 107 creates an analog signal indicating the difference based on the transmitted digital signal, and sends the analog signal to the A / D converter 102. The A / D converter 102 changes the reference voltage according to the level of the transmitted analog signal.
【0026】カウンタ105がカウントの対象とする画
像データは、シェーディング補正後の画像データとして
いるが、これは、シェーディング補正後の画像データを
使用することで、ラインセンサー101を構成する各撮
像素子(チップ)の感度のバラツキや、照明光源の光量
むら等による影響を除くことができるためである。The image data to be counted by the counter 105 is the image data after the shading correction. This is performed by using the image data after the shading correction, so that each image sensor ( This is because it is possible to eliminate the influence of the variation in sensitivity of the chip) and the unevenness in the light amount of the illumination light source.
【0027】また、カウンタ105がカウントの対象と
する画像データは、ガンマ補正前の画像データとしてい
るが、これは、ガンマ補正によって画像データが変更さ
れてしまうので、その影響を受けない前の画像データを
使用するためである。The image data to be counted by the counter 105 is the image data before the gamma correction. However, since the image data is changed by the gamma correction, the image data before the gamma correction is not affected. This is to use the data.
【0028】図2は、A/D変換部102に入力される
画像データと、D/A変換部107によって変更される
A/D変換部102のリファレンス電圧との関係を示す
図である。FIG. 2 is a diagram showing the relationship between the image data input to the A / D converter 102 and the reference voltage of the A / D converter 102 changed by the D / A converter 107.
【0029】図2(A)に斜線部で示すように、1ライ
ン分の画像データが、A/D変換部102に設定された
リファレンス電圧を越えた場合、カウンタ105が、斜
線部に相当する画素数をカウントする。そのカウント値
が予め設定されている上限値より大きい場合には、その
差分に従ってリファレンス電圧が、図2(B)に示すよ
うに上げられる。また、図2(C)に示すように、1ラ
イン分の画像データが、A/D変換部102に設定され
たリファレンス電圧よりも小さい場合、カウンタ105
のカウント値が0であり、予め設定されている下限値よ
り当然小さいので、その差分に従ってリファレンス電圧
が、図2(D)に示すように下げられる。When the image data for one line exceeds the reference voltage set in the A / D converter 102, the counter 105 corresponds to the shaded area as shown by the shaded area in FIG. Count the number of pixels. If the count value is larger than a preset upper limit value, the reference voltage is increased according to the difference as shown in FIG. Further, as shown in FIG. 2C, when the image data for one line is smaller than the reference voltage set in the A / D conversion unit 102, the counter 105
Is 0, which is naturally smaller than the preset lower limit, so that the reference voltage is reduced according to the difference as shown in FIG. 2 (D).
【0030】上述したように、A/D変換部102のリ
ファレンス電圧が変えられるのは、1ラインの画像デー
タを基にカウンター105でカウントされたカウント値
が、上限値及び下限値で仕切られる範囲を超えた場合で
あり、ラインセンサー101が読み取った1ライン分の
画像データに対して、A/D変換部102は同一のリフ
ァレンス電圧を用いる。As described above, the reference voltage of the A / D converter 102 is changed in a range in which the count value counted by the counter 105 based on one line of image data is divided by the upper limit value and the lower limit value. , And the A / D converter 102 uses the same reference voltage for one line of image data read by the line sensor 101.
【0031】したがって、中間濃度を形成する網点画像
を読み取っている場合でも、網点画像を構成する各部分
毎に、A/D変換部102のリファレンス電圧が変化す
ることがなく、その結果、網点画像を構成する白黒各部
分の正確な濃度デジタル値を得ることができ、元の網点
画像を正確に再現することができる。Therefore, even when a halftone image forming an intermediate density is read, the reference voltage of the A / D converter 102 does not change for each part constituting the halftone image. An accurate density digital value of each of the black and white portions constituting the halftone dot image can be obtained, and the original halftone dot image can be accurately reproduced.
【0032】なお、カウンター105でカウントされた
カウント値が比較される上限値及び下限値で仕切られる
範囲が大きくなるように上限値及び下限値を設定する
と、原稿画像全体の平均濃度に対してリファレンス電圧
を設定する濃度調整になり、画像の一部に濃度の極端に
異なる部分があった場合でも、原稿画像全体に応じた適
正な濃度調整が可能となる。If the upper limit and the lower limit are set so that the range divided by the upper limit and the lower limit with which the count values counted by the counter 105 are compared is large, the reference density with respect to the average density of the entire original image is set. Density adjustment for setting the voltage is performed, and even when there is an extremely different portion of the density in a part of the image, appropriate density adjustment according to the entire original image can be performed.
【0033】またなお、カウンター105でカウントさ
れたカウント値が比較される上限値及び下限値を一定値
に設定するのではなく、変えらるようにしてもよい。こ
れにより、濃度変化の大きい画像でも、また濃度変化の
小さい画像でも読み取るべき原稿画像に合わせた濃度調
整が可能となる。これを、図3を参照して説明する。The upper limit and the lower limit with which the count values counted by the counter 105 are compared may not be set to fixed values but may be changed. This makes it possible to adjust the density according to the original image to be read, even for an image having a large density change or an image having a small density change. This will be described with reference to FIG.
【0034】図3は、原稿の下地部分の濃度変化が大き
い場合のA/D変換部102に入力される画像データ
と、D/A変換部107によって変更されるA/D変換
部102のリファレンス電圧との関係を示す図である。FIG. 3 shows image data input to the A / D converter 102 when the density change of the background portion of the document is large, and a reference of the A / D converter 102 changed by the D / A converter 107. FIG. 3 is a diagram illustrating a relationship with a voltage.
【0035】原稿の下地部分の濃度変化が大きい場合の
原稿画像データを、A/D変換部102がデジタル値に
変換する場合のリファレンス電圧は、図3示す位置に設
定されることが好ましい。こうした場合に、A/D変換
部102のリファレンス電圧が原稿の下地の変化に追従
して変化すると、原稿一面の間に大きく濃度が変わって
しまう。そこで、カウンター105のカウント値を比較
する上限値を大きな値に変更し、これによって、A/D
変換部102のリファレンス電圧を図3示す位置に設定
したまま、原稿の濃度を安定させる。It is preferable that the reference voltage when the A / D converter 102 converts the original image data when the density change of the background portion of the original is large into a digital value is set at the position shown in FIG. In such a case, if the reference voltage of the A / D conversion unit 102 changes following the change of the background of the document, the density greatly changes between the surfaces of the document. Therefore, the upper limit value for comparing the count value of the counter 105 is changed to a large value.
The density of the document is stabilized while the reference voltage of the conversion unit 102 is set at the position shown in FIG.
【0036】(第2の実施の形態)図4は、本発明の第
2の実施形態に係る画像読取装置のデータ処理部分の構
成を示すブロック図である。第2の実施形態の構成は、
基本的に第1の実施形態の構成と同じであるので、同一
構成部分には同一の参照番号を付してその説明を省略す
る。(Second Embodiment) FIG. 4 is a block diagram showing a configuration of a data processing portion of an image reading apparatus according to a second embodiment of the present invention. The configuration of the second embodiment is as follows.
Since the configuration is basically the same as that of the first embodiment, the same components are denoted by the same reference numerals and description thereof will be omitted.
【0037】第2の実施形態では、データ処理部103
が、第1の実施の形態と同じように、シェーディング補
正後の1ライン分の画像データをデータ処理部104へ
送るとともに、シェーディング補正後の1ライン分の画
像データから、原稿の端面部を除いた画像部分だけを抽
出してカウント105へ送る。画像読取装置が、原稿の
位置と幅を検出する手段を備え、データ処理部103
は、その検出された結果によって、シェーディング補正
後の画像データから、原稿の端面部を除いた画像部分だ
けを抽出する。カウント105では、原稿の端面部が除
かれた画像部分に関する画像データを基に、第1の実施
の形態と同じようにカウントが行われ、判定部106及
びD/A変換部107を経てA/D変換部102のリフ
ァレンス電圧が設定される。In the second embodiment, the data processing unit 103
However, as in the first embodiment, the image data for one line after the shading correction is sent to the data processing unit 104, and the edge of the document is removed from the one-line image data after the shading correction. Only the extracted image portion is extracted and sent to the count 105. The image reading device includes a unit that detects a position and a width of the document, and the data processing unit 103
Extracts only the image portion excluding the end face of the document from the image data after shading correction based on the detected result. In the count 105, counting is performed in the same manner as in the first embodiment based on image data relating to an image portion from which the end face of the document has been removed, and the A / A data is passed through the determination unit 106 and the D / A conversion unit 107. The reference voltage of the D conversion unit 102 is set.
【0038】図5は、第2の実施形態における、A/D
変換部102に入力される画像データと、D/A変換部
107によって変更されるA/D変換部102のリファ
レンス電圧との関係を示す図である。FIG. 5 shows the A / D in the second embodiment.
FIG. 3 is a diagram illustrating a relationship between image data input to a conversion unit and a reference voltage of the A / D conversion unit changed by a D / A conversion unit.
【0039】通常、オフィス等で作成される原稿では、
図5(A)に示すように、原稿の端面部には文書等の画
像が印字されていない。Usually, in a manuscript created in an office or the like,
As shown in FIG. 5A, an image such as a document is not printed on the end face of the document.
【0040】カウンタ105へ送られる画像データは、
図5(B)に示す範囲W1の画像データに限定される。
したがって、図5(C)に示すように、リファレンス電
圧が、原稿の端面部には無関係に、範囲W1の画像デー
タ画像に対して最適な位置に設定され得る。The image data sent to the counter 105 is
The image data is limited to the image data in the range W1 shown in FIG.
Therefore, as shown in FIG. 5C, the reference voltage can be set at an optimum position for the image data image in the range W1 regardless of the end face of the document.
【0041】(第3の実施の形態)第3の実施形態の構
成は、基本的に第1の実施形態の構成と同じであるの
で、第1の実施形態の構成を流用して説明する。(Third Embodiment) The configuration of the third embodiment is basically the same as the configuration of the first embodiment. Therefore, the configuration of the first embodiment will be described.
【0042】第3の実施形態では、第1の実施形態と同
様に、カウンタ105が、データ処理部103からシェ
ーディング補正後の1ライン分の画像データを受け取
り、受け取った1ライン分の画像データを基に、画素の
信号レベルが所定の設定値以上であるか否かを判定する
が、第3の実施形態のカウンタ105は、信号レベルが
所定の設定値以上である画素が複数の所定数連続して検
出されたときに、それらの画素の数をカウントする。In the third embodiment, as in the first embodiment, the counter 105 receives one line of image data after shading correction from the data processing unit 103 and converts the received one line of image data. On the basis of this, it is determined whether or not the signal level of the pixel is equal to or more than a predetermined set value. When detected, the number of those pixels is counted.
【0043】原稿に小さなゴミや汚れがある場合、それ
らはカウンタ105のカウントの対象とはならない。し
たがって、A/D変換部102のリファレンス電圧は、
その小さなゴミや汚れの影響を受けず、最適なリファレ
ンス電圧が設定される。If there is small dust or dirt on the original, they are not counted by the counter 105. Therefore, the reference voltage of the A / D converter 102 is
The optimum reference voltage is set without being affected by the small dust or dirt.
【0044】なお、上記の各実施形態は、ハードウェア
で構成された場合を例にして説明したが、本発明はソフ
トウェアに適用することもできる。Although each of the above embodiments has been described by taking as an example the case where it is constituted by hardware, the present invention can also be applied to software.
【0045】また、本発明をソフトウェアによって実現
する場合には、前述した各実施形態の機能を実現するソ
フトウェアのプログラムコードを記憶した記憶媒体を、
システムあるいは装置に供給し、そのシステムあるいは
装置のコンピュータ(またはCPUやMPU)が記憶媒
体に格納されたプログラムコードを読み出して実行する
ことによっても、本発明が達成されることは言うまでも
ない。When the present invention is realized by software, a storage medium storing program codes of software for realizing the functions of the above-described embodiments is replaced with a storage medium.
It goes without saying that the present invention can also be achieved by supplying the program or the program to the system or the apparatus and causing the computer (or CPU or MPU) of the system or the apparatus to read and execute the program code stored in the storage medium.
【0046】この場合、記憶媒体から読み出されたプロ
グラムコード自体が、前述の各実施形態の機能を実現す
ることになり、そのプログラムコードを記憶した記憶媒
体が本発明を構成することになる。In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
【0047】プログラムコードを供給するための記憶媒
体として、例えば、フロッピィディスク、ハードディス
ク、光ディスク、光磁気ディスク、CD−ROM、CD
−R、磁気テープ、不揮発性のメモリカード、ROMな
どを用いることができる。As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
【0048】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した各実施形態の
機能が実現されるだけでなく、そのプログラムコードの
指示に基づき、コンピュータ上で稼働しているOSなど
が実際の処理の一部または全部を行い、その処理によっ
て前述した各実施形態の機能が実現される場合も、本発
明に含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS or the like running on the computer based on the instruction of the program code. It is needless to say that the present invention includes a case where a part or all of the actual processing is performed and the function of each embodiment described above is realized by the processing.
【0049】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPUなどが実際の処理の一部または全部を行
い、その処理によって前述した各実施形態の機能が実現
される場合も、本発明に含まれることは言うまでもな
い。Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It is needless to say that the present invention includes a case where the CPU or the like provided in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments. .
【0050】[0050]
【発明の効果】以上詳述したように請求項1、請求項7
または請求項13記載の発明によれば、ラインセンサー
1ライン分の画像データの中で画像信号レベルがリファ
レンス電圧以上である画素の数をカウントし、そのカウ
ント値が、A/D変換部のリファレンス電圧を変化させ
る判断に使用される。As described in detail above, claims 1 and 7 have been described.
According to the thirteenth aspect of the present invention, the number of pixels whose image signal level is equal to or higher than the reference voltage in the image data for one line sensor is counted, and the counted value is used as the reference value of the A / D converter. Used to make a decision to change the voltage.
【0051】これにより、ラインセンサー1ライン分の
画像信号に対してA/D変換部は同一のリファレンス電
圧を用いて0レベルを設定することになり、したがっ
て、中間濃度を形成する網点画像を1ライン分読み取っ
ている間のリファレンス電圧の変化はなくなり、正確な
網点画像の濃度デジタル値が得られ、その結果、正確な
網点画像の再現ができる。As a result, the A / D converter sets the 0 level to the image signal for one line sensor using the same reference voltage, and therefore, the halftone image forming the intermediate density can be displayed. There is no change in the reference voltage during reading for one line, and an accurate density digital value of a halftone image is obtained. As a result, an accurate halftone image can be reproduced.
【0052】また、請求項2、請求項4、請求項6、請
求項8、請求項10、請求項12、請求項14、請求項
16、または請求項18記載の発明によれば、ラインセ
ンサー1ライン分の画像データに亘って上記カウントが
行われ、得られたカウント値が所定の上限値以上、また
は下限値以下であったときに、A/D変換部のリファレ
ンス電圧を変化させるようにし、これらの所定の上限値
及び下限値は、任意に設定できる値とした。According to the invention described in claim 2, claim 4, claim 6, claim 8, claim 10, claim 12, claim 14, claim 16, or claim 18, a line sensor is provided. The above-described counting is performed over the image data for one line, and when the obtained count value is equal to or more than a predetermined upper limit value or equal to or less than a lower limit value, the reference voltage of the A / D conversion unit is changed. The predetermined upper and lower limits are set to values that can be set arbitrarily.
【0053】これにより、濃度変化の大きい画像でも、
また濃度変化の小さい画像でも読み取るべき原稿画像に
合わせた濃度調整が可能となる。Thus, even for an image having a large density change,
In addition, it is possible to adjust the density according to the original image to be read even with an image having a small density change.
【0054】また、請求項3、請求項9または請求項1
5記載の発明によれば、原稿の端面に画像の無い原稿に
おいては、上記カウント対象の画像データとして、原稿
の端面を除いた画像部分だけにした。Further, claim 3, claim 9, or claim 1
According to the fifth aspect of the invention, in a document having no image on the end face of the document, the image data to be counted is only the image portion excluding the end face of the document.
【0055】これにより、画像が形成されていない端面
部の画像データによってA/D変換部のリファレンス電
圧が変化させられることを禁止でき、適正な濃度デジタ
ル値を得ることができる。As a result, it is possible to prohibit the reference voltage of the A / D converter from being changed by the image data of the end face portion where no image is formed, and it is possible to obtain an appropriate density digital value.
【0056】また、請求項5、請求項11または請求項
17記載の発明によれば、ラインセンサー1ライン分の
画像データの中で画像信号レベルがリファレンス電圧以
上である画素が、連続して所定数検出されたときに、上
記カウントを行うようにした。According to the fifth, eleventh, or seventeenth aspect of the present invention, pixels having an image signal level equal to or higher than the reference voltage in the image data for one line sensor are continuously determined. When the number is detected, the above counting is performed.
【0057】これにより、原稿上の小さなゴミや汚れを
画像として扱うことがなく、適正な濃度デジタル値を得
ることができる。As a result, an appropriate density digital value can be obtained without treating small dust or dirt on the document as an image.
【図1】本発明の第1の実施形態に係る画像読取装置の
データ処理部分の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a data processing portion of an image reading apparatus according to a first embodiment of the present invention.
【図2】A/D変換部に入力される画像データと、D/
A変換部によって変更されるA/D変換部のリファレン
ス電圧との関係を示す図である。FIG. 2 illustrates image data input to an A / D conversion unit and D / D conversion data.
FIG. 5 is a diagram illustrating a relationship between an A / D converter and a reference voltage changed by the A converter.
【図3】原稿の下地部分の濃度変化が大きい場合のA/
D変換部に入力される画像データと、D/A変換部によ
って変更されるA/D変換部のリファレンス電圧との関
係を示す図である。FIG. 3 shows A / A when the density change of the background portion of the original is large.
FIG. 4 is a diagram illustrating a relationship between image data input to a D / A converter and a reference voltage of the A / D converter changed by the D / A converter.
【図4】本発明の第2の実施形態に係る画像読取装置の
データ処理部分の構成を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration of a data processing portion of an image reading apparatus according to a second embodiment of the present invention.
【図5】第2の実施形態における、A/D変換部に入力
される画像データと、D/A変換部によって変更される
A/D変換部のリファレンス電圧との関係を示す図であ
る。FIG. 5 is a diagram illustrating a relationship between image data input to an A / D converter and a reference voltage of the A / D converter changed by the D / A converter in the second embodiment.
101 ラインセンサー 102 A/D変換部(A/D変換手段) 103 データ処理部(第1のデータ処理手段) 104 データ処理部(第2のデータ処理手段) 105 カウンタ(カウント手段) 106 判定部(リファレンス電圧変化手段) 107 D/A変換部(リファレンス電圧変化手段) 101 line sensor 102 A / D conversion unit (A / D conversion unit) 103 data processing unit (first data processing unit) 104 data processing unit (second data processing unit) 105 counter (counting unit) 106 determination unit ( Reference voltage changing means) 107 D / A converter (reference voltage changing means)
Claims (18)
取装置において、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換手段と、 前記A/D変換手段で変換されたデジタル信号にシェー
ディング補正を行う第1のデータ処理手段と、 前記第1のデータ処理手段でシェーディング補正された
デジタル信号に対してガンマ補正処理と2値化処理とを
行う第2のデータ処理手段と、 前記第1のデータ処理手段でシェーディング補正された
1ライン分のデジタル信号を基に、画像信号レベルが前
記A/D変換手段のリファレンス電圧以上である画素数
をカウントするカウント手段と、 前記カウント手段が1ライン分のデジタル信号に亘って
カウントして得た画素数が所定の上限値以上または所定
の下限値以下である場合に、前記A/D変換手段のリフ
ァレンス電圧を変化させるリファレンス電圧変化手段と
を有することを特徴とする画像読取装置。An image reading apparatus having a function of adjusting the density of a document image, wherein an analog signal output from a line sensor that reads an optical signal incident from the document is converted into a digital signal based on a reference voltage. Conversion means; first data processing means for performing shading correction on the digital signal converted by the A / D conversion means; and gamma correction processing for the digital signal subjected to shading correction by the first data processing means. A second data processing unit for performing a binarization process; and a reference signal of the A / D conversion unit for an image signal level based on the digital signal of one line which has been subjected to shading correction by the first data processing unit. A counting means for counting the number of pixels, the counting means counting over one line of digital signal If the number of pixels obtained by is less than a predetermined upper limit value or a predetermined lower limit value, the image reading apparatus characterized by having a reference voltage changing means for changing the reference voltage of the A / D converter.
は変更可能な値であることを特徴とする請求項1記載の
画像読取装置。2. The image reading apparatus according to claim 1, wherein the predetermined upper limit value and the predetermined lower limit value are changeable values.
取装置において、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換手段と、 前記A/D変換手段で変換されたデジタル信号にシェー
ディング補正を行う第1のデータ処理手段と、 前記第1のデータ処理手段でシェーディング補正された
デジタル信号に対してガンマ補正処理と2値化処理とを
行う第2のデータ処理手段と、 前記第1のデータ処理手段に含まれ、前記シェーディン
グ補正された1ライン分のデジタル信号を基に、前記原
稿の端面部を除く画像部だけに関わる画像信号を抽出す
る抽出手段と、 前記抽出手段が抽出した1ライン分の画像信号を基に、
画像レベルが前記A/D変換手段のリファレンス電圧以
上である画素数をカウントするカウント手段と、 前記カウント手段が1ライン分の画像信号に亘ってカウ
ントして得た画素数が所定の上限値以上または所定の下
限値以下である場合に、前記A/D変換手段のリファレ
ンス電圧を変化させるリファレンス電圧変化手段とを有
することを特徴とする画像読取装置。3. An image reading apparatus provided with a function of adjusting the density of a document image, wherein an analog signal output from a line sensor that reads an optical signal incident from the document is converted into a digital signal based on a reference voltage. Conversion means; first data processing means for performing shading correction on the digital signal converted by the A / D conversion means; and gamma correction processing for the digital signal subjected to shading correction by the first data processing means. A second data processing unit that performs a binarization process; and an image unit that is included in the first data processing unit and that excludes an end surface of the document based on the digital signal for one line that has been subjected to the shading correction. Extracting means for extracting an image signal relating only to the image signal, and based on the image signal for one line extracted by the extracting means,
Counting means for counting the number of pixels whose image level is equal to or higher than the reference voltage of the A / D conversion means; and wherein the number of pixels obtained by the counting means counting over one line of the image signal is equal to or higher than a predetermined upper limit. An image reading apparatus comprising: a reference voltage changing unit that changes a reference voltage of the A / D conversion unit when the reference voltage is equal to or less than a predetermined lower limit.
は変更可能な値であることを特徴とする請求項3記載の
画像読取装置。4. The image reading apparatus according to claim 3, wherein the predetermined upper limit value and the predetermined lower limit value are changeable values.
取装置において、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換手段と、 前記A/D変換手段で変換されたデジタル信号にシェー
ディング補正を行う第1のデータ処理手段と、 前記第1のデータ処理手段でシェーディング補正された
デジタル信号に対してガンマ補正処理と2値化処理とを
行う第2のデータ処理手段と、 前記第1のデータ処理手段でシェーディング補正された
1ライン分のデジタル信号を基に、画像信号レベルが前
記A/D変換手段のリファレンス電圧以上である画素が
連続して所定数検出されたときに、該画素の数をカウン
トするカウント手段と、 前記カウント手段が1ライン分のデジタル信号に亘って
カウントして得た画素数が所定の上限値以上または所定
の下限値以下である場合に、前記A/D変換手段のリフ
ァレンス電圧を変化させるリファレンス電圧変化手段と
を有することを特徴とする画像読取装置。5. An image reading apparatus having a function of adjusting the density of a document image, wherein the A / D converter converts an analog signal output from a line sensor reading an optical signal incident from the document into a digital signal based on a reference voltage. Conversion means; first data processing means for performing shading correction on the digital signal converted by the A / D conversion means; and gamma correction processing for the digital signal subjected to shading correction by the first data processing means. A second data processing unit for performing a binarization process; and a reference signal of the A / D conversion unit for an image signal level based on the digital signal of one line which has been subjected to shading correction by the first data processing unit. Counting means for counting the number of pixels when a predetermined number of the above pixels are continuously detected, and the counting means Reference voltage changing means for changing the reference voltage of the A / D conversion means when the number of pixels obtained by counting over one line of the digital signal is not less than a predetermined upper limit value or not more than a predetermined lower limit value; An image reading apparatus comprising:
は変更可能な値であることを特徴とする請求項5記載の
画像読取装置。6. The image reading apparatus according to claim 5, wherein the predetermined upper limit value and the predetermined lower limit value are changeable values.
取装置に適用される画像読取方法において、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換ステップと、 前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れた1ライン分のデジタル信号を基に、画像信号レベル
が前記リファレンス電圧以上である画素数をカウントす
るカウントステップと、 前記カウントステップで得られた画素数が所定の上限値
以上または所定の下限値以下である場合に、前記リファ
レンス電圧を変化させるリファレンス電圧変化ステップ
とを有することを特徴とする画像読取方法。7. An image reading method applied to an image reading apparatus having a function of adjusting the density of a document image, wherein an analog signal output from a line sensor that reads an optical signal incident from the document is digitalized based on a reference voltage. An A / D conversion step of converting the digital signal into a signal, a first data processing step of performing shading correction on the digital signal converted in the A / D conversion step, and a digital signal subjected to shading correction in the first data processing step A second data processing step of performing a gamma correction process and a binarization process on the image signal level, and based on the digital signal of one line subjected to shading correction in the first data processing step, the image signal level is set to the reference value. A counting step of counting the number of pixels that are equal to or higher than the voltage; Image reading method was the number of pixels and wherein if less than a predetermined upper limit value or more or a predetermined lower limit value, it has a reference voltage change step of changing the reference voltage.
は変更可能な値であることを特徴とする請求項7記載の
画像読取方法。8. The image reading method according to claim 7, wherein said predetermined upper limit value and said predetermined lower limit value are changeable values.
取装置に適用される画像読取方法において、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換ステップと、 前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れた1ライン分のデジタル信号を基に、前記原稿の端面
部を除く画像部だけに関わる画像信号を抽出する抽出ス
テップと、 前記抽出ステップが抽出した1ライン分の画像信号を基
に、画像レベルが前記リファレンス電圧以上である画素
数をカウントするカウントステップと、 前記カウントステップで得られた画素数が所定の上限値
以上または所定の下限値以下である場合に、前記リファ
レンス電圧を変化させるリファレンス電圧変化ステップ
とを有することを特徴とする画像読取方法。9. An image reading method applied to an image reading apparatus having a function of adjusting the density of a document image, wherein an analog signal output from a line sensor reading an optical signal incident from the document is digitally converted based on a reference voltage. An A / D conversion step of converting the digital signal into a signal, a first data processing step of performing shading correction on the digital signal converted in the A / D conversion step, and a digital signal subjected to shading correction in the first data processing step A second data processing step of performing a gamma correction process and a binarization process on the image data; and an edge portion of the document based on the digital signal of one line that has been subjected to shading correction in the first data processing step. An extraction step of extracting an image signal relating only to an image portion to be removed, and one line extracted by the extraction step A counting step of counting the number of pixels whose image level is equal to or higher than the reference voltage, based on the image signal of the above, when the number of pixels obtained in the counting step is equal to or higher than a predetermined upper limit or equal to or lower than a predetermined lower limit. A reference voltage changing step of changing the reference voltage.
値は変更可能な値であることを特徴とする請求項9記載
の画像読取方法。10. The image reading method according to claim 9, wherein said predetermined upper limit value and said predetermined lower limit value are changeable values.
読取装置に適用される画像読取方法において、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換ステップと、 前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れた1ライン分のデジタル信号を基に、画像信号レベル
が前記リファレンス電圧以上である画素が連続して所定
数検出されたときに、該画素の数をカウントするカウン
トステップと、 前記カウントステップが1ライン分のデジタル信号に亘
ってカウントして得た画素数が所定の上限値以上または
所定の下限値以下である場合に、前記リファレンス電圧
を変化させるリファレンス電圧変化ステップとを有する
ことを特徴とする画像読取方法。11. An image reading method applied to an image reading apparatus having a function of adjusting the density of a document image, wherein an analog signal output from a line sensor that reads an optical signal incident from the document is digitally converted based on a reference voltage. An A / D conversion step of converting the digital signal into a signal, a first data processing step of performing shading correction on the digital signal converted in the A / D conversion step, and a digital signal subjected to shading correction in the first data processing step A second data processing step of performing a gamma correction process and a binarization process on the image signal level, and based on the digital signal of one line subjected to shading correction in the first data processing step, the image signal level is set to the reference value. When a predetermined number of pixels at or above the voltage are detected consecutively, the number of pixels is counted. A counting step; and a reference voltage change for changing the reference voltage when the number of pixels obtained by counting over one line of the digital signal in the counting step is equal to or more than a predetermined upper limit or equal to or less than a predetermined lower limit. And an image reading method.
値は変更可能な値であることを特徴とする請求項11記
載の画像読取方法。12. The image reading method according to claim 11, wherein said predetermined upper limit value and said predetermined lower limit value are changeable values.
読取装置に適用される画像読取方法をプログラムとして
記憶した、コンピュータにより読み出し可能な記憶媒体
において、 前記画像読取方法が、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換ステップと、 前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れた1ライン分のデジタル信号を基に、画像信号レベル
が前記リファレンス電圧以上である画素数をカウントす
るカウントステップと、 前記カウントステップで得られた画素数が所定の上限値
以上または所定の下限値以下である場合に、前記リファ
レンス電圧を変化させるリファレンス電圧変化ステップ
とを有することを特徴とする記憶媒体。13. A computer-readable storage medium storing, as a program, an image reading method applied to an image reading apparatus having a density adjustment function of a document image, wherein the image reading method is incident from a document. An A / D conversion step of converting an analog signal output by the line sensor that has read the optical signal into a digital signal based on a reference voltage; and a first step of performing shading correction on the digital signal converted in the A / D conversion step. A data processing step; a second data processing step of performing gamma correction processing and binarization processing on the digital signal that has been subjected to shading correction in the first data processing step; and shading in the first data processing step. Based on the corrected digital signal for one line, the image signal level is A counting step of counting the number of pixels that are equal to or higher than a reference voltage; and a reference voltage changing step of changing the reference voltage when the number of pixels obtained in the counting step is equal to or more than a predetermined upper limit or equal to or less than a predetermined lower limit. And a storage medium comprising:
値は変更可能な値であることを特徴とする請求項13記
載の記憶媒体。14. The storage medium according to claim 13, wherein said predetermined upper limit value and said predetermined lower limit value are changeable values.
読取装置に適用される画像読取方法をプログラムとして
記憶した、コンピュータにより読み出し可能な記憶媒体
において、 前記画像読取方法が、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換ステップと、 前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れた1ライン分のデジタル信号を基に、前記原稿の端面
部を除く画像部だけに関わる画像信号を抽出する抽出ス
テップと、 前記抽出ステップが抽出した1ライン分の画像信号を基
に、画像レベルが前記リファレンス電圧以上である画素
数をカウントするカウントステップと、 前記カウントステップで得られた画素数が所定の上限値
以上または所定の下限値以下である場合に、前記リファ
レンス電圧を変化させるリファレンス電圧変化ステップ
とを有することを特徴とする記憶媒体。15. A computer-readable storage medium storing, as a program, an image reading method applied to an image reading apparatus having a density adjusting function of a document image, wherein the image reading method is incident from a document. An A / D conversion step of converting an analog signal output by the line sensor that has read the optical signal into a digital signal based on a reference voltage; and a first step of performing shading correction on the digital signal converted in the A / D conversion step. A data processing step; a second data processing step of performing gamma correction processing and binarization processing on the digital signal that has been subjected to shading correction in the first data processing step; and shading in the first data processing step. Based on the corrected digital signal for one line, the end face of the original is An extracting step of extracting an image signal relating to only the image portion; a counting step of counting the number of pixels whose image level is equal to or higher than the reference voltage based on the image signal of one line extracted by the extracting step; A reference voltage changing step of changing the reference voltage when the number of pixels obtained in the counting step is equal to or more than a predetermined upper limit value or equal to or less than a predetermined lower limit value.
値は変更可能な値であることを特徴とする請求項15記
載の記憶媒体。16. The storage medium according to claim 15, wherein said predetermined upper limit value and said predetermined lower limit value are changeable values.
読取装置に適用される画像読取方法をプログラムとして
記憶した、コンピュータにより読み出し可能な記憶媒体
において、 前記画像読取方法が、 原稿から入射される光信号を読み取ったラインセンサー
が出力するアナログ信号を、リファレンス電圧に基づき
デジタル信号に変換するA/D変換ステップと、 前記A/D変換ステップで変換されたデジタル信号にシ
ェーディング補正を行う第1のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れたデジタル信号に対してガンマ補正処理と2値化処理
とを行う第2のデータ処理ステップと、 前記第1のデータ処理ステップでシェーディング補正さ
れた1ライン分のデジタル信号を基に、画像信号レベル
が前記リファレンス電圧以上である画素が連続して所定
数検出されたときに、該画素の数をカウントするカウン
トステップと、 前記カウントステップが1ライン分のデジタル信号に亘
ってカウントして得た画素数が所定の上限値以上または
所定の下限値以下である場合に、前記リファレンス電圧
を変化させるリファレンス電圧変化ステップとを有する
ことを特徴とする記憶媒体。17. A computer-readable storage medium storing, as a program, an image reading method applied to an image reading apparatus having a density adjustment function of a document image, wherein the image reading method is incident from a document. An A / D conversion step of converting an analog signal output by the line sensor that has read the optical signal into a digital signal based on a reference voltage; and a first step of performing shading correction on the digital signal converted in the A / D conversion step. A data processing step; a second data processing step of performing gamma correction processing and binarization processing on the digital signal that has been subjected to shading correction in the first data processing step; and shading in the first data processing step. Based on the corrected digital signal for one line, the image signal level is A counting step of counting the number of pixels when a predetermined number of pixels having a voltage equal to or higher than the reference voltage are continuously detected; and a step of counting the number of pixels obtained by counting the digital signals for one line. A reference voltage changing step of changing the reference voltage when the value is not less than a predetermined upper limit value or not more than a predetermined lower limit value.
値は変更可能な値であることを特徴とする請求項17記
載の記憶媒体。18. The storage medium according to claim 17, wherein said predetermined upper limit value and said predetermined lower limit value are changeable values.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11099953A JP2000295444A (en) | 1999-04-07 | 1999-04-07 | Device and method for reading image and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11099953A JP2000295444A (en) | 1999-04-07 | 1999-04-07 | Device and method for reading image and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000295444A true JP2000295444A (en) | 2000-10-20 |
Family
ID=14261071
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11099953A Withdrawn JP2000295444A (en) | 1999-04-07 | 1999-04-07 | Device and method for reading image and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000295444A (en) |
-
1999
- 1999-04-07 JP JP11099953A patent/JP2000295444A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20020003908A1 (en) | Image reading apparatus and shading correction data acquiring method | |
| JP3134292B2 (en) | Image processing device | |
| JP5531464B2 (en) | Image processing program, image processing apparatus, and image processing method | |
| US7796305B2 (en) | Image processing apparatus, image processing method, and program | |
| JPH08235355A (en) | Picture processor | |
| JP3073837B2 (en) | Image region separation device and image region separation method | |
| JPH06290300A (en) | Image area identifying device | |
| JP2000295444A (en) | Device and method for reading image and storage medium | |
| JP2861410B2 (en) | Image processing device | |
| JP3137702B2 (en) | Image processing device | |
| JP3784518B2 (en) | Image processing device | |
| JP3032238B2 (en) | Image processing device | |
| JP2005176168A (en) | Image processor | |
| JP3792402B2 (en) | Image processing apparatus, binarization method, and machine-readable recording medium recording a program for causing a computer to execute the binarization method | |
| JP2002290727A (en) | Image processing method, apparatus, storage medium, and program | |
| JPH06311359A (en) | Background eliminating device | |
| JP2752527B2 (en) | Halftone processing circuit | |
| JP4154867B2 (en) | Image area discrimination apparatus and image area discrimination program | |
| JP2507927B2 (en) | Image processing device | |
| JP2527481B2 (en) | Image binarization processing device | |
| JP2000115529A (en) | Image playback device | |
| JPH07121063B2 (en) | Image processing device | |
| JPH10285377A (en) | Original image reading device | |
| JP2001136390A (en) | Image forming device | |
| JPH11220625A (en) | Image reading device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20060301 |
|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20060704 |