JP2020174241A - Image reading device and control program thereof - Google Patents
Image reading device and control program thereof Download PDFInfo
- Publication number
- JP2020174241A JP2020174241A JP2019073923A JP2019073923A JP2020174241A JP 2020174241 A JP2020174241 A JP 2020174241A JP 2019073923 A JP2019073923 A JP 2019073923A JP 2019073923 A JP2019073923 A JP 2019073923A JP 2020174241 A JP2020174241 A JP 2020174241A
- Authority
- JP
- Japan
- Prior art keywords
- image
- document
- original
- overlap
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Image Input (AREA)
- Facsimiles In General (AREA)
- Facsimile Scanning Arrangements (AREA)
Abstract
Description
本発明は、画像読取装置および画像読取装置の制御プログラムに関する。より特定的には、本発明は、利便性を向上することのできる画像読取装置および画像読取装置の制御プログラムに関する。 The present invention relates to an image reader and a control program for the image reader. More specifically, the present invention relates to an image reader and a control program for the image reader, which can improve convenience.
画像読取装置は、原稿に光を照射し、原稿の画像で反射した光を受光して画像を読み取る。近年、地球環境意識の向上、経費節約の観点、またはPC(Personal Computer)やタブレットの普及などにより、保存しておく資料を印刷物からデータに変換することで、業務効率化を図る企業が増えている。この場合、データへの変換は、画像読取装置で印刷物の画像を読み取ることにより行われる。画像形成装置の中には自動原稿送り装置(ADF(Auto Document Feeder))を搭載しているものも存在する。 The image reading device irradiates the original with light, receives the light reflected by the image of the original, and reads the image. In recent years, an increasing number of companies are trying to improve work efficiency by converting the materials to be stored from printed matter to data due to the improvement of global environmental awareness, cost saving, or the spread of PCs (Personal Computers) and tablets. There is. In this case, the conversion to data is performed by reading the image of the printed matter with an image reading device. Some image forming devices are equipped with an automatic document feeder (ADF (Auto Document Feeder)).
領収書や写真などの小さいサイズの原稿の画像を読み取る際、ユーザーは、作業の効率化のため、画像読取装置のプラテン(原稿台ガラス)に複数の原稿を配置し、画像読取装置に対して画像読取の実行指示を行う。画像読取装置はこの指示を受けると、一度の読取動作によって複数の原稿の画像を含む読取画像を生成する。 When reading an image of a small-sized document such as a receipt or a photograph, the user places a plurality of documents on the platen (platen glass) of the image reading device in order to improve work efficiency, and the image reading device is used. Gives an instruction to execute image reading. Upon receiving this instruction, the image scanning device generates a scanned image including images of a plurality of originals by one scanning operation.
特に、原稿が領収書などである場合、原稿には様々なサイズや形状のものが存在する。このため、原稿が領収書などである場合には、自動原稿送り装置を用いて原稿を通紙することにより原稿の画像を読み取ることは難しいことが多い。そこでユーザーは、画像読取装置のプラテン上に複数の原稿を配置することにより、複数の原稿の画像を含む読取画像を得る。 In particular, when the manuscript is a receipt or the like, there are various sizes and shapes of the manuscript. Therefore, when the original is a receipt or the like, it is often difficult to read the image of the original by passing the original through the automatic document feeder. Therefore, the user arranges a plurality of documents on the platen of the image reading device to obtain a scanned image including images of the plurality of documents.
なお、プラテン上に複数の原稿が配置された場合における原稿同士の重なりを検知する技術は、下記特許文献1などに開示されている。下記特許文献1には、原稿の位置検出結果が5角形以上の多角形として認識された場合、原稿が重なっているものとしてエラー表示を行い、ユーザーにプリント原稿の位置を確認するよう注意する技術が開示されている。
A technique for detecting the overlap of documents when a plurality of documents are arranged on a platen is disclosed in
図20は、プラテン上に複数の原稿MSを配置する場合の従来の問題点を説明する図である。 FIG. 20 is a diagram illustrating a conventional problem when a plurality of document MSs are arranged on a platen.
図20を参照して、プラテンへの原稿MSの配置はユーザーの手作業によって行われる。複数の原稿MSは、図20(a)に示すように、プラテン上における読取領域(画像読取装置が画像を読取可能な領域)R0内に、互いに重ならないように配置される。複数の原稿MSの合計の面積が読取領域R0の面積と同程度に大きい場合などには、図20(b)に示すように、プラテン上の原稿同士の重なり(図20(b)中領域OPで示す部分)が生じることがある。原稿同士の重なりが生じた状態で原稿の画像が読み取られた場合、重なりが生じた複数の原稿MSのうち最前面(プラテンに最も近い側)の原稿以外の原稿では、最前面の原稿の上に重なった部分の画像が読取画像から欠落する。 With reference to FIG. 20, the placement of the manuscript MS on the platen is done manually by the user. As shown in FIG. 20A, the plurality of document MSs are arranged in the reading area (area in which the image reading device can read the image) R0 on the platen so as not to overlap each other. When the total area of the plurality of document MSs is as large as the area of the reading area R0, as shown in FIG. 20 (b), the documents on the platen overlap each other (the middle area OP in FIG. 20 (b)). The part indicated by) may occur. When the image of the original is read with the originals overlapping each other, the originals other than the frontmost (closest to the platen) original among the plurality of overlapping originals MS are on the frontmost original. The image of the part overlapping with is missing from the scanned image.
特許文献1などの従来の技術では、ユーザーは、原稿同士の重なりが生じた場合、図20(c)に示すように、原稿同士が重ならないように複数の原稿MSの全てをプラテンに配置し直し、複数の原稿MSの全ての画像を画像読取装置に再度読み取らせる必要があった。しかし、複数の原稿MSの合計の面積が読取領域R0の面積と同程度に大きい場合などには、原稿同士の間隔が狭い。このため、図20(d)に示すように、原稿MSを配置し直した後も原稿同士の重なり(図20(d)中領域OPで示す部分)が再び生じるおそれがあり、利便性が低いという問題があった。
In the conventional technique such as
本発明は、上記課題を解決するためのものであり、その目的は、利便性を向上することのできる画像読取装置および画像読取装置の制御プログラムを提供することである。 The present invention is for solving the above problems, and an object of the present invention is to provide an image reading device and a control program for the image reading device, which can improve convenience.
本発明の一の局面に従う画像読取装置は、プラテン上に配置された複数の原稿の画像を含む読取画像を取得する取得手段と、読取画像に基づいて、原稿同士の重なりの発生の有無を検出する重なり検出手段と、原稿同士の重なりを重なり検出手段にて検出した場合に、重なりが生じている複数の原稿のうちプラテンに最も近い側の原稿である最前面の原稿の画像を特定する最前面特定手段と、最前面の原稿の画像を保存する保存手段と、重なりが生じている複数の原稿のうち最前面の原稿の除去を要求し、重なりが生じている複数の原稿のうち最前面の原稿以外の原稿の再配置を要求する要求手段とを備える。 The image reading device according to one aspect of the present invention detects the presence or absence of overlap between the originals based on the acquisition means for acquiring the scanned image including the images of a plurality of originals arranged on the platen and the scanned image. When the overlap detection means and the overlap detection means detect the overlap between the originals, the image of the frontmost original, which is the side closest to the platen among the plurality of overlapping originals, is specified. The foreground specifying means, the saving means for saving the image of the foreground original, and the foremost of the overlapping originals are requested to be removed from the foremost originals. It is provided with a requesting means for requesting the rearrangement of a document other than the original.
上記画像読取装置において好ましくは、プラテン上に複数の原稿が配置されていることを示す設定を受け付ける受付手段をさらに備え、受付手段にて設定を受け付けた場合に、重なり検出手段は原稿同士の重なりの発生の有無を検出する。 The image reading device preferably further includes a receiving means for receiving a setting indicating that a plurality of documents are arranged on the platen, and when the setting is received by the receiving means, the overlap detecting means overlaps the documents. Detects the presence or absence of the occurrence of.
上記画像読取装置において好ましくは、読取画像内の明度レベルの分布に基づいて、読取画像内の原稿領域であって、プラテン上に配置された複数の原稿が存在する領域である原稿領域を特定する原稿領域特定手段をさらに備え、重なり検出手段は、原稿領域の画像に基づいて、原稿同士の重なりの発生の有無を検出する。 In the image scanning device, preferably, the document region, which is the document region in the scanned image and in which a plurality of documents arranged on the platen exist, is specified based on the distribution of the brightness level in the scanned image. The document area specifying means is further provided, and the overlap detecting means detects the presence or absence of overlapping of documents based on the image of the document area.
上記画像読取装置において好ましくは、重なり検出手段は、原稿領域の輪郭から線分の方向が互いに直交している頂点を特定する第1の頂点特定手段と、第1の頂点特定手段にて特定した頂点が矩形を構成するか否かに基づいて、原稿領域における原稿同士の重なりの発生の有無を検出する頂点検出手段とを含む。 In the above image reading device, preferably, the overlap detecting means is specified by the first vertex specifying means for specifying the vertices whose line segments are orthogonal to each other from the contour of the document region and the first vertex specifying means. It includes a vertex detecting means for detecting the presence or absence of overlap between documents in the document area based on whether or not the vertices form a rectangle.
上記画像読取装置において好ましくは、最前面特定手段は、原稿領域の画像のうち第1の範囲内の明度レベルを有する画素を原稿領域の画像から除外する除外手段と、除外手段にて除外した後の新たな画像の輪郭から頂点を特定する第2の頂点特定手段と、第2の頂点特定手段にて特定した頂点が矩形を構成する場合に、新たな画像が最前面の原稿の画像であると判断する第1の最前面判断手段と、第2の頂点特定手段にて特定した頂点が矩形を構成しない場合に、新たな画像が最前面の原稿の画像でないと判断する第2の最前面判断手段とを含む。 In the above image reading device, preferably, the frontmost specifying means is an exclusion means for excluding pixels having a brightness level within the first range of the image in the document area from the image in the document area, and after exclusion by the exclusion means. When the second vertex specifying means for specifying the vertices from the outline of the new image and the vertices specified by the second vertex specifying means form a rectangle, the new image is the image of the foreground original. When the first foreground determination means for determining that and the vertex specified by the second vertex identification means do not form a rectangle, the second foreground for determining that the new image is not the image of the foreground original. Including means of judgment.
上記画像読取装置において好ましくは、除外手段は、原稿領域の画像が有する複数の明度レベルのうちピークとなる明度レベルを特定するピーク特定手段と、ピーク特定手段にて特定した明度レベルを含む第1の範囲内の明度レベルを有する画素を原稿領域の画像から除外する画素除外手段とを含む。 In the image reading device, the exclusion means preferably includes a peak specifying means for specifying a peak brightness level among a plurality of brightness levels of the image in the document region, and a first lightness level specified by the peak specifying means. Includes a pixel exclusion means that excludes pixels having a brightness level within the range of from the image in the document area.
上記画像読取装置において好ましくは、最前面特定手段は、原稿領域の輪郭から直角である頂点を特定する第3の頂点特定手段と、第3の頂点特定手段にて特定した頂点の座標に基づいて、重なりが生じている原稿の輪郭を構成する複数の頂点および線分であって、原稿領域の輪郭に含まれていない複数の頂点および線分を推定する推定手段と、推定手段にて推定した複数の線分の各々の位置での原稿領域の画像の明度レベルの変化に基づいて、推定手段にて推定した複数の線分の中から最前面の原稿の輪郭を構成する線分を特定する線分特定手段と、線分特定手段にて特定した線分で規定される矩形の領域の画像を最前面の原稿の画像として特定する画像特定手段とを含む。 In the image reading device, preferably, the foreground identification means is based on the third vertex specifying means for specifying the vertices perpendicular to the contour of the document region and the coordinates of the vertices specified by the third vertex specifying means. , Estimated by an estimation means for estimating a plurality of vertices and line segments constituting the contour of an overlapping document but not included in the contour of the document area, and an estimation means. Based on the change in the brightness level of the image of the document area at each position of the plurality of line segments, the line segment constituting the outline of the frontmost document is specified from the plurality of line segments estimated by the estimation means. It includes a line segment specifying means and an image specifying means for specifying an image of a rectangular area defined by a line segment specified by the line segment specifying means as an image of a foreground original.
上記画像読取装置において好ましくは、線分特定手段は、推定手段にて推定した複数の線分の各々について、線分の延在方向に対して垂直な方向に沿った原稿領域の画像における明度レベルが変化する位置であるエッジの有無を検出するエッジ検出手段と、推定手段にて推定した複数の線分の各々についてのエッジ検出手段の検出結果に基づいて、推定手段にて推定した複数の線分の中から最前面の原稿の輪郭を構成する線分を特定するエッジ特定手段とを含む。 In the above image reading device, preferably, the line segment identifying means indicates the brightness level in the image of the document region along the direction perpendicular to the extending direction of the line segments for each of the plurality of line segments estimated by the estimating means. A plurality of lines estimated by the estimation means based on the detection results of the edge detection means for detecting the presence or absence of the edge at the position where is changed and the edge detection means for each of the plurality of line segments estimated by the estimation means. It includes an edge specifying means for specifying a line segment constituting the outline of the frontmost document from among the minutes.
上記画像読取装置において好ましくは、要求手段は、主走査方向または副走査方向を基準線として原稿領域の画像を反転させる反転手段と、反転手段にて反転させた後の画像において、最前面の原稿の画像を除去対象の原稿として特定し、反転手段にて反転させた後の最前面の原稿の画像以外の画像を再配置対象の原稿として特定する再配置特定手段と、除去対象の原稿の除去および再配置対象の原稿の再配置を要求する再配置要求手段とを含む。 In the above image reading device, preferably, the requesting means is a reversing means for reversing the image of the document area with the main scanning direction or the sub-scanning direction as a reference line, and the frontmost document in the image after being reversed by the reversing means. The rearrangement specifying means for specifying the image other than the image of the foreground original after reversing by the reversing means as the original to be removed and the removal of the original to be removed. And a rearrangement requesting means for requesting the rearrangement of the original to be rearranged.
上記画像読取装置において好ましくは、再配置要求手段は、反転手段にて反転させた後の原稿領域の画像における除去対象の原稿および再配置対象の原稿を互いに異なる態様で表示することにより、除去対象の原稿の除去および再配置対象の原稿の再配置を要求する。 In the above image reading device, preferably, the rearrangement requesting means displays the original to be removed and the original to be rearranged in the image of the original area after being inverted by the reversing means in different modes. Request the removal of the original and the rearrangement of the original to be rearranged.
上記画像読取装置において好ましくは、ヒンジを中心として回動可能であり、プラテンを露出する開いた状態と、プラテンを覆う閉じた状態とを採ることが可能な原稿押さえをさらに備える。 The image reader preferably further includes a document retainer that is rotatable about a hinge and is capable of taking an open state that exposes the platen and a closed state that covers the platen.
本発明の他の局面に従う画像読取装置の制御プログラムは、プラテン上に配置された複数の原稿の画像を含む読取画像を取得する取得ステップと、読取画像に基づいて、原稿同士の重なりを検出する重なり検出ステップと、原稿同士の重なりを重なり検出ステップにて検出した場合に、重なりが生じている複数の原稿のうちプラテンに最も近い側の原稿である最前面の原稿の画像を特定する最前面特定ステップと、最前面の原稿の画像を保存する保存ステップと、重なりが生じている複数の原稿のうち最前面の原稿の除去を要求し、重なりが生じている複数の原稿のうち最前面の原稿以外の原稿の再配置を要求する要求ステップとをコンピューターに実行させる。 The control program of the image reader according to another aspect of the present invention detects the overlap between the originals based on the acquisition step of acquiring the scanned image including the images of a plurality of originals arranged on the platen and the scanned image. When the overlap detection step and the overlap detection step detect the overlap between documents, the frontmost image of the foreground document, which is the document closest to the platen among the plurality of documents with overlap, is specified. A specific step, a save step to save the image of the foreground original, and a request to remove the foremost original among the overlapping originals, and the foremost of the overlapping originals. Have the computer perform a request step that requests the rearrangement of the manuscript other than the manuscript.
本発明によれば、利便性を向上することのできる画像読取装置および画像読取装置の制御プログラムを提供することができる。 According to the present invention, it is possible to provide an image reading device and a control program for the image reading device, which can improve convenience.
以下、本発明の一実施の形態について、図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
以下の実施の形態では、画像読取装置がMFP(Multifunction Peripheral)である場合について説明する。MFPは、スキャナー機能、ファクシミリ機能、複写機能、プリンターとしての機能、データ通信機能、およびサーバー機能を備えた電子写真式の画像形成装置である。画像読取装置はMFPである場合の他、スキャナーまたは複写機などであってもよい。 In the following embodiment, a case where the image reading device is an MFP (Multifunction Peripheral) will be described. The MFP is an electrophotographic image forming apparatus having a scanner function, a facsimile function, a copying function, a printer function, a data communication function, and a server function. The image reading device may be a scanner, a copying machine, or the like, as well as an MFP.
[MFPの構成] [MFP configuration]
始めに、本実施の形態におけるMFP1の構成について説明する。
First, the configuration of the
図1は、本発明の一実施の形態におけるMFP1の構成を模式的に示す断面図である。
FIG. 1 is a cross-sectional view schematically showing the configuration of the
図1を参照して、本実施の形態におけるMFP1(画像読取装置の一例)は、自動原稿送り装置10(原稿押さえの一例)と、原稿読取部20(取得手段の一例)と、画像形成部30と、自動両面ユニット40と、給紙部50と、給紙キャビネット60と、操作パネル70(受付手段の一例)と、ファクシミリユニット90と、通信インターフェース(I/F)ユニット91と、制御部100と、HDD(Hard Disk Drive)120などを備えている。
With reference to FIG. 1, the MFP 1 (an example of an image reading device) in the present embodiment includes an automatic document feeding device 10 (an example of a document holder), a document reading unit 20 (an example of an acquisition means), and an image forming unit. 30, automatic double-
自動原稿送り装置10は、原稿給紙トレイ12上にセットされた複数の原稿を1枚ずつ自動的に給紙する。自動原稿送り装置10は、給紙した原稿を、原稿読取部20のプラテン(プラテンガラス)20a(プラテンの一例)上に設定された所定の画像読取位置に搬送し、その後、原稿排紙トレイ13上に排出する。
The
自動原稿送り装置10は、原稿セットセンサー11を含んでいる。原稿セットセンサー11は、公知のタクトスイッチで構成されている。原稿セットセンサー11は、原稿給紙トレイ12に原稿がセットされたか否かを検出し、検出結果を信号として制御部100に送信する。自動原稿送り装置10は開閉可能であり、プラテン20a上に原稿が配置された場合の原稿押さえとしても機能する。
The
原稿読取部20は、自動原稿送り装置10によって搬送された原稿の画像を画像読取位置で読み取る。また原稿読取部20は、プラテン20a上に配置された原稿の画像を読み取る。原稿読取部20は、画像読取位置に搬送された原稿の大きさなどに応じて原稿の画像を走査し、その入射光を電気信号に変換して、読取データとして制御部100に送る。
The
原稿読取部20は、プラテン20aと、IRモジュール20bと、駆動伝達部20cと、IRモータ20dなどを含んでいる。
The
IRモジュール20bは、IRモータ20dおよびベルトやワイヤなどの駆動伝達部20cにより、プラテン20aに沿って図1中横方向に移動(走査)可能である。またIRモジュール20bは、原稿に光を照射するためのランプ20eと、原稿からの反射光を受光するイメージセンサ20fとを有している。ランプ20eはプラテン20a上に配置された原稿を走査し、イメージセンサ20fは原稿からの反射光を受光する。これによりIRモジュール20bは、原稿の画像を読み取ってその画像データを取得する。
The
原稿読取部20は、装置持ち上げセンサー21を含んでいる。装置持ち上げセンサー21は公知の磁気センサーで構成されている。装置持ち上げセンサー21は、自動原稿送り装置10が開かれたか否かを検出し(プラテン20aが露出されたか否かを検出し)、その結果を信号として制御部100に送信する。
The
画像形成部30は、電子写真方式により用紙に画像を形成する。画像形成部30は、感光体ドラム31a、31b、31c、および31dと、露光走査ユニット32a、32b、32c、および32dと、転写ベルト33と、これらの部材を保護するための前扉カバー(図示無し)と、前扉センサー34とを含んでいる。
The
感光体ドラム31a、31b、31c、および31dの各々は、Y(イエロー)、M(マゼンタ)、C(シアン)、およびK(ブラック)の各色に対応している。同様に、露光走査ユニット32a、32b、32c、および32dの各々は、YMCKの各色に対応している。
Each of the
露光走査ユニット32a、32b、32c、および32dの各々は、制御部100から出力される駆動信号に基づくレーザー光を生成し、生成したレーザー光を感光体ドラム31a、31b、31c、および31dの各々の表面に露光走査する。これにより、感光体ドラム31a、31b、31c、および31dの各々の表面の表面には静電潜像が形成される。その後、感光体ドラム31a、31b、31c、および31dの各々の表面の静電潜像はトナーにより現像されてトナー像となる。感光体ドラム31a、31b、31c、および31dの各々の表面に形成されたトナー像は、互いに重ね合わされるように転写ベルト33上に転写される。転写ベルト33上に重ね合わされたトナー像は、画像形成位置35で、給紙部50によって搬送される用紙に転写される。
Each of the
前扉センサー34はタクトスイッチで構成されている。前扉センサー34は、前扉カバーが開放されたか否かを検出し、検出結果を信号として制御部100に送信する。
The
自動両面ユニット40は、画像形成位置35で片面に画像が形成された後の用紙を、通紙経路上で一旦スイッチバックさせ、画像形成位置35に再度給紙する。これにより、用紙に対する両面印刷が可能となる。
The automatic double-
給紙部50は、画像形成部30に用紙を搬送する。給紙部50は、用紙を収納する給紙カセット51および53と、給紙カセット51および53の各々に収容された用紙を繰り出すためのピックアップローラー52および54の各々とを含んでいる。
The
給紙キャビネット60は、給紙部50を経由して画像形成部30に用紙を搬送する。給紙キャビネット60は、用紙を収納する給紙カセット61および63と、給紙カセット61および63の各々に収容された用紙を繰り出すためのピックアップローラー62および64の各々とを含んでいる。
The
操作パネル70は、公知のユーザインターフェースであり、表示部71と、タッチパネル入力部72と、キー入力部73と、副電源スイッチ80とを含んでいる。表示部71は各種情報を表示する。タッチパネル入力部72は、表示部71への各種入力(操作)を検出する。キー入力部73は、各種ハードウェアキーの押下を検出する。副電源スイッチ80は、ユーザーが省電力動作モードであるスリープモードへの移行を直接指示するためのスイッチである。
The
ファクシミリユニット90は、公衆電話回線に接続しており、画像データなどの各種データの送受信を行う。
The
制御部100は、MFP1全体を制御する。コピージョブを実行する場合、制御部100は、原稿読取部20から受信した読取データに対してシェーディング補正などの各種データ処理を施す。制御部100は、用紙の供給と同期して、データ処理後の読取データを主走査ラインごとに読み出し、露光走査ユニット32a、32b、32c、および32dの各々のレーザダイオードを駆動するための信号を出力する。
The
通信インターフェースユニット91は、LANなどの外部ネットワークに接続されたPC(Personal Computer)などの機器や、USB端子を通じて接続された機器との通信を行うためのインターフェースである。
The
HDD120は、制御部100から送信される画像データなどの各種情報を記憶する。
The
図2は、本発明の一実施の形態における制御部100の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a
図2を参照して、制御部100は、CPU(Central Processing Unit)101と、ROM(Read Only Memory)102と、RAM(Random Access Memory)103と、原稿領域特定部111(原稿領域特定手段の一例)と、原稿重なり検出部112(重なり検出手段の一例)と、最前面画像特定部113(最前面特定手段の一例)と、最前面画像保存部114(保存手段の一例)と、再配置通知部115(要求手段の一例)とを含んでいる。
With reference to FIG. 2, the
CPU101は、制御プログラムに従って動作し、MFP1全体を制御する。
The
ROM102は、制御プログラムを記憶している。
The
RAM103は、CPU101の作業用のメモリであり、各種データを一時的に保存する。
The
CPU101は、操作パネル70を通じてユーザーからの画像読取の実行指示(スキャン指示)を受け付けた場合に、原稿読取部20にて、プラテン20a上に配置された原稿の画像を読み取り、読取画像(読取領域の画像)を生成する。
When the
原稿領域特定部111、原稿重なり検出部112、最前面画像特定部113、最前面画像保存部114、および再配置通知部115の各々は、CPU101が、ROM102に記憶されている制御プログラムをRAM103にロードして実行することにより実現される機能的構成である。
In each of the document
原稿領域特定部111は、読取画像内の明度レベルの分布(読取領域内の背景下地と階調データとの明度レベルの差)に基づいて、読取画像内の原稿領域であって、プラテン20a上に配置された複数の原稿が存在する領域である原稿領域を特定する。
The document
原稿重なり検出部112は、読取画像(本実施の形態では原稿領域の画像)に基づいて、原稿同士の重なりの発生の有無を検出する。原稿重なり検出部112は、原稿領域の輪郭における線分の方向が直交する頂点を特定し、特定した頂点に基づいて原稿同士の重なりの発生の有無を検出する。
The document overlap
最前面画像特定部113は、原稿同士の重なりを重なり検出部112にて検出した場合に、重なりが生じている複数の原稿のうちプラテン20aに最も近い側の原稿である最前面の原稿の画像を特定する。
The foreground
最前面画像保存部114は、最前面画像特定部113にて特定した最前面の原稿の画像をHDD120に保存する。
The foreground
再配置通知部115は、プラテン20a上に配置された複数の原稿に原稿同士の重なりが生じている場合に、原稿同士の重なりの発生を通知する。また、重なりが生じている複数の原稿のうち最前面の原稿の除去を要求し、最前面の原稿以外の原稿の再配置を要求する。再配置通知部115は、原稿の除去および再配置に関する情報を含む画面を操作パネル70に表示することにより、ユーザーに通知する。
The
[原稿押さえを備えた画像読取装置に特有の問題] [Problems peculiar to image readers equipped with a document holder]
続いて、原稿押さえを備えた画像読取装置に特有の問題について説明する。 Next, a problem peculiar to an image reader provided with a document retainer will be described.
図3および図4は、原稿押さえを備えた画像読取装置に特有の問題を説明する図である。 3 and 4 are diagrams illustrating a problem peculiar to an image reader provided with a document retainer.
図3を参照して、原稿押さえ1010は、本実施の形態の自動原稿送り装置10に相当する部材である。原稿押さえ1010は、ヒンジ1010aを中心として回動可能である。原稿押さえ1010は、プラテン1020aを露出する開いた状態と、プラテン1020aを覆う閉じた状態とを採ることができる。
With reference to FIG. 3, the
ユーザーは、複数の原稿(領収書やレシートなど)MSの読取画像を得る際、図3(a)に示すように、原稿押さえ1010を開いた状態でプラテン1020a上に複数の原稿MSを配置する。そしてユーザーは、矢印Gで示すように原稿押さえ1010を閉じて、画像読取の実行指示を行う。この時、複数の原稿MSは、プラテン1020a上における読取領域内に、互いに重ならないように配置される。
When a user obtains a scanned image of a plurality of manuscripts (receipts, receipts, etc.) MS, as shown in FIG. 3A, the user arranges the plurality of manuscript MSs on the
ここで、原稿MSに折れやカールが生じている場合には、その原稿MSは原稿押さえ1010に上から押されて伸びる。その結果、図3(b)に示すように複数の原稿MS同士に重なりが発生しやすい。
Here, when the document MS is folded or curled, the document MS is pushed by the
図4を参照して、また、図4(a)において矢印Gで示すように原稿押さえ1010を閉じる際には、原稿押さえ1010とプラテン1020aとの間に気流(図4(a)中点線の矢印)が発生する。この気流により複数の原稿MSの各々は飛ばされ、ヒンジ1010aから離れる方向に移動する。複数の原稿MSの各々の移動量は気流の大きさや方向によって互いに異なるため、図4(b)に示すように複数の原稿MS同士に重なりが発生しやすい。
Refer to FIG. 4, and when closing the
上述のように、原稿押さえを備えた画像読取装置では、プラテン1020a上に複数の原稿が配置された場合に、原稿同士の重なりが特に生じやすい。なお、本発明において原稿押さえは必須ではなく省略されてもよい。
As described above, in the image reading device provided with the document retainer, when a plurality of documents are arranged on the
[MFPの動作の概要] [Overview of MFP operation]
続いて、MFP1の動作の概要について説明する。
Subsequently, an outline of the operation of the
図5は、本発明の一実施の形態におけるMFP1の動作を示すフローチャートである。
FIG. 5 is a flowchart showing the operation of the
図5を参照して、ユーザーは、プラテン20a上に原稿を配置した状態で、操作パネル70に表示された設定画面を通じて、画像読取に関する各種設定および画像読取の実行指示を行う。制御部100は、操作パネル70を通じて画像読取の実行指示を受け付けると(S1)、複数の原稿の画像を読み取る設定(プラテン20a上に複数の原稿が配置されていることを示す設定)が実行指示に含まれているか否かを判別する(S2)。
With reference to FIG. 5, the user makes various settings related to image reading and gives instructions for executing image reading through the setting screen displayed on the
ステップS2において、複数の原稿の画像を読み取る設定が実行指示に含まれていないと判別した場合(S2でNO)、制御部100は、通常の読み取り動作を行う。すなわち、制御部100は、原稿の画像を読み取り(S10)、読み取った画像をHDD120に保存する(S11)。その後、制御部100は処理を終了する。
In step S2, when it is determined that the setting for reading the images of a plurality of documents is not included in the execution instruction (NO in S2), the
ステップS2において、複数の原稿の画像を読み取る設定が実行指示に含まれていると判別した場合(S2でYES)、制御部100は、プラテン20a上に配置された複数の原稿の画像を含む読取画像を取得し(S3)、読取画像から原稿領域を特定し(S4)、原稿の重なりの発生の有無を検出する(S5)。続いて制御部100は、ステップS5の処理で原稿の重なりの発生を検出したか否かを判別する(S6)。
When it is determined in step S2 that the execution instruction includes the setting for reading the images of a plurality of documents (YES in S2), the
ステップS6において、原稿の重なりの発生を検出しないと判別した場合(S6でNO)、プラテン20a上に配置された複数の原稿に、原稿の重なりが生じていない状態にある。この場合、制御部100は、読み取った画像をHDD120に保存し(S11)、処理を終了する。
When it is determined in step S6 that the occurrence of overlapping of the originals is not detected (NO in S6), the plurality of originals arranged on the
ステップS6において、原稿の重なりの発生を検出したと判別した場合(S6でYES)、プラテン20a上に配置された複数の原稿に、原稿の重なりが生じている状態にある。この場合、制御部100は、複数の原稿のうち最前面の原稿の画像を特定し(S7)、特定した最前面の原稿の画像をHDD120に保存する(S8)。続いて制御部100は、原稿同士の重なりの発生を通知し(S9)、処理を終了する。
When it is determined in step S6 that the occurrence of overlapping of the originals is detected (YES in S6), the plurality of originals arranged on the
[原稿領域を特定する処理] [Process to specify the original area]
図6は、図5の原稿領域を特定する処理(S4)を説明する図である。なお図6および図10では、明度レベルの違いをハッチングの違いで示している。 FIG. 6 is a diagram illustrating a process (S4) for specifying the document area of FIG. Note that in FIGS. 6 and 10, the difference in brightness level is shown by the difference in hatching.
図6を参照して、本実施の形態では、読取領域(原稿読取部20が画像を読取可能な領域)R0の画像である読取画像の明度レベルが図6(a)に示すものである場合を想定する。すなわち、図6(a)に示す読取画像は、相対的に明度レベルが高い領域R1の画像と、相対的に明度レベルが低い領域R2の画像とを含んでいる。領域R1は、プラテン20a上に配置された原稿が存在しない領域である非原稿領域に相当する。領域R2は、原稿が配置されている領域である原稿領域に相当する。プラテン20a上に配置された複数の原稿の画像は、原稿領域の画像(原稿画像と記すことがある)である領域R2の画像に相当する。
With reference to FIG. 6, in the present embodiment, the brightness level of the scanned image which is the image of the scanning area (the area where the
原稿領域を特定する処理(S4)において、制御部100は、図6(b)に示すヒストグラムを作成する。このヒストグラムは、読取画像内の各画素の明度レベルの分布を示すヒストグラムである。明度レベルは、イメージセンサ20fを構成するR(レッド)、G(グリーン)、およびB(ブルー)の各色用の受光センサーの受光強度を示す出力値を、所定の式に代入することにより算出される。
In the process of specifying the document area (S4), the
読取画像内に存在する明度レベルを示すグラフを図6(c)に示す。 A graph showing the brightness level existing in the scanned image is shown in FIG. 6 (c).
図6(b)に示すヒストグラムおよび図6(c)に示すグラフから明らかであるように、読取画像内には複数の明度レベルの極大値が存在する。読取画像内の複数の明度レベルの極大値のうち最も高い明度レベルLV1は、非原稿領域である領域R1の画像の明度レベルである。領域R1の画像の明度レベルは、自動原稿送り装置10の下面(白板)の明度レベルに相当する。一方、読取画像内の複数の明度レベルの極大値のうち明度レベルLV1以外の明度レベルLV2は、原稿領域である領域R2の画像の明度レベルである。領域R2には複数の原稿が存在しており、複数の原稿の各々は互いに異なる紙質(反射率)を有している。このため、領域R2の画像の明度レベルLV2は複数である。
As is clear from the histogram shown in FIG. 6B and the graph shown in FIG. 6C, there are a plurality of maximum brightness levels in the scanned image. The highest brightness level LV1 among the maximum values of the plurality of brightness levels in the scanned image is the brightness level of the image in the region R1 which is the non-original region. The brightness level of the image in the region R1 corresponds to the brightness level of the lower surface (white plate) of the
制御部100は、作成したヒストグラムにおける複数の明度レベルの極大値のうち最も高い明度レベルLV1を、非原稿領域の画像の明度レベルとして検出する。制御部100は、非原稿領域の画像の明度レベルとして既知の値を保持している場合、制御部100は、非原稿領域の画像の明度レベルとして保持している値を検出してもよい。
The
続いて制御部100は、作成したヒストグラムにおける複数の明度レベルの極大値のうち二番目に高い明度レベルLV2aと最も高い明度レベルLV1との間の任意の値(たとえば明度レベルLV2aと明度レベルLV1との中間値)を閾値THとして設定し、ヒストグラムにおける画素数の複数の明度レベルの極大値のうち閾値THよりも低い複数の明度レベルLV2を、原稿領域の画像の明度レベルとして検出する。
Subsequently, the
次に制御部100は、図6(d)に示すように、閾値TH以下の明度レベルの画像の領域(つまり、明度レベルLV2の画像の領域R2)を原稿領域として抽出し、図6(e)に示すように、抽出した原稿領域の輪郭(つまり、領域R2の輪郭LN)を抽出する。
Next, as shown in FIG. 6D, the
なお、制御部100は、閾値THを基準として明度レベルによって読取画像を2値化し、2値化後の読取画像における変化量の大きい位置を原稿領域の輪郭として抽出してもよい。
The
図7は、図5の原稿領域を特定する処理(S4)のサブルーチンである。 FIG. 7 is a subroutine of the process (S4) for specifying the document area of FIG.
図7を参照して、原稿領域を特定する処理(S4)において、制御部100は、読取画像内における非原稿領域の画像の明度レベル(第1の下地レベル)を検出し(S401)、原稿領域の画像の明度レベル(第2の下地レベル)を検出する(S403)。
In the process of identifying the document area (S4) with reference to FIG. 7, the
ステップS403の処理に続いて、制御部100は、非原稿領域の画像の明度レベルおよび原稿領域の画像の明度レベルに基づいて、原稿領域を抽出し(S405)、原稿領域の輪郭を抽出し(S407)、リターンする。
Following the process of step S403, the
[原稿の重なりを検出する処理] [Process to detect overlapping of originals]
図8は、図5の原稿の重なりを検出する処理(S5)を説明する図である。 FIG. 8 is a diagram illustrating a process (S5) of detecting the overlap of the documents of FIG.
図8を参照して、原稿の重なりを検出する処理(S5)において、制御部100は、原稿領域の輪郭から一つの閉領域を抽出する。一つの閉領域を抽出するのは、複数の原稿領域を抽出した場合に、それぞれの原稿領域における原稿の重なりの発生の有無を検出するためである。本実施の形態の原稿領域である領域R2の輪郭LNは1つのみの閉領域を含んでいるため、ここでは輪郭LN自体が抽出される。
In the process of detecting the overlap of documents (S5) with reference to FIG. 8, the
次に制御部100は、抽出した閉領域における、頂点を構成する線分の方向が互いに直交している頂点を特定する。輪郭LNは、8つの頂点CR1、CR2、CR3、CR4、CR5、CR6、CR7、およびCR8を含んでいる。これらの頂点のうち頂点CR3およびCR7は、頂点を構成する線分の方向が互いに直交していない。したがって、輪郭LNからは、頂点CR1、CR2、CR4、CR5、CR6、およびCR8が特定される。
Next, the
次に制御部100は、特定した頂点が矩形を構成するか否かを判別する。具体的には、制御部100は、特定した頂点が4個でない場合には、特定した頂点が矩形を構成しないと判別する。また制御部100は、特定した頂点が4個である場合には、任意の頂点における互いに直交する2つの線分の延在方向をそれぞれx軸およびy軸とした場合の各頂点の座標(x,y)を算出する。そして、頂点の座標のx座標と同一のx座標を有する他の頂点が存在しない場合、または頂点の座標のy座標と同一のy座標を有する他の頂点が存在しない場合には、特定した頂点が矩形を構成しないと判別する。制御部100は、頂点の座標のx座標と同一のx座標を有する他の頂点が存在し、頂点の座標のy座標と同一のy座標を有する他の頂点が存在する場合には、特定した頂点が矩形を構成すると判別する。
Next, the
制御部100は、特定した頂点が矩形を構成すると判別した場合、抽出した閉領域から原稿の重なりの発生を検出しない。一方、制御部100は、特定した頂点が矩形を構成しないと判別した場合、抽出した閉領域から原稿の重なりの発生を検出する。輪郭LNは、特定した頂点が8個であるため、特定した頂点が矩形を構成しないと判別され、原稿の重なりの発生が検出される。
When the
図9は、図5の原稿の重なりを検出する処理(S5)のサブルーチンである。 FIG. 9 is a subroutine of the process (S5) for detecting the overlap of the documents of FIG.
図9を参照して、原稿の重なりを検出する処理(S5)において、制御部100は、原稿領域の輪郭から一つの閉領域を抽出する(S501)。次に制御部100は、抽出した閉領域における、頂点を構成する線分の方向が互いに直交する頂点を特定する(S503)。次に制御部100は、特定した頂点が矩形を構成するか否かを判別する(S505)。
In the process of detecting the overlap of documents (S5) with reference to FIG. 9, the
ステップS505において、特定した頂点が矩形を構成すると判別した場合(S505でYES)、制御部100は、抽出した閉領域から原稿の重なりを検出し(S507)、ステップS511の処理へ進む。
If it is determined in step S505 that the specified vertices form a rectangle (YES in S505), the
ステップS505において、特定した頂点が矩形を構成しないと判別した場合(S505でNO)、制御部100は、抽出した閉領域から原稿の重なりを検出せず(S509)、ステップS511の処理へ進む。
If it is determined in step S505 that the specified vertices do not form a rectangle (NO in S505), the
ステップS511において、制御部100は、原稿領域の輪郭に含まれる全ての閉領域を抽出したか否かを判別する(S511)。
In step S511, the
ステップS511において、原稿領域の輪郭に含まれる全ての閉領域を抽出していないと判別した場合(S511でNO)、制御部100はステップS501の処理へ進み、未抽出の閉領域を抽出する。
If it is determined in step S511 that all the closed areas included in the contour of the document area have not been extracted (NO in S511), the
ステップS511において、原稿領域の輪郭に含まれる全ての閉領域を抽出したと判別した場合(S511でYES)、制御部100はリターンする。
When it is determined in step S511 that all the closed areas included in the contour of the document area have been extracted (YES in S511), the
[最前面画像を特定する処理] [Process to identify the foreground image]
図10は、図5の最前面画像を特定する処理(S7)を説明する図である。 FIG. 10 is a diagram illustrating a process (S7) for specifying the foreground image of FIG.
図10を参照して、最前面画像を特定する処理(S7)において、制御部100は、原稿領域の輪郭から、原稿の重なりがある閉領域(ここでは輪郭LN)を抽出し、図10(a)に示すようにヒストグラムを作成する。このヒストグラムは、閉領域の画像内の各画素(ここでは領域R2の画像内の各画素)の明度レベルの分布を示すヒストグラムである。
In the process of identifying the foreground image (S7) with reference to FIG. 10, the
上述のように、原稿領域である領域R2の画像内の各画素の明度レベルは複数である。このため、ヒストグラムは、複数(ここでは2つ)のピークP1およびP2を含んでいる。ここでは、図10(b)に示すように、領域R2において、領域R21の画像の原稿は最前面に存在しており、領域R22の画像の原稿の一部は領域R21の原稿の上に重なっているものとする。ピークP1は、領域R21の画像内の各画素の明度レベルによるピークである。ピークP2は、図10(b)に示す領域R22の画像内の各画素の明度レベルによるピークである。領域R21に存在する原稿の紙質と領域R22に存在する原稿の紙質との違いなどに起因して、領域R21の画像内の各画素の明度レベルと領域R22の画像内の各画素の明度レベルとは互いに異なっている。 As described above, there are a plurality of brightness levels of each pixel in the image of the region R2 which is the original region. Therefore, the histogram includes a plurality of (here, two) peaks P1 and P2. Here, as shown in FIG. 10B, in the region R2, the original of the image of the region R21 exists in the foreground, and a part of the original of the image of the region R22 overlaps the original of the region R21. It is assumed that The peak P1 is a peak according to the brightness level of each pixel in the image of the region R21. The peak P2 is a peak according to the brightness level of each pixel in the image of the region R22 shown in FIG. 10 (b). The brightness level of each pixel in the image of the area R21 and the brightness level of each pixel in the image of the area R22 due to the difference between the paper quality of the document existing in the area R21 and the paper quality of the document existing in the area R22. Are different from each other.
次に制御部100は、ヒストグラムで現れる複数のピークP1およびP2を特定し、ピークP1およびP2のうち任意のピークP1の明度レベルLV21を特定する。次に制御部100は、明度レベルLV21を含む所定の範囲(ここでは明度レベルLV21A以上明度レベルLV21B以下の範囲)の明度レベルを有する画素(つまり領域R21内の画素)を特定し、図10(c)に示すように、領域R2の画像から特定した画素を除外する。その結果、除去後の画像は領域R22の画像となる。
Next, the
次に制御部100は、除去後の画像である領域R22の画像の輪郭LN222の頂点CRを特定し、特定した頂点CRが矩形を構成するか否かを判別する。特定した頂点が矩形を構成しないと判別した場合、制御部100は、除去後の画像は最前面の原稿の画像として特定せず、除去後の画像を最前面の原稿の画像として保存しない。一方、特定した頂点が矩形を構成すると判別した場合、制御部100は、除去後の画像は最前面の原稿の画像として特定し、除去後の画像を最前面の原稿の画像として保存する。ここでは、領域R22の画像の輪郭LN222から特定された頂点CRは5個であり、矩形を構成しない。このため、除去後の画像は最前面の原稿の画像として特定されず、領域R22の画像は保存されない。
Next, the
次に制御部100は、ヒストグラムにおける複数のピークP1およびP2のうち別のピークP2における明度レベルLV22を特定する。次に制御部100は、明度レベルLV22を含む所定の範囲(ここでは明度レベルLV22A以上明度レベルLV22B以下の範囲)の明度レベルを有する画素(つまり領域R22の画像内の画素)を特定し、図10(d)に示すように、領域R2の画像から特定した画素を除外する。その結果、除去後の画像は領域R21の画像となる。
Next, the
次に制御部100は、除去後の画像である領域R21の画像の輪郭LN221の4つの頂点CRを特定し、特定した頂点が矩形を構成すると判別する。制御部100は、除去後の画像である領域R21の画像を最前面の原稿の画像として特定する。この場合、制御部100は、領域R2の画像では隠れていた線分(輪郭LN221を構成する線分のうち輪郭LNに含まれていなかった線分)を輪郭LNに追加する。制御部100は、領域R21の画像を最前面の原稿の画像として保存する。
Next, the
図11は、図5の最前面画像を特定する処理(S7)のサブルーチンである。 FIG. 11 is a subroutine of the process (S7) for specifying the foreground image of FIG.
図11を参照して、最前面画像を特定する処理(S7)において、制御部100は、原稿領域の輪郭から、図9のステップS507で原稿の重なりを検出した閉領域を抽出し(S701)、抽出した閉領域の画像内の各画素の明度レベルの分布を示すヒストグラムを作成する(S703)。次に制御部100は、作成したヒストグラムで現れるピークの明度レベルを特定し(S705)、特定した明度レベルを含む所定の範囲内の明度レベルを有する画素を特定する(S707)。続いて制御部100は、抽出した閉領域の画像から特定した画素を除外し(S709)、除去後の画像の輪郭の頂点を特定する(S711)。次に制御部100は、特定した頂点が矩形を構成するか否かを判別する(S713)。
In the process of identifying the foreground image (S7) with reference to FIG. 11, the
ステップS713において、特定した頂点が矩形を構成しないと判別した場合(S713でNO)、制御部100は、除去後の画像を最前面の原稿の画像として特定せず(S7715)、ヒストグラムにおける全てのピークを特定したか否かを判別する(S717)。
When it is determined in step S713 that the specified vertices do not form a rectangle (NO in S713), the
ステップS717において、ヒストグラムにおける全てのピークを特定しないと判別した場合(S717でNO)、制御部100は、ステップS705の処理へ進み、作成したヒストグラムで現れる別のピークの明度レベルを特定する。
If it is determined in step S717 that all peaks in the histogram are not specified (NO in S717), the
ステップS717において、ヒストグラムにおける全てのピークを特定したと判別した場合(S717でYES)、制御部100は、ステップS723の処理へ進む。
If it is determined in step S717 that all the peaks in the histogram have been identified (YES in S717), the
ステップS713において、特定した頂点が矩形を構成すると判別した場合(S713でYES)、制御部100は、除去後の画像を最前面の原稿の画像として特定し(S719)、原稿領域では隠れていた線分を原稿領域の輪郭に追加し(S721)、ステップS723の処理へ進む。
When it is determined in step S713 that the specified vertices form a rectangle (YES in S713), the
ステップS723において、制御部100は、図9のステップS507で原稿の重なりを検出した全ての閉領域を抽出したか否かを判別する(S723)。
In step S723, the
ステップS723において、原稿の重なりを検出した全ての閉領域を抽出しないと判別した場合(S723でNO)、制御部100はステップS701の処理へ進み、別の閉領域を抽出する。
When it is determined in step S723 that all the closed regions where the overlap of the originals is detected are not extracted (NO in S723), the
ステップS723において、原稿の重なりを検出した全ての閉領域を抽出したと判別した場合(S723でYES)、制御部100はリターンする。
When it is determined in step S723 that all the closed regions where the overlap of the originals is detected have been extracted (YES in S723), the
なお、最前面画像を特定する処理は、上述の方法で行われる場合の他、以下の方法で行われてもよい。 The process of specifying the foreground image may be performed by the following method in addition to the case of being performed by the above method.
図12および図13は、図5の最前面画像を特定する処理(S7)の変形例を説明する図である。 12 and 13 are diagrams for explaining a modified example of the process (S7) for specifying the foreground image of FIG.
図12(a)を参照して、最前面画像を特定する処理(S7)において、制御部100は、原稿領域の輪郭から一つの閉領域を抽出する。ここでは輪郭LN自体が抽出される。
In the process of identifying the foreground image (S7) with reference to FIG. 12A, the
次に制御部100は、抽出した閉領域における頂点を特定する。輪郭LNからは、8つの頂点CR1、CR2、CR3、CR4、CR5、CR6、CR7、およびCR8が特定される。
Next, the
図12(b)を参照して、続いて制御部100は、特定した頂点のうち直角である頂点を特定する。ここでは、頂点CR1、CR2、CR4、CR5、CR6、およびCR8が特定される。
With reference to FIG. 12B, the
抽出した閉領域における8つの頂点の各々が直角であるか否かは、図12(c)に示す原稿角検出用のフィルター(微分フィルター)FR1、FR2、FR3、およびFR4を用いて特定されてもよい。フィルターFR1は矩形における左上の頂点を検出するためのフィルターである。フィルターFR2は矩形における右上の頂点を検出するためのフィルターである。フィルターFR3は矩形における左下の頂点を検出するためのフィルターである。フィルターFR4は矩形における右下の頂点を検出するためのフィルターである。 Whether or not each of the eight vertices in the extracted closed region is a right angle is specified by using the filter (differential filter) FR1, FR2, FR3, and FR4 for detecting the document angle shown in FIG. 12 (c). May be good. The filter FR1 is a filter for detecting the upper left vertex of the rectangle. The filter FR2 is a filter for detecting the upper right vertex of the rectangle. The filter FR3 is a filter for detecting the lower left vertex of the rectangle. The filter FR4 is a filter for detecting the lower right vertex of the rectangle.
原稿角検出用のフィルターを用いる場合、制御部100は、抽出した閉領域における8つの頂点のうち1つの頂点を選択し、選択した頂点を構成する2つの線分のうち一方の線分の延在方向をx方向、x方向に対して垂直な方向(他方の線分の延在方向)をy方向とする。次に制御部100は、選択した頂点のx方向とフィルターFR1のx方向とを平行にした状態で、選択した頂点とフィルターFR1の中心との位置を重ね合わせる。次に制御部100は、抽出した閉領域の画像から、選択した頂点付近の複数の画素の各々の明度レベルの微分値を算出し、算出した微分値の各々と、複数の画素の各々に重ね合わされたフィルターFR1の各々の数値の各々との乗算を行う。次に制御部100は、乗算により得られた値の合計値を算出する。制御部100は、合計値が所定の閾値を超えた場合に、選択した頂点が矩形の左上の直角であると判断する。抽出した閉領域の画像の輪郭LN付近では明度レベルの変化量が大きいため、選択した頂点が矩形の左上の頂点である場合には、頂点を構成する2つの線分の各々とフィルターFR1における「1」の数字の配列方向とが一致し、算出される合計値は閾値を超える。
When the filter for detecting the document angle is used, the
制御部100は、選択した頂点とフィルターFR2、FR3、およびFR4の各々との組についても同様の演算を行うことで、選択した頂点が直角であるか否かを判断する。
The
図13(a)を参照して、次に制御部100は、特定した直角である頂点の座標に基づいて、抽出した閉領域において隠れている複数の頂点および線分を推定する。「隠れている頂点および線分」とは、重なりが生じている原稿の輪郭を構成する頂点および線分であって、原稿領域の輪郭に含まれていない頂点および線分を意味している。
With reference to FIG. 13A, the
具体的には、制御部100は、特定した直角である頂点の中から2つの頂点AおよびBを抽出し、抽出した2つの頂点AおよびBを結ぶ線分の延在方向をx方向、x方向に対して垂直な方向をy方向とする。次に制御部100は、抽出した2つの頂点AおよびBの各々からy方向に延在する線分上に他の頂点が存在するか否かを判断する。制御部100は、2つの頂点の全ての組合せについて上記判断を行う。制御部100は、抽出した2つの頂点のうち一方の頂点Aからy方向に延在する線分上に他の頂点Cが存在し、抽出した2つの頂点のうち他方の頂点Bからy方向に延在する線分上に他の頂点が存在しない場合、その頂点AおよびBの組合せを特定し、特定した組合せの頂点AおよびBと、他の頂点Cとにより構成される矩形を想定し、想定した矩形における残り1つの頂点を、隠れている頂点Dとして推定する。また、隠れている頂点Dと、想定した矩形とに基づいて、隠れている線分を推定する。
Specifically, the
ここでは、頂点CR5およびCR6の座標に基づいて、頂点CR11ならびに線分LN11およびLN12が推定される(この場合、頂点CR5が上記頂点Aに相当し、頂点CR6が上記頂点Bに相当し、頂点CR4が上記頂点Cに相当する)。また、頂点CR1およびCR2の座標に基づいて、頂点CR21ならびに線分LN21およびLN22が推定される(この場合、頂点CR1が上記頂点Aに相当し、頂点CR2が上記頂点Bに相当し、頂点CR8が上記頂点Cに相当する)。 Here, the vertex CR11 and the line segments LN11 and LN12 are estimated based on the coordinates of the vertices CR5 and CR6 (in this case, the vertex CR5 corresponds to the vertex A, the vertex CR6 corresponds to the vertex B, and the vertex CR4 corresponds to the vertex C). Further, the vertices CR21 and the line segments LN21 and LN22 are estimated based on the coordinates of the vertices CR1 and CR2 (in this case, the vertex CR1 corresponds to the vertex A, the vertex CR2 corresponds to the vertex B, and the vertex CR8 Corresponds to the above vertex C).
図13(b)を参照して、次に制御部100は、推定した線分LN11およびLN12、ならびに線分LN21およびLN22の各々の位置での領域R2の画像の明度レベルの変化に基づいて、推定した線分LN11およびLN12、ならびに線分LN21およびLN22の中から最前面の原稿の輪郭を構成する線分を特定する。
With reference to FIG. 13 (b), the
具体的には、制御部100は、推定した線分LN11およびLN12の各々について、線分の延在方向に対して垂直な方向(それぞれ図13(b)中矢印AR11およびAR12で示す方向)に沿った領域R2の画像における明度レベルが変化する位置であるエッジの有無を検出する。制御部100は、エッジの検出結果に基づいて、推定した線分LN11およびLN12を最前面の原稿の輪郭を構成する線分として特定するか否かを判断する。
Specifically, the
図13(c)を参照して、同様に、制御部100は、推定した線分LN21およびLN22の各々について、線分の延在方向に対して垂直な方向(それぞれ図13(c)中矢印AR21およびAR22で示す方向)に沿った領域R2の画像における明度レベルが変化する位置であるエッジの有無を検出する。制御部100は、エッジの検出結果に基づいて、推定した線分LN21およびLN22を最前面の原稿の輪郭を構成する線分として特定するか否かを判断する。
Similarly, with reference to FIG. 13 (c), the
エッジは、図13(d)に示すエッジ検出用のフィルター(微分フィルター)FR11およびFR12を用いて特定されてもよい。フィルターFR11は、推定した線分の延在方向がy方向である場合(線分LN12およびLN22の場合)に、x方向のエッジを検出するためのフィルターである。フィルターFR12は、推定した線分の延在方向がx方向である場合(線分LN11およびLN21の場合)に、y方向のエッジを検出するためのフィルターである。 The edge may be specified by using the filter (differential filter) FR11 and FR12 for edge detection shown in FIG. 13D. The filter FR11 is a filter for detecting an edge in the x direction when the estimated extension direction of the line segment is the y direction (in the case of the line segments LN12 and LN22). The filter FR12 is a filter for detecting an edge in the y direction when the estimated extension direction of the line segment is the x direction (in the case of the line segments LN11 and LN21).
具体的には、制御部100は、推定した線分のうち1つの線分(横方向に近い方向に延在する線分、ここでは線分LN11またはLN21)を選択し、選択した線分の延在方向をx方向、選択した線分の延在方向に対して垂直な方向をy方向とする。次に制御部100は、選択した線分のx方向とフィルターFR11のx方向とを互いに平行になるようにした状態で、選択した線分の付近にフィルターFR11を重ね合わせる。次に制御部100は、領域R2内の選択した線分付近の複数の画素の各々の明度レベルの微分値を算出し、算出した微分値の各々と、複数の画素の各々に重ね合わされたフィルターFR11の各々の数値の各々との乗算を行う。次に制御部100は、乗算により得られた値の合計値を算出する。制御部100は、フィルターFR11をy方向に移動しながらその都度合計値を算出し、算出した合計値が所定の閾値を超えた場合に、選択した線分の延在方向に対して平行に延在するエッジを検出する。
Specifically, the
同様に、制御部100は、推定した線分のうち1つの線分(縦方向に近い方向に延在する線分、ここでは線分LN12またはLN22)を選択し、選択した線分の延在方向をy方向、選択した線分の延在方向に対して垂直な方向をx方向とする。次に制御部100は、選択した線分のy方向とフィルターFR12のy方向とを互いに平行になるようにした状態で、選択した線分の付近にフィルターFR12を重ね合わせる。次に制御部100は、領域R2内の選択した線分付近の複数の画素の各々の明度レベルの微分値を算出し、算出した微分値の各々と、複数の画素の各々に重ね合わされたフィルターFR12の各々の数値の各々との乗算を行う。次に制御部100は、乗算により得られた値の合計値を算出する。制御部100は、フィルターFR12をx方向に移動しながらその都度合計値を算出し、算出した合計値が所定の閾値を超えた場合に、選択した線分の延在方向に対して平行に延在するエッジを検出する。
Similarly, the
図14は、図5の最前面画像を特定する処理(S7)の変形例における、エッジの検出結果と特定される最前面画像との関係を示す図である。 FIG. 14 is a diagram showing the relationship between the edge detection result and the specified foreground image in the modified example of the process (S7) for specifying the foreground image of FIG.
図13および図14を参照して、続いて制御部100は、最前面の原稿の輪郭を構成する線分として、特定した線分を原稿領域の輪郭に追加し、特定した線分で規定される矩形の領域の画像を最前面の原稿の画像として特定する。
With reference to FIGS. 13 and 14, the
図14(a)では、線分LN11の延在方向(x方向)に対して平行に延在するエッジが検出されており、線分LN12の延在方向(y方向)に対して平行に延在するエッジが検出されている。一方、線分LN21の延在方向(x方向)に対して平行に延在するエッジが検出されておらず、線分LN22の延在方向(y方向)に対して平行に延在するエッジが検出されていない。この場合、制御部100は、線分LN11およびLN12を、最前面の原稿の輪郭を構成する線分として特定する。制御部100は、図14(b)に示すように、特定した線分LN11およびLN12で規定される矩形の領域R22の画像を、最前面の原稿の画像として特定し、特定した線分LN11およびLN12を原稿領域の輪郭に追加する。
In FIG. 14A, an edge extending parallel to the extending direction (x direction) of the line segment LN11 is detected, and extends parallel to the extending direction (y direction) of the line segment LN12. The existing edge has been detected. On the other hand, an edge extending parallel to the extending direction (x direction) of the line segment LN21 is not detected, and an edge extending parallel to the extending direction (y direction) of the line segment LN22 is detected. Not detected. In this case, the
なお、制御部100は、特定した線分とは別の線分LN21およびLN22を原稿領域の画像に関連付けて保存することにより、原稿同士の重なり発生を通知する処理(S9)において表示する画面に、再配置対象の原稿の輪郭として線分LN21およびLN22を表示してもよい。
The
図14(c)では、線分LN21の延在方向(x方向)に対して平行に延在するエッジが検出されており、線分LN22の延在方向(y方向)に対して平行に延在するエッジが検出されている。一方、線分LN11の延在方向(x方向)に対して平行に延在するエッジが検出されておらず、線分LN12の延在方向(y方向)に対して平行に延在するエッジが検出されていない。この場合、制御部100は、線分LN21およびLN22を、最前面の原稿の輪郭を構成する線分として特定する。制御部100は、図14(d)に示すように、特定した線分LN21およびLN22で規定される矩形の領域R21の画像を、最前面の原稿の画像として特定し、特定した線分LN21およびLN22を原稿領域の輪郭に追加する。
In FIG. 14C, an edge extending parallel to the extending direction (x direction) of the line segment LN21 is detected, and extends parallel to the extending direction (y direction) of the line segment LN22. The existing edge has been detected. On the other hand, an edge extending parallel to the extending direction (x direction) of the line segment LN11 is not detected, and an edge extending parallel to the extending direction (y direction) of the line segment LN12 is detected. Not detected. In this case, the
なお、制御部100は、特定した線分とは別の線分LN11およびLN12を原稿領域の画像に関連付けて保存することにより、原稿同士の重なり発生を通知する処理(S9)において表示する画面に、再配置対象の原稿の輪郭として線分LN11およびLN12を表示してもよい。
The
図15は、図5の最前面画像を特定する処理(S7)の変形例のサブルーチンである。 FIG. 15 is a subroutine of a modified example of the process (S7) for specifying the foreground image of FIG.
図15を参照して、最前面画像を特定する処理(S7)において、制御部100は、原稿領域の輪郭から、図9のステップS507で原稿の重なりを検出した閉領域を抽出し(S751)、抽出した閉領域における頂点を特定する(S753)。次に制御部100は、特定した頂点の中で直角である頂点を特定し(S755)、特定した直角である頂点の座標に基づいて、抽出した閉領域において隠れている頂点および線分を推定する(S757)。続いて制御部100は、推定した線分の各々の位置での画像の明度レベルの変化に基づいて、推定した線分の中から最前面の原稿の輪郭を構成する線分を特定する(S759)。続いて制御部100は、最前面の原稿の輪郭を構成する線分として特定した線分を原稿領域の輪郭に追加し(S761)、特定した線分で規定される矩形の領域の画像を最前面の原稿の画像として特定する(S763)。
In the process of identifying the foreground image (S7) with reference to FIG. 15, the
ステップS763の処理に続いて、制御部100は、図9のステップS507で原稿の重なりを検出した全ての閉領域を抽出したか否かを判別する(S765)。
Following the process of step S763, the
ステップS765において、原稿の重なりを検出した全ての閉領域を抽出しないと判別した場合(S765でNO)、制御部100はステップS751の処理へ進み、別の閉領域を抽出する。
When it is determined in step S765 that all the closed regions where the overlap of the originals is detected are not extracted (NO in S765), the
ステップS765において、原稿の重なりを検出した全ての閉領域を抽出したと判別した場合(S765でYES)、制御部100はリターンする。
When it is determined in step S765 that all the closed regions where the overlap of the originals is detected have been extracted (YES in S765), the
[原稿同士の重なり発生を通知する処理] [Process to notify the occurrence of overlapping of originals]
図16は、図5の原稿同士の重なり発生を通知する処理(S9)を説明する図である。図17は、図5の原稿同士の重なり発生を通知する処理(S9)において操作パネル70に表示される画面を模式的に示す図である。なお、図16では、特定した線分LN11およびLN12で規定される矩形の領域R22(図14(b))の画像を最前面の原稿の画像として特定した場合の処理を示している。
FIG. 16 is a diagram illustrating a process (S9) of notifying the occurrence of overlapping of the documents of FIG. FIG. 17 is a diagram schematically showing a screen displayed on the
図16を参照して、原稿同士の重なり発生を通知する処理(S9)において、制御部100は、図16(a)に示すように、原稿領域である領域R2の画像と、画像を特定する処理(S7)で得られた領域R2の輪郭LN1(輪郭LNに線分LN11及びLN12を追加したもの)を取得する。領域R2には、最前面の原稿の画像である領域R22の画像と、最前面の原稿以外の原稿の画像である領域R21の画像とが含まれている。
In the process (S9) of notifying the occurrence of overlapping of documents with reference to FIG. 16, the
次に制御部100は、図16(b)に示すように、原稿画像である領域R2の画像を、副走査方向(または主走査方向)を基準線として反転する。これにより、領域R21に配置されている原稿と、領域R22に配置されている原稿との平面的な位置関係は、プラテン20aの上方からこれらの原稿をユーザーが見た場合の平面的な位置関係と等しくなる。そして制御部100は、反転させた後の原稿画像において、最前面の原稿の画像(領域R22の画像)を除去対象の原稿として特定し、最前面の原稿の画像以外の画像(領域R21の画像)を再配置対象の原稿として特定する。
Next, as shown in FIG. 16B, the
次に制御部100は、再配置対象の原稿の位置に対する除去対象の原稿の位置を特定する。この特定は、図16(c)に示すように、領域R21の画像を構成する画素の主走査方向および副走査方向の分布と、領域R22の画像を構成する画素の主走査方向および副走査方向の分布とに基づいて行われることが好ましい。ここでは、領域R22の画像を構成する画素は、領域R21の画像を構成する画素と比較して、主走査方向のマイナス側(右側)に存在しており、副走査方向のマイナス側(下側)に存在している。このため、除去対象の原稿は再配置対象の原稿の右下側に位置していることが特定される。
Next, the
続いて制御部100は、原稿の除去および再配置を通知する。制御部100は、図17(a)に示すように、原稿同士の重なりが発生していることを通知するとともに、原稿の再配置を行うか否かをユーザーに問い合わせる画面を操作パネル70に表示する。図17(a)に示す画面において、「いいえ」キーKY1が押下された場合、制御部100は処理を終了する。
Subsequently, the
図17(a)の画面において「はい」キーKY2が押下された場合、制御部100は、除去対象の原稿の除去および前記再配置対象の原稿の再配置を要求する画面を操作パネル70に表示する。図17(b)に示す画面は、除去対象の原稿の位置を示すとともに、除去対象の原稿を除去することと、再配置対象の原稿を再配置して画像読取の実行指示を再度行うこととを通知するものである。
When the "Yes" key KY2 is pressed on the screen of FIG. 17A, the
原稿画像における除去対象の原稿および再配置対象の原稿は互いに異なる態様で表示されることが好ましい。ここでは、プラテン20a上に配置された複数の原稿の輪郭を示すプレビュー画像が表示されるとともに、除去対象の原稿の領域に除去対象であることを示す文字列が付され、再配置対象の原稿の領域に再配置対象であることを示す文字列が付されている。また、除去対象の原稿の画像および輪郭に、再配置対象の原稿の画像および輪郭とはことなる色が付されている。これにより、除去対象の原稿をユーザーに対して分かりやすく通知することができる。
It is preferable that the original to be removed and the original to be rearranged in the original image are displayed in different modes from each other. Here, a preview image showing the outlines of a plurality of originals arranged on the
また、図17(a)の画面において「はい」キーKY2が押下された場合、制御部100は、図17(b)に示す画面の代わりに図17(c)に示す画面を表示してもよい。図17(c)に示す画面は、除去対象の原稿の位置を文字で説明するとともに、除去対象の原稿を除去することと、画像読取の実行指示を再度行うこととを通知する画面である。
Further, when the "Yes" key KY2 is pressed on the screen of FIG. 17 (a), the
上記の通知を受けて原稿の再配置を行うユーザーは、最前面の原稿(最前面の原稿の画像は図5のステップS8の処理にて既に保存されている)をプラテン20a上から除去し、最前面の原稿以外の原稿をプラテン20a上に再配置し、図17(b)または図17(c)に示す画面において「確認」キーKY3を押下することにより、画像読取の再度の実行指示を行う。再度の画像読取の際には、1回目の画像読取の際の最前面の原稿は除去されており、読取領域R0内の空きスペースは広くなるため、原稿同士の重なりは生じにくくなる。
The user who receives the above notification and rearranges the originals removes the frontmost original (the image of the frontmost original is already saved in the process of step S8 of FIG. 5) from the
「原稿の再配置」とは、再度の画像読取のためにプラテン上に原稿を配置することを意味しており、プラテン上から原稿を一旦取り除いた後でプラテン上に再び配置することは必須ではない。再配置される原稿の位置は変更されてもよいし、変更されなくてもよい。 "Rearranging the original" means placing the original on the platen for re-reading the image, and it is not essential to remove the original from the platen and then reposition it on the platen. Absent. The position of the rearranged original may or may not be changed.
なお、原稿同士の重なり発生を通知する処理(S9)において、制御部100は、除去対象の原稿の位置を説明せずに、除去対象の原稿を除去することと、画像読取の実行指示を再度行うこととを通知してもよい。この場合、ユーザーは、プラテン20a上の複数の原稿の配置状態を目視することにより、除去対象の原稿を特定する。
In the process (S9) of notifying the occurrence of overlapping of documents, the
図18は、図5の原稿同士の重なり発生を通知する処理(S9)のサブルーチンである。 FIG. 18 is a subroutine of the process (S9) for notifying the occurrence of overlapping of the documents of FIG.
図18を参照して、原稿同士の重なり発生を通知する処理(S9)において、制御部100は、原稿画像およびその輪郭を取得し(S901)、主走査方向または副走査方向を基準線として原稿画像を反転する(S903)。次に制御部100は、最前面の原稿を除去対象の原稿として特定し(S905)、最前面の原稿以外の原稿を再配置対象の原稿として特定する(S907)。次に制御部100は、再配置対象の原稿の位置に対する除去対象の原稿の位置を特定し(S909)、原稿同士の重なり発生を通知する画面を表示する(S911)。次に制御部100は、画像読取の実行指示を受け付けたか否かを判別する(S913)。
With reference to FIG. 18, in the process (S9) of notifying the occurrence of overlapping of the originals, the
ステップS913において、画像読取の実行指示を受け付けたと判別した場合(S913でYES)、制御部100は図5のステップS3の処理へ進み、原稿の画像を再度読み取る。
If it is determined in step S913 that the image reading execution instruction has been received (YES in S913), the
ステップS913において、画像読取の実行指示を受け付けないと判別した場合(S913でNO)、制御部100は処理を終了する。
If it is determined in step S913 that the image reading execution instruction is not accepted (NO in S913), the
[実施の形態の効果] [Effect of Embodiment]
図19は、本発明の一実施の形態の効果を説明する図である。 FIG. 19 is a diagram illustrating the effect of one embodiment of the present invention.
図19を参照して、本実施の形態では、ユーザーがプラテン20a上に複数の原稿MS1およびMS2を配置した(図19(a))後、図19(b)に示すように原稿同士の重なり(図19(b)中領域OPで示す部分)が発生した場合に、プラテンに最も近い側の原稿である最前面の原稿MS1の画像が特定される。そして最前面の原稿MS1の画像は保存され、最前面の原稿MS1の除去が要求され、最前面の原稿以外の原稿MS2の再配置が要求される。この要求を受けてユーザーは、最前面の原稿MS1を除去し(図19(c))、残りの原稿MS2のみを対象として、再度の画像読取の実行指示を行う(図19(d))。最前面の原稿MS1の除去により、読取領域R0内の空きスペースは広くなるため、除去後の原稿MS2には重なりが生じにくくなる。これにより、複数の原稿の画像を読み取る際に発生し得る再配置や再スキャンの手間を省略することができる。その結果、原稿画像の読取時間のロスを削減することができ、作業効率を向上することができ、利便性を向上することができる。
With reference to FIG. 19, in the present embodiment, after the user places a plurality of documents MS1 and MS2 on the
[その他] [Other]
上述の実施の形態における処理は、ソフトウェアにより行っても、ハードウェア回路を用いて行ってもよい。また、上述の実施の形態における処理を実行するプログラムを提供することもできるし、そのプログラムをCD−ROM、フレキシブルディスク、ハードディスク、ROM、RAM、メモリカードなどの記録媒体に記録してユーザーに提供することにしてもよい。プログラムは、CPUなどのコンピューターにより実行される。また、プログラムはインターネットなどの通信回線を介して、装置にダウンロードするようにしてもよい。 The processing in the above-described embodiment may be performed by software or by using a hardware circuit. It is also possible to provide a program that executes the processing according to the above-described embodiment, and record the program on a recording medium such as a CD-ROM, a flexible disk, a hard disk, a ROM, a RAM, or a memory card and provide the program to the user. You may decide to do it. The program is executed by a computer such as a CPU. Further, the program may be downloaded to the device via a communication line such as the Internet.
上述の実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 It should be considered that the above embodiments are exemplary in all respects and not restrictive. The scope of the present invention is shown by the scope of claims rather than the above description, and it is intended to include all modifications within the meaning and scope equivalent to the scope of claims.
1 MFP(Multifunction Peripheral)
10 自動原稿送り装置(原稿押さえの一例)
11 原稿セットセンサー
12 原稿給紙トレイ
13 原稿排紙トレイ
20 原稿読取部(取得手段の一例)
20a,1020a プラテン(プラテンの一例)
20b IRモジュール
20c 駆動伝達部
20d IRモータ
20e ランプ
20f イメージセンサ
21 装置持ち上げセンサー
30 画像形成部
31a,31b,31c,31d 感光体ドラム
32a,32b,32c,32d 露光走査ユニット
33 転写ベルト
34 前扉センサー
35 画像形成位置
40 自動両面ユニット
50 給紙部
51,53,61,63 給紙カセット
52,54,62,64 ピックアップローラー
60 給紙キャビネット
70 操作パネル(受付手段の一例)
71 表示部
72 タッチパネル入力部
73 キー入力部
80 副電源スイッチ
90 ファクシミリユニット
91 通信インターフェースユニット
100 制御部
101 CPU(Central Processing Unit)
102 ROM(Read Only Memory)
103 RAM(Random Access Memory)
111 原稿領域特定部(原稿領域特定手段の一例)
112 重なり検出部(重なり検出手段の一例)
113 最前面画像特定部(最前面特定手段の一例)
114 最前面画像保存部(保存手段の一例)
115 再配置通知部(要求手段の一例)
120 HDD(Hard Disk Drive)
1010 原稿押さえ
1010a ヒンジ
A,B,C,CR,CR1,CR3,CR4,CR5,CR6,CR7,CR8,CR11,CR21,D 頂点
FR1,FR2,FR3,FR4,FR11,FR12 フィルター
KY1,KY2,KY3 キー
LN,LN1,LN221,LN222 輪郭
LN11,LN12,LN21,LN22 線分
LV1,LV2,LV2a,L21,LV21A,LV21B,LV22,LV22A,LV22B 明度レベル
MS,MS1,MS2 原稿
OP 原稿同士の重なりが発生している領域
R0 読取領域
R1,R2,R21,R22 領域
1 MFP (Multifunction Peripheral)
10 Automatic document feeder (example of document holder)
11
20a, 1020a Platen (an example of platen)
71 Display unit 72 Touch
102 ROM (Read Only Memory)
103 RAM (Random Access Memory)
111 Original area specifying part (an example of document area specifying means)
112 Overlap detection unit (an example of overlap detection means)
113 Foreground image identification part (an example of foreground identification means)
114 Foreground image storage unit (example of storage means)
115 Relocation notification unit (example of requesting means)
120 HDD (Hard Disk Drive)
1010
Claims (12)
前記読取画像に基づいて、原稿同士の重なりの発生の有無を検出する重なり検出手段と、
原稿同士の重なりを前記重なり検出手段にて検出した場合に、重なりが生じている複数の原稿のうち前記プラテンに最も近い側の原稿である最前面の原稿の画像を特定する最前面特定手段と、
前記最前面の原稿の画像を保存する保存手段と、
重なりが生じている複数の原稿のうち前記最前面の原稿の除去を要求し、重なりが生じている複数の原稿のうち前記最前面の原稿以外の原稿の再配置を要求する要求手段とを備えた、画像読取装置。 An acquisition means for acquiring a scanned image including images of a plurality of originals arranged on a platen, and
An overlap detecting means for detecting the presence or absence of overlap between documents based on the scanned image, and
When the overlap of the originals is detected by the overlap detecting means, the frontmost specifying means for specifying the image of the foremost original, which is the original closest to the platen among the plurality of overlapping originals. ,
A storage means for storing the image of the foreground original, and
It is provided with a requesting means for requesting the removal of the frontmost original among the plurality of overlapping originals and requesting the rearrangement of the originals other than the frontmost original among the plurality of overlapping originals. Also, an image reader.
前記受付手段にて前記設定を受け付けた場合に、前記重なり検出手段は原稿同士の重なりの発生の有無を検出する、請求項1の記載の画像読取装置。 Further provided with a reception means for accepting a setting indicating that a plurality of documents are arranged on the platen.
The image reading device according to claim 1, wherein when the receiving means receives the setting, the overlapping detecting means detects the presence or absence of overlapping of documents.
前記重なり検出手段は、前記原稿領域の画像に基づいて、原稿同士の重なりの発生の有無を検出する、請求項1または2に記載の画像読取装置。 Based on the distribution of brightness levels in the scanned image, a document area specifying means for specifying a document area in the scanned image, which is an area in which a plurality of documents arranged on the platen exist. Further prepare
The image reading device according to claim 1 or 2, wherein the overlap detecting means detects the presence or absence of overlap between documents based on an image in the document area.
前記原稿領域の輪郭から線分の方向が互いに直交している頂点を特定する第1の頂点特定手段と、
前記第1の頂点特定手段にて特定した頂点が矩形を構成するか否かに基づいて、前記原稿領域における原稿同士の重なりの発生の有無を検出する頂点検出手段とを含む、請求項3に記載の画像読取装置。 The overlap detecting means is
A first vertex identifying means for identifying vertices whose line segments are orthogonal to each other from the contour of the document region,
3. The third aspect of the present invention includes a vertex detecting means for detecting the presence or absence of overlapping of documents in the original document area based on whether or not the vertices specified by the first vertex specifying means form a rectangle. The image reader described.
前記原稿領域の画像のうち第1の範囲内の明度レベルを有する画素を前記原稿領域の画像から除外する除外手段と、
前記除外手段にて除外した後の新たな画像の輪郭から頂点を特定する第2の頂点特定手段と、
前記第2の頂点特定手段にて特定した頂点が矩形を構成する場合に、前記新たな画像が前記最前面の原稿の画像であると判断する第1の最前面判断手段と、
前記第2の頂点特定手段にて特定した頂点が矩形を構成しない場合に、前記新たな画像が前記最前面の原稿の画像でないと判断する第2の最前面判断手段とを含む、請求項3または4に記載の画像読取装置。 The foreground identification means
Exclusion means for excluding pixels having a brightness level within the first range of the image of the original area from the image of the original area, and
A second vertex identification means for identifying vertices from the contour of a new image after exclusion by the exclusion means, and
When the vertices specified by the second vertex specifying means form a rectangle, the first foreground determination means for determining that the new image is the image of the foreground original.
3. The third aspect of the present invention includes a second frontmost determination means for determining that the new image is not an image of the frontmost original when the vertices specified by the second vertex identification means do not form a rectangle. Or the image reading device according to 4.
前記原稿領域の画像が有する複数の明度レベルのうちピークとなる明度レベルを特定するピーク特定手段と、
前記ピーク特定手段にて特定した明度レベルを含む前記第1の範囲内の明度レベルを有する画素を前記原稿領域の画像から除外する画素除外手段とを含む、請求項5に記載の画像読取装置。 The exclusion means
A peak identification means for specifying a peak brightness level among a plurality of brightness levels of the image in the document area, and
The image reading apparatus according to claim 5, further comprising a pixel exclusion means for excluding pixels having a brightness level within the first range including the brightness level specified by the peak specifying means from the image in the original area.
前記原稿領域の輪郭から直角である頂点を特定する第3の頂点特定手段と、
前記第3の頂点特定手段にて特定した頂点の座標に基づいて、重なりが生じている原稿の輪郭を構成する複数の頂点および線分であって、前記原稿領域の輪郭に含まれていない複数の頂点および線分を推定する推定手段と、
前記推定手段にて推定した複数の線分の各々の位置での前記原稿領域の画像の明度レベルの変化に基づいて、前記推定手段にて推定した複数の線分の中から前記最前面の原稿の輪郭を構成する線分を特定する線分特定手段と、
前記線分特定手段にて特定した線分で規定される矩形の領域の画像を前記最前面の原稿の画像として特定する画像特定手段とを含む、請求項3または4に記載の画像読取装置。 The foreground identification means
A third vertex identifying means for identifying vertices at right angles to the contour of the document region,
A plurality of vertices and line segments constituting the contour of the document in which overlap occurs based on the coordinates of the vertices specified by the third vertex specifying means, and are not included in the contour of the document area. An estimation method for estimating the vertices and line segments of
Based on the change in the brightness level of the image in the document region at each position of the plurality of line segments estimated by the estimation means, the foreground document from the plurality of line segments estimated by the estimation means. Line segment identification means for identifying the line segments that compose the outline of
The image reading device according to claim 3 or 4, which includes an image specifying means for specifying an image of a rectangular region defined by a line segment specified by the line segment specifying means as an image of the frontmost original.
前記推定手段にて推定した複数の線分の各々について、線分の延在方向に対して垂直な方向に沿った前記原稿領域の画像における明度レベルが変化する位置であるエッジの有無を検出するエッジ検出手段と、
前記推定手段にて推定した複数の線分の各々についての前記エッジ検出手段の検出結果に基づいて、前記推定手段にて推定した複数の線分の中から前記最前面の原稿の輪郭を構成する線分を特定するエッジ特定手段とを含む、請求項7に記載の画像読取装置。 The line segment identification means
For each of the plurality of line segments estimated by the estimation means, the presence or absence of an edge at a position where the brightness level changes in the image of the document region along the direction perpendicular to the extending direction of the line segment is detected. Edge detection means and
Based on the detection results of the edge detection means for each of the plurality of line segments estimated by the estimation means, the contour of the frontmost document is formed from the plurality of line segments estimated by the estimation means. The image reading device according to claim 7, further comprising an edge identifying means for identifying a line segment.
主走査方向または副走査方向を基準線として前記原稿領域の画像を反転させる反転手段と、
前記反転手段にて反転させた後の画像において、前記最前面の原稿の画像を除去対象の原稿として特定し、前記反転手段にて反転させた後の前記最前面の原稿の画像以外の画像を再配置対象の原稿として特定する再配置特定手段と、
前記除去対象の原稿の除去および前記再配置対象の原稿の再配置を要求する再配置要求手段とを含む、請求項3〜8のいずれかに記載の画像読取装置。 The requesting means
A reversing means for reversing an image in the original area with the main scanning direction or the sub-scanning direction as a reference line, and
In the image after being inverted by the inversion means, the image of the foreground original is specified as the original to be removed, and the image other than the image of the foreground original after being inverted by the inversion means is specified. Relocation identification means to specify as the original to be rearranged, and
The image reading apparatus according to any one of claims 3 to 8, further comprising a rearrangement requesting means for requesting removal of the original to be removed and rearrangement of the original to be rearranged.
前記読取画像に基づいて、原稿同士の重なりを検出する重なり検出ステップと、
原稿同士の重なりを前記重なり検出ステップにて検出した場合に、重なりが生じている複数の原稿のうち前記プラテンに最も近い側の原稿である最前面の原稿の画像を特定する最前面特定ステップと、
前記最前面の原稿の画像を保存する保存ステップと、
重なりが生じている複数の原稿のうち前記最前面の原稿の除去を要求し、重なりが生じている複数の原稿のうち前記最前面の原稿以外の原稿の再配置を要求する要求ステップとをコンピューターに実行させる、画像読取装置の制御プログラム。 The acquisition step of acquiring a scanned image including images of a plurality of originals arranged on a platen, and
An overlap detection step for detecting overlap between documents based on the scanned image, and
When the overlap between the originals is detected in the overlap detection step, the frontmost identification step for specifying the image of the foremost original, which is the original closest to the platen among the plurality of overlapping originals. ,
A save step to save the image of the foreground original,
A computer performs a request step of requesting the removal of the frontmost document among a plurality of overlapping originals and requesting the rearrangement of a document other than the frontmost original among a plurality of overlapping originals. The control program of the image reader to be executed by.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019073923A JP2020174241A (en) | 2019-04-09 | 2019-04-09 | Image reading device and control program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019073923A JP2020174241A (en) | 2019-04-09 | 2019-04-09 | Image reading device and control program thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020174241A true JP2020174241A (en) | 2020-10-22 |
Family
ID=72831843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019073923A Pending JP2020174241A (en) | 2019-04-09 | 2019-04-09 | Image reading device and control program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020174241A (en) |
-
2019
- 2019-04-09 JP JP2019073923A patent/JP2020174241A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2693732B1 (en) | Image processing apparatus and image processing method | |
US9024897B2 (en) | Instruction input device and recording medium | |
US20070285743A1 (en) | Image forming apparatus and image forming method | |
KR102056967B1 (en) | Image forming apparatus, method for controlling image forming apparatus, image processing system, and program | |
US9699326B2 (en) | Apparatus for identifying abnormalities in an image system and, method for controlling apparatus, and storage medium | |
JPH0490258A (en) | Color picture processor | |
JP4079046B2 (en) | Image processing apparatus and image processing method | |
JP2009147799A (en) | Image processing apparatus | |
JP2021193780A (en) | Image reader, image reading method and image reading program | |
JP2015080104A (en) | Image reader, control method of image reader, program, and recording medium | |
JP6076495B2 (en) | Image processing apparatus and image processing method | |
US10063741B1 (en) | Image processing apparatus and image processing method | |
US10992835B2 (en) | Image reading device, image forming device, and control method capable of reducing user burden in case of read error | |
JP2020174241A (en) | Image reading device and control program thereof | |
JP2010154113A (en) | Copier | |
US10691973B2 (en) | Image scanning device, image forming apparatus, image scanning method, and image scanning program | |
US20130182291A1 (en) | Information processing apparatus, image forming apparatus and system | |
JP6780603B2 (en) | Image reader and image forming device | |
JP7480599B2 (en) | Image Inspection Equipment | |
JP6777039B2 (en) | Image reader and image forming device | |
JP6850149B2 (en) | Image information reader, multifunction device, image information reading method and program | |
JP6095558B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2022007025A (en) | Image inspection device and image formation device | |
JP6081874B2 (en) | Image reading device | |
JP5777584B2 (en) | Image processing device |