JP6369371B2 - Image reading apparatus, image processing apparatus, and image reading apparatus control method - Google Patents

Image reading apparatus, image processing apparatus, and image reading apparatus control method Download PDF

Info

Publication number
JP6369371B2
JP6369371B2 JP2015071035A JP2015071035A JP6369371B2 JP 6369371 B2 JP6369371 B2 JP 6369371B2 JP 2015071035 A JP2015071035 A JP 2015071035A JP 2015071035 A JP2015071035 A JP 2015071035A JP 6369371 B2 JP6369371 B2 JP 6369371B2
Authority
JP
Japan
Prior art keywords
state
image
unit
light
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2015071035A
Other languages
Japanese (ja)
Other versions
JP2016192648A (en
Inventor
雅哉 吉田
雅哉 吉田
晃三 大谷
晃三 大谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2015071035A priority Critical patent/JP6369371B2/en
Publication of JP2016192648A publication Critical patent/JP2016192648A/en
Application granted granted Critical
Publication of JP6369371B2 publication Critical patent/JP6369371B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像読取装置およびそれを備える画像処理装置、並びに画像読取装置の制御方法に関する。   The present invention relates to an image reading apparatus, an image processing apparatus including the image reading apparatus, and a method for controlling the image reading apparatus.

一般に、画像読取装置は、透明の原稿台に載置された原稿からの放出光の光量を検出しつつ原稿を走査する画像走査部を備える。前記画像走査部は、原稿に光を照射する発光部と、原稿における主走査方向に沿う線状領域からの反射光を受光するイメージセンサーとを備え、副走査方向に沿って原稿を走査する。前記イメージセンサーは、原稿における前記線状領域の各画素についての検出光量に相当するデータ列を出力する。なお、前記副走査方向は主走査方向に直交する方向である。   In general, an image reading apparatus includes an image scanning unit that scans a document while detecting the amount of light emitted from the document placed on a transparent document table. The image scanning unit includes a light emitting unit that irradiates light on a document and an image sensor that receives reflected light from a linear region along the main scanning direction of the document, and scans the document along the sub-scanning direction. The image sensor outputs a data string corresponding to the detected light amount for each pixel of the linear region in the document. The sub-scanning direction is a direction orthogonal to the main scanning direction.

原稿の2次元画像の画像データは、前記画像走査部を通じて得られる前記線状領域の画像濃度のデータ列が副走査方向に沿って合成されることによって得られる。また、複写機などの画像処理装置は、画像読取装置と画像形成装置とを備える。複写機の画像形成装置は、前記画像走査部を通じて得られる前記線状領域の画像濃度のデータ列に応じた線状画像を記録シートに順次形成することにより、記録シートに2次画像を形成する。   The image data of the two-dimensional image of the document is obtained by synthesizing along the sub-scanning direction a data string of the image density of the linear region obtained through the image scanning unit. An image processing apparatus such as a copying machine includes an image reading apparatus and an image forming apparatus. An image forming apparatus of a copying machine forms a secondary image on a recording sheet by sequentially forming on the recording sheet a linear image corresponding to an image density data string of the linear region obtained through the image scanning unit. .

また、前記発光部の光量が通常光量に設定されたときに得られた通常画像濃度データと、前記発光部の光量が他の比較光量に設定されたときに得られた比較用画像濃度データとを比較し、濃度の差が大きい画素の領域を原稿領域として特定することが知られている(例えば、特許文献1参照)。   Further, normal image density data obtained when the light quantity of the light emitting unit is set to a normal light quantity, and comparison image density data obtained when the light quantity of the light emitting part is set to another comparative light quantity, It is known that a pixel region having a large density difference is specified as a document region (see, for example, Patent Document 1).

特開2013−110506号公報JP 2013-110506 A

ところで、画像読取装置において、原稿台のカバーが開かれた状態で前記画像走査部による原稿の走査が行われる場合がある。この場合、室内照明などの外光が前記イメージセンサーに入射することに起因するノイズ画像が原稿外領域に現れやすい。   By the way, in the image reading apparatus, the document scanning may be performed by the image scanning unit in a state where the cover of the document table is opened. In this case, a noise image caused by external light such as room lighting entering the image sensor tends to appear in the document outside area.

原稿外領域のノイズ画像を除去するために、画像データから原稿領域を特定することが考えられる。例えば、原稿領域と原稿外領域との境界位置をエッジ検出処理によって検出することが考えられる。また、通常光量で得られた通常画像データと比較光量で得られた比較用画像データとにおける濃度差の大きい画素の領域を原稿領域として特定することなども考えられる。   In order to remove the noise image in the area outside the original, it is conceivable to specify the original area from the image data. For example, it is conceivable to detect the boundary position between the document area and the document outside area by edge detection processing. It is also conceivable to specify a pixel area having a large density difference between the normal image data obtained with the normal light quantity and the comparison image data obtained with the comparative light quantity as the document area.

しかしながら、原稿領域の特定のための上記の処理では、原稿の下地の状態が多様である場合に、前記濃度差が顕著に現れずに前記原稿領域を正しく特定できない事態が生じ得る。例えば、原稿の下地が白色に近い淡色である場合と黒色に近い濃色である場合とのいずれか一方で、前記原稿領域を正しく特定できない事態が生じ得る。   However, in the above-described processing for specifying the document area, there may occur a situation in which the document area cannot be correctly specified without a significant difference in density when the background state of the document is various. For example, there may occur a situation in which the document area cannot be correctly specified in one of the case where the background of the document is a light color close to white and the color close to black.

従って、外光の影響によって原稿外領域にノイズ画像が現れることを、原稿の下地の状態の違いに関わらず回避できることが望まれている。   Therefore, it is desired that a noise image appear in the area outside the document due to the influence of external light regardless of the difference in the background state of the document.

本発明の目的は、原稿台のカバーが開かれた状態で原稿の走査が行われる場合に、原稿の下地の状態に関わらず、外光の影響によって原稿外領域にノイズ画像が現れることを回避できる画像読取装置、画像処理装置および画像読取装置の制御方法を提供することにある。   An object of the present invention is to prevent a noise image from appearing in an area outside a document due to the influence of external light, regardless of the state of the background of the document, when the document is scanned with the document table cover open. An image reading apparatus, an image processing apparatus, and a method for controlling the image reading apparatus are provided.

本発明の一の局面に係る画像読取装置は、発光部と、画像走査部と、発光制御部と、走査制御部と、状態選択部と、領域区分部と、背景置換部とを備える。前記発光部は、透明の原稿台上に載置された原稿に向けて光を照射する。前記画像走査部は、画像読取処理を実行可能である。前記画像読取処理は、前記原稿台上における主走査方向に沿う線状領域からの放出光の光量を画素ごとに検出しつつ前記主走査方向に直交する副走査方向に沿って前記原稿台上を走査することにより、前記線状領域における各画素についての検出光量に相当する画像データ列を順次出力する処理である。前記発光制御部は、前記発光部の状態を予め定められた基準光量で発光する第1状態とそれとは異なる第2状態とに交互に切り替える。前記走査制御部は、前記発光部の状態の交互切り替えと並行して前記画像走査部に前記画像読取処理を実行させる。前記状態選択部は、前記発光部の状態の交互切り替えおよび前記画像読取処理が行われているときに、前記発光部の前記第1状態に対応する前記画像データ列である第1画像データ列が得られるごとに、前記第1画像データ列が予め定められた条件を満たすか否かに応じて前記発光部の次の前記第2状態を消灯状態および前記第1状態よりも大きな光量で発光する増光状態のいずれにするかを選択する。前記領域区分部は、前記発光部の状態の切り替わり周期ごとに得られる一対の前記画像データ列を比較し、前記第1画像データ列および前記発光部の前記第2状態に対応する第2画像データ列における相互に対応する前記画素のデータの差分によって前記画素各々を原稿領域画素と原稿外領域画素とに区分する。前記背景置換部は、前記第1画像データ列各々における前記原稿外領域画素に区分された前記画素のデータ各々を一の背景データに置換する。   An image reading apparatus according to one aspect of the present invention includes a light emitting unit, an image scanning unit, a light emission control unit, a scanning control unit, a state selection unit, a region sorting unit, and a background replacement unit. The light emitting unit emits light toward a document placed on a transparent document table. The image scanning unit can execute an image reading process. The image reading process is performed on the document table along the sub-scanning direction orthogonal to the main scanning direction while detecting the amount of light emitted from the linear region along the main scanning direction on the document table for each pixel. This is a process of sequentially outputting an image data sequence corresponding to the detected light amount for each pixel in the linear region by scanning. The light emission control unit alternately switches the state of the light emitting unit between a first state in which light is emitted with a predetermined reference light amount and a second state different from the first state. The scanning control unit causes the image scanning unit to execute the image reading process in parallel with the alternate switching of the state of the light emitting unit. The state selection unit includes a first image data sequence that is the image data sequence corresponding to the first state of the light emitting unit when the state switching of the light emitting unit is alternately performed and the image reading process is performed. Each time it is obtained, the second state next to the light emitting unit emits light with a light quantity larger than that in the unlit state and the first state, depending on whether or not the first image data string satisfies a predetermined condition. Select one of the brightening states. The region dividing unit compares a pair of the image data sequences obtained for each switching period of the state of the light emitting unit, and second image data corresponding to the first image data sequence and the second state of the light emitting unit. Each pixel is divided into a document area pixel and a document outside area pixel according to a difference in data of the pixels corresponding to each other in a column. The background replacement unit replaces each of the data of the pixels divided into the non-document area pixels in each of the first image data strings with one background data.

本発明の他の局面に係る画像処理装置は、本発明の一の局面に係る前記画像読取装置と、画像形成装置とを備える。前記画像形成装置は、前記画像読取装置により得られる複数の前記第1画像データ列に応じた画像を記録シートに形成する。   An image processing apparatus according to another aspect of the present invention includes the image reading apparatus according to one aspect of the present invention and an image forming apparatus. The image forming apparatus forms an image corresponding to the plurality of first image data strings obtained by the image reading apparatus on a recording sheet.

本発明の他の局面に係る画像読取装置の制御方法は、以下の各工程を含む。第1工程は、前記発光部の状態を予め定められた基準光量で発光する第1状態とそれとは異なる第2状態とに交互に切り替える工程である。第2工程は、前記発光部の状態の交互切り替えと並行して前記画像走査部に前記画像読取処理を実行させる工程である。第3工程は、前記発光部の状態の交互切り替えおよび前記画像読取処理が行われているときに、前記発光部の前記第1状態に対応する前記画像データ列である第1画像データ列が得られるごとに、前記第1画像データ列が予め定められた条件を満たすか否かに応じて前記発光部の次の前記第2状態を消灯状態および前記第1状態よりも大きな光量で発光する増光状態のいずれにするかを選択する工程である。第4工程は、前記発光部の状態の切り替わり周期ごとに得られる一対の前記画像データ列を比較し、前記第1画像データ列および前記発光部の前記第2状態に対応する第2画像データ列における相互に対応する前記画素のデータの差分によって前記画素各々を原稿領域画素と原稿外領域画素とに区分する工程である。第5工程は、前記第1画像データ列各々における前記原稿外領域画素に区分された前記画素のデータ各々を一の背景データに置換する工程である。   An image reading apparatus control method according to another aspect of the present invention includes the following steps. The first step is a step of alternately switching the state of the light emitting unit between a first state in which light is emitted with a predetermined reference light amount and a second state different from the first state. The second step is a step of causing the image scanning unit to execute the image reading process in parallel with the alternate switching of the state of the light emitting unit. The third step obtains a first image data string that is the image data string corresponding to the first state of the light emitting unit when the switching of the state of the light emitting unit and the image reading process are performed. Each time the first image data string is lighted, the second state next to the light-emitting unit emits light with a light quantity larger than that of the light-off state and the first state, depending on whether or not a predetermined condition is satisfied. This is a step of selecting which state to use. The fourth step compares a pair of the image data sequences obtained for each switching period of the state of the light emitting unit, and a second image data sequence corresponding to the first image data sequence and the second state of the light emitting unit. In this step, each pixel is divided into a document area pixel and a document outside area pixel according to a difference in data of the pixels corresponding to each other. The fifth step is a step of replacing each of the pixel data divided into the outside-document region pixels in each of the first image data strings with one background data.

本発明によれば、原稿台のカバーが開かれた状態で原稿の走査が行われる場合に、原稿の下地の状態に関わらず、外光の影響によって原稿外領域にノイズ画像が現れる現象を回避できる画像読取装置、画像処理装置および画像読取装置の制御方法を提供することが可能になる。   According to the present invention, when a document is scanned with the cover of the document table opened, a phenomenon in which a noise image appears in an area outside the document due to the influence of external light regardless of the state of the background of the document is avoided. It is possible to provide an image reading apparatus, an image processing apparatus, and a control method for the image reading apparatus.

図1は、第1実施形態に係る画像読取装置を備える画像処理装置の構成図である。FIG. 1 is a configuration diagram of an image processing apparatus including the image reading apparatus according to the first embodiment. 図2は、第1実施形態に係る画像読取装置が備える画像処理関連機器のブロック図である。FIG. 2 is a block diagram of an image processing related device provided in the image reading apparatus according to the first embodiment. 図3は、第1実施形態に係る画像読取装置における画像読取処理の手順の一例を示すフローチャートである。FIG. 3 is a flowchart illustrating an example of a procedure of image reading processing in the image reading apparatus according to the first embodiment. 図4は、第2実施形態に係る画像読取装置における画像読取処理の手順の一例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of a procedure of image reading processing in the image reading apparatus according to the second embodiment. 図5は、原稿の一例を示す図である。FIG. 5 is a diagram illustrating an example of a document. 図6は、各実施形態に係る画像読取装置において発光部を点灯したときに得られる画像データ列から合成した二次元画像の一例を示す図である。FIG. 6 is a diagram illustrating an example of a two-dimensional image synthesized from an image data sequence obtained when the light emitting unit is turned on in the image reading apparatus according to each embodiment. 図7は、各実施形態に係る画像読取装置において発光部を消灯したときに得られる画像データ列から合成した二次元画像の一例を示す図である。FIG. 7 is a diagram illustrating an example of a two-dimensional image synthesized from an image data sequence obtained when the light emitting unit is turned off in the image reading apparatus according to each embodiment. 図8は、各実施形態に係る画像読取装置が出力する画像データ列から合成した二次元画像の一例を示す図である。FIG. 8 is a diagram illustrating an example of a two-dimensional image synthesized from an image data sequence output by the image reading apparatus according to each embodiment. 図9は、下地が淡色である原稿にそれぞれ異なる光量の光が照射された場合に画像走査部によって得られる画像データ列の値の分布を示すグラフである。FIG. 9 is a graph showing the distribution of the values of the image data sequence obtained by the image scanning unit when different amounts of light are irradiated onto the document whose background is light. 図10は、下地が濃色である原稿にそれぞれ異なる光量の光が照射された場合に画像走査部によって得られる画像データ列の値の分布を示すグラフである。FIG. 10 is a graph showing the distribution of the values of the image data sequence obtained by the image scanning unit when different amounts of light are irradiated on the document whose background is dark.

以下、添付図面を参照しながら、本発明の参考例である第1実施形態および本発明を具現化した一例である第2実施形態について説明する。なお、以下の実施形態は、本発明の技術的範囲を限定する性格を有さない。   Hereinafter, a first embodiment which is a reference example of the present invention and a second embodiment which is an example of the present invention will be described with reference to the accompanying drawings. In addition, the following embodiment does not have the character which limits the technical scope of this invention.

[第1実施形態]
まず、図1,2を参照しつつ第1実施形態に係る画像読取装置1を備える画像処理装置10の構成について説明する。画像処理装置10は、画像読取装置1および画像形成装置2を備える。さらに、画像処理装置10は、画像読取装置1および画像形成装置2に共通の制御部8および操作表示部80も備える。
[First Embodiment]
First, the configuration of the image processing apparatus 10 including the image reading apparatus 1 according to the first embodiment will be described with reference to FIGS. The image processing apparatus 10 includes an image reading apparatus 1 and an image forming apparatus 2. Further, the image processing apparatus 10 also includes a control unit 8 and an operation display unit 80 that are common to the image reading apparatus 1 and the image forming apparatus 2.

例えば、画像処理装置10は、複写機、複写機の機能を有するプリンターもしくはファクシミリ、または画像読取機能を含む複数の画像処理機能を備える複合機などである。   For example, the image processing apparatus 10 is a copying machine, a printer or a facsimile machine having a copying machine function, or a multifunction machine having a plurality of image processing functions including an image reading function.

図1が示すようには、画像読取装置1は、透明の原稿台13、画像走査部11および原稿台カバー12を備える。原稿台カバー12には、ADF(Auto Document Feeder)120が組み込まれている。   As shown in FIG. 1, the image reading apparatus 1 includes a transparent document table 13, an image scanning unit 11, and a document table cover 12. An ADF (Auto Document Feeder) 120 is incorporated in the document table cover 12.

原稿台13は、画像の読み取り対象物である原稿90が載置される部分である。一般に、原稿台13はプラテンガラスと称される。原稿台カバー12は、画像処理装置10の筐体100に対し、原稿台13を覆う閉位置と原稿台13上を解放する開位置との間で回動可能に支持されている。   The document table 13 is a portion on which a document 90 that is an image reading object is placed. Generally, the document table 13 is called platen glass. The document table cover 12 is supported by the casing 100 of the image processing apparatus 10 so as to be rotatable between a closed position that covers the document table 13 and an open position that releases the document table 13.

画像走査部11は、発光部112、走査機構111、ミラーおよびレンズなどの光学系113及びイメージセンサー114などを備える。以下の説明において、水平面内における一の方向およびそれに直交する方向のことを、それぞれ主走査方向R1および副走査方向R2と称する。   The image scanning unit 11 includes a light emitting unit 112, a scanning mechanism 111, an optical system 113 such as a mirror and a lens, an image sensor 114, and the like. In the following description, one direction in the horizontal plane and a direction perpendicular thereto are referred to as a main scanning direction R1 and a sub-scanning direction R2, respectively.

発光部112は、透明の原稿台13に載置された原稿90に向けて光を照射する光源である。発光部112は、主走査方向R1に沿う帯状の光を、原稿台13を通じて原稿90に照射する。例えば、発光部112が、主走査方向R1に沿って配列された複数の発光ダイオードを含むLEDアレイであることが考えられる。また、発光部112が、主走査方向R1に沿う直管状の蛍光灯であることも考えられる。   The light emitting unit 112 is a light source that irradiates light toward the document 90 placed on the transparent document table 13. The light emitting unit 112 irradiates the document 90 with the strip-shaped light along the main scanning direction R <b> 1 through the document table 13. For example, it is conceivable that the light emitting unit 112 is an LED array including a plurality of light emitting diodes arranged along the main scanning direction R1. It is also conceivable that the light emitting unit 112 is a straight tubular fluorescent lamp along the main scanning direction R1.

光学系113は、原稿台13上における主走査方向R1に沿う線状領域からの放出光をイメージセンサー114の受光部へ導くためのミラーおよびレンズなどを含む。原稿90が原稿台13に載置されている場合、原稿台13上の前記線状領域からの放出光は、原稿90からの放出光と原稿外領域からの放射光とを含む。発光部112が点灯している場合、原稿90からの放出光は、原稿90に照射された発光部112の光の反射光である。   The optical system 113 includes a mirror and a lens for guiding emitted light from a linear region on the document table 13 along the main scanning direction R1 to the light receiving unit of the image sensor 114. When the document 90 is placed on the document table 13, the emitted light from the linear area on the document table 13 includes the emitted light from the document 90 and the emitted light from the region outside the document. When the light emitting unit 112 is turned on, the light emitted from the original 90 is reflected light of the light emitted from the light emitting unit 112 irradiated on the original 90.

原稿台カバー12が閉じた状態において、前記原稿外領域からの放射光は、原稿台カバー12の内側面からの放出光である。原稿台カバー12が閉じられた状態において、原稿台カバー12の内側面は原稿台13の表面に沿っている。   When the document table cover 12 is closed, the emitted light from the outside region of the document is emitted light from the inner surface of the document table cover 12. In the state where the document table cover 12 is closed, the inner surface of the document table cover 12 is along the surface of the document table 13.

原稿台カバー12が開いた状態において、前記原稿外領域からの放射光は、原稿台13の上方から原稿台13に入射する外光である。この外光は、画像読取装置1によって読み取られた画像における原稿外領域のノイズ画像の原因となる。   In a state where the document table cover 12 is opened, the emitted light from the outside region of the document is external light that enters the document table 13 from above the document table 13. This external light causes a noise image in the area outside the document in the image read by the image reading apparatus 1.

イメージセンサー114は、原稿台13上における主走査方向R1に沿う前記線状領域からの放出光の光量を画素ごとに検出し、検出した各画素の光量データを前記線状領域の画像データ列として出力するセンサーである。例えば、イメージセンサー114がCCD(Charge Coupled Device)114であることが考えられる。   The image sensor 114 detects the amount of light emitted from the linear region along the main scanning direction R1 on the document table 13 for each pixel, and uses the detected light amount data of each pixel as an image data string of the linear region. It is a sensor that outputs. For example, the image sensor 114 may be a CCD (Charge Coupled Device) 114.

イメージセンサー114は、前記線状領域の各画素についての検出光量に相当する画像データ列を出力する。前記画像データ列は、前記線状領域における主走査方向R1の区画領域である複数の画素のデータを含む。   The image sensor 114 outputs an image data string corresponding to the detected light amount for each pixel in the linear region. The image data string includes data of a plurality of pixels that are partitioned regions in the main scanning direction R1 in the linear region.

走査機構111は、発光部112および光学系113の一部を支持して副走査方向R2に沿って移動させる機構である。これにより、発光部112の光の照射対象である前記線状領域の副走査方向R2における位置が変化する。発光部112の光が照射される前記線状領域は、イメージセンサー114による放出光量の検出対象でもある。なお、走査機構111は、ステッピングモーターなどの不図示の駆動部も備える。   The scanning mechanism 111 is a mechanism that supports a part of the light emitting unit 112 and the optical system 113 and moves it along the sub-scanning direction R2. Thereby, the position in the sub-scanning direction R <b> 2 of the linear region that is the light irradiation target of the light emitting unit 112 is changed. The linear region irradiated with light from the light emitting unit 112 is also a target for detecting the amount of emitted light by the image sensor 114. The scanning mechanism 111 also includes a driving unit (not shown) such as a stepping motor.

走査機構111は、発光部112および前記線状領域からの光をイメージセンサー114へ導く光学系113の一部を副走査方向R2に沿って移動させる。これにより、画像走査部11は、原稿台13における主走査方向R1に沿う前記線状領域からの放出光の光量を画素ごとに検出しつつ副走査方向R2に沿って原稿台13上を走査する。原稿90が原稿台13上に載置されている状態においては、画像走査部11の走査対象の一部または全部が原稿90である。   The scanning mechanism 111 moves a part of the optical system 113 that guides light from the light emitting unit 112 and the linear region to the image sensor 114 along the sub-scanning direction R2. As a result, the image scanning unit 11 scans the document table 13 along the sub-scanning direction R2 while detecting the amount of light emitted from the linear region along the main scanning direction R1 on the document table 13 for each pixel. . In a state where the document 90 is placed on the document table 13, a part or all of the scanning target of the image scanning unit 11 is the document 90.

なお、発光部112、イメージセンサー114およびレンズが一体化された密着イメージセンサー(CIS)が、画像走査部11に採用されることも考えられる。この場合、密着イメージセンサーは、走査機構111によって副走査方向R2に沿って移動可能に支持される。   Note that a contact image sensor (CIS) in which the light emitting unit 112, the image sensor 114, and the lens are integrated may be employed in the image scanning unit 11. In this case, the contact image sensor is supported by the scanning mechanism 111 so as to be movable along the sub-scanning direction R2.

ADF120は、回転する複数の搬送ローラー122により、原稿トレイ121にセットされた原稿90を、画像読取位置を経由して原稿排出トレイ123まで搬送する。その際、走査機構111が前記画像読取位置に停止した状態で、画像走査部11は原稿90の画像を読み取る。   The ADF 120 conveys the document 90 set on the document tray 121 to the document discharge tray 123 via the image reading position by a plurality of rotating conveyance rollers 122. At that time, the image scanning unit 11 reads the image of the document 90 in a state where the scanning mechanism 111 is stopped at the image reading position.

図1が示す例において、画像読取装置1は、原稿センサー801およびカバーセンサー802も備える。原稿センサー801は、原稿トレイ121に原稿90がセットされているか否かを検出するセンサーである。カバーセンサー802は、原稿台カバー12が閉じられているか否かを検出するセンサーである。   In the example illustrated in FIG. 1, the image reading apparatus 1 also includes a document sensor 801 and a cover sensor 802. The document sensor 801 is a sensor that detects whether or not the document 90 is set on the document tray 121. The cover sensor 802 is a sensor that detects whether or not the document table cover 12 is closed.

以上に示したように、画像走査部11は、原稿台13上における前記線状領域からの放出光の光量を画素ごとに検出しつつ副走査方向R2に沿って原稿台13上を走査する。これにより、画像走査部11は、前記線状領域における各画素についての検出光量に相当する前記画像データ列を順次出力する画像読取処理を実行可能である。   As described above, the image scanning unit 11 scans the document table 13 along the sub-scanning direction R2 while detecting the amount of light emitted from the linear region on the document table 13 for each pixel. Thereby, the image scanning unit 11 can execute an image reading process for sequentially outputting the image data sequence corresponding to the detected light amount for each pixel in the linear region.

画像形成装置2は、画像読取装置1から出力される画像データ列に応じた画像を記録シート9に形成する装置である。記録シート9は、紙、コート紙、ハガキ、封筒、およびOHPシートなどのシート状の画像形成媒体である。   The image forming apparatus 2 is an apparatus that forms an image on the recording sheet 9 according to the image data string output from the image reading apparatus 1. The recording sheet 9 is a sheet-like image forming medium such as paper, coated paper, postcard, envelope, and OHP sheet.

例えば、画像形成装置2は、シート搬送部3、画像形成部4、光走査部5および定着部6などを備える。図1が示す画像形成装置2は、電子写真方式の画像形成装置である。なお、画像形成装置2がインクジェット方式などの他の方式の画像形成装置であることも考えられる。   For example, the image forming apparatus 2 includes a sheet conveying unit 3, an image forming unit 4, an optical scanning unit 5, a fixing unit 6, and the like. An image forming apparatus 2 shown in FIG. 1 is an electrophotographic image forming apparatus. It is also conceivable that the image forming apparatus 2 is an image forming apparatus of another method such as an ink jet method.

前記シート搬送部3において、シート送出部ローラー31が記録シート9をシート収容部30からシート搬送路300へ送り出す。さらに、シート搬送ローラー32が記録シート9をシート搬送路300に沿って搬送する。さらに、排出ローラー33が画像形成後の記録シート9をシート搬送路300の出口から記録シート排出トレイ101上へ排出する。   In the sheet conveying unit 3, the sheet delivery unit roller 31 sends the recording sheet 9 from the sheet storage unit 30 to the sheet conveying path 300. Further, the sheet conveyance roller 32 conveys the recording sheet 9 along the sheet conveyance path 300. Further, the discharge roller 33 discharges the recording sheet 9 on which the image has been formed from the exit of the sheet conveyance path 300 onto the recording sheet discharge tray 101.

画像形成部4は、シート搬送路300を移動中の記録シート9の表面に画像を形成する。画像形成部4は、ドラム状の感光体41、帯電部42、現像部43、転写部45およびクリーニング部47などを備える。なお、感光体41は像担持体の一例である。   The image forming unit 4 forms an image on the surface of the recording sheet 9 moving on the sheet conveyance path 300. The image forming unit 4 includes a drum-shaped photoreceptor 41, a charging unit 42, a developing unit 43, a transfer unit 45, a cleaning unit 47, and the like. The photoconductor 41 is an example of an image carrier.

感光体41が回転し、帯電部42が感光体41の表面を一様に帯電させる。さらに、光走査部5がレーザー光を走査することにより帯電した感光体41の表面に静電潜像を書き込む。さらに、現像部43が感光体41に現像剤を供給することにより、前記静電潜像を前記現像剤の像へ現像する。なお、現像剤は、不図示の現像剤補給部から現像部43へ供給される。   The photoconductor 41 rotates, and the charging unit 42 uniformly charges the surface of the photoconductor 41. Further, an electrostatic latent image is written on the surface of the photoreceptor 41 charged by the optical scanning unit 5 scanning the laser beam. Further, the developing unit 43 supplies the developer to the photosensitive member 41 to develop the electrostatic latent image into the image of the developer. The developer is supplied to the developing unit 43 from a developer supply unit (not shown).

さらに、転写部45が、シート搬送路300を移動中の前記記録シート9に感光体41表面の前記現像剤の像を転写する。最後に、クリーニング部47が感光体41表面に残存する前記現像剤を除去する。   Further, the transfer unit 45 transfers the image of the developer on the surface of the photosensitive member 41 to the recording sheet 9 moving on the sheet conveyance path 300. Finally, the cleaning unit 47 removes the developer remaining on the surface of the photoreceptor 41.

定着部6は、ハロゲンヒーターなどのヒーターを内包する定着ローラー61と加圧ローラー62との間に画像が形成された記録シート9を挟み込み、後工程へ送り出す。これにより、定着部6は、記録シート9上の前記現像剤の像である画像を加熱し、記録シート9上にその画像を定着させる。   The fixing unit 6 sandwiches the recording sheet 9 on which an image is formed between a fixing roller 61 including a heater such as a halogen heater and a pressure roller 62, and sends the recording sheet 9 to a subsequent process. As a result, the fixing unit 6 heats the image that is the image of the developer on the recording sheet 9 and fixes the image on the recording sheet 9.

制御部8は、操作表示部80を通じて入力される入力情報および原稿センサー801およびカバーセンサー802を含む各種センサーの検出結果に基づいて、画像処理装置10が備える各種の電気機器を制御する。
制御部8は、操作表示部80に操作メニューなどを表示させる。さらに、制御部8は、画像読取装置1を通じて入力される画像に対する画像処理を実行する。さらに、
The control unit 8 controls various electric devices included in the image processing apparatus 10 based on input information input through the operation display unit 80 and detection results of various sensors including the document sensor 801 and the cover sensor 802.
The control unit 8 displays an operation menu or the like on the operation display unit 80. Further, the control unit 8 performs image processing on an image input through the image reading device 1. further,

例えば、図2が示すように、制御部8は、MPU(Micro Processor Unit)81、記憶部82、走査制御部83、発光制御部84、画像処理部85、レーザー制御部86および信号インターフェイス87などを備える。   For example, as shown in FIG. 2, the control unit 8 includes an MPU (Micro Processor Unit) 81, a storage unit 82, a scanning control unit 83, a light emission control unit 84, an image processing unit 85, a laser control unit 86, a signal interface 87, and the like. Is provided.

MPU81は、各種の演算処理を実行するプロセッサーである。記憶部82は、MPU81に各種の処理を実行させるためのプログラムPr1〜Pr4などの情報が予め記憶される不揮発性の情報記憶媒体である。さらに、記憶部82は、MPU81による各種情報の読み書きが可能な情報記憶媒体でもある。   The MPU 81 is a processor that executes various arithmetic processes. The storage unit 82 is a nonvolatile information storage medium in which information such as programs Pr1 to Pr4 for causing the MPU 81 to execute various processes is stored in advance. Furthermore, the storage unit 82 is also an information storage medium in which various information can be read and written by the MPU 81.

制御部8は、MPU81が記憶部82に予め記憶された各種のプログラムPr1〜Pr4実行することにより画像処理装置10を統括的に制御する。   The control unit 8 comprehensively controls the image processing apparatus 10 by the MPU 81 executing various programs Pr1 to Pr4 stored in the storage unit 82 in advance.

信号インターフェイス87は、MPU81とセンサーおよび制御対象機器などとの間の信号の受け渡しを中継するインターフェイス回路である。MPU81は、信号インターフェイス87を介して原稿センサー801およびカバーセンサー802などの各種のセンサーの検出信号(計測信号)を入力する。さらに、MPU81は、信号インターフェイス87を介して制御対象機器へ制御信号を出力する。   The signal interface 87 is an interface circuit that relays signal exchange between the MPU 81 and the sensor, control target device, and the like. The MPU 81 inputs detection signals (measurement signals) from various sensors such as the document sensor 801 and the cover sensor 802 via the signal interface 87. Further, the MPU 81 outputs a control signal to the control target device via the signal interface 87.

走査制御部83は、画像走査部11の走査機構111を制御することにより、画像走査部11による副走査方向R2の走査位置、即ち、画像走査部11が走査対象とする前記線状領域の位置を制御する。   The scanning control unit 83 controls the scanning mechanism 111 of the image scanning unit 11 so that the scanning position in the sub-scanning direction R2 by the image scanning unit 11, that is, the position of the linear region that the image scanning unit 11 scans. To control.

発光制御部84は、画像走査部11の発光部112を制御し、状況に応じて発光部112の発光状態を切り替える。画像処理部85は、画像走査部11を通じて得られる画像データを入力し、画像処理を実行する。   The light emission control unit 84 controls the light emitting unit 112 of the image scanning unit 11 and switches the light emitting state of the light emitting unit 112 according to the situation. The image processing unit 85 inputs image data obtained through the image scanning unit 11 and executes image processing.

レーザー制御部86は、画像処理部85が出力する記録用画像データ列を入力し、その記録用画像データ列が示す各画素の濃度に応じて光走査部5が出力するレーザー光の光量を調節する。   The laser control unit 86 inputs the recording image data sequence output from the image processing unit 85, and adjusts the amount of laser light output from the optical scanning unit 5 in accordance with the density of each pixel indicated by the recording image data sequence. To do.

以下の説明において、原稿台13上における画像走査部11の全走査領域のうち原稿90が存在する領域を原稿領域と称し、残りの領域を原稿外領域と称する。   In the following description, an area where the original 90 is present in all the scanning areas of the image scanning unit 11 on the original table 13 is referred to as an original area, and the remaining area is referred to as an area outside the original.

ところで、画像読取装置1において、原稿台カバー12が開かれた状態で画像走査部11による原稿90の走査が行われる場合がある。この場合、室内照明などの外光がイメージセンサー114に入射することに起因するノイズ画像が前記原稿外領域に現れやすい。   By the way, in the image reading apparatus 1, the document 90 may be scanned by the image scanning unit 11 with the document table cover 12 opened. In this case, a noise image caused by external light such as room lighting entering the image sensor 114 tends to appear in the outside area of the document.

前記原稿外領域のノイズ画像を除去するために、画像データから前記原稿領域を特定することが考えられる。例えば、前記原稿領域と前記原稿外領域との境界位置をエッジ検出処理によって検出することが考えられる。また、通常光量で得られた通常画像データと比較光量で得られた比較用画像データとにおける濃度差の大きい画素の領域を前記原稿領域として特定することなども考えられる。   In order to remove the noise image in the area outside the original, it is conceivable to specify the original area from image data. For example, it is conceivable to detect a boundary position between the document area and the document outside area by edge detection processing. It is also conceivable to specify a pixel area having a large density difference between the normal image data obtained with the normal light quantity and the comparison image data obtained with the comparative light quantity as the document area.

しかしながら、前記原稿領域の特定のための上記の処理では、原稿90の下地の状態が多様である場合に、前記濃度差が顕著に現れずに前記原稿領域を正しく特定できない事態が生じ得る。例えば、原稿90の下地が白色に近い淡色である場合と黒色に近い濃色である場合とのいずれか一方で、前記原稿領域を正しく特定できない事態が生じ得る。   However, in the above-described processing for specifying the document area, when the background state of the document 90 is various, there may occur a situation in which the document area cannot be specified correctly without the density difference being noticeable. For example, there may occur a situation in which the document area cannot be correctly specified in one of a case where the background of the document 90 is a light color close to white and a color close to black.

図9は、下地が白色などの淡色である原稿90にそれぞれ異なる光量の光が照射された場合に画像走査部11によって得られる画像データ列の値の分布を示すグラフである。また、図10は、下地が黒色などの濃色である原稿にそれぞれ異なる光量の光が照射された場合に画像走査部によって得られる画像データ列の値の分布を示すグラフである。   FIG. 9 is a graph showing the distribution of values of the image data sequence obtained by the image scanning unit 11 when different amounts of light are applied to the original 90 having a light background such as white. FIG. 10 is a graph showing the distribution of the values of the image data sequence obtained by the image scanning unit when different amounts of light are irradiated onto a document whose background is a dark color such as black.

図9,10に示されるグラフにおいて、横軸は主走査方向R1における位置であり、縦軸は画像データ列におおける各画素のデータの値である。各画素のデータの値は、イメージセンサー114の検出光量に相当する。   In the graphs shown in FIGS. 9 and 10, the horizontal axis is the position in the main scanning direction R1, and the vertical axis is the data value of each pixel in the image data sequence. The data value of each pixel corresponds to the amount of light detected by the image sensor 114.

また、図9,10において、実線のグラフg0は発光部112が基準光量で発光する基準状態であるときに得られた画像データ列の値、破線のグラフg1は発光部112が消灯状態であるときに得られた画像データ列の値、破線のグラフg2は発光部112が前記基準光量よりも大きな光量で発光する増光状態であるときに得られた画像データ列の値を示す。なお、前記基準光量は、原稿90の画像を読み取る通常の画像読取処理の際に設定される発光部112の光量である。   9 and 10, a solid line graph g0 is a value of an image data string obtained when the light emitting unit 112 is in a reference state where the light emitting unit 112 emits light with a reference light amount, and a broken line graph g1 is a state where the light emitting unit 112 is off. The values of the image data sequence obtained at times and the broken line graph g2 indicate the values of the image data sequence obtained when the light emitting unit 112 is in a light-intensifying state in which light is emitted with a light amount larger than the reference light amount. The reference light amount is a light amount of the light emitting unit 112 that is set in a normal image reading process for reading an image of the document 90.

また、図9,10において、ΔB1は、前記基準状態での前記画像データ列における原稿90の下地部分の画素値と前記消灯状態での前記画像データ列における原稿90の下地部分の画素値との差である。また、ΔB2は、前記基準状態での前記画像データ列における原稿90の下地部分の画素値と前記増光状態での前記画像データ列における原稿90の下地部分の画素値との差である。以下、前者を第1差分ΔB1、後者を第2差分ΔB2と称する。   9 and 10, ΔB1 is the pixel value of the background portion of the document 90 in the image data sequence in the reference state and the pixel value of the background portion of the document 90 in the image data sequence in the unlit state. It is a difference. ΔB2 is the difference between the pixel value of the background portion of the document 90 in the image data sequence in the reference state and the pixel value of the background portion of the document 90 in the image data sequence in the bright state. Hereinafter, the former is referred to as a first difference ΔB1, and the latter is referred to as a second difference ΔB2.

図9が示すように、原稿90の下地の色が薄い場合、第2差分ΔB2が第1差分ΔB1よりも小さくなる。そのため、原稿90の下地の色が薄い場合に、第2差分ΔB2が前記原稿領域の特定に用いられると、前記原稿領域を正しく特定できない事態が生じ得る。   As shown in FIG. 9, when the background color of the original 90 is light, the second difference ΔB2 is smaller than the first difference ΔB1. Therefore, when the background color of the original 90 is light, if the second difference ΔB2 is used for specifying the original area, a situation may occur in which the original area cannot be specified correctly.

一方、図10が示すように、原稿90の下地の色が濃い場合、第1差分ΔB1が第2差分ΔB2よりも小さくなる。そのため、第1差分ΔB1が前記原稿領域の特定に用いられると、前記原稿領域を正しく特定できない事態が生じ得る。   On the other hand, as shown in FIG. 10, when the background color of the original 90 is dark, the first difference ΔB1 is smaller than the second difference ΔB2. For this reason, when the first difference ΔB1 is used for specifying the document area, it may occur that the document area cannot be specified correctly.

本実施形態における画像読取装置1は、外光の影響によって前記原稿外領域にノイズ画像が現れる現象を、原稿90の下地の状態の違いに関わらず回避するための機能を有している。以下、その機能について説明する。   The image reading apparatus 1 according to the present embodiment has a function for avoiding a phenomenon in which a noise image appears in the area outside the original document due to the influence of external light regardless of the difference in the state of the background of the original document 90. The function will be described below.

[走査制御部83]
走査制御部83は、走査機構111およびイメージセンサー114を制御することにより、画像走査部11に前記画像読取処理を実行させる。より具体的には、走査制御部83は、走査機構111を制御することにより、発光部112および前記線状領域からの光をイメージセンサー114へ導く光学系113の一部を副走査方向R2の走査範囲における目的の位置へ移動させる。さらに、走査制御部83は、イメージセンサー114を制御することにより、イメージセンサー114に前記画像データ列を出力させる。
[Scanning Control Unit 83]
The scanning control unit 83 controls the scanning mechanism 111 and the image sensor 114 to cause the image scanning unit 11 to execute the image reading process. More specifically, the scanning control unit 83 controls the scanning mechanism 111 so that the light emitting unit 112 and a part of the optical system 113 that guides the light from the linear region to the image sensor 114 in the sub-scanning direction R2. Move to the target position in the scanning range. Further, the scanning control unit 83 controls the image sensor 114 to cause the image sensor 114 to output the image data string.

本実施形態における走査制御部83は、全範囲走査モードおよび部分範囲走査モードの2種類の走査モードで画像走査部11を動作させる。前記全範囲走査モードは、画像走査部11が副走査方向R2における起点から終点までの走査範囲全体を走査するモードである。前記部分範囲走査モードは、画像走査部11が副走査方向R2における前記走査範囲のうち一部の範囲のみを走査するモードである。   The scanning control unit 83 in the present embodiment operates the image scanning unit 11 in two types of scanning modes, the full range scanning mode and the partial range scanning mode. The full range scanning mode is a mode in which the image scanning unit 11 scans the entire scanning range from the start point to the end point in the sub-scanning direction R2. The partial range scanning mode is a mode in which the image scanning unit 11 scans only a part of the scanning range in the sub-scanning direction R2.

例えば、前記走査範囲における前記起点および前記終点の各々が、予め設定された位置であることが考えられる。この場合、前記起点および前記終点の各位置が、画像走査部11が副走査方向R2における走査可能範囲の両端の位置であることが考えられる。   For example, each of the starting point and the end point in the scanning range may be a preset position. In this case, it is conceivable that the positions of the starting point and the ending point are positions at both ends of the scannable range in the sub-scanning direction R2 of the image scanning unit 11.

また、前記起点および前記終点の一方又は両方の位置が、前記操作表示部80に対する操作によって前記走査可能範囲内で設定されることも考えられる。例えば、前記操作表示部80に対して原稿90のサイズおよび向きの情報が入力された場合に、前記走査可能範囲の一端が前記起点の位置として設定され、原稿90のサイズおよび向きに対応した位置が前記終点の位置として設定されることが考えられる。   It is also conceivable that the position of one or both of the start point and the end point is set within the scannable range by an operation on the operation display unit 80. For example, when information on the size and orientation of the document 90 is input to the operation display unit 80, one end of the scannable range is set as the position of the starting point, and the position corresponding to the size and orientation of the document 90 Is set as the position of the end point.

また、画像処理部85が、前記起点および前記終点の一方又は両方の位置を自動設定することも考えられる。この場合、画像処理部85は、原稿台13上の原稿90の副走査方向R2における先端位置および後端位置の一方または両方を検出する原稿端検出処理を実行し、検出結果を前記起点または前記終点として設定する。なお、前記原稿端検出処理のアルゴリズムとして、周知の各種アルゴリズムを採用することが可能である。   It is also conceivable that the image processing unit 85 automatically sets one or both of the start point and the end point. In this case, the image processing unit 85 performs document edge detection processing for detecting one or both of the leading edge position and trailing edge position in the sub-scanning direction R2 of the document 90 on the document table 13, and the detection result is set as the starting point or the Set as end point. Various known algorithms can be employed as the document edge detection processing algorithm.

本実施形態においては、MPU81が後述する動作モード信号Mdを出力する。動作モード信号Mdは、前記画像読取処理の開始信号であるとともに、開走査モードおよび閉走査モードのうちの一方を表す信号である。   In the present embodiment, the MPU 81 outputs an operation mode signal Md described later. The operation mode signal Md is a signal indicating one of the open scanning mode and the closed scanning mode as well as the start signal of the image reading process.

MPU81は、操作表示部80に対して予め定められた読取開始操作が成されたことを検知した際に、動作モード信号Mdを走査制御部83、発光制御部84および画像処理部85へ出力する。走査制御部83、発光制御部84および画像処理部85は、動作モード信号Mdが入力されることにより前記画像読取処理を実行する。   When the MPU 81 detects that a predetermined reading start operation has been performed on the operation display unit 80, the MPU 81 outputs an operation mode signal Md to the scanning control unit 83, the light emission control unit 84, and the image processing unit 85. . The scanning control unit 83, the light emission control unit 84, and the image processing unit 85 execute the image reading process when the operation mode signal Md is input.

前記開走査モードは、原稿台カバー12が開かれた状態を想定して原稿台13上の原稿90の走査を実行する動作モードである。前記閉走査モードは、原稿台カバー12が閉じられた状態を想定して原稿台13上の原稿90の走査を実行する動作モードである。   The open scanning mode is an operation mode in which the document 90 on the document table 13 is scanned assuming that the document table cover 12 is opened. The closed scanning mode is an operation mode in which the document 90 on the document table 13 is scanned assuming that the document table cover 12 is closed.

MPU81が出力する動作モード信号Mdが前記開走査モードを表す信号である場合、走査制御部83は、画像走査部11を前記部分範囲走査モードで動作させた後に、前記全範囲走査モードで動作させる。その詳細については後述する。   When the operation mode signal Md output from the MPU 81 is a signal indicating the open scanning mode, the scanning control unit 83 causes the image scanning unit 11 to operate in the full range scanning mode after operating the image scanning unit 11 in the partial range scanning mode. . Details thereof will be described later.

一方、動作モード信号Mdが前記閉走査モードを表す信号である場合、走査制御部83は、画像走査部11を前記全範囲走査モードで動作させる。これにより、一般的な前記画像読取処理が実行される。   On the other hand, when the operation mode signal Md is a signal indicating the closed scanning mode, the scanning control unit 83 operates the image scanning unit 11 in the full range scanning mode. Thereby, the general image reading process is executed.

[発光制御部84]
発光制御部84は、発光部112の発光状態を制御する。より具体的には、発光制御部84は、発光部112の状態を、消灯状態と、前記基準光量で発光する前記基準状態と、前記基準光量よりも大きな光量で発光する前記増光状態との3つの状態のいずれかに設定することができる。前記基準状態および前記増光状態の各々における発光部112の光量は、それぞれ予め定められている。
[Light emission control unit 84]
The light emission control unit 84 controls the light emission state of the light emitting unit 112. More specifically, the light emission control unit 84 has three states of the light emitting unit 112: a light-off state, the reference state that emits light with the reference light amount, and the light-intensifying state that emits light with a light amount larger than the reference light amount. Can be set to one of two states. The amount of light emitted from the light emitting unit 112 in each of the reference state and the brightening state is determined in advance.

本実施形態においては、動作モード信号Mdが前記開走査モードを表す信号である場合、発光制御部84は、発光部112を前記基準状態にした後に、予め定められた周期で前記基準状態とそれ以外の比較状態とに交互に切り替える。   In the present embodiment, when the operation mode signal Md is a signal representing the open scanning mode, the light emission control unit 84 sets the light emitting unit 112 and the reference state in a predetermined cycle after setting the light emitting unit 112 to the reference state. Switch alternately to other comparison states.

より具体的には、発光制御部84は、画像走査部11が前記部分範囲走査モードで動作するときに発光部112を前記基準状態にする。それに続けて、発光制御部84は、画像走査部11が前記全範囲走査モードで動作するときに、発光部112を予め定められた周期で前記基準状態と前記比較状態とに交互に切り替える。前記比較状態は、発光制御部84が後述する状態選択処理を実行することにより前記消灯状態および前記増光状態のうちのから選択する状態である。その詳細については後述する。   More specifically, the light emission control unit 84 sets the light emitting unit 112 to the reference state when the image scanning unit 11 operates in the partial range scanning mode. Subsequently, when the image scanning unit 11 operates in the full range scanning mode, the light emission control unit 84 switches the light emitting unit 112 alternately between the reference state and the comparison state at a predetermined cycle. The comparison state is a state in which the light emission control unit 84 selects between the extinguishing state and the brightening state by executing a state selection process described later. Details thereof will be described later.

以下の説明において、画像走査部11が前記部分範囲走査モードで動作するときに得られる1つ以上の前記画像データ列のことを標本データと称する。   In the following description, one or more image data sequences obtained when the image scanning unit 11 operates in the partial range scanning mode is referred to as sample data.

また、動作モード信号Mdが前記閉走査モードを表す信号である場合、発光制御部84は、画像走査部11が前記全範囲走査モードで動作するときに発光部112を前記基準状態にする。これにより、一般的な前記画像読取処理が実行される。   When the operation mode signal Md is a signal representing the closed scanning mode, the light emission control unit 84 sets the light emitting unit 112 to the reference state when the image scanning unit 11 operates in the full range scanning mode. Thereby, the general image reading process is executed.

例えば、MPU81が、動作モード設定プログラムPr1を実行することにより、ユーザーによる操作表示部80に対する操作に従って動作モード信号Mdを設定することが考えられる。   For example, it is conceivable that the MPU 81 sets the operation mode signal Md according to an operation on the operation display unit 80 by the user by executing the operation mode setting program Pr1.

また、MPU81が、原稿センサー801およびカバーセンサー802の検出結果が予め定められた開走査モード条件を満たすか否かに応じて、動作モード信号Mdを自動設定することも考えられる。この場合、MPU81が、動作モード設定プログラムPr1を実行することにより、動作モード信号Mdを自動設定する。   It is also conceivable that the MPU 81 automatically sets the operation mode signal Md according to whether the detection results of the document sensor 801 and the cover sensor 802 satisfy a predetermined open scanning mode condition. In this case, the MPU 81 automatically sets the operation mode signal Md by executing the operation mode setting program Pr1.

例えば、前記開走査モード条件は、原稿センサー801が、原稿トレイ121に原稿90がセットされていない状態を検出しており、かつ、カバーセンサー802が、原稿台カバー12が閉じられていない状態を検出していることである。MPU81は、前記開走査モード条件が成立している状態で、操作表示部80に対して複写実行操作が行われたことを検知した場合に、動作モード信号Mdを前記開走査モードの状態に設定し、その他の場合に動作モード信号Mdを前記閉走査モードの状態に設定する。   For example, in the open scanning mode condition, the document sensor 801 detects a state where the document 90 is not set on the document tray 121, and the cover sensor 802 indicates a state where the document table cover 12 is not closed. It is detecting. When the MPU 81 detects that a copy execution operation has been performed on the operation display unit 80 in a state where the open scan mode condition is satisfied, the MPU 81 sets the operation mode signal Md to the open scan mode state. In other cases, the operation mode signal Md is set to the closed scanning mode.

[画像処理部85]
画像処理部85は、代表値導出部851、減算部852、領域判定部853および背景置換部854を備える。例えば、画像処理部85が、ASIC(Application Specific Integrated Circuit)またはDSP(Digital Signal Pocessor)などによって構成されることが考えられる。
[Image processing unit 85]
The image processing unit 85 includes a representative value derivation unit 851, a subtraction unit 852, an area determination unit 853, and a background replacement unit 854. For example, the image processing unit 85 may be configured by an ASIC (Application Specific Integrated Circuit) or a DSP (Digital Signal Pocessor).

代表値導出部851は、画像走査部11が前記部分範囲走査モードで動作するときに得られる前記標本データの代表値を導出する演算を実行する。前記代表値は、前記標本データにおける原稿90の下地領域に相当する画素の反射光量または濃度の尺度となる値である。   The representative value deriving unit 851 executes a calculation for deriving a representative value of the sample data obtained when the image scanning unit 11 operates in the partial range scanning mode. The representative value is a value that serves as a measure of the amount of reflected light or the density of pixels corresponding to the background area of the original 90 in the sample data.

例えば、前記代表値が、前記標本データの度数分布における最も度数の大きな階級の値であることが考えられる。一般に、原稿90における大部分の領域は画像が形成されていない下地領域であり、比較的占有率の小さな残りの領域が画像領域であることが多い。そのため、前記標本データの度数分布における最も度数の大きな階級の値は、原稿90の下地領域からの反射光量または同下地領域の濃度の尺度となる前記代表値として適している。なお、最も度数の大きな前記階級の値は、例えばその階級の範囲の最小値、最大値、中央値または平均値などである。   For example, it is conceivable that the representative value is the value of the class having the highest frequency in the frequency distribution of the sample data. In general, most of the area in the original 90 is a background area where no image is formed, and the remaining area with a relatively small occupation ratio is often an image area. For this reason, the class value having the highest frequency in the frequency distribution of the sample data is suitable as the representative value that is a measure of the amount of reflected light from the background area of the document 90 or the density of the background area. The class value having the largest frequency is, for example, the minimum value, maximum value, median value, or average value of the range of the class.

後述するように、前記代表値は、発光部112の前記比較状態を前記消灯状態および前記増光状態のいずれにするかを選択するための指標値である。そのため、前記代表値は、原稿90の下地領域の色が特に濃い色であるか否かを判定できる程度の比較的粗い分解能でよい。従って、前記代表値が前記標本データの度数分布に基づいて導出される場合、その度数分布において区分される複数の階級の数は多くなくてもよい。これにより、代表値導出部851の演算負荷が軽減される。   As will be described later, the representative value is an index value for selecting whether the comparison state of the light emitting unit 112 is the extinguishing state or the brightening state. Therefore, the representative value may be a relatively coarse resolution that can determine whether or not the color of the background area of the document 90 is a particularly dark color. Therefore, when the representative value is derived based on the frequency distribution of the sample data, the number of the plurality of classes divided in the frequency distribution may not be large. Thereby, the calculation load of the representative value deriving unit 851 is reduced.

また、減算部852は、発光部112の状態が前記基準状態と前記比較状態とに交互に切り替えられる場合に、発光部112の状態の切り替わり周期ごとに得られる一対の前記画像データ列の差分ΔBを算出する。   Further, the subtracting unit 852, when the state of the light emitting unit 112 is alternately switched between the reference state and the comparison state, the difference ΔB between the pair of image data sequences obtained for each switching period of the state of the light emitting unit 112. Is calculated.

より具体的には、減算部852は、発光部112の状態の切り替わり周期ごとに得られる一対の前記画像データ列を比較し、発光部112の前記基準状態に対応する第1画像データ列および発光部112の前記比較状態に対応する第2画像データ列における相互に対応する画素のデータの差分ΔBを算出する。   More specifically, the subtracting unit 852 compares the pair of image data sequences obtained for each state switching cycle of the light emitting unit 112, and compares the first image data sequence and the light emission corresponding to the reference state of the light emitting unit 112. A difference ΔB between pixel data corresponding to each other in the second image data sequence corresponding to the comparison state of the unit 112 is calculated.

発光部112の前記比較状態が前記消灯状態である場合、差分ΔBは、前記第1画像データ列の各画素のデータから前記第2画像データ列の各画素のデータを減算して得られる差分である。この差分は、図9の第1差分ΔB1に相当する。   When the comparison state of the light emitting unit 112 is the extinguished state, the difference ΔB is a difference obtained by subtracting the data of each pixel of the second image data sequence from the data of each pixel of the first image data sequence. is there. This difference corresponds to the first difference ΔB1 in FIG.

また、発光部112の前記比較状態が前記増光状態である場合、差分ΔBは、前記第2画像データ列の各画素のデータから前記第1画像データ列の各画素のデータを減算して得られる差分である。この差分は、図10の第2差分ΔB2に相当する。   Further, when the comparison state of the light emitting unit 112 is the brightening state, the difference ΔB is obtained by subtracting the data of each pixel of the first image data sequence from the data of each pixel of the second image data sequence. It is a difference. This difference corresponds to the second difference ΔB2 in FIG.

領域判定部853は、減算部852が算出する差分ΔBに基づいて前記画素各々を前記原稿領域画素と前記原稿外領域画素とに区分する領域区分処理を実行する。   The area determination unit 853 executes an area division process for dividing each pixel into the original area pixel and the outside-original area pixel based on the difference ΔB calculated by the subtractor 852.

前記画像データ列において、前記原稿領域における各画素のデータは、発光部112の状態の変化に応じて比較的大きく変化する。一方、前記原稿外領域における各画素のデータは、発光部112の状態が変化してもほとんど変化しない。   In the image data string, the data of each pixel in the document area changes relatively greatly according to the change in the state of the light emitting unit 112. On the other hand, the data of each pixel in the area outside the original hardly changes even if the state of the light emitting unit 112 changes.

従って、領域判定部853は、差分ΔBが予め定められた光量差であるしきい光量差よりも小さな差を示す画素を原稿外領域画素と判定し、その他の画素を原稿領域画素と判定する。なお、前記原稿領域画素は、原稿台13上の領域における原稿90が存在する領域の画素であり、前記原稿外領域画素はそれ以外の領域の画素である。   Accordingly, the area determination unit 853 determines that a pixel whose difference ΔB is smaller than a threshold light quantity difference, which is a predetermined light quantity difference, is an outside document area pixel, and determines other pixels as document area pixels. The document area pixel is a pixel in an area on the document table 13 where the document 90 is present, and the outside-document area pixel is a pixel in the other area.

背景置換部854は、前記基準状態に対応する前記第1画像データ列各々における前記原稿外領域画素に区分された前記画素のデータ各々を一の背景データに置換する背景置換処理を実行する。   The background replacement unit 854 executes background replacement processing for replacing each piece of pixel data divided into the non-document area pixels in each of the first image data strings corresponding to the reference state with one background data.

[画像読取装置の制御方法]
次に、図3に示されるフローチャートを参照しつつ、動作モード信号Mdが前記開走査モードを示す場合における画像読取装置1の前記画像読取処理の手順の一例について説明する。以下の説明においてS101,S102,…は、制御部8におけるMPU81、走査制御部83、発光制御部84および画像処理部85が実行する各工程の識別符号を表す。
[Control Method of Image Reading Apparatus]
Next, an example of the procedure of the image reading process of the image reading apparatus 1 when the operation mode signal Md indicates the open scanning mode will be described with reference to the flowchart shown in FIG. In the following description, S101, S102,... Represent identification codes of respective steps executed by the MPU 81, the scanning control unit 83, the light emission control unit 84, and the image processing unit 85 in the control unit 8.

制御部8は、MPU81が前記開走査モードを表す動作モード信号Mdを出力した際に、図3に示される処理を開始する。   The control unit 8 starts the processing shown in FIG. 3 when the MPU 81 outputs the operation mode signal Md indicating the open scanning mode.

<工程S101,S102>
動作モードが前記開走査モードである場合の前記画像読取処理において、発光制御部84の一部である第1発光制御部841が、発光部112の状態を前記基準光量で発光する前記基準状態にする(S101)。
<Steps S101 and S102>
In the image reading process when the operation mode is the open scanning mode, the first light emission control unit 841 that is a part of the light emission control unit 84 changes the state of the light emitting unit 112 to the reference state in which light is emitted with the reference light amount. (S101).

さらに、発光部112が前記基準状態であるときに、走査制御部83の一部である第1走査制御部831が、前記部分範囲走査モードで画像走査部11を動作させる(S102)。   Further, when the light emitting unit 112 is in the reference state, the first scanning control unit 831 which is a part of the scanning control unit 83 operates the image scanning unit 11 in the partial range scanning mode (S102).

即ち、第1走査制御部831は、発光部112が前記基準状態であるときに、画像走査部11に副走査方向R2の走査範囲の一部を走査させる(S102)。これにより、第1走査制御部831は、少なくとも1つの前記線状領域の前記画像データ列を含む前記標本データを前記画像走査部11に出力させる(S102)。出力された前記標本データは、画像処理部85における不図示のラインバッファーに一時記憶される。   That is, the first scanning control unit 831 causes the image scanning unit 11 to scan a part of the scanning range in the sub-scanning direction R2 when the light emitting unit 112 is in the reference state (S102). Accordingly, the first scanning control unit 831 causes the image scanning unit 11 to output the sample data including the image data string of at least one of the linear regions (S102). The outputted sample data is temporarily stored in a line buffer (not shown) in the image processing unit 85.

例えば、工程S102において、第1走査制御部831は、副走査方向R2の走査範囲における前記起点側の一部を画像走査部11に走査させる。工程S102における画像走査部11の走査範囲は、例えば、前記起点の1行分の範囲、または前記起点から数行分もしくは十数行分程度の範囲であることが考えられる。   For example, in step S102, the first scanning control unit 831 causes the image scanning unit 11 to scan a part on the starting point side in the scanning range in the sub-scanning direction R2. The scanning range of the image scanning unit 11 in step S102 may be, for example, a range of one line from the starting point, or a range of several lines or more than a dozen lines from the starting point.

<工程S103>
次に、画像処理部85の代表値導出部851が、前記標本データの代表値を導出する(S103)。前述したように、前記代表値が、前記標本データの度数分布における最も度数の大きな階級の値であることが考えられる。
<Step S103>
Next, the representative value deriving unit 851 of the image processing unit 85 derives a representative value of the sample data (S103). As described above, it is conceivable that the representative value is a class value having the highest frequency in the frequency distribution of the sample data.

<工程S104>
さらに、MPU81が、前記標本データが予め定められた条件を満たすか否かに応じて、発光部112の前記比較状態として前記消灯状態および前記増光状態のいずれか一方を選択する(S104)。MPU81は、状態選択プログラムPr2を実行することによって本工程の処理を実行する。なお、状態選択プログラムPr2を実行するMPU81が状態選択部の一例である。
<Step S104>
Further, the MPU 81 selects either the extinguished state or the brightened state as the comparison state of the light emitting unit 112 according to whether or not the sample data satisfies a predetermined condition (S104). The MPU 81 executes the process of this step by executing the state selection program Pr2. The MPU 81 that executes the state selection program Pr2 is an example of the state selection unit.

より具体的には、MPU81は、前記標本データの前記代表値が予め定められたしきい光量よりも小さな光量を示す値である場合に前記比較状態として前記増光状態を選択し、そうでない場合に前記比較状態として前記消灯状態を選択する。   More specifically, the MPU 81 selects the brightening state as the comparison state when the representative value of the sample data is a value indicating a light amount smaller than a predetermined threshold light amount, and when not, The off state is selected as the comparison state.

例えば、前記画像データ列における前記画素各々のデータの値および前記代表値が、0〜255までの256階調で光量を示す値である場合が考えられる。この場合、MPU81は、前記代表値が予め設定されたしきい値よりも小さい場合に前記比較状態として前記増光状態を選択し、そうでない場合に前記比較状態として前記消灯状態を選択する。   For example, a case where the data value and the representative value of each pixel in the image data sequence are values indicating the light intensity in 256 gradations from 0 to 255 can be considered. In this case, the MPU 81 selects the brightening state as the comparison state when the representative value is smaller than a preset threshold value, and selects the extinguishing state as the comparison state otherwise.

一方、前記画像データ列における前記画素各々のデータの値および前記代表値が、0〜255までの256階調で画像濃度を示す値である場合が考えられる。前記画像濃度を示す値の大小関係は前記光量を示す値の大小関係と逆になる。この場合、MPU81は、前記代表値が予め設定されたしきい値よりも大きい場合に前記比較状態として前記増光状態を選択し、そうでない場合に前記比較状態として前記消灯状態を選択する。   On the other hand, it is conceivable that the data value and the representative value of each pixel in the image data sequence are values indicating image density with 256 gradations from 0 to 255. The magnitude relationship between the values indicating the image density is opposite to the magnitude relationship between the values indicating the light quantity. In this case, the MPU 81 selects the brightening state as the comparison state when the representative value is larger than a preset threshold value, and selects the extinguishing state as the comparison state otherwise.

原稿90の前記下地領域からの反射光の光量に相当する前記代表値が、比較的小さな光量を示す値である場合、原稿90の前記下地領域は黒色または黒色に近い濃色であると考えられる。この場合に、MPU81は、前記比較状態として前記増光状態を選択する。   When the representative value corresponding to the amount of reflected light from the background area of the document 90 is a value indicating a relatively small amount of light, the background area of the document 90 is considered to be black or a dark color close to black. . In this case, the MPU 81 selects the brightening state as the comparison state.

一方、前記代表値が、比較的大きな光量を示す値である場合、原稿90の前記下地領域は白色または白色に近い淡色であると考えられる。この場合に、MPU81は、前記比較状態として前記消灯状態を選択する。   On the other hand, when the representative value is a value indicating a relatively large amount of light, the background area of the document 90 is considered to be white or a light color close to white. In this case, the MPU 81 selects the extinguished state as the comparison state.

<工程S105>
工程S103,S104と並行して、第1走査制御部831が走査機構111を前記起点で走査する状態へ戻す(S105)。
<Step S105>
In parallel with steps S103 and S104, the first scanning control unit 831 returns the scanning mechanism 111 to a state of scanning at the starting point (S105).

<工程S106,S107>
工程S103〜S105の終了後、発光制御部84の一部である第2発光制御部842が、発光部112の状態を前記基準状態と工程S104で選択された前記比較状態とに交互に切り替える(S106)。
<Steps S106 and S107>
After the steps S103 to S105, the second light emission control unit 842, which is a part of the light emission control unit 84, alternately switches the state of the light emitting unit 112 between the reference state and the comparison state selected in step S104 ( S106).

さらに、発光部112の状態の交互切り替えと並行して、走査制御部83の一部である第2走査制御部832が、前記全範囲走査モードで画像走査部11を動作させる(S107)。これにより、画像走査部11は、前記画像読取処理を実行し、発光部112の前記基準状態に対応する前記第1画像データ列と、発光部112の前記比較状態に対応する前記第2画像データ列とを交互に出力する(S107)。   Further, in parallel with the alternate switching of the state of the light emitting unit 112, the second scanning control unit 832 which is a part of the scanning control unit 83 operates the image scanning unit 11 in the full range scanning mode (S107). Accordingly, the image scanning unit 11 executes the image reading process, and the first image data sequence corresponding to the reference state of the light emitting unit 112 and the second image data corresponding to the comparison state of the light emitting unit 112. The columns are output alternately (S107).

そして、発光部112の状態の切り替わり周期ごとに、即ち、1つの前記第1画像データ列と1つの前記第2画像データ列とが得られるごとに、画像処理部85が、以下に示される工程S108〜S111の処理を実行する。   Then, every time the state of the light emitting unit 112 is switched, that is, every time one first image data sequence and one second image data sequence are obtained, the image processing unit 85 performs the following steps: The processing of S108 to S111 is executed.

<工程S108>
まず、画像処理部85の減算部852が、発光部112の状態の切り替わり周期ごとに得られる前記第1画像データ列および前記第2画像データ列の差分ΔBを算出する(S108)。
<Step S108>
First, the subtraction unit 852 of the image processing unit 85 calculates the difference ΔB between the first image data sequence and the second image data sequence obtained for each state switching cycle of the light emitting unit 112 (S108).

<工程S109>
次に、画像処理部85の領域判定部853が、減算部852が算出する差分ΔBに基づいて前記画素各々を前記原稿領域画素と前記原稿外領域画素とに区分する前記領域区分処理を実行する(S109)。前述したように、領域判定部853は、差分ΔBが予め定められた前記しきい光量差よりも小さな差を示す画素を前記原稿外領域画素に区分し、その他の画素を前記原稿領域画素に区分する。
<Step S109>
Next, the area determination unit 853 of the image processing unit 85 executes the area division process of dividing each pixel into the original area pixel and the outside original area pixel based on the difference ΔB calculated by the subtraction part 852. (S109). As described above, the area determination unit 853 classifies pixels that have a difference ΔB smaller than the predetermined threshold light amount difference as the outside-area area pixels, and classifies other pixels as the area area pixels. To do.

工程S109において、前記比較状態が前記消灯状態である場合の前記しきい光量差と前記比較状態が前記増光状態である場合の前記しきい光量差とは異なる。通常、前記消灯状態に対応する前記しきい光量差の方が前記増光状態に対応する前記しきい光量差よりも大きい。   In step S109, the threshold light amount difference when the comparison state is the extinguishing state is different from the threshold light amount difference when the comparison state is the brightening state. In general, the threshold light amount difference corresponding to the extinguishing state is larger than the threshold light amount difference corresponding to the brightening state.

<工程S110>
さらに、MPU81が、前記原稿領域画素の区分の結果を領域判定部853から取得し、主走査方向R1における前記原稿領域画素に区分された領域の一端から他端までの長さから、画像出力に適した記録シート9のサイズを特定する(S110)。工程S110は、副走査方向R2における走査の最初の段階で1回のみ実行される。
<Step S110>
Further, the MPU 81 obtains the result of segmentation of the document area pixel from the area determination unit 853, and outputs the image from the length from one end to the other end of the area segmented in the document area pixel in the main scanning direction R1. A suitable size of the recording sheet 9 is specified (S110). Step S110 is executed only once at the first stage of scanning in the sub-scanning direction R2.

例えば、工程S110は、副走査方向R2における前記起点からの走査により最初に得られた一対の前記画像データ列について1回のみ実行される。また、工程S110が、複数回の前記領域区分処理の結果に基づいて1回のみ実行されることも考えられる。この場合、複数の前記画像データ列をレーザー制御部86へ出力する前に一時記憶するデータバッファーが必要である。   For example, step S110 is executed only once for the pair of image data strings obtained first by scanning from the starting point in the sub-scanning direction R2. It is also conceivable that step S110 is executed only once based on the result of the region segmentation processing a plurality of times. In this case, a data buffer for temporarily storing a plurality of the image data strings before outputting them to the laser controller 86 is necessary.

MPU81は、シートサイズ特定プログラムPr4を実行することによって工程S110の処理を実行する。シートサイズ特定プログラムPr4を実行するMPU81は、前記原稿領域画素の区分の結果から画像形成先の記録シート9のサイズを特定するシートサイズ特定部として機能する。   The MPU 81 executes the process of step S110 by executing the sheet size specifying program Pr4. The MPU 81 that executes the sheet size specifying program Pr4 functions as a sheet size specifying unit that specifies the size of the recording sheet 9 as an image forming destination from the result of the document area pixel classification.

<工程S111>
さらに、画像処理部85の背景置換部854が、工程S107で得られる前記第1画像データ列各々における前記原稿外領域画素に区分された前記画素のデータ各々を一の背景データに置換する(S111)。
<Step S111>
Further, the background replacement unit 854 of the image processing unit 85 replaces each piece of pixel data divided into the outside-document area pixels in each of the first image data strings obtained in step S107 with one background data (S111). ).

