JP2019134351A - Image reading device and program - Google Patents

Image reading device and program Download PDF

Info

Publication number
JP2019134351A
JP2019134351A JP2018016185A JP2018016185A JP2019134351A JP 2019134351 A JP2019134351 A JP 2019134351A JP 2018016185 A JP2018016185 A JP 2018016185A JP 2018016185 A JP2018016185 A JP 2018016185A JP 2019134351 A JP2019134351 A JP 2019134351A
Authority
JP
Japan
Prior art keywords
data
reading
image
shading
black reference
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
JP2018016185A
Other languages
Japanese (ja)
Inventor
良明 龍井
Yoshiaki Tatsui
良明 龍井
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2018016185A priority Critical patent/JP2019134351A/en
Publication of JP2019134351A publication Critical patent/JP2019134351A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Input (AREA)

Abstract

To provide an image reading device scanning an image by means of an image sensor, and capable of improving the throughput speed while maintaining accurate shading compensation.SOLUTION: An image reading device for reading a script and generating image data has an image sensor for reading the script, a digital data processing part for compensating the data of the script read by the image sensor on the basis of the shading data containing black reference data and white reference data, and generating the image data, and a reading control section for generating the shading data from the data read by the image sensor. The reading control section generates the shading data at the time of power-up of the image reading device, generates black reference data at the time of reading the script, and compensates the shading data on the basis of the black reference data.SELECTED DRAWING: Figure 1

Description

本発明は、イメージセンサーで画像をスキャニングする画像読取装置等に関し、特に、正確なシェーディング補正を維持しつつ、処理速度の向上を図ることのできる画像読取装置等に関する。   The present invention relates to an image reading apparatus that scans an image with an image sensor, and more particularly to an image reading apparatus that can improve processing speed while maintaining accurate shading correction.

従来、原稿の画像を読み込んでイメージデータを生成するスキャナー等の画像読取装置が普及している。かかる画像読取装置には、画像を読み取る際の解像度及びカラーが異なる複数の読取モードを備えているものがある。   2. Description of the Related Art Conventionally, an image reading apparatus such as a scanner that reads an image of a document and generates image data has become widespread. Some of these image reading apparatuses have a plurality of reading modes having different resolutions and colors when reading an image.

また、画像読取装置におけるスキャニング処理(読取処理)には、各種設定情報、具体的には、シェーディング補正に用いられるシェーディングデータ、光源の点灯時間等の情報が、必要となり、これらの設定情報は、画像を読み取る際の解像度及びカラーに依存する。   Also, the scanning process (reading process) in the image reading apparatus requires various setting information, specifically, shading data used for shading correction, information such as the lighting time of the light source, and these setting information include It depends on the resolution and color when reading the image.

そのため、複数の読取モードを備える画像読取装置では、スキャニング要求を受けてその読取モードが決定した後に、上記設定情報を生成し設定していた。   Therefore, in an image reading apparatus having a plurality of reading modes, the setting information is generated and set after the scanning mode is determined in response to a scanning request.

また、下記特許文献1には、画像読取装置の発明について記載され、電源起動時にシェーディングデータを読み取る旨の記載がある。   Patent Document 1 below describes the invention of the image reading apparatus and describes that the shading data is read when the power is turned on.

特開平11−205539号公報Japanese Patent Laid-Open No. 11-205539

しかしながら、画像読取装置におけるシェーディングデータの生成は、イメージセンサーを所定の位置に移動してイメージセンサーによりデータを読み取る必要があり、時間を要する。そのため、従来のように、スキャニング要求を受けた際に、シェーディングデータを含む上述した設定情報を準備すると、原稿の読取指示を受けてから原稿の読み取りを開始するまでに長い時間がかかる。特に、画像読取装置で読み取ったイメージデータをファクシミリのダイレクト送信用に出力する場合には、ファクシミリによるデータ送信開始までのタイムアウトエラーになってしまう虞もある。   However, generation of shading data in the image reading apparatus requires time by moving the image sensor to a predetermined position and reading data by the image sensor. For this reason, as described above, when the above-described setting information including shading data is prepared when a scanning request is received, it takes a long time to start reading a document after receiving a document reading instruction. In particular, when the image data read by the image reading apparatus is output for direct facsimile transmission, there is a possibility that a timeout error occurs until the facsimile data transmission starts.

また、上記特許文献1には、電源起動時にどのようにシェーディングデータを用意するのか、また、その場合に他の設定情報をどのようなタイミングで設定するのかについて記載されていない。   Further, Patent Document 1 does not describe how to prepare shading data when power is turned on, and at what timing other setting information is set in that case.

また、電源起動時とスキャニング要求の受信時では装置の温度差があり、電源起動時に読み取ったシェーディングデータを用いると正確なシェーディング補正が行えないという課題がある。   In addition, there is a temperature difference between the apparatus when the power is turned on and when a scanning request is received, and there is a problem that accurate shading correction cannot be performed if the shading data read when the power is turned on.

そこで、本発明の目的は、イメージセンサーで画像をスキャニングする画像読取装置であって、正確なシェーディング補正を維持しつつ、処理速度の向上を図ることのできる画像読取装置、等を提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide an image reading apparatus that scans an image with an image sensor, and that can improve processing speed while maintaining accurate shading correction. is there.

上記の目的を達成するために、本発明の一つの側面は、原稿を読み取ってイメージデータを生成する画像読取装置が、前記原稿を読み取るイメージセンサーと、黒基準データと白基準データを含むシェーディングデータに基づいて、前記イメージセンサーによって読み取られた前記原稿のデータを補正し、前記イメージデータを生成するデジタルデータ処理部と、前記イメージセンサーに読み取られたデータから前記シェーディングデータを生成する読取制御部と、を有し、前記読取制御部は、前記画像読取装置の電源投入の際に、前記シェーディングデータを生成し、前記原稿の読み取りの際に、前記黒基準データを生成し、当該黒基準データに基づいて前記生成されたシェーディングデータを補正する、ことである。   In order to achieve the above object, according to one aspect of the present invention, an image reading apparatus that reads an original to generate image data includes an image sensor that reads the original, and shading data including black reference data and white reference data. A digital data processing unit that corrects the document data read by the image sensor and generates the image data; and a reading control unit that generates the shading data from the data read by the image sensor; The reading control unit generates the shading data when the image reading apparatus is turned on, generates the black reference data when reading the document, and converts the black reference data into the black reference data. Correcting the generated shading data on the basis of the generated shading data.

当該側面により、原稿読み取りの指示を受けた際の処理時間を短縮でき、正確なシェーディング補正が可能である。   According to this aspect, it is possible to shorten the processing time when receiving an instruction to read a document, and accurate shading correction is possible.

更に、上記発明において、その好ましい一つの態様は、前記読取制御部は、前記生成されたシェーディングデータの黒基準データと、前記原稿の読み取りの際に生成された黒基準データとの差分に基づいて、前記生成されたシェーディングデータの白基準データを補正する、ことを特徴とする。   Furthermore, in the above invention, a preferable aspect is that the reading control unit is based on a difference between the black reference data of the generated shading data and the black reference data generated when the original is read. The white reference data of the generated shading data is corrected.

当該態様により、白基準データを読み取るためにイメージセンサーを白基準板の位置まで移動することを省くことができる。   According to this aspect, it is possible to omit moving the image sensor to the position of the white reference plate in order to read the white reference data.

更に、上記発明において、その好ましい一つの態様は、更に、前記原稿に対して発光する光源と、前記イメージセンサーから出力されるアナログ信号をデジタル変換するA/D変換部と、を有し前記読取制御部は、前記画像読取装置の電源投入の際に、前記光源のための光源点灯時間と、前記A/D変換部のためのゲイン・オフセット値を生成する、ことを特徴とする。   Furthermore, in the above-mentioned invention, one preferable aspect further includes a light source that emits light to the original and an A / D conversion unit that digitally converts an analog signal output from the image sensor. The control unit generates a light source lighting time for the light source and a gain / offset value for the A / D conversion unit when the image reading apparatus is powered on.

当該態様により、原稿読み取りの指示を受けた際の処理時間を短縮できる。   According to this aspect, it is possible to shorten the processing time when receiving an instruction to read a document.

更に、上記発明において、その好ましい一つの態様は、解像度及び色数が異なる複数の読取モードを備え、前記読取制御部は、前記画像読取装置の電源投入の際に最高解像度及び最多色数の前記読取モードについて前記シェーディングデータを生成し、その他の前記読取モードについては、前記最高解像度及び最多色数の読取モードのシェーディングデータから演算により前記シェーディングデータを生成する、ことを特徴とする。   Furthermore, in the above-described invention, a preferable aspect thereof includes a plurality of reading modes having different resolutions and numbers of colors, and the reading control unit has the highest resolution and the largest number of colors when the image reading apparatus is turned on. The shading data is generated for the reading mode, and for the other reading modes, the shading data is generated by calculation from the shading data of the reading mode with the highest resolution and the largest number of colors.

当該態様により、シェーディングデータの生成にかかる時間を短縮することができる。   According to this aspect, it is possible to reduce the time required for generating shading data.

更に、上記発明において、その好ましい一つの態様は、前記読取制御部は、前記原稿の読み取りの際に生成された黒基準データの値が、予め定められた閾値以上である場合には、前記イメージセンサーを外光の影響を受けない位置へ移動させて、前記イメージセンサーに読み取られたデータから再度黒基準データを生成する、ことを特徴とする。   Furthermore, in the above invention, a preferable aspect thereof is that the reading control unit is configured such that when the value of the black reference data generated when the original is read is equal to or greater than a predetermined threshold value, The black reference data is generated again from the data read by the image sensor by moving the sensor to a position not affected by external light.

当該態様により、外光の影響を排除した正確なシェーディングデータの補正が可能となる。   According to this aspect, it is possible to correct shading data accurately without the influence of external light.

更に、上記発明において、その好ましい一つの態様は、更に、前記原稿が前記イメージセンサーに読み取られる際に載る原稿台と、前記イメージセンサーの長手方向と交差する方向に延びるヒンジにより、前記原稿台の表面を開閉可能に、前記原稿台に取り付けられたスキャナーカバーと、を有し、前記読取制御部は、前記黒基準データの値が予め定められた閾値以上であるか否かの判定を、前記イメージセンサーの前記ヒンジから離れた位置で読み取られたデータに基づく黒基準データを用いて行う、ことを特徴とする。   Furthermore, in the above-described invention, one preferable aspect thereof is that the document table further includes a document table placed when the document is read by the image sensor and a hinge extending in a direction crossing a longitudinal direction of the image sensor. A scanner cover attached to the platen so as to be openable and closable, and the reading control unit determines whether or not the value of the black reference data is equal to or greater than a predetermined threshold value. It is characterized by using black reference data based on data read at a position away from the hinge of the image sensor.

当該態様により、黒基準データの判定をより正しく行うことができる。   According to this aspect, the black reference data can be determined more correctly.

上記の目的を達成するために、本発明の別の側面は、原稿を読み取ってイメージデータを生成する画像読取装置であって、前記原稿を読み取るイメージセンサーと、黒基準データと白基準データを含むシェーディングデータに基づいて、前記イメージセンサーによって読み取られた前記原稿のデータを補正し、前記イメージデータを生成するデジタルデータ処理部と、を有する画像読取装置の制御部に、前記画像読取装置の電源投入の際に、前記イメージセンサーに読み取られたデータから前記シェーディングデータを生成し、前記原稿の読み取りの際に、前記黒基準データを生成し、当該黒基準データに基づいて前記生成されたシェーディングデータを補正する、処理を実行させる、ことを特徴とするプログラムである。   In order to achieve the above object, another aspect of the present invention is an image reading apparatus that reads an original to generate image data, and includes an image sensor that reads the original, black reference data, and white reference data A digital data processing unit that corrects the data of the original read by the image sensor based on shading data and generates the image data; And generating the shading data from the data read by the image sensor, generating the black reference data when reading the document, and generating the generated shading data based on the black reference data. It is a program characterized by correcting and executing processing.

本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。   Further objects and features of the present invention will become apparent from the embodiments of the invention described below.

本発明を適用した画像読取装置の実施の形態例に係る構成図である。1 is a configuration diagram according to an embodiment of an image reading apparatus to which the present invention is applied. 電源投入時における処理手順を例示したフローチャートである。It is the flowchart which illustrated the process sequence at the time of power activation. 電源投入時におけるキャリッジ3の動作等を説明するための図である。It is a figure for demonstrating operation | movement of the carriage 3, etc. at the time of power activation. スキャニング指示受信時における処理手順を例示したフローチャートである。It is the flowchart which illustrated the processing procedure at the time of scanning instruction | indication reception. スキャニング指示受信時におけるキャリッジ3の動作等を説明するための図である。It is a figure for demonstrating the operation | movement of the carriage 3, etc. at the time of scanning instruction | indication reception.

以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。   Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.

図1は、本発明を適用した画像読取装置の実施の形態例に係る構成図である。図1に示す画像読取装置1が本発明を適用した画像読取装置であり、本画像読取装置1では、電源投入時(電源がオンにされた際)に、スキャニング処理に必要なシェーディングデータを含む設定情報を準備しておき、スキャニング要求を受信した際には、準備しておいた各種設定情報の所定箇所への設定と、シェーディングデータの補正を行う。これにより、正確なシェーディング補正を維持しつつ、スキャニング要求の受信時における処理時間を短縮する。   FIG. 1 is a configuration diagram according to an embodiment of an image reading apparatus to which the present invention is applied. An image reading apparatus 1 shown in FIG. 1 is an image reading apparatus to which the present invention is applied. The image reading apparatus 1 includes shading data necessary for scanning processing when the power is turned on (when the power is turned on). Setting information is prepared, and when a scanning request is received, the prepared various setting information is set to a predetermined location and shading data is corrected. This shortens the processing time when receiving a scanning request while maintaining accurate shading correction.

画像読取装置1は、単体のスキャナーであっても良いし、プリンター部(印刷機能)を備えるプリンター複合機などであってもよい。   The image reading apparatus 1 may be a single scanner, or a printer multifunction device including a printer unit (printing function).

図示していないが、画像読取装置1は、被処理物である原稿の供給部、例えば、ADF(Auto Document Feeder)、供給された原稿が載せられるガラス等で生成された原稿台、当該原稿台を覆う開閉可能なスキャナーカバー、及び、処理後の原稿が排出される排紙部などを備える。   Although not shown, the image reading apparatus 1 includes a document supply unit that is an object to be processed, such as an ADF (Auto Document Feeder), a document table generated by glass or the like on which the supplied document is placed, and the document table. An openable and closable scanner cover, a paper discharge unit for discharging the processed document, and the like.

また、上記スキャナーカバーは、矩形である原稿台の一辺でヒンジにより回転可能に原稿台に取り付けられている。   The scanner cover is attached to the document table so as to be rotatable by a hinge on one side of the rectangular document table.

また、原稿台には、シェーディングデータを構成する白基準データを生成するための白基準板(図3のbなど)を備える。   Further, the document table is provided with a white reference plate (such as b in FIG. 3) for generating white reference data constituting shading data.

図1に示すように、画像読取装置1は、制御部2、キャリッジ3、駆動機構4、イメージセンサー5、及び、LED光源6を備える。   As shown in FIG. 1, the image reading apparatus 1 includes a control unit 2, a carriage 3, a drive mechanism 4, an image sensor 5, and an LED light source 6.

キャリッジ3は、イメージセンサー5及びLED光源6を搭載し、駆動機構4により、原稿台上を副走査方向に原稿台に沿って移動する。   The carriage 3 includes an image sensor 5 and an LED light source 6, and is moved along the document table in the sub-scanning direction on the document table by the drive mechanism 4.