前記背景データは、予め定められた色に相当するデータ、例えば、白色に相当するデータ、または黒色に相当するデータであることが考えられる。また、MPU81が、背景データ設定プログラムPr3を実行することにより、操作表示部80に対するユーザーの操作に従って前記背景データを予め設定することも考えられる。   The background data may be data corresponding to a predetermined color, for example, data corresponding to white or data corresponding to black. It is also conceivable that the MPU 81 sets the background data in advance according to a user operation on the operation display unit 80 by executing the background data setting program Pr3.

前記原稿外領域画素のデータが置換された後の前記第1画像データ列は、画像処理部85によって最後の後処理が施された後、前記記録用画像データ列としてレーザー制御部86へ出力される。これにより、前記背景置換処理が施された後の前記第1画像データ列に相当する画像が画像形成装置2によって記録シート9に形成される。   The first image data sequence after the data of the pixel outside the document is replaced is subjected to the final post-processing by the image processing unit 85 and then output to the laser control unit 86 as the recording image data sequence. The As a result, an image corresponding to the first image data string after the background replacement process is performed is formed on the recording sheet 9 by the image forming apparatus 2.

例えば、前記後処理は、前記第1画像データ列における前記線状領域からの放出光の光量に相当する各画素のデータを、画素濃度を表すデータに変換する濃度変換処理などである。各画素のデータが0〜255までの256階調のデータである場合、256階調の画素濃度のデータが、最大階調値である255から各画素の光量のデータを減算することにより算出される。   For example, the post-processing is a density conversion process for converting data of each pixel corresponding to the amount of light emitted from the linear region in the first image data sequence into data representing pixel density. When the data of each pixel is data of 256 gradations from 0 to 255, the pixel density data of 256 gradations is calculated by subtracting the light amount data of each pixel from the maximum gradation value 255. The