イメージセンサー5は、LED光源6から発せられ原稿に反射した光を受光し、受光量に応じた電荷を蓄積し、それを画像の読取信号(アナログデータ)として出力するセンサーである。   The image sensor 5 is a sensor that receives light emitted from the LED light source 6 and reflected by the document, accumulates electric charges according to the amount of received light, and outputs the charges as an image read signal (analog data).

また、イメージセンサー5は、原稿の供給方向と概ね直交する方向(主走査方向)に並んだ複数のセンサーチップからなり、各センサーチップは、例えば、CCD(Charge Coupled Device)イメージセンサーである。   The image sensor 5 includes a plurality of sensor chips arranged in a direction (main scanning direction) substantially orthogonal to the document supply direction, and each sensor chip is, for example, a CCD (Charge Coupled Device) image sensor.

なお、センサーチップが並ぶ方向、すなわち、イメージセンサー5の長手方向は、本画像読取装置1では、上述したスキャナーカバーが取り付けられる原稿台の一辺(上記ヒンジ)と交差する方向、より具体的には、概ね直交する方向である。   The direction in which the sensor chips are arranged, that is, the longitudinal direction of the image sensor 5, in the present image reading apparatus 1, is a direction that intersects with one side (the hinge) of the document table on which the scanner cover is attached. The direction is generally orthogonal.

LED光源6は、赤色LED、緑色LED、青色LEDを備え、原稿台及び原稿に対して発光する部分であり、これらRGB3色の光を順番に発生させる。   The LED light source 6 includes a red LED, a green LED, and a blue LED. The LED light source 6 is a portion that emits light to the document table and the document, and sequentially generates light of these three colors.

制御部2は、画像読取装置1の各部の動作を制御するコントローラーである。制御部2は、CPU、ROM、RAM、NVRAM、ASIC等で構成され、機能構成としては、図1に示されるように、読取制御部21、一時保存メモリー22、光源レジスター23、AFEレジスター24、シェーディングメモリー25、A/D変換部26、及び、デジタルデータ処理部27等を備える。   The control unit 2 is a controller that controls the operation of each unit of the image reading apparatus 1. The control unit 2 includes a CPU, ROM, RAM, NVRAM, ASIC, and the like. As shown in FIG. 1, the functional configuration includes a reading control unit 21, a temporary storage memory 22, a light source register 23, an AFE register 24, A shading memory 25, an A / D converter 26, a digital data processor 27, and the like are provided.

読取制御部21は、スキャニング処理の全体を制御し、特に、シェーディングデータを含む設定情報を生成して、それらの情報を所定箇所(シェーディングメモリー25、光源レジスター23、AFEレジスター24)に設定する処理を実行する。   The reading control unit 21 controls the entire scanning process, and in particular, generates setting information including shading data and sets the information in a predetermined location (shading memory 25, light source register 23, AFE register 24). Execute.

なお、本画像読取装置1では、複数の読取モードを、具体的には一例として、4つの読取モードを備えている。4つの読取モードは、例えば、(1)解像度:300dpi、色:モノクロ、(2)解像度:300dpi、色:カラー、(3)解像度:600dpi、色:モノクロ、(4)解像度:600dpi、色:カラー、である。   Note that the image reading apparatus 1 has a plurality of reading modes, specifically, four reading modes as an example. The four reading modes are, for example, (1) resolution: 300 dpi, color: monochrome, (2) resolution: 300 dpi, color: color, (3) resolution: 600 dpi, color: monochrome, (4) resolution: 600 dpi, color: Color.

なお、読取制御部21は、処理内容を指示するプログラム、当該プログラムに従って処理を実行するCPU、RAMなどで構成される。   The reading control unit 21 includes a program that instructs processing contents, a CPU that executes processing according to the program, a RAM, and the like.

一時保存メモリー22は、シェーディングデータを含む設定情報を一時的に保存する記憶装置であり、RAMなどで構成される。   The temporary storage memory 22 is a storage device that temporarily stores setting information including shading data, and includes a RAM or the like.

光源レジスター23は、LED光源6の点灯時間などの光源に関する設定値を登録するレジスターであり、光源レジスター23の設定値に基づいてLED光源6が動作する。   The light source register 23 is a register for registering a setting value relating to the light source such as the lighting time of the LED light source 6, and the LED light source 6 operates based on the setting value of the light source register 23.

AFEレジスター24は、後述するA/D変換部26のためのレジスターであり、上記設定情報として、AFE(Analog Front End)のゲイン・オフセット設定値が登録される。   The AFE register 24 is a register for an A / D conversion unit 26 described later, and a gain / offset setting value of AFE (Analog Front End) is registered as the setting information.

シェーディングメモリー25は、シェーディングデータが設定される記憶部であり、RAMなどによって構成される。後述するデジタルデータ処理部27は、当該シェーディングメモリー25に設定されたシェーディングデータに基づいてシェーディング処理を実行する。   The shading memory 25 is a storage unit in which shading data is set, and includes a RAM or the like. The digital data processing unit 27 described later executes a shading process based on the shading data set in the shading memory 25.

A/D変換部26は、イメージセンサー5から出力されるアナログデータ(画像の読取信号)を増幅しデジタルデータに変換するデバイスであり、具体的には、AFEである。   The A / D converter 26 is a device that amplifies analog data (image reading signal) output from the image sensor 5 and converts it into digital data, and is specifically an AFE.

デジタルデータ処理部27は、A/D変換部26から出力された画像のデジタルデータに対してシェーディング補正を施し、その結果のイメージデータを出力する部分である。具体的には、デジタルデータ処理部27が備える演算回路が、シェーディングメモリー25に設定されるシェーディングデータに基づいてシェーディング補正を実行する。また、出力されるイメージデータは、PC(パーソナルコンピューター)やプリンター部(印刷機構)へ送信される。   The digital data processing unit 27 is a part that performs shading correction on the digital data of the image output from the A / D conversion unit 26 and outputs the resulting image data. Specifically, the arithmetic circuit included in the digital data processing unit 27 performs shading correction based on the shading data set in the shading memory 25. The output image data is transmitted to a PC (personal computer) or a printer unit (printing mechanism).

以上説明したような構成を備える本実施の形態例に係る画像読取装置1では、シェーディングデータなどのスキャニング処理に必要な各種設定情報の生成処理に特徴があり、以下、その具体的な処理内容について説明する。上述の通り、本画像読取装置1では、装置の電源投入時(電源オン時)に、シェーディングデータ等の設定情報を準備(生成)しておき、スキャニング処理の指示受信時に、それらの設定情報を所定箇所に設定する。   The image reading apparatus 1 according to the present embodiment having the above-described configuration is characterized by a process for generating various setting information necessary for a scanning process such as shading data. explain. As described above, the image reading apparatus 1 prepares (generates) setting information such as shading data when the apparatus is turned on (when the power is turned on), and receives the setting information when receiving an instruction for scanning processing. Set to a predetermined location.

まず、電源投入時の処理について説明する。図2は、電源投入時における処理手順を例示したフローチャートである。また、図3は、電源投入時におけるキャリッジ3の動作等を説明するための図である。   First, processing at power-on will be described. FIG. 2 is a flowchart illustrating a processing procedure when power is turned on. FIG. 3 is a diagram for explaining the operation of the carriage 3 when the power is turned on.

画像読取装置1の電源が投入されると、読取制御部21は、画像読取装置1が備える全
読取モードについて、本実施の形態例では、4つの読取モード(1)−(4)について、順次、光源レジスター23及びAFEレジスター24に設定する設定情報を、具体的には、光源点灯時間とAFEゲイン・オフセット値を生成し、一時保存メモリー22に保持する。
When the power of the image reading apparatus 1 is turned on, the reading control unit 21 sequentially selects all reading modes included in the image reading apparatus 1 and, in the present embodiment, four reading modes (1) to (4). The setting information to be set in the light source register 23 and the AFE register 24, specifically, the light source lighting time and the AFE gain / offset value are generated and held in the temporary storage memory 22.