<工程S112>
また、発光部112の状態の切り替わり周期ごとに、走査制御部83の第2走査制御部832は、副走査方向R2における全走査範囲の走査が終了したか否かを判別する(S112)。そして、第2発光制御部842、第2走査制御部832および画像処理部85は、前記全走査範囲の走査が終了するまで、工程S106〜S109,S111の処理を繰り返す。
<Step S112>
In addition, for each switching period of the state of the light emitting unit 112, the second scanning control unit 832 of the scanning control unit 83 determines whether scanning of the entire scanning range in the sub-scanning direction R2 is completed (S112). Then, the second light emission control unit 842, the second scanning control unit 832, and the image processing unit 85 repeat the processes of steps S106 to S109 and S111 until the scanning of the entire scanning range is completed.

第2走査制御部832が副走査方向R2における全走査範囲の走査を終了したと判別すると、制御部8による前記画像読取処理が終了する。   When the second scanning control unit 832 determines that the scanning of the entire scanning range in the sub-scanning direction R2 is finished, the image reading process by the control unit 8 is finished.

なお、画像読取装置1がカラー画像を読み取ることが可能な装置である場合、画像走査部11は検出する光の色が異なる複数のイメージセンサー114を備える。この場合、画像処理部85が、予め定められた1つの色のイメージセンサー114で得られる前記画像データ列について工程S103,S108〜S110の処理を実行することが考えられる。   When the image reading apparatus 1 is an apparatus capable of reading a color image, the image scanning unit 11 includes a plurality of image sensors 114 that detect different colors of light. In this case, it is conceivable that the image processing unit 85 performs the processes of steps S103 and S108 to S110 on the image data sequence obtained by the image sensor 114 having a predetermined color.