より具体的には、読取制御部21は、まず、読取モード(1)について処理を実行し、色の設定をモノクロに、解像度の設定を300dpiに設定する(図2のステップS1及びS2)。   More specifically, the reading control unit 21 first executes processing for the reading mode (1), and sets the color setting to monochrome and the resolution setting to 300 dpi (steps S1 and S2 in FIG. 2).

その後、読取制御部21は、光源点灯時間を決定するための調整処理と、AFEゲイン・オフセット値を決定するための調整処理を実行し(図2のステップS3及びS4)、それらの調整により得られる光源点灯時間及びAFEゲイン・オフセット値を、それぞれ、一時保存メモリー22のメモリーA1及びメモリーB1に保存する(図2のステップS5)。なお、上記調整処理は従前の方法で実行することができる。   Thereafter, the reading control unit 21 executes an adjustment process for determining the light source lighting time and an adjustment process for determining the AFE gain / offset value (steps S3 and S4 in FIG. 2). The light source lighting time and the AFE gain / offset value to be stored are stored in the memory A1 and the memory B1 of the temporary storage memory 22, respectively (step S5 in FIG. 2). The adjustment process can be executed by a conventional method.

次に、読取制御部21は、読取モード(2)−(4)についても同様の処理を行う。すなわち、読取制御部21は、色と解像度をその読取モードの内容に設定し(図2のステップS6及びS7、S11及びS12、S16及びS17)、光源点灯時間とAFEゲイン・オフセット値の調整処理を実行し(図2のステップS8及びS9、S13及びS14、S18及びS19)、生成された光源点灯時間及びAFEゲイン・オフセット値を、それぞれ、一時保存メモリー22の所定箇所(メモリーA2及びB2、A3及びB3、A4及びB4)に保存する(図2のステップS10、S15、S20)。   Next, the reading control unit 21 performs the same processing for the reading modes (2) to (4). That is, the reading control unit 21 sets the color and resolution to the contents of the reading mode (steps S6 and S7, S11 and S12, S16 and S17 in FIG. 2), and adjusts the light source lighting time and the AFE gain / offset value. (Steps S8 and S9, S13 and S14, S18 and S19 in FIG. 2), and the generated light source lighting time and AFE gain / offset value are respectively stored in predetermined locations (memory A2 and B2, A3 and B3, A4 and B4) (steps S10, S15 and S20 in FIG. 2).

次に、読取制御部21は、シェーディングデータの読取処理(生成処理)を行う。シェーディングデータは、黒基準データと白基準データを含み、各データは、主走査方向の画素データ(画素毎の各色の濃度階調値データ)から成る。   Next, the reading control unit 21 performs a shading data reading process (generation process). The shading data includes black reference data and white reference data, and each data is composed of pixel data in the main scanning direction (density gradation value data of each color for each pixel).

また、シェーディングデータは、読取モード毎に生成されるデータであるが、読取制御部21は、このタイミングでは、最も高い解像度で最も色数が多い読取モードについて、本実施の形態例では、読取モード(4)についてシェーディングデータを生成する。   The shading data is data generated for each reading mode. At this timing, the reading control unit 21 uses the reading mode in the present embodiment for the reading mode having the highest resolution and the largest number of colors. Shading data is generated for (4).

まず、読取制御部21は、ステップS20でメモリーA4に保存した光源点灯時間を光源レジスター23に設定し、また、ステップS20でメモリーB4に保存したAFEゲイン・オフセット値をAFEレジスター24に設定する(図2のステップS21、S22)。   First, the reading control unit 21 sets the light source lighting time stored in the memory A4 in step S20 in the light source register 23, and sets the AFE gain / offset value stored in the memory B4 in step A20 in the AFE register 24 (step S20). Steps S21 and S22 in FIG.

次に、読取制御部21は、LED光源6を消灯した状態で(図2のステップS23)、黒基準の読取処理を実行する(図2のステップS24)。具体的には、図3の(A)の状態で、すなわち、キャリッジ3が副走査方向のcの位置(ホーム位置)で、読取制御部21は、イメージセンサー5に黒基準データを読み取らせる。   Next, the reading control unit 21 performs black reference reading processing (step S24 in FIG. 2) with the LED light source 6 turned off (step S23 in FIG. 2). Specifically, in the state of FIG. 3A, that is, when the carriage 3 is at the position c (home position) in the sub-scanning direction, the reading control unit 21 causes the image sensor 5 to read the black reference data.

続いて、読取制御部21は、LED光源6を点灯し(図2のステップS25)、白基準の読取処理を実行する(図2のステップS26)。具体的には、図3の(B)に示されるように、読取制御部21は、キャリッジ3が副走査方向に白基準板(図3のb)の上を走査するように動作させ、イメージセンサー5に白基準データを読み取らせる。   Subsequently, the reading control unit 21 turns on the LED light source 6 (step S25 in FIG. 2) and executes a white reference reading process (step S26 in FIG. 2). Specifically, as shown in FIG. 3B, the reading control unit 21 operates so that the carriage 3 scans on the white reference plate (b in FIG. 3) in the sub-scanning direction. The sensor 5 is caused to read white reference data.

読取制御部21は、読み取ったシェーディングデータ(黒基準データ及び白基準データ)を、一時保存メモリー22のメモリーCに保存する(図2のステップS27)。(図3に示されるように、この時点では、シェーディングデータはシェーディングメモリー25にセットされない。)
このようにして各設定情報が取得されると、読取制御部21は、画像読取装置1をアイドル状態とする。その際、図3の(C)に示されるように、読取制御部21は、キャリッジ3を副走査方向にアイドル位置(図3のc2)まで移動させる。
The reading control unit 21 stores the read shading data (black reference data and white reference data) in the memory C of the temporary storage memory 22 (step S27 in FIG. 2). (As shown in FIG. 3, at this point, the shading data is not set in the shading memory 25.)
When the setting information is acquired in this way, the reading control unit 21 places the image reading apparatus 1 in an idle state. At this time, as shown in FIG. 3C, the reading control unit 21 moves the carriage 3 to the idle position (c2 in FIG. 3) in the sub-scanning direction.

以上のようにして、電源投入時の処理が終了する。   As described above, the process at power-on is completed.

次に、原稿読取の指示を受信した際(スキャニング指示受信時)の処理について説明する。図4は、スキャニング指示受信時における処理手順を例示したフローチャートである。また、図5は、スキャニング指示受信時におけるキャリッジ3の動作等を説明するための図である。   Next, processing when a document reading instruction is received (when a scanning instruction is received) will be described. FIG. 4 is a flowchart illustrating a processing procedure when a scanning instruction is received. FIG. 5 is a diagram for explaining the operation of the carriage 3 at the time of receiving a scanning instruction.

画像読取装置1に対するユーザー操作等が実行されて、原稿の読み取り指示がなされると、読取制御部21は、その指示を受信し、まず、指示された処理の読取モードを判別する(図4のステップS31)。   When a user operation or the like is performed on the image reading apparatus 1 and a document reading instruction is issued, the reading control unit 21 receives the instruction and first determines the reading mode of the instructed process (FIG. 4). Step S31).

次に、読取制御部21は、当該判別の結果に基づいて、判別された読取モードに相応しい、シェーディングデータを含む設定情報を、一時保存メモリー22に保存されるデータを用いて所定箇所へ設定する。   Next, based on the determination result, the reading control unit 21 sets setting information including shading data suitable for the determined reading mode to a predetermined location using data stored in the temporary storage memory 22. .

具体的には、当該判別の結果、読取モードが読取モード(1)(色:モノクロ、解像度300dpi)である場合には、読取制御部21は、電源投入時に取得(生成)された読取モード(4)(最高解像度、最多色数のモード)のシェーディングデータから、読取モード(1)のシェーディングデータを生成する。   Specifically, as a result of the determination, if the reading mode is the reading mode (1) (color: monochrome, resolution 300 dpi), the reading control unit 21 acquires the reading mode (generated) when the power is turned on (generated). 4) The shading data for the reading mode (1) is generated from the shading data for the (highest resolution, most color mode).

具体的には、読取制御部21は、一時保存メモリー22のメモリーCに保存されたシェーディングデータを、一時保存メモリー22のメモリーD(処理用のメモリー)にコピーする(図4のステップS32)。   Specifically, the reading control unit 21 copies the shading data stored in the memory C of the temporary storage memory 22 to the memory D (processing memory) of the temporary storage memory 22 (step S32 in FIG. 4).

次に、読取制御部21は、メモリーDのシェーディングデータについて、2画素ずつデータ(階調値)を加算する処理を実行し、シェーディングデータの解像度を変換する(図4のステップS33)。ここでは、600dpiのデータを300dpiのデータに変換する。   Next, the reading control unit 21 executes a process of adding data (gradation value) by two pixels for the shading data in the memory D, and converts the resolution of the shading data (step S33 in FIG. 4). Here, 600 dpi data is converted into 300 dpi data.

その後、読取制御部21は、解像度変換された上記シェーディングデータについて、カラーのデータをモノクロのデータにする処理を実行する。すなわち、解像度変換されたシェーディングデータはカラーのデータであるので、そのデータを、読取モード(1)に合わせて、モノクロのデータに変換する。なお、カラーのシェーディングデータは、R(レッド)G(グリーン)B(ブルー)の各色の濃度階調値から成るものとする。   Thereafter, the reading control unit 21 executes processing for converting color data into monochrome data for the shading data subjected to resolution conversion. That is, since the shading data subjected to resolution conversion is color data, the data is converted into monochrome data in accordance with the reading mode (1). The color shading data is assumed to be composed of density gradation values of each color of R (red), G (green), and B (blue).

具体的には、読取制御部21は、シェーディングデータの各画素について、RGBの階調値を、一例として、R:G:B=3:6:1の比率で足し合わせてモノクロ階調値のデータとする(図4のステップS34)。   Specifically, the reading control unit 21 adds the RGB gradation values for each pixel of the shading data, for example, at a ratio of R: G: B = 3: 6: 1 to obtain a monochrome gradation value. Data is set (step S34 in FIG. 4).

このようにして、読取モード(1)用のシェーディングデータがメモリーDに生成されるので、読取制御部21は、そのシェーディングデータをシェーディングメモリー25に設定する(図4のステップS35)。   In this way, since the shading data for the reading mode (1) is generated in the memory D, the reading control unit 21 sets the shading data in the shading memory 25 (step S35 in FIG. 4).

続いて、読取制御部21は、ステップS5でメモリーA1に保存した光源点灯時間を光源レジスター23に設定し、また、ステップS5でメモリーB1に保存したAFEゲイン・オフセット値をAFEレジスター24に設定する(図4のステップS36、S37)。その後、処理がステップS51に移行する。   Subsequently, the reading control unit 21 sets the light source lighting time stored in the memory A1 in step S5 in the light source register 23, and sets the AFE gain / offset value stored in the memory B1 in step A5 in the AFE register 24. (Steps S36 and S37 in FIG. 4). Thereafter, the process proceeds to step S51.

また、ステップS31に戻って、上記判別の結果、読取モードが読取モード(2)(色:カラー、解像度300dpi)である場合には、読取制御部21は、同様に、電源投入時に取得(生成)された読取モード(4)(最高解像度、最多色数のモード)のシェーディングデータから、読取モード(2)のシェーディングデータを生成する。   Returning to step S31, if the reading mode is the reading mode (2) (color: color, resolution 300 dpi) as a result of the determination, the reading control unit 21 similarly obtains (generates) when the power is turned on. The shading data for the reading mode (2) is generated from the shading data for the reading mode (4) (the mode with the highest resolution and the largest number of colors).

この場合には、読取制御部21は、読取モード(1)の場合に行った解像度変換及びモノクロ変換のうち、解像度変換のみを実行する。   In this case, the reading control unit 21 executes only resolution conversion among the resolution conversion and monochrome conversion performed in the reading mode (1).

具体的には、読取制御部21は、一時保存メモリー22のメモリーCに保存されたシェーディングデータを、一時保存メモリー22のメモリーD(処理用のメモリー)にコピーし(図4のステップS38)、読取モード(1)の場合と同様に、600dpiのシェーディングデータを300dpiのデータに変換する(図4のステップS39)。   Specifically, the reading control unit 21 copies the shading data stored in the memory C of the temporary storage memory 22 to the memory D (processing memory) of the temporary storage memory 22 (step S38 in FIG. 4). As in the reading mode (1), the 600 dpi shading data is converted to 300 dpi data (step S39 in FIG. 4).

このようにして、読取モード(2)用のシェーディングデータがメモリーDに生成されるので、読取制御部21は、そのシェーディングデータをシェーディングメモリー25に設定する(図4のステップS40)。   In this way, since the shading data for the reading mode (2) is generated in the memory D, the reading control unit 21 sets the shading data in the shading memory 25 (step S40 in FIG. 4).

続いて、読取制御部21は、ステップS10でメモリーA2に保存した光源点灯時間を光源レジスター23に設定し、また、ステップS10でメモリーB2に保存したAFEゲイン・オフセット値をAFEレジスター24に設定する(図4のステップS41、S42)。その後、処理がステップS51に移行する。   Subsequently, the reading control unit 21 sets the light source lighting time stored in the memory A2 in step S10 in the light source register 23, and sets the AFE gain / offset value stored in the memory B2 in the AFE register 24 in step S10. (Steps S41 and S42 in FIG. 4). Thereafter, the process proceeds to step S51.

また、ステップS31に戻って、上記判別の結果、読取モードが読取モード(3)(色:モノクロ、解像度600dpi)である場合には、読取制御部21は、同様に、電源投入時に取得(生成)された読取モード(4)(最高解像度、最多色数のモード)のシェーディングデータから、読取モード(3)のシェーディングデータを生成する。   Returning to step S31, if the reading mode is the reading mode (3) (color: monochrome, resolution 600 dpi) as a result of the determination, the reading control unit 21 similarly obtains (generates) when the power is turned on. The shading data for the reading mode (3) is generated from the shading data for the reading mode (4) (the mode with the highest resolution and the largest number of colors).

この場合には、読取制御部21は、読取モード(1)の場合に行った解像度変換及びモノクロ変換のうち、モノクロ変換のみを実行する。   In this case, the reading control unit 21 executes only monochrome conversion among resolution conversion and monochrome conversion performed in the reading mode (1).

具体的には、読取制御部21は、一時保存メモリー22のメモリーCに保存されたシェーディングデータを、一時保存メモリー22のメモリーD(処理用のメモリー)にコピーし(図4のステップS43)、読取モード(1)の場合と同様に、カラーのシェーディングデータをモノクロのデータに変換する(図4のステップS4)。   Specifically, the reading control unit 21 copies the shading data stored in the memory C of the temporary storage memory 22 to the memory D (processing memory) of the temporary storage memory 22 (step S43 in FIG. 4). As in the reading mode (1), the color shading data is converted into monochrome data (step S4 in FIG. 4).

このようにして、読取モード(3)用のシェーディングデータがメモリーDに生成されるので、読取制御部21は、そのシェーディングデータをシェーディングメモリー25に設定する(図4のステップS45)。   In this way, since the shading data for the reading mode (3) is generated in the memory D, the reading control unit 21 sets the shading data in the shading memory 25 (step S45 in FIG. 4).

続いて、読取制御部21は、ステップS15でメモリーA3に保存した光源点灯時間を光源レジスター23に設定し、また、ステップS15でメモリーB3に保存したAFEゲイン・オフセット値をAFEレジスター24に設定する(図4のステップS46、S47)。その後、処理がステップS51に移行する。   Subsequently, the reading control unit 21 sets the light source lighting time stored in the memory A3 in step S15 in the light source register 23, and sets the AFE gain / offset value stored in the memory B3 in step A15 in the AFE register 24. (Steps S46 and S47 in FIG. 4). Thereafter, the process proceeds to step S51.