また、画像処理部85が、複数のイメージセンサー114で得られる複数の前記画像データ列を平均したデータについて工程S103,S108〜S110の処理を実行することも考えられる。但し、前記背景置換処理は、複数のイメージセンサー114各々に対応する前記画像データ列ごとに実行される。   It is also conceivable that the image processing unit 85 performs the processes of steps S103 and S108 to S110 on data obtained by averaging a plurality of the image data sequences obtained by the plurality of image sensors 114. However, the background replacement process is executed for each image data sequence corresponding to each of the plurality of image sensors 114.

また、画像読取装置1がカラー画像を読み取ることが可能な装置である場合、画像形成装置2が、それぞれ異なる色の現像剤に対応する複数の画像形成部4を備えることも考えられる。この場合、画像形成部4各々は、不図示の中間転写ベルトに画像を転写し、この中間転写ベルトの画像が記録シート9に転写される。   Further, when the image reading apparatus 1 is an apparatus capable of reading a color image, it is conceivable that the image forming apparatus 2 includes a plurality of image forming units 4 corresponding to different color developers. In this case, each of the image forming units 4 transfers an image to an intermediate transfer belt (not shown), and the image on the intermediate transfer belt is transferred to the recording sheet 9.

以上に示したように、第2発光制御部842が、発光部112の状態を前記基準状態と前記比較状態とに交互に切り替える制御を実行する(S106)。さらに、第2走査制御部832が、発光部112の状態の交互切り替えと並行して画像走査部11に前記画像読取処理を実行させる(S107)。   As described above, the second light emission control unit 842 executes control to alternately switch the state of the light emitting unit 112 between the reference state and the comparison state (S106). Further, the second scanning control unit 832 causes the image scanning unit 11 to execute the image reading process in parallel with the alternate switching of the state of the light emitting unit 112 (S107).