また、ステップS31に戻って、上記判別の結果、読取モードが読取モード(4)(色:カラー、解像度600dpi)である場合には、読取制御部21は、当該読取モード(4)のシェーディングデータは、電源投入時に保存されているので、そのデータを用いて設定を行う。すなわち、読取モード(4)用のシェーディングデータがメモリーCに保存されるので、読取制御部21は、そのシェーディングデータをシェーディングメモリー25に設定する(図4のステップS48)。   Returning to step S31, if the reading mode is the reading mode (4) (color: color, resolution 600 dpi) as a result of the determination, the reading control unit 21 reads the shading data of the reading mode (4). Is stored when the power is turned on, and settings are made using that data. That is, since the shading data for the reading mode (4) is stored in the memory C, the reading control unit 21 sets the shading data in the shading memory 25 (step S48 in FIG. 4).

続いて、読取制御部21は、ステップS20でメモリーA4に保存した光源点灯時間を光源レジスター23に設定し、また、ステップS20でメモリーB4に保存したAFEゲイン・オフセット値をAFEレジスター24に設定する(図4のステップS49、S50)。その後、処理がステップS51に移行する。   Subsequently, the reading control unit 21 sets the light source lighting time stored in the memory A4 in step S20 in the light source register 23, and sets the AFE gain / offset value stored in the memory B4 in step A20 in the AFE register 24. (Steps S49 and S50 in FIG. 4). Thereafter, the process proceeds to step S51.

処理がステップS51に移行すると、読取制御部21は、シェーディングデータの補正処理を行う。当該補正は、イメージセンサー5の出力値は温度に依存し、電源投入時とスキャニング指示受付時とではイメージセンサー5の温度が変化するためである。   When the process proceeds to step S51, the reading control unit 21 performs a shading data correction process. This correction is because the output value of the image sensor 5 depends on the temperature, and the temperature of the image sensor 5 changes when the power is turned on and when the scanning instruction is received.

具体的には、読取制御部21は、まず、LED光源6を消灯し(図4のステップS51)、キャリッジ3を移動させずにその位置(アイドリング位置)で、黒基準の読み取りを行う(図4のステップS52)。なお、電源消灯時には原稿台の副走査方向のいずれの位置においても黒基準データを読み取ることができる。   Specifically, the reading control unit 21 first turns off the LED light source 6 (step S51 in FIG. 4), and performs black reference reading at that position (idling position) without moving the carriage 3 (see FIG. 4). 4 step S52). When the power is turned off, the black reference data can be read at any position in the sub-scanning direction of the document table.

次に、読取制御部21は、読み取られた黒基準データが正しい状態で得られたものであるか否かのチェックを行う。スキャナーカバーが開いている場合には、外光の影響により読み取られた黒基準データが異常な値となるからである。   Next, the reading control unit 21 checks whether or not the read black reference data is obtained in a correct state. This is because when the scanner cover is open, the black reference data read due to the influence of external light has an abnormal value.

具体的には、読取制御部21は、読み取られた黒基準データの値が予め定められた閾値以上であるか否かを判断する(図4のステップS53)。当該判断は、イメージセンサー5で読み取られる全(画素の)データを用いて行っても良いが、スキャナーカバーの開度に応じて外光の影響も変化するので、外光の影響を受けやすい位置のデータを用いて判断することが好ましい。   Specifically, the reading control unit 21 determines whether or not the value of the read black reference data is equal to or greater than a predetermined threshold (step S53 in FIG. 4). The determination may be made using all (pixel) data read by the image sensor 5, but the influence of external light also changes depending on the opening degree of the scanner cover. It is preferable to judge using the data.

具体的は、イメージセンサー5のセンサーチップが並ぶ方向(主走査方向)は、スキャナーカバーが原稿台に取り付けられるヒンジ部と概ね直交する方向であるので、外光が入りやすいヒンジ部から遠い位置のイメージセンサー5で取得されたデータ、換言すれば、主走査方向にヒンジ部の反対側に位置する所定範囲の画素データを用いることが好ましい。   Specifically, the direction in which the sensor chips of the image sensor 5 are arranged (main scanning direction) is a direction that is substantially perpendicular to the hinge portion where the scanner cover is attached to the document table, so that it is far from the hinge portion where external light is likely to enter. It is preferable to use data acquired by the image sensor 5, in other words, pixel data within a predetermined range located on the opposite side of the hinge portion in the main scanning direction.

上記判断の結果、読み取られた黒基準データの値が予め定められた閾値以上である場合には(図4のステップS53のYes)、読取制御部21は、キャリッジ3を白基準板の位置へ移動させて(図4のステップS54)、再度、黒基準データを読み取る(ステップS52)。なお、白基準板は、外光の影響を受けない位置に備えられている。   As a result of the determination, if the value of the read black reference data is equal to or greater than a predetermined threshold (Yes in step S53 in FIG. 4), the reading control unit 21 moves the carriage 3 to the position of the white reference plate. The black reference data is read again (step S52). The white reference plate is provided at a position that is not affected by external light.

一方、上記判断の結果、読み取られた黒基準データの値が予め定められた閾値以上でない場合には(図4のステップS53のNo)、読取制御部21は、黒基準値変動ΔBKを求める(図4のステップS55)。具体的には、読取制御部21は、電源投入時に読み取られた黒基準データ又はそれに基づいて求められた黒基準データ(シェーディングメモリー25に保存されている黒基準データ)の各画素の階調値をBK0とし、今回読み取られた黒基準データの各画素の階調値をBK1とすると、ΔBK=BK1−BK0から黒基準値変動ΔBKを算出する。なお、当該演算は、同位置の画素で行われる。   On the other hand, as a result of the determination, if the value of the read black reference data is not equal to or greater than the predetermined threshold (No in step S53 in FIG. 4), the reading control unit 21 obtains the black reference value variation ΔBK ( Step S55 in FIG. Specifically, the reading control unit 21 determines the gradation value of each pixel of the black reference data read when the power is turned on or the black reference data (black reference data stored in the shading memory 25) obtained based on the black reference data. BK0, and the gradation value of each pixel of the black reference data read this time is BK1, the black reference value variation ΔBK is calculated from ΔBK = BK1−BK0. Note that this calculation is performed on pixels at the same position.

次に、読取制御部21は、シェーディングメモリー25に設定されている黒基準データを今回読み取られた(ステップS52で読み取られた)黒基準データに変更し、また、シェーディングメモリー25に設定されている白基準データを、当該白基準データの各画素データに黒基準値変動ΔBKを加算したデータに変更する(図4のステップ56)。   Next, the reading control unit 21 changes the black reference data set in the shading memory 25 to the black reference data read this time (read in step S52), and is set in the shading memory 25. The white reference data is changed to data obtained by adding the black reference value variation ΔBK to each pixel data of the white reference data (step 56 in FIG. 4).

なお、白基準データの変更は、黒基準値変動ΔBKを加算する方法に限らず、イメージセンサー5の特性に応じて、黒基準値変動ΔBKに基づく所定の演算を用いて行うようにしても良い。   The change of the white reference data is not limited to the method of adding the black reference value variation ΔBK, and may be performed using a predetermined calculation based on the black reference value variation ΔBK according to the characteristics of the image sensor 5. .

このようにしてシェーディングデータの補正が実行されると、スキャニング処理(原稿読取処理)のための各設定情報の準備が完了するので、読取制御部21は、原稿の読み取りを実行する(図4のステップ57)。   When the correction of shading data is executed in this way, the preparation of each setting information for the scanning process (original reading process) is completed, so that the reading control unit 21 reads the original (FIG. 4). Step 57).

具体的には、読取制御部21は、ADFを起動して原稿を原稿台へ供給し、LED光源6を光源レジスター23に設定されている光源点灯時間等に基づいて点灯させ、供給された原稿を副走査方向にイメージセンサー5で読み取る。   Specifically, the reading control unit 21 activates the ADF, supplies the document to the document table, turns on the LED light source 6 based on the light source lighting time set in the light source register 23, and the supplied document Is read by the image sensor 5 in the sub-scanning direction.

イメージセンサー5から出力されるアナログ信号は、A/D変換部(AFE)26により、増幅されてデジタルデータに変換される。そのデジタルデータは、デジタルデータ処理部27に入力され、デジタルデータ処理部27の演算回路により、シェーディングメモリー25に設定されたシェーディングデータに基づいてシェーディング補正が施される。   An analog signal output from the image sensor 5 is amplified and converted into digital data by an A / D converter (AFE) 26. The digital data is input to the digital data processing unit 27, and shading correction is performed based on the shading data set in the shading memory 25 by the arithmetic circuit of the digital data processing unit 27.

シェーディング補正後のデジタルデータ(イメージデータ)は、画像読取装置1からPCなどに出力される。   The digital data (image data) after the shading correction is output from the image reading apparatus 1 to a PC or the like.

このようにして、指示されたスキャニング処理を終了すると、画像読取装置1はアイドル状態となる。   In this way, when the instructed scanning process is completed, the image reading apparatus 1 enters an idle state.

以上説明したように、スキャニング指示受信時には、図5に示されるように、一時保存メモリー22に保存されていたシェーディングデータ、または、当該データから演算されたシェーディングデータがシェーディングメモリー25に設定される。したがって、図5の(A)及び(B)に示されるように、キャリッジ3を白基準板の位置まで移動させる必要はなく、ADFから給紙される原稿を読み取るための位置(ADF読み取り位置)へ移動させるだけで良い。また、シェーディングデータを補正するための黒基準データの読み取りも原稿台の任意の位置で行えるので、そのためにキャリッジ3を移動させる必要がない。   As described above, when receiving a scanning instruction, as shown in FIG. 5, the shading data stored in the temporary storage memory 22 or the shading data calculated from the data is set in the shading memory 25. Therefore, as shown in FIGS. 5A and 5B, there is no need to move the carriage 3 to the position of the white reference plate, and a position for reading a document fed from the ADF (ADF reading position). Just move to. Further, since the black reference data for correcting the shading data can be read at any position on the document table, it is not necessary to move the carriage 3 for that purpose.

なお、図4に基づく上記説明では、シェーディングデータを補正するために読み取った黒基準データのチェックを行う処理手順としたが、スキャナーカバーが確実に閉じられていることを前提として、当該チェックのステップ(S53、S54)を省く処理手順としても良い。   In the above description based on FIG. 4, the processing procedure for checking the black reference data read in order to correct the shading data is described. However, on the assumption that the scanner cover is securely closed, the checking step is performed. It is good also as a processing procedure which omits (S53, S54).

以上説明したように、本実施の形態例に係る画像読取装置1では、原稿読取時に行うシェーディング補正のためのシェーディングデータを電源投入時に生成しておき、原稿読取時には黒基準データの再読み取りに基づくシェーディングデータの補正と補正後のシェーディングデータの設定を行う。したがって、キャリッジ3の白基準板への移動などの動作を省くことができ、原稿読取指示の受信時における処理時間を短縮することができる。また、シェーディングデータの補正により、イメージセンサー5の温度差による読取誤差を解消できるので、シェーディング補正の精度も維持できる。   As described above, in the image reading apparatus 1 according to the present embodiment, shading data for shading correction performed at the time of document reading is generated when the power is turned on, and the black reference data is re-read at the time of document reading. The shading data is corrected and the shading data after correction is set. Accordingly, the operation such as movement of the carriage 3 to the white reference plate can be omitted, and the processing time at the time of receiving the document reading instruction can be shortened. Further, since the reading error due to the temperature difference of the image sensor 5 can be eliminated by correcting the shading data, the accuracy of the shading correction can be maintained.

また、シェーディングデータの補正時において、白基準データは再読み取りされた黒基準データに基づいて補正されるので、白基準データを再度読み取る必要はない。   Further, when correcting the shading data, the white reference data is corrected based on the reread black reference data, and therefore it is not necessary to read the white reference data again.

また、電源投入時には、原稿読取処理に必要な光源点灯時間、AFEゲイン・オフセット値なども生成されるので、原稿読取時にはそれらの情報を設定するだけで良く、この点においても原稿読取指示の受信時における処理時間を短縮することができる。   Further, when the power is turned on, the light source lighting time, AFE gain / offset value, and the like necessary for the document reading process are also generated. Therefore, it is only necessary to set such information at the time of document reading. The processing time at the time can be shortened.

また、複数の読取モードのうち、最高解像度及び最高色数の読取モードについて、電源投入時にシェーディングデータを生成し、他の読取モードについては、原稿読取時に、生成されていたシェーディンデータから演算により生成される。したがって、電源投入時における処理時間を短縮できると共に、保存しておくデータ量も抑えることができる。   Of the multiple scanning modes, the shading data is generated when the power is turned on for the scanning mode with the highest resolution and the maximum number of colors, and the other scanning modes are calculated from the generated shading data at the time of document scanning. Generated. Therefore, it is possible to shorten the processing time when the power is turned on and to suppress the amount of data to be saved.

また、シェーディングデータの補正時に再読み取りされた黒基準データが評価され、異常値であると判断された場合には、外光の影響を受けない位置で黒基準データが再読み込みされる。したがって、スキャナーカバーが開放されていて原稿台に外光が入っている場合にも、外光の影響を排除した正確な補正が可能である。   Further, the black reference data re-read when correcting the shading data is evaluated, and if it is determined to be an abnormal value, the black reference data is re-read at a position that is not affected by external light. Therefore, even when the scanner cover is opened and external light enters the document table, accurate correction that eliminates the influence of external light is possible.

さらに、上記黒基準データの評価は、外光の影響を受けやすい位置のデータに基づいて行われるので、正しい評価を行うことができる。   Furthermore, since the evaluation of the black reference data is performed based on data at a position that is easily affected by external light, a correct evaluation can be performed.

なお、本実施の形態例では、読取モード(1)−(3)についてのシェーディングデータの生成を、原稿読取指示の受信時に行ったが、電源投入時に生成しておき、原稿読取指示の受信時には、いずれの読取モードであっても、その生成しておいたシェーディングデータを演算することなくシェーディングメモリー25に設定するようにしてもよい。   In this embodiment, the shading data for the reading modes (1) to (3) is generated when the document reading instruction is received. However, the shading data is generated when the power is turned on, and when the document reading instruction is received. In any reading mode, the generated shading data may be set in the shading memory 25 without calculation.

本明細書において、CPUは、1又は複数のCPUにより構成されていてもよいし、1又は複数の集積回路(例えば、ASIC)により構成されていてもよい。また、CPUは、1又は複数のCPUと、1又は複数の集積回路と、の組み合わせにより構成されていてもよい。   In this specification, the CPU may be composed of one or a plurality of CPUs, or may be composed of one or a plurality of integrated circuits (for example, ASIC). The CPU may be configured by a combination of one or more CPUs and one or more integrated circuits.

本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。   The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.

1…画像読取装置、2…制御部、3…キャリッジ、4…駆動機構、5…イメージセンサー、6…LED光源、21…読取制御部、22…一時保存メモリー、23…光源レジスター、24…AFEレジスター、25…シェーディングメモリー、26…A/D変換部、27…デジタルデータ処理部。   DESCRIPTION OF SYMBOLS 1 ... Image reading apparatus, 2 ... Control part, 3 ... Carriage, 4 ... Drive mechanism, 5 ... Image sensor, 6 ... LED light source, 21 ... Reading control part, 22 ... Temporary storage memory, 23 ... Light source register, 24 ... AFE Register, 25 ... shading memory, 26 ... A / D converter, 27 ... digital data processor.

Claims (7)