さらに、減算部852が、発光部112の状態の切り替わり周期ごとに得られる一対の前記画像データ列を比較し、前記基準状態に対応する前記第1画像データ列および前記比較状態に対応する前記第2画像データ列における相互に対応する前記画素のデータの差分ΔBを算出する。そして、領域判定部853が、差分ΔBの大きさに応じて前記画素各々を前記原稿領域画素と原稿外領域画素とに区分する。なお、減算部852および領域判定部853が、領域区分部の一例である。   Further, the subtraction unit 852 compares a pair of the image data sequences obtained for each state switching period of the light emitting unit 112, and the first image data sequence corresponding to the reference state and the first corresponding to the comparison state. A difference ΔB between the pixel data corresponding to each other in the two image data sequences is calculated. Then, the area determination unit 853 classifies each of the pixels into the document area pixel and the outside document area pixel according to the magnitude of the difference ΔB. Note that the subtraction unit 852 and the region determination unit 853 are examples of the region sorting unit.

より具体的には、領域判定部853は、差分ΔBが予め設定されたしきい値よりも大きいという条件を含む予め定められた差分条件を満たす場合に、その差分条件を満たす差分ΔBに対応する画素を前記原稿領域画素に区分し、そうでない場合にその差分ΔBに対応する画素を前記原稿外領域画素に区分する。   More specifically, the region determination unit 853 corresponds to the difference ΔB that satisfies the difference condition when a predetermined difference condition including a condition that the difference ΔB is larger than a preset threshold value is satisfied. A pixel is divided into the original area pixels, and if not, a pixel corresponding to the difference ΔB is divided into the original area pixels.

例えば、前記差分条件が、差分ΔBが主走査方向R1において予め定められた個数以上連続して予め定められた光量差よりも大きな差を示すという条件を含むことが考えられる。一般に、前記原稿領域が主走査方向R1において連続する複数の画素からなる場合が多い。そのため、比較的大きな光量差を示す差分ΔBに対応する画素が連続することが前記差分条件の必要条件であれば、前記原稿外領域画素に区分されるべき画素が誤って前記原稿領域画素に区分されてしまうことを防止することができる。   For example, the difference condition may include a condition that the difference ΔB indicates a difference larger than a predetermined light amount difference continuously for a predetermined number or more in the main scanning direction R1. In general, the document area often includes a plurality of pixels that are continuous in the main scanning direction R1. Therefore, if the difference condition is that the pixels corresponding to the difference ΔB indicating a relatively large light amount difference are continuous, the pixel to be classified as the outside document area pixel is erroneously classified as the document area pixel. Can be prevented.

以上の制御が行われることにより、画像読取装置1によれば、原稿台カバー12が開かれた状態で原稿90の走査が行われる場合に、外光の影響によって前記原稿外領域にノイズ画像が現れることを回避することができる。   By performing the above control, according to the image reading apparatus 1, when scanning of the document 90 is performed with the document table cover 12 opened, a noise image is generated in the region outside the document due to the influence of external light. Appearance can be avoided.

また、第1発光制御部841が発光部112を前記基準状態にした状態で、第1走査制御部831が、画像走査部11に副走査方向R2の走査範囲の一部を走査させることにより前記標本データが得られる。   In addition, the first scanning control unit 831 causes the image scanning unit 11 to scan a part of the scanning range in the sub-scanning direction R2 while the first light emission control unit 841 sets the light emitting unit 112 in the reference state. Sample data is obtained.

そして、状態選択プログラムPr2を実行するMPU81が、前記標本データが予め定められた条件を満たすか否かに応じて前記比較状態として前記消灯状態および前記増光状態のいずれか一方を選択する。   Then, the MPU 81 that executes the state selection program Pr2 selects one of the extinguishing state and the brightening state as the comparison state depending on whether or not the sample data satisfies a predetermined condition.

図9からわかるように、原稿90の下地の色が薄い場合、第1差分ΔB1が第2差分ΔB2よりも大きくなる。そのため、第1差分ΔB1の大きさの判定によって前記原稿領域と前記原稿外領域とを区分すれば、前記原稿領域が正しく特定されやすい。   As can be seen from FIG. 9, when the background color of the original 90 is light, the first difference ΔB1 is larger than the second difference ΔB2. Therefore, if the original area and the non-original area are distinguished by determining the size of the first difference ΔB1, the original area can be easily specified correctly.

また、図9からわかるように、原稿90の下地の色が濃い場合、第2差分ΔB2が第1差分ΔB1よりも大きくなる。そのため、第2差分ΔB2の大きさの判定によって前記原稿領域と前記原稿外領域とを区分すれば、前記原稿領域が正しく特定されやすい。   As can be seen from FIG. 9, when the background color of the original 90 is dark, the second difference ΔB2 is larger than the first difference ΔB1. For this reason, if the document area and the document outside area are distinguished by determining the magnitude of the second difference ΔB2, the document area can be easily specified correctly.

従って、画像読取装置1によれば、原稿90の下地の状態に関わらず、外光の影響によって前記原稿外領域にノイズ画像が現れることを回避することができる。   Therefore, according to the image reading apparatus 1, it is possible to avoid the appearance of a noise image in the outside area of the document due to the influence of external light regardless of the background state of the document 90.

[第2実施形態]
次に、図4に示されるフローチャートを参照しつつ、第2実施形態に係る画像読取装置について説明する。図4は、第2実施形態に係る画像読取装置において動作モード信号Mdが前記開走査モードを示す場合における前記画像読取処理の手順の一例を示すフローチャートである。以下の説明においてS201,S202,…は、制御部8におけるMPU81、走査制御部83、発光制御部84および画像処理部85が実行する各工程の識別符号を表す。
[Second Embodiment]
Next, an image reading apparatus according to the second embodiment will be described with reference to the flowchart shown in FIG. FIG. 4 is a flowchart illustrating an example of the procedure of the image reading process when the operation mode signal Md indicates the open scanning mode in the image reading apparatus according to the second embodiment. In the following description, S201, S202,... Represent identification codes of respective steps executed by the MPU 81, the scanning control unit 83, the light emission control unit 84, and the image processing unit 85 in the control unit 8.

制御部8は、MPU81が前記開走査モードを表す動作モード信号Mdを出力した際に、図4に示される処理を開始する。   The control unit 8 starts the processing shown in FIG. 4 when the MPU 81 outputs the operation mode signal Md indicating the open scanning mode.

<工程S201>
動作モードが前記開走査モードである場合の前記画像読取処理において、まず、MPU81が、発光部112の前記比較状態の初期状態を選択する(S201)。例えば、MPU81は、前記消灯状態および前記増光状態のうちの予め定められた一方を前記比較状態の初期状態として選択する。
<Step S201>
In the image reading process when the operation mode is the open scanning mode, first, the MPU 81 selects the initial state of the comparison state of the light emitting unit 112 (S201). For example, the MPU 81 selects a predetermined one of the extinguishing state and the brightening state as the initial state of the comparison state.

また、工程S201において、MPU81が、工程S104と同様に、前記第1画像データ列に基づいて前記比較状態の初期状態を選択することも考えられる。この場合、MPU81は、発光部112が前記基準状態であるときに副走査方向R2の前記起点で得られる前記第1画像データ列の前記代表値が予め定められた条件を満たすか否かに応じて前記比較状態の初期状態を選択する。   Further, in step S201, the MPU 81 may select the initial state of the comparison state based on the first image data sequence as in step S104. In this case, the MPU 81 determines whether the representative value of the first image data sequence obtained at the starting point in the sub-scanning direction R2 satisfies a predetermined condition when the light emitting unit 112 is in the reference state. To select an initial state of the comparison state.

MPU81が前記第1画像データ列に基づいて前記比較状態の初期状態を選択する場合、工程S201において、第1発光制御部841が発光部112を前記基準状態にし、第1走査制御部831が画像走査部11に副走査方向R2の走査範囲における前記起点の1行分の前記線状領域を走査させる。このようにして得られる前記第1画像データ列は前記標本データの一例である。   When the MPU 81 selects the initial state of the comparison state based on the first image data string, in step S201, the first light emission control unit 841 sets the light emission unit 112 to the reference state, and the first scan control unit 831 performs image processing. The scanning unit 11 is caused to scan the linear region for one row of the starting point in the scanning range in the sub-scanning direction R2. The first image data string obtained in this way is an example of the sample data.

MPU81は、状態選択プログラムPr2を実行することによって工程S201の処理を実行する。   The MPU 81 executes the process of step S201 by executing the state selection program Pr2.

<工程S202〜S205>
工程S201の終了後、第2発光制御部842が、発光部112の状態を前記基準状態と事前に選択された前記比較状態とに交互に切り替える(S202,S204)。
<Steps S202 to S205>
After step S201 ends, the second light emission control unit 842 alternately switches the state of the light emitting unit 112 between the reference state and the comparison state selected in advance (S202, S204).

さらに、発光部112の状態の交互切り替えと並行して、第2走査制御部832が、前記全範囲走査モードで画像走査部11を動作させる(S203,S205)。即ち、第2走査制御部832は、副走査方向R2における走査位置を順次進行させる。さらに、第2走査制御部832は、発光部112の状態の切り替わりに同期して、前記基準状態における画像走査(S203)と前記比較状態における画像走査(S205)とを交互に画像走査部11に実行させる。   Further, in parallel with the alternate switching of the state of the light emitting unit 112, the second scanning control unit 832 operates the image scanning unit 11 in the full range scanning mode (S203, S205). That is, the second scanning control unit 832 sequentially advances the scanning position in the sub-scanning direction R2. Furthermore, the second scanning control unit 832 alternately performs the image scanning in the reference state (S203) and the image scanning in the comparison state (S205) to the image scanning unit 11 in synchronization with the switching of the state of the light emitting unit 112. Let it run.

工程S203,205の制御により、画像走査部11は、前記画像読取処理を実行し、発光部112の前記基準状態に対応する前記第1画像データ列と、発光部112の前記比較状態に対応する前記第2画像データ列とを交互に出力する。   Under the control of steps S <b> 203 and 205, the image scanning unit 11 executes the image reading process and corresponds to the first image data string corresponding to the reference state of the light emitting unit 112 and the comparison state of the light emitting unit 112. The second image data sequence is output alternately.

<工程S206,S207>
また、発光部112の状態の交互切り替え(S202,S204)および前記画像読取処理(S203,S205)が行われているときに、前記第1画像データ列が得られるごとに、代表値導出部851およびMPU81が、発光部112の次の前記比較状態を選択する処理を行う(S206,S207)。代表値導出部851およびMPU81は、工程S103,S104と同様に、発光部112の次の前記比較状態を選択する処理を行う。
<Steps S206 and S207>
In addition, when the switching of the state of the light emitting unit 112 (S202, S204) and the image reading process (S203, S205) are performed, the representative value deriving unit 851 is obtained every time the first image data string is obtained. Then, the MPU 81 performs processing for selecting the next comparison state of the light emitting unit 112 (S206, S207). The representative value deriving unit 851 and the MPU 81 perform a process of selecting the next comparison state of the light emitting unit 112, similarly to steps S103 and S104.

より具体的には、画像処理部85の代表値導出部851が、工程S203で得られる前記第1画像データ列の前記代表値を導出する(S206)。工程S203で得られる前記第1画像データ列は前記標本データの一例である。前述したように、前記代表値が、前記標本データの度数分布における最も度数の大きな階級の値であることが考えられる。   More specifically, the representative value deriving unit 851 of the image processing unit 85 derives the representative value of the first image data sequence obtained in step S203 (S206). The first image data string obtained in step S203 is an example of the sample data. As described above, it is conceivable that the representative value is a class value having the highest frequency in the frequency distribution of the sample data.

さらに、MPU81が、工程S203で得られる前記第1画像データ列が予め定められた条件を満たすか否かに応じて、発光部112の前記比較状態として前記消灯状態および前記増光状態のいずれか一方を選択する(S207)。MPU81は、状態選択プログラムPr2を実行することによって本工程の処理を実行する。なお、状態選択プログラムPr2を実行するMPU81が状態選択部の一例である。   Furthermore, the MPU 81 selects one of the extinguishing state and the brightening state as the comparison state of the light emitting unit 112 depending on whether or not the first image data string obtained in step S203 satisfies a predetermined condition. Is selected (S207). The MPU 81 executes the process of this step by executing the state selection program Pr2. The MPU 81 that executes the state selection program Pr2 is an example of the state selection unit.

本実施形態において、工程S203で得られる前記第1画像データ列は、前記標本データの一例である。即ち、本実施形態においては、第2走査制御部832が前記標本データを画像走査部11に出力させる第1走査制御部831の機能を兼ねる。   In the present embodiment, the first image data sequence obtained in step S203 is an example of the sample data. That is, in the present embodiment, the second scanning control unit 832 also functions as the first scanning control unit 831 that outputs the sample data to the image scanning unit 11.

そして、発光部112の状態の切り替わり周期ごとに、即ち、1つの前記第1画像データ列と1つの前記第2画像データ列とが得られるごとに、画像処理部85が、前述した工程S108〜S111と同様に、以下に示される工程S208〜S211の処理を実行する。   Then, every time the state of the light emitting unit 112 is switched, that is, every time one first image data sequence and one second image data sequence are obtained, the image processing unit 85 performs steps S108 to S108 described above. Similarly to S111, the processes of steps S208 to S211 shown below are executed.

<工程S208>
まず、画像処理部85の減算部852が、発光部112の状態の切り替わり周期ごとに得られる前記第1画像データ列および前記第2画像データ列の差分ΔBを算出する(S208)。この工程S208は、前述の工程S108と同様である。
<Step S208>
First, the subtraction unit 852 of the image processing unit 85 calculates the difference ΔB between the first image data sequence and the second image data sequence obtained for each state switching cycle of the light emitting unit 112 (S208). This step S208 is the same as step S108 described above.

<工程S209>
次に、画像処理部85の領域判定部853が、減算部852が算出する差分ΔBに基づいて前記画素各々を前記原稿領域画素と前記原稿外領域画素とに区分する前記領域区分処理を実行する(S209)。この工程S209は、前述の工程S109と同様である。
<Step S209>
Next, the area determination unit 853 of the image processing unit 85 executes the area division process of dividing each pixel into the original area pixel and the outside original area pixel based on the difference ΔB calculated by the subtraction part 852. (S209). This step S209 is the same as the above-described step S109.