原稿を読み取ってイメージデータを生成する画像読取装置であって、
前記原稿を読み取るイメージセンサーと、
黒基準データと白基準データを含むシェーディングデータに基づいて、前記イメージセンサーによって読み取られた前記原稿のデータを補正し、前記イメージデータを生成するデジタルデータ処理部と、
前記イメージセンサーに読み取られたデータから前記シェーディングデータを生成する読取制御部と、を有し、
前記読取制御部は、前記画像読取装置の電源投入の際に、前記シェーディングデータを生成し、前記原稿の読み取りの際に、前記黒基準データを生成し、当該黒基準データに基づいて前記生成されたシェーディングデータを補正する
ことを特徴とする画像読取装置。
An image reading apparatus that reads a document and generates image data,
An image sensor for reading the document;
A digital data processing unit that corrects the data of the document read by the image sensor based on shading data including black reference data and white reference data, and generates the image data;
A reading control unit that generates the shading data from the data read by the image sensor,
The reading control unit generates the shading data when the image reading apparatus is turned on, generates the black reference data when reading the document, and generates the black reference data based on the black reference data. An image reading apparatus for correcting shading data.
請求項1において、
前記読取制御部は、前記生成されたシェーディングデータの黒基準データと、前記原稿の読み取りの際に生成された黒基準データとの差分に基づいて、前記生成されたシェーディングデータの白基準データを補正する
ことを特徴とする画像読取装置。
In claim 1,
The reading control unit corrects the white reference data of the generated shading data based on a difference between the black reference data of the generated shading data and the black reference data generated when the original is read. An image reading apparatus.
請求項1あるいは2において、
更に、
前記原稿に対して発光する光源と、
前記イメージセンサーから出力されるアナログ信号をデジタル変換するA/D変換部と、を有し
前記読取制御部は、前記画像読取装置の電源投入の際に、前記光源のための光源点灯時間と、前記A/D変換部のためのゲイン・オフセット値を生成する
ことを特徴とする画像読取装置。
In claim 1 or 2,
Furthermore,
A light source that emits light to the document;
An A / D converter that digitally converts an analog signal output from the image sensor, and the reading control unit, when the image reading device is turned on, a light source lighting time for the light source, A gain / offset value for the A / D conversion unit is generated.
請求項1乃至3のいずれか1項において、
解像度及び色数が異なる複数の読取モードを備え、
前記読取制御部は、前記画像読取装置の電源投入の際に最高解像度及び最多色数の前記読取モードについて前記シェーディングデータを生成し、その他の前記読取モードについては、前記最高解像度及び最多色数の読取モードのシェーディングデータから演算により前記シェーディングデータを生成する
ことを特徴とする画像読取装置。
In any one of Claims 1 thru | or 3,
It has multiple reading modes with different resolution and number of colors,
The reading control unit generates the shading data for the reading mode having the highest resolution and the largest number of colors when the image reading apparatus is turned on, and for the other reading modes, the reading resolution unit has the highest resolution and the largest number of colors. An image reading apparatus, wherein the shading data is generated by calculation from shading data in a reading mode.
請求項1乃至4のいずれか1項において、
前記読取制御部は、前記原稿の読み取りの際に生成された黒基準データの値が、予め定められた閾値以上である場合には、前記イメージセンサーを外光の影響を受けない位置へ移動させて、前記イメージセンサーに読み取られたデータから再度黒基準データを生成する
ことを特徴とする画像読取装置。
In any one of Claims 1 thru | or 4,
The reading control unit moves the image sensor to a position not affected by external light when the value of the black reference data generated when reading the document is equal to or greater than a predetermined threshold. The black reference data is generated again from the data read by the image sensor.
請求項5において、
更に、
前記原稿が前記イメージセンサーに読み取られる際に載る原稿台と、
前記イメージセンサーの長手方向と交差する方向に延びるヒンジにより、前記原稿台の表面を開閉可能に、前記原稿台に取り付けられたスキャナーカバーと、を有し、
前記読取制御部は、前記黒基準データの値が予め定められた閾値以上であるか否かの判定を、前記イメージセンサーの前記ヒンジから離れた位置で読み取られたデータに基づく黒基準データを用いて行う
ことを特徴とする画像読取装置。
In claim 5,
Furthermore,
A document table placed when the document is read by the image sensor;
A scanner cover attached to the document table so that the surface of the document table can be opened and closed by a hinge extending in a direction crossing the longitudinal direction of the image sensor;
The reading control unit uses black reference data based on data read at a position away from the hinge of the image sensor to determine whether the value of the black reference data is equal to or greater than a predetermined threshold. An image reading apparatus.
原稿を読み取ってイメージデータを生成する画像読取装置であって、前記原稿を読み取るイメージセンサーと、黒基準データと白基準データを含むシェーディングデータに基づいて、前記イメージセンサーによって読み取られた前記原稿のデータを補正し、前記イメージデータを生成するデジタルデータ処理部と、を有する画像読取装置の制御部に、
前記画像読取装置の電源投入の際に、前記イメージセンサーに読み取られたデータから前記シェーディングデータを生成し、前記原稿の読み取りの際に、前記黒基準データを生成し、当該黒基準データに基づいて前記生成されたシェーディングデータを補正する、処理を実行させる
ことを特徴とするプログラム。
An image reading apparatus that reads an original and generates image data, the image sensor reading the original, and data of the original read by the image sensor based on shading data including black reference data and white reference data And a digital data processing unit for generating the image data, and a control unit of the image reading apparatus,
When the image reading device is turned on, the shading data is generated from the data read by the image sensor, the black reference data is generated when the original is read, and based on the black reference data A program for correcting the generated shading data and executing a process.
JP2018016185A 2018-02-01 2018-02-01 Image reading device and program Pending JP2019134351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018016185A JP2019134351A (en) 2018-02-01 2018-02-01 Image reading device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018016185A JP2019134351A (en) 2018-02-01 2018-02-01 Image reading device and program

Publications (1)

Publication Number Publication Date
JP2019134351A true JP2019134351A (en) 2019-08-08

Family

ID=67546514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018016185A Pending JP2019134351A (en) 2018-02-01 2018-02-01 Image reading device and program

Country Status (1)

Country Link
JP (1) JP2019134351A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020256019A1 (en) 2019-06-19 2020-12-24 住友電気工業株式会社 Optical fiber cable

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020256019A1 (en) 2019-06-19 2020-12-24 住友電気工業株式会社 Optical fiber cable

Similar Documents

Publication Publication Date Title
US9094642B2 (en) Color image processing apparatus and method for processing color image
KR101428482B1 (en) Image forming apparatus and control method thereof
US20070086068A1 (en) Image processing apparatus
JP2007259123A (en) Image reading apparatus, image processing method and computer-readable program
US8896892B2 (en) System and method for color calibration of a color printing system with recording media brightness compensation
US7414750B2 (en) Image reading apparatus, image processing apparatus, image reading method, and computer product
JP6273934B2 (en) Control device, image forming system, program, and calibration sheet
JP3639766B2 (en) Image forming apparatus and density correction method
JP2019134351A (en) Image reading device and program
US8928938B2 (en) Image forming apparatus, image forming method and recording medium
JP2015154175A (en) Image reading apparatus
KR20040089936A (en) Image scanning apparatus and method for compensation shading thereof
US20070188784A1 (en) Image Scanning Device, and Calibration Method of the Image Scanning Device
JP2006303710A (en) Reading apparatus and control method of reading apparatus
US8451507B2 (en) Image-reading apparatus and image-forming apparatus
JP5817312B2 (en) Image reading apparatus and image forming apparatus
JP3846670B2 (en) Image reading device
JP4111118B2 (en) Image processing device
JP2005109831A (en) Image processor
JPH10322555A (en) Image forming device
JP4903468B2 (en) Image processing apparatus and image processing method
EP2141904A2 (en) Image reading device, image forming apparatus, and image reading method
US11381688B2 (en) Image forming apparatus and method of controlling image forming apparatus
JPH10278347A (en) Image processor and processing method
JPH09298633A (en) Image reader

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180910

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181121

RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20200807