即ち、工程S208において、減算部852が、発光部112の状態の切り替わり周期ごとに得られる一対の前記画像データ列を比較する。さらに、工程S209において、領域判定部853が、差分ΔBの大きさに応じて前記画素各々を前記原稿領域画素と原稿外領域画素とに区分する。なお、減算部852および領域判定部853が、領域区分部の一例である。   That is, in step S208, the subtraction unit 852 compares the pair of image data sequences obtained for each state switching cycle of the light emitting unit 112. Further, in step S209, the region determination unit 853 classifies each of the pixels into the document region pixel and the document outside region pixel according to the magnitude of the difference ΔB. Note that the subtraction unit 852 and the region determination unit 853 are examples of the region sorting unit.

<工程S210>
さらに、画像処理部85の領域判定部853は、主走査方向R1における前記原稿領域画素に区分された領域の一端から他端までの長さから、画像出力に適した記録シート9のサイズを特定する(S210)。工程S210は、副走査方向R2における走査の最初の段階で1回のみ実行される。この工程S210は、前述の工程S210と同様である。
<Step S210>
Further, the area determination unit 853 of the image processing unit 85 specifies the size of the recording sheet 9 suitable for image output from the length from one end to the other end of the area divided into the document area pixels in the main scanning direction R1. (S210). Step S210 is executed only once in the first stage of scanning in the sub-scanning direction R2. This step S210 is the same as the above-described step S210.

<工程S211>
さらに、画像処理部85の背景置換部854が、工程S203で得られる前記第1画像データ列各々における前記原稿外領域画素に区分された前記画素のデータ各々を一の前記背景データに置換する(S211)。
<Step S211>
Further, the background replacement unit 854 of the image processing unit 85 replaces each of the pixel data divided into the outside-document region pixels in each of the first image data strings obtained in step S203 with one background data ( S211).

前記原稿外領域画素のデータが置換された後の前記第1画像データ列は、画像処理部85によって前記後処理が施された後、前記記録用画像データ列としてレーザー制御部86へ出力される。これにより、前記背景置換処理が施された後の前記第1画像データ列に相当する画像が記録シート9に形成される。   The first image data sequence after the data of the pixel outside the original region is replaced is subjected to the post-processing by the image processing unit 85 and then output to the laser control unit 86 as the recording image data sequence. . As a result, an image corresponding to the first image data sequence after the background replacement process is performed is formed on the recording sheet 9.

<工程S212>
また、発光部112の状態の切り替わり周期ごとに、走査制御部83の第2走査制御部832は、副走査方向R2における全走査範囲の走査が終了したか否かを判別する(S212)。そして、第2発光制御部842、第2走査制御部832および画像処理部85は、前記全走査範囲の走査が終了するまで、工程S202〜S209,S211の処理を繰り返す。
<Step S212>
In addition, for each switching period of the state of the light emitting unit 112, the second scanning control unit 832 of the scanning control unit 83 determines whether scanning of the entire scanning range in the sub-scanning direction R2 is completed (S212). Then, the second light emission control unit 842, the second scanning control unit 832, and the image processing unit 85 repeat the processes of steps S202 to S209 and S211 until the scanning of the entire scanning range is completed.

第2走査制御部832が副走査方向R2における全走査範囲の走査を終了したと判別すると、制御部8による前記画像読取処理が終了する。
以上に示される第2実施形態において、第2発光制御部842は、発光部112の状態を前記基準光量で発光する前記基準状態とそれとは異なる前記比較状態とに交互に切り替える(SS202,S204)。また、第2走査制御部832は、発光部112の状態の交互切り替えと並行して画像走査部11に前記画像読取処理を実行させる(S203,205)。
When the second scanning control unit 832 determines that the scanning of the entire scanning range in the sub-scanning direction R2 is finished, the image reading process by the control unit 8 is finished.
In the second embodiment described above, the second light emission control unit 842 alternately switches the state of the light emitting unit 112 between the reference state in which light is emitted with the reference light amount and the comparison state different from the reference state (SS202, S204). . Further, the second scanning control unit 832 causes the image scanning unit 11 to execute the image reading process in parallel with the alternate switching of the state of the light emitting unit 112 (S203 and 205).

また、発光部112の状態の交互切り替えおよび前記画像読取処理が行われているときに、状態選択プログラムPr2を実行するMPU81は、前記第1画像データ列が得られるごとに、その第1画像データ列が予め定められた条件を満たすか否かに応じて発光部112の次の前記比較状態を前記消灯状態および前記増光状態のいずれにするかを選択する(S207)。   Further, the MPU 81 that executes the state selection program Pr2 when the state switching of the light emitting unit 112 and the image reading process are being performed, the first image data is obtained each time the first image data string is obtained. Depending on whether or not the column satisfies a predetermined condition, the next comparison state of the light emitting unit 112 is selected to be either the extinguishing state or the brightening state (S207).

さらに、減算部852が、発光部112の状態の切り替わり周期ごとに得られる一対の前記画像データ列を比較し、前記第1画像データ列およびこれに対応する第2画像データ列における相互に対応する前記画素のデータの差分ΔBを算出する(S208)。さらに、領域判定部853が、算出された差分ΔBによって前記画素各々を前記原稿領域画素と前記原稿外領域画素とに区分する(S209)。なお、減算部852および領域判定部853が領域区分部の一例である。   Further, the subtracting unit 852 compares the pair of image data sequences obtained for each switching period of the state of the light emitting unit 112, and corresponds to each other in the first image data sequence and the second image data sequence corresponding thereto. A difference ΔB between the pixel data is calculated (S208). Further, the area determination unit 853 classifies each pixel into the original area pixel and the non-original area pixel according to the calculated difference ΔB (S209). Note that the subtraction unit 852 and the region determination unit 853 are examples of the region sorting unit.

第2実施形態においても、原稿台カバー12が開かれた状態で原稿90の走査が行われる場合に、原稿90の下地の状態に関わらず、外光の影響によって前記原稿外領域にノイズ画像が現れることを回避できる。   Also in the second embodiment, when scanning of the document 90 is performed with the document table cover 12 opened, a noise image is generated in the region outside the document due to the influence of external light regardless of the background state of the document 90. You can avoid appearing.

また、第2実施形態によれば、前記標本データの採取およびその標本データに基づく発光部112の前記比較状態の選択処理が、副走査方向R2における各位置について実行される。即ち、副走査方向R2の各位置ごとに適切な発光部112の前記比較状態が選択される。その結果、原稿90の下地の濃さが副走査方向R2において不均一である場合でも、前記原稿領域および前記原稿外領域が正しく区分される。   Further, according to the second embodiment, the sample data collection and the comparison state selection process of the light emitting unit 112 based on the sample data are executed for each position in the sub-scanning direction R2. That is, the appropriate comparison state of the light emitting unit 112 is selected for each position in the sub-scanning direction R2. As a result, even when the background density of the document 90 is not uniform in the sub-scanning direction R2, the document area and the document outside area are correctly classified.

[画像処理結果の具体例]
続いて、図5〜8を参照しつつ、画像処理装置10が実行する画像処理によって得られる具体的な二次元画像の一例について説明する。図5は、原稿90の一例を示す図である。図6〜8は、画像処理装置10において、原稿台カバー12が開かれた状態で原稿台13上の原稿90が前記開走査モードで走査されたときに得られる前記第1画像データ列から合成された二次元画像を示す。
[Specific examples of image processing results]
Next, an example of a specific two-dimensional image obtained by image processing executed by the image processing apparatus 10 will be described with reference to FIGS. FIG. 5 is a diagram illustrating an example of the document 90. 6 to 8 are synthesized from the first image data sequence obtained when the document 90 on the document table 13 is scanned in the open scanning mode with the document table cover 12 opened in the image processing apparatus 10. A two-dimensional image obtained is shown.

図6は、発光部112が前記基準状態であるときに得られる前記第1画像データ列から合成された二次元画像の一例を示す図である。図7は、発光部112が前記消灯状態であるときに得られる前記第1画像データ列から合成された二次元画像の一例を示す図である。図8は、前記背景データが黒色に相当するデータである場合における前記背景置換処理後の前記第1画像データ列から合成された二次元画像の一例を示す図である。   FIG. 6 is a diagram illustrating an example of a two-dimensional image synthesized from the first image data sequence obtained when the light emitting unit 112 is in the reference state. FIG. 7 is a diagram illustrating an example of a two-dimensional image synthesized from the first image data sequence obtained when the light emitting unit 112 is in the extinguished state. FIG. 8 is a diagram illustrating an example of a two-dimensional image synthesized from the first image data sequence after the background replacement process when the background data is data corresponding to black.

画像処理装置10において、図5が示す2つの原稿90が前記開走査モードで走査された場合を考える。2つの原稿90のうちの一方は、一部に開口900が形成された原稿である。   Consider a case in which two originals 90 shown in FIG. 5 are scanned in the open scanning mode in the image processing apparatus 10. One of the two documents 90 is a document in which an opening 900 is partially formed.

図5が示す2つの原稿90が前記開走査モードで走査された場合、発光部112の前記基準状態に対応する前記第1画像データ列の合成によって得られる二次元画像は、例えば図6が示すような画像になる。   When two originals 90 shown in FIG. 5 are scanned in the open scanning mode, a two-dimensional image obtained by synthesizing the first image data sequence corresponding to the reference state of the light emitting unit 112 is, for example, shown in FIG. The image looks like this.

図6が示すように、前記発光部112が前記基準状態であるときの画像は、2つの原稿90の画像と原稿外領域の画像とを含む画像である。また、図6が示す例では、前記原稿外領域の画像が、外光の像および外光を遮る物体の陰の像などを含むノイズ画像Ngを含む。   As shown in FIG. 6, the image when the light emitting unit 112 is in the reference state is an image including two images of the original 90 and an image outside the original. In the example shown in FIG. 6, the image of the outside area of the document includes a noise image Ng including an image of outside light and a shadow image of an object that blocks outside light.

一方、図7が示すように、前記発光部112が前記消灯状態であるときの画像は、2つの原稿90の陰の画像と原稿外領域の画像とを含む画像である。また、図6および図7が示すように、前記原稿外領域の画像は、前記発光部112が前記基準状態であるときと前記消灯状態であるときとでほぼ同じである。   On the other hand, as shown in FIG. 7, the image when the light emitting unit 112 is in the extinguished state is an image including the shadow image of the two originals 90 and the image outside the original. As shown in FIGS. 6 and 7, the image in the outside area of the document is substantially the same when the light emitting unit 112 is in the reference state and in the extinguished state.

そして、前記背景置換処理によって前記原稿外領域の画素が黒色画素に置換された後の画像は、図8が示すような画像になる。図8が示すように、画像読取装置1によれば、前記原稿領域と前記原稿外領域とが正しく区分される。   Then, the image after the pixels in the area outside the document are replaced with black pixels by the background replacement process is an image as shown in FIG. As shown in FIG. 8, according to the image reading apparatus 1, the document area and the document outside area are correctly divided.

なお、前記発光部112の前記比較状態として前記増光状態が選択された場合、前記発光部112が前記比較状態であるときの画像は、図7に示される画像とは異なる。   In addition, when the said brightening state is selected as the said comparison state of the said light emission part 112, the image when the said light emission part 112 is the said comparison state differs from the image shown in FIG.

前記発光部112が前記増光状態であるときの前記原稿領域の画像は、図6に示される画像よりもより明るい画像になる。一方、前記発光部112が前記増光状態であるときの前記原稿外領域の画像は、図6,7に示される画像と同等である。   The image of the original area when the light emitting unit 112 is in the bright state is a brighter image than the image shown in FIG. On the other hand, the image in the area outside the original when the light emitting unit 112 is in the bright state is equivalent to the image shown in FIGS.

そして、前記発光部112の前記比較状態として前記増光状態が選択された場合も、図8が示すように、前記原稿領域と前記原稿外領域とが正しく区分される。   Even when the brightening state is selected as the comparison state of the light emitting unit 112, as shown in FIG. 8, the document area and the document outside area are correctly divided.

[応用例]
以上に示された画像読取装置1において、動作モード信号Mdが前記開走査モードの状態である場合に、動作モード信号Mdが前記閉走査モードの状態である場合よりも副走査方向R2における画像走査部11の走査速度、即ち、走査機構111の移動速度が遅い速度に設定されることが考えられる。これにより、前記開走査モードにおける画像走査部11による副走査方向R2の画像解像度が、前記閉走査モードにおける画像解像度の半分にまで低下することを回避できる。
[Application example]
In the image reading apparatus 1 shown above, when the operation mode signal Md is in the open scanning mode, image scanning in the sub-scanning direction R2 is performed more than when the operation mode signal Md is in the closed scanning mode. It is conceivable that the scanning speed of the section 11, that is, the moving speed of the scanning mechanism 111 is set to a low speed. Thereby, it can be avoided that the image resolution in the sub-scanning direction R2 by the image scanning unit 11 in the open scanning mode is reduced to half of the image resolution in the closed scanning mode.

なお、動作モード信号Mdが前記開走査モードを示す状態は、画像走査部11が走査中に発光部112が前記基準状態と前記比較状態とに交互に切り替わる動作状態である。一方、動作モード信号Mdが前記閉走査モードを示す状態は、画像走査部11が走査中に発光部112が前記基準状態で点灯し続ける動作状態である。   The state in which the operation mode signal Md indicates the open scanning mode is an operation state in which the light emitting unit 112 is alternately switched between the reference state and the comparison state while the image scanning unit 11 is scanning. On the other hand, the state in which the operation mode signal Md indicates the closed scanning mode is an operation state in which the light emitting unit 112 continues to be lit in the reference state while the image scanning unit 11 is scanning.

また、画像読取装置1において、動作モード信号Mdが前記開走査モードの状態である場合に、動作モード信号Mdが前記閉走査モードの状態である場合よりも画像走査部11による副走査方向R2における前記線状領域の光量の検出周期を短くすることも考えられる。これにより、前記開走査モードにおける画像走査部11による副走査方向R2の画像解像度が、前記閉走査モードにおける画像解像度の半分にまで低下することを回避できる。さらに、画像走査部11の走査時間が長くなることも回避できる。   Further, in the image reading apparatus 1, when the operation mode signal Md is in the open scanning mode, the image scanning unit 11 in the sub-scanning direction R2 is more than when the operation mode signal Md is in the closed scanning mode. It is also conceivable to shorten the light amount detection cycle of the linear region. Thereby, it can be avoided that the image resolution in the sub-scanning direction R2 by the image scanning unit 11 in the open scanning mode is reduced to half of the image resolution in the closed scanning mode. Furthermore, it can be avoided that the scanning time of the image scanning unit 11 becomes long.

また、以上に示された画像処理部85の処理が、コンピュータープログラムを実行するプロセッサーによって実現されることも考えられる。例えば、MPU81または画像処理用の他のMPUが、記憶部82に予め記憶されたプログラムを実行することにより、画像処理部85の処理と同等の処理を実行することが考えられる。   It is also conceivable that the processing of the image processing unit 85 shown above is realized by a processor that executes a computer program. For example, it is conceivable that the MPU 81 or another MPU for image processing executes a process equivalent to the process of the image processing unit 85 by executing a program stored in advance in the storage unit 82.

なお、本発明に係る画像読取装置、画像処理装置および画像読取装置の制御方法は、各請求項に記載された発明の範囲において、以上に示された実施形態及び応用例を自由に組み合わせること、或いは実施形態及び応用例を適宜、変形する又は一部を省略することによって構成されることも可能である。   The image reading apparatus, the image processing apparatus, and the control method for the image reading apparatus according to the present invention can be freely combined within the scope of the invention described in each claim, Alternatively, the embodiment and application examples can be appropriately modified or partly omitted.

1 :画像読取装置
2 :画像形成装置
3 :シート搬送部
4 :画像形成部
5 :光走査部
6 :定着部
8 :制御部
9 :記録シート
10 :画像処理装置
11 :画像走査部
12 :原稿台カバー
13 :原稿台
30 :シート収容部
31 :シート送出部ローラー
32 :シート搬送ローラー
33 :排出ローラー
41 :感光体(像担持体)
42 :帯電部
43 :現像部
45 :転写部
47 :クリーニング部
61 :定着ローラー
62 :加圧ローラー
80 :操作表示部
81 :MPU
82 :記憶部
83 :走査制御部
84 :発光制御部
85 :画像処理部
86 :レーザー制御部
87 :信号インターフェイス
90 :原稿
100 :筐体
101 :記録シート排出トレイ
111 :走査機構
112 :発光部
113 :光学系
114 :イメージセンサー
121 :原稿トレイ
122 :搬送ローラー
123 :原稿排出トレイ
300 :シート搬送路
801 :原稿センサー
802 :カバーセンサー
831 :第1走査制御部
832 :第2走査制御部
841 :第1発光制御部
842 :第2発光制御部
851 :代表値導出部
852 :減算部
853 :領域判定部
854 :背景置換部
900 :開口
Md :動作モード信号
Ng :ノイズ画像
Pr1 :動作モード設定プログラム
Pr2 :状態選択プログラム
Pr3 :背景データ設定プログラム
Pr4 :シートサイズ特定プログラム
R1 :主走査方向
R2 :副走査方向
1: Image reading device 2: Image forming device 3: Sheet conveying unit 4: Image forming unit 5: Optical scanning unit 6: Fixing unit 8: Control unit 9: Recording sheet 10: Image processing device 11: Image scanning unit 12: Document Table cover 13: Document table 30: Sheet storage unit 31: Sheet delivery unit roller 32: Sheet conveying roller 33: Discharge roller 41: Photoconductor (image carrier)
42: charging unit 43: developing unit 45: transfer unit 47: cleaning unit 61: fixing roller 62: pressure roller 80: operation display unit 81: MPU
82: Storage unit 83: Scan control unit 84: Light emission control unit 85: Image processing unit 86: Laser control unit 87: Signal interface 90: Document 100: Housing 101: Recording sheet discharge tray 111: Scan mechanism 112: Light emission unit 113 : Optical system 114: Image sensor 121: Document tray 122: Transport roller 123: Document discharge tray 300: Sheet transport path 801: Document sensor 802: Cover sensor 831: First scan control unit 832: Second scan control unit 841: First 1 light emission control unit 842: second light emission control unit 851: representative value derivation unit 852: subtraction unit 853: area determination unit 854: background replacement unit 900: aperture Md: operation mode signal Ng: noise image Pr1: operation mode setting program Pr2 : Status selection program Pr3: Background data setting program P 4: sheet size specifying program R1: main scanning direction R2: the sub-scanning direction

Claims (6)

透明の原稿台上に載置された原稿に向けて光を照射する発光部と、
前記原稿台上における主走査方向に沿う線状領域からの放出光の光量を画素ごとに検出しつつ前記主走査方向に直交する副走査方向に沿って前記原稿台上を走査することによって前記線状領域における各画素についての検出光量に相当する画像データ列を順次出力する画像読取処理を実行可能な画像走査部と、
前記発光部の状態を予め定められた基準光量で発光する第1状態とそれとは異なる第2状態とに交互に切り替える発光制御部と、
前記発光部の状態の切り替わりに同期して、前記発光部の前記第1状態および前記第2状態に対応する前記画像読取処理を前記画像走査部に実行させる走査制御部と、
前記発光部の状態の交互切り替えおよび前記画像読取処理が行われているときに、前記発光部の前記第1状態に対応する前記画像データ列である第1画像データ列が得られるごとに、前記第1画像データ列が予め定められた条件を満たすか否かに応じて前記発光部の次の前記第2状態を消灯状態および前記第1状態よりも大きな光量で発光する増光状態のいずれにするかを選択する状態選択部と、
前記発光部の状態の切り替わり周期ごとに、前記第1画像データ列および前記発光部の前記第2状態に対応する第2画像データ列を比較し、前記第1画像データ列および前記第2画像データ列における相互に対応する前記画素のデータの差分によって前記画素各々を原稿領域画素と原稿外領域画素とに区分する領域区分部と、
前記発光部の状態の切り替わり周期ごとに、前記第1画像データ列各々における前記原稿外領域画素に区分された前記画素のデータ各々を一の背景データに置換する背景置換部と、を備える画像読取装置。
A light emitting unit that emits light toward a document placed on a transparent document table;
The line is obtained by scanning the document table along the sub-scanning direction orthogonal to the main scanning direction while detecting the amount of light emitted from the linear region along the main scanning direction on the document table for each pixel. An image scanning unit capable of executing an image reading process for sequentially outputting an image data sequence corresponding to the detected light amount for each pixel in the pixel region;
A light emission control unit that alternately switches the state of the light emitting unit between a first state that emits light with a predetermined reference light amount and a second state that is different from the first state;
A scanning control unit for causing the image scanning unit to execute the image reading processing corresponding to the first state and the second state of the light emitting unit in synchronization with the switching of the state of the light emitting unit ;
Each time the first image data sequence that is the image data sequence corresponding to the first state of the light emitting unit is obtained when the state switching of the light emitting unit and the image reading process are being performed, Depending on whether or not the first image data string satisfies a predetermined condition, the second state next to the light-emitting unit is set to either a light-off state or a light-intensifying state in which light is emitted with a larger amount of light than the first state. A state selection section for selecting
In every cycle switching of the state of the light emitting portion, comparing the second image data string corresponding to the second state of the first image data stream and the light emitting portion, wherein the first image data stream and the second image data An area dividing unit that divides each of the pixels into a document area pixel and a document outside area pixel according to a difference in data of the pixels corresponding to each other in a column;
An image reading unit comprising: a background replacement unit that replaces each of the pixel data divided into the outside-document area pixels in each of the first image data strings with one background data for each state switching cycle of the light emitting unit. apparatus.
前記状態選択部は、前記第1画像データ列の代表値が予め定められたしきい光量よりも小さな光量を示す値である場合に前記第2状態として前記増光状態を選択し、そうでない場合に前記第2状態として前記消灯状態を選択する、請求項1に記載の画像読取装置。 The state selection unit selects the brightening state as the second state when the representative value of the first image data sequence is a value indicating a light amount smaller than a predetermined threshold light amount, and when not, The image reading apparatus according to claim 1, wherein the off state is selected as the second state. 前記第1画像データ列の前記代表値が、前記第1画像データ列の度数分布における最も度数の大きな階級の値である、請求項2に記載の画像読取装置。   The image reading apparatus according to claim 2, wherein the representative value of the first image data sequence is a class value having the highest frequency in the frequency distribution of the first image data sequence. 前記領域区分部は、前記第1画像データ列および前記第2画像データ列における相互に対応する前記画素のデータの差分が、前記主走査方向において予め定められた個数以上連続して予め定められた光量差よりも大きな差を示す領域の前記画素各々を前記原稿領域画素に区分し、その他の前記画素各々を前記原稿外領域画素に区分する、請求項1から請求項3のいずれか1項に記載の画像読取装置。   In the region segmentation unit, the difference between the pixel data corresponding to each other in the first image data sequence and the second image data sequence is predetermined in advance in the main scanning direction. 4. The method according to claim 1, wherein each of the pixels in a region showing a difference larger than a light amount difference is divided into the document region pixels, and each of the other pixels is divided into the outside document region pixels. 5. The image reading apparatus described. 請求項1から請求項4のいずれか1項に記載の画像読取装置と、
前記画像読取装置により得られる複数の前記第1画像データ列に応じた画像を記録シートに形成する画像形成装置と、を備える画像処理装置。
An image reading apparatus according to any one of claims 1 to 4,
An image processing apparatus comprising: an image forming apparatus that forms, on a recording sheet, images corresponding to the plurality of first image data sequences obtained by the image reading apparatus.
透明の原稿台上に載置された原稿に向けて光を照射する発光部と、
前記原稿台上における主走査方向に沿う線状領域からの放出光の光量を画素ごとに検出しつつ前記主走査方向に直交する副走査方向に沿って前記原稿台上を走査することによって前記線状領域の各画素についての検出光量に相当する画像データ列を順次出力する画像読取処理を実行可能な画像走査部と、を備える画像読取装置の制御方法であって、
前記発光部の状態を予め定められた基準光量で発光する第1状態とそれとは異なる第2状態とに交互に切り替える工程と、
前記発光部の状態の交互切り替えと並行して前記画像走査部に前記画像読取処理を実行させる工程と、
前記発光部の状態の交互切り替えおよび前記画像読取処理が行われているときに、前記発光部の前記第1状態に対応する前記画像データ列である第1画像データ列が得られるごとに、前記第1画像データ列が予め定められた条件を満たすか否かに応じて前記発光部の次の前記第2状態を消灯状態および前記第1状態よりも大きな光量で発光する増光状態のいずれにするかを選択する工程と、
前記発光部の状態の切り替わり周期ごとに、前記第1画像データ列および前記発光部の前記第2状態に対応する第2画像データ列を比較し、前記第1画像データ列および前記第2画像データ列における相互に対応する前記画素のデータの差分によって前記画素各々を原稿領域画素と原稿外領域画素とに区分する工程と、
前記発光部の状態の切り替わり周期ごとに、前記第1画像データ列各々における前記原稿外領域画素に区分された前記画素のデータ各々を一の背景データに置換する工程と、を含む画像読取装置の制御方法。
A light emitting unit that emits light toward a document placed on a transparent document table;
The line is obtained by scanning the document table along the sub-scanning direction orthogonal to the main scanning direction while detecting the amount of light emitted from the linear region along the main scanning direction on the document table for each pixel. An image scanning unit capable of executing an image reading process for sequentially outputting an image data sequence corresponding to a detected light amount for each pixel in a region,
A step of alternately switching the state of the light emitting unit between a first state in which light is emitted with a predetermined reference light amount and a second state different from the first state;
Causing the image scanning unit to execute the image reading process in parallel with the alternate switching of the state of the light emitting unit;
Each time the first image data sequence that is the image data sequence corresponding to the first state of the light emitting unit is obtained when the state switching of the light emitting unit and the image reading process are being performed, Depending on whether or not the first image data string satisfies a predetermined condition, the second state next to the light-emitting unit is set to either a light-off state or a light-intensifying state in which light is emitted with a larger amount of light than the first state. A process of selecting
In every cycle switching of the state of the light emitting portion, comparing the second image data string corresponding to the second state of the first image data stream and the light emitting portion, wherein the first image data stream and the second image data Separating each of the pixels into a document area pixel and a document outside area pixel according to a difference in data of the pixels corresponding to each other in a column;
A step of replacing each pixel data segmented into the non-document area pixels in each of the first image data strings with one background data for each switching period of the state of the light emitting unit. Control method.
JP2015071035A 2015-03-31 2015-03-31 Image reading apparatus, image processing apparatus, and image reading apparatus control method Expired - Fee Related JP6369371B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015071035A JP6369371B2 (en) 2015-03-31 2015-03-31 Image reading apparatus, image processing apparatus, and image reading apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015071035A JP6369371B2 (en) 2015-03-31 2015-03-31 Image reading apparatus, image processing apparatus, and image reading apparatus control method

Publications (2)

Publication Number Publication Date
JP2016192648A JP2016192648A (en) 2016-11-10
JP6369371B2 true JP6369371B2 (en) 2018-08-08

Family

ID=57246744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015071035A Expired - Fee Related JP6369371B2 (en) 2015-03-31 2015-03-31 Image reading apparatus, image processing apparatus, and image reading apparatus control method

Country Status (1)

Country Link
JP (1) JP6369371B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62144462A (en) * 1985-12-19 1987-06-27 Canon Inc Image signal processor
JP2000138798A (en) * 1998-11-04 2000-05-16 Mita Ind Co Ltd Document size detecting device
JP2007124319A (en) * 2005-10-28 2007-05-17 Ricoh Co Ltd Image reader
JP2008228146A (en) * 2007-03-15 2008-09-25 Kyocera Mita Corp Image forming apparatus
JP5784467B2 (en) * 2011-11-18 2015-09-24 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Also Published As

Publication number Publication date
JP2016192648A (en) 2016-11-10

Similar Documents

Publication Publication Date Title
US11089177B2 (en) Reading device, image forming apparatus, and image reading method
JP7115206B2 (en) Document size detection device, image reading device, image forming device, and document size detection method
JP5481436B2 (en) Image reading apparatus and image forming apparatus
US9723164B2 (en) Image reading device that determines size of document and image forming apparatus having the same
JP2008193677A (en) Image forming apparatus and method of controlling apparatus
JP2019095476A (en) Image forming apparatus and program
JP6369371B2 (en) Image reading apparatus, image processing apparatus, and image reading apparatus control method
JP6369372B2 (en) Image reading apparatus, image processing apparatus, and image reading apparatus control method
JP6314891B2 (en) Image reading apparatus, image processing apparatus, and image reading apparatus control method
JP6369373B2 (en) Image reading apparatus, image processing apparatus, and image reading apparatus control method
JP6369370B2 (en) Image reading apparatus, image processing apparatus, and image reading apparatus control method
US10291819B2 (en) Image reading device with noise removal when cover is open
JP6358190B2 (en) Image reading apparatus, image processing apparatus, and image reading apparatus control method
JP5812945B2 (en) Image reading apparatus, image forming apparatus, and external region determination method
JP6308156B2 (en) Image reading apparatus and image forming apparatus
JP7468867B2 (en) Image inspection device, image forming device, and image inspection method
JP6459996B2 (en) Image processing apparatus, image reading apparatus, and foreign object image area detection method
JP6459997B2 (en) Image processing apparatus, image reading apparatus, and foreign object image area detection method
JP2007049600A (en) Image processing apparatus, image forming apparatus, image processing method and program
JP5690769B2 (en) Image processing apparatus and image processing program
JP6780603B2 (en) Image reader and image forming device
JP6503777B2 (en) Image reading apparatus and image forming apparatus
US20010038467A1 (en) Image reading apparatus and image forming apparatus
US8937729B2 (en) Image reading apparatus, image forming apparatus, and image reading method
JP5651549B2 (en) Image reading apparatus and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180214

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180612

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180625

R150 Certificate of patent or registration of utility model

Ref document number: 6369371

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees