JP5029569B2 - Image reading apparatus, image reading method, and image reading program - Google Patents
Image reading apparatus, image reading method, and image reading program Download PDFInfo
- Publication number
- JP5029569B2 JP5029569B2 JP2008278096A JP2008278096A JP5029569B2 JP 5029569 B2 JP5029569 B2 JP 5029569B2 JP 2008278096 A JP2008278096 A JP 2008278096A JP 2008278096 A JP2008278096 A JP 2008278096A JP 5029569 B2 JP5029569 B2 JP 5029569B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- document
- main scan
- reading
- documents
- 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.)
- Active
Links
Images
Description
本発明は、適切な読取範囲で本スキャン動作を行うことができる画像読取装置等に関するものである。 The present invention relates to an image reading apparatus and the like that can perform a main scanning operation in an appropriate reading range.
従来、原稿読み取りに関する技術が種々提案されている。例えば、下記特許文献1では、原稿台に載置された原稿のサイズ等の情報を検出し、当該情報に基いて原稿の画像をデータ化する技術が開示されている。
Conventionally, various techniques relating to document reading have been proposed. For example,
上記特許文献1に開示される構成(例えば、当該文献図2の構成)においては、原稿に対し下から光を照射するため、原稿台(フラットベット)は透明な材質とする必要がある。そのため、原稿の読取範囲については、図1記載のように原稿台に直接示すことはできず、図2記載のように原稿台の枠に設けられた所定のマークによって示すことになる。 In the configuration disclosed in Patent Document 1 (for example, the configuration shown in FIG. 2), since the document is irradiated with light from below, the document table (flat bed) needs to be made of a transparent material. Therefore, the reading range of the document cannot be directly indicated on the document table as shown in FIG. 1, but is indicated by a predetermined mark provided on the frame of the document table as shown in FIG.
ユーザは、上記マークを視認することにより、読取範囲を把握することができるものの、図3記載のように、原稿の一部が読取範囲(例えば、A5サイズ)から外れることがある。したがって、図3記載の状態(A5が読取範囲と指定されている状態)で画像読取動作(本スキャン動作)を行ったとしても、前記原稿の一部を読み取ることができないため、ユーザが所望する画像データを取得することができない。 Although the user can grasp the reading range by visually recognizing the mark, a part of the document may be out of the reading range (for example, A5 size) as shown in FIG. Therefore, even if the image reading operation (main scan operation) is performed in the state shown in FIG. 3 (a state where A5 is designated as the reading range), a part of the original cannot be read, so that the user desires Image data cannot be acquired.
本発明は、上述した問題点を解決するためになされたものであり、本スキャン領域を適切に設定することができる画像読取装置等に関するものである。 The present invention has been made to solve the above-described problems, and relates to an image reading apparatus and the like that can appropriately set a main scan area.
本発明の一側面である請求項1に係る発明は、画像読取装置であって、光透過可能なフラットベットの一方の面に設置された原稿に対して、該フラットベットの反対の面から前記原稿に対して主走査方向に光を照射し、かつ、前記原稿の副走査方向に移動可能なキャリッジと、前記原稿の主走査方向の反射光を画像信号に変換する画像読取手段と、前記画像信号を記憶する画像記憶手段と、前記画像記憶手段の画像信号を処理する画像処理手段と、プレスキャン動作及び本スキャン動作を制御する制御手段と、前記原稿の読取範囲を取得する領域取得手段と、を有する。そして、前記画像処理手段は、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、前記特殊原稿が存在する場合、前記画像処理手段は、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記制御手段は、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、前記画像処理手段は、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出すことを特徴とする。
The invention according to
上記画像読取装置によれば、取得した読取範囲におけるプレスキャン画像に基いて画像処理の結果、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在すると判断された場合に、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させる。
これにより、原稿の一部が取得した読取範囲から外れて設置されている原稿についても、当該複数枚の原稿の全ての領域の画像データを取得することができる。また、当該複数枚の原稿の全ての領域の本スキャン画像を記憶(取得)したときに本スキャン動作を終了させるので、本スキャン動作に必要な時間を短縮することができる。
また、上記画像処理手段は、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出す。
これにより、本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するので、特定した画像の位置を用いて種々の画像処理を行うことができる。さらに、特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出すことができる。
According to the image reading apparatus, when it is determined that there is a special document in which a part of the document is placed out of the reading range as a result of image processing based on the pre-scan image in the acquired reading range, During the main scan operation, it is determined whether a main scan image including all areas of the plurality of documents is stored, and when the main scan images of all areas of the plurality of documents are stored, The main scanning operation is terminated.
As a result, it is possible to acquire image data of all areas of the plurality of originals even for an original placed outside the read range in which a part of the original is acquired. In addition, since the main scan operation is terminated when the main scan images of all the areas of the plurality of documents are stored (acquired), the time required for the main scan operation can be shortened.
Further, the image processing means specifies the document position of the document included in the main scan image after the main scan operation is finished, and cuts out a plurality of predetermined images from the main scan image based on the specified document position. .
As a result, since the document position of the document included in the main scan image is specified after the main scan operation is completed, various image processing can be performed using the specified image position. Further, a plurality of predetermined images can be cut out from the main scan image based on the specified document position.
本発明の一側面である請求項2に係る発明は、画像読取装置であって、光透過可能なフラットベットの一方の面に設置された原稿に対して、該フラットベットの反対の面から前記原稿に対して主走査方向に光を照射し、かつ、前記原稿の副走査方向に移動可能なキャリッジと、前記原稿の主走査方向の反射光を画像信号に変換する画像読取手段と、前記画像信号を記憶する画像記憶手段と、前記画像記憶手段の画像信号を処理する画像処理手段と、プレスキャン動作及び本スキャン動作を制御する制御手段と、前記原稿の読取範囲を取得する領域取得手段と、を有する。そして、前記画像処理手段は、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、前記特殊原稿が存在する場合、前記画像処理手段は、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記制御手段は、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、前記画像処理手段は、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しないことを特徴とする。 The invention according to claim 2, which is an aspect of the present invention, is an image reading apparatus, wherein an original placed on one surface of a light-transmissive flat bed is placed on the surface from the opposite surface of the flat bed. A carriage that irradiates light in the main scanning direction to the document and is movable in the sub-scanning direction of the document, an image reading unit that converts reflected light in the main scanning direction of the document into an image signal, and the image Image storage means for storing signals, image processing means for processing image signals of the image storage means, control means for controlling the pre-scan operation and the main scan operation, and area acquisition means for acquiring the reading range of the document Have. The image processing means determines whether or not the apex of the area of at least one document among the plurality of documents detected from the prescan image in the acquired reading range exists at the boundary of the prescan image. Based on the determination of whether or not there is a special document in which a part of the document is placed out of the reading range, and if the special document exists, the image processing means performs the main scanning operation. It is determined whether or not a main scan image including all areas of the plurality of documents is stored therein, and the control unit is configured to store the main scan images of all the areas of the plurality of documents. The main scanning operation is ended, and the image processing unit specifies the original position of the original included in the main scanning image after the main scanning operation ends, but is not read by the pre-scanning operation and The document read by the scanning operation, characterized in that it does not identify the document position of the document.
上記画像読取装置によれば、取得した読取範囲におけるプレスキャン画像に基いて画像処理の結果、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在すると判断された場合に、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させる。
これにより、原稿の一部が取得した読取範囲から外れて設置されている原稿についても、当該複数枚の原稿の全ての領域の画像データを取得することができる。また、当該複数枚の原稿の全ての領域の本スキャン画像を記憶(取得)したときに本スキャン動作を終了させるので、本スキャン動作に必要な時間を短縮することができる。
また、上記画像処理手段は、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しない。
これにより、本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するので、特定した画像の位置を用いて種々の画像処理を行うことができる。さらに、読み取りを意図していない原稿の画像データの取得を防止することができる。
According to the image reading apparatus, when it is determined that there is a special document in which a part of the document is placed out of the reading range as a result of image processing based on the pre-scan image in the acquired reading range, During the main scan operation, it is determined whether a main scan image including all areas of the plurality of documents is stored, and when the main scan images of all areas of the plurality of documents are stored, The main scanning operation is terminated.
As a result, it is possible to acquire image data of all areas of the plurality of originals even for an original placed outside the read range in which a part of the original is acquired. In addition, since the main scan operation is terminated when the main scan images of all the areas of the plurality of documents are stored (acquired), the time required for the main scan operation can be shortened.
Further, the image processing means specifies the document position of the document included in the main scan image after the main scan operation is finished, but the document that is not read by the pre-scan operation and is read by the main scan operation. The original position of the original is not specified.
As a result, since the document position of the document included in the main scan image is specified after the main scan operation is completed, various image processing can be performed using the specified image position. Furthermore, it is possible to prevent acquisition of image data of a document that is not intended to be read.
本発明の一側面である請求項3に係る発明は、請求項2の画像読取装置であって、前記画像処理手段は、前記特定した原稿位置に基いて、前記本スキャン画像から出力画像を生成することを特徴とする。 The invention according to claim 3 which is an aspect of the present invention is the image reading apparatus according to claim 2 , wherein the image processing unit generates an output image from the main scan image based on the specified document position. It is characterized by doing.
上記画像読取装置によれば、特定した原稿位置に基いて、前記本スキャン画像から出力画像を生成することができる。 According to the image reading apparatus, an output image can be generated from the main scan image based on the specified document position.
本発明の一側面である請求項4に係る発明は、請求項2の画像読取装置であって、前記画像処理手段は、前記特定した原稿位置に基いて、前記本スキャン画像から所定の画像を切り出すことを特徴とする。 The invention according to claim 4 which is one aspect of the present invention is the image reading apparatus according to claim 2 , wherein the image processing means extracts a predetermined image from the main scan image based on the specified document position. It is characterized by cutting out.
上記画像読取装置によれば、特定した原稿位置に基いて、前記本スキャン画像から所定の画像を切り出すことができる。 According to the image reading apparatus, it is possible to cut out a predetermined image from the main scan image based on the specified document position.
本発明の一側面である請求項5に係る発明は、光透過可能なフラットベットに設置された原稿を読み取る画像読取方法であって、前記原稿の読取範囲を取得し、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、前記特殊原稿が存在する場合、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出すことを特徴とする。
上記画像読取方法によれば、取得した読取範囲におけるプレスキャン画像に基いて画像処理の結果、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在すると判断された場合に、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させる。
これにより、原稿の一部が取得した読取範囲から外れて設置されている原稿についても、当該複数枚の原稿の全ての領域の画像データを取得することができる。また、当該複数枚の原稿の全ての領域の本スキャン画像を記憶(取得)したときに本スキャン動作を終了させるので、本スキャン動作に必要な時間を短縮することができる。
また、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出す。
これにより、本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するので、特定した画像の位置を用いて種々の画像処理を行うことができる。さらに、特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出すことができる。
The invention according to claim 5 , which is an aspect of the present invention, is an image reading method for reading a document placed on a light transmissive flat bed, and acquires a reading range of the document, Based on the determination of whether or not the vertex of the area of at least one of the plurality of documents detected from the pre-scan image exists at the boundary of the pre-scan image, a part of the document is in the reading range. It is determined whether or not there is a special document that is installed outside the original document. If the special document exists, whether or not the main scan image including the entire area of the plurality of documents is stored during the main scan operation. determine whether, when the scan image of all areas of the plurality of documents is stored, the end the main scan operation, said after the scanning operation is completed, the original of the document included in the scanned image Identify location, the based on the specified document position, and wherein the cutting out a plurality of predetermined image from the scan image.
According to the image reading method, when it is determined that there is a special document in which a part of the document is placed out of the reading range as a result of image processing based on the pre-scanned image in the acquired reading range, During the main scan operation, it is determined whether a main scan image including all areas of the plurality of documents is stored, and when the main scan images of all areas of the plurality of documents are stored, The main scanning operation is terminated.
As a result, it is possible to acquire image data of all areas of the plurality of originals even for an original placed outside the read range in which a part of the original is acquired. In addition, since the main scan operation is terminated when the main scan images of all the areas of the plurality of documents are stored (acquired), the time required for the main scan operation can be shortened.
Further, after the main scan operation is completed, the document position of the document included in the main scan image is specified, and a plurality of predetermined images are cut out from the main scan image based on the specified document position.
As a result, since the document position of the document included in the main scan image is specified after the main scan operation is completed, various image processing can be performed using the specified image position. Further, a plurality of predetermined images can be cut out from the main scan image based on the specified document position.
本発明の一側面である請求項6に係る発明は、光透過可能なフラットベットに設置された原稿を読み取る画像読取方法であって、前記原稿の読取範囲を取得し、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、前記特殊原稿が存在する場合、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しないことを特徴とする。
上記画像読取方法によれば、取得した読取範囲におけるプレスキャン画像に基いて画像処理の結果、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在すると判断された場合に、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させる。
これにより、原稿の一部が取得した読取範囲から外れて設置されている原稿についても、当該複数枚の原稿の全ての領域の画像データを取得することができる。また、当該複数枚の原稿の全ての領域の本スキャン画像を記憶(取得)したときに本スキャン動作を終了させるので、本スキャン動作に必要な時間を短縮することができる。
また、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しない。
これにより、本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するので、特定した画像の位置を用いて種々の画像処理を行うことができる。さらに、読み取りを意図していない原稿の画像データの取得を防止することができる。
The invention according to claim 6, which is an aspect of the present invention, is an image reading method for reading a document placed on a light transmissive flat bed, and obtains a reading range of the document, Based on the determination of whether or not the vertex of the area of at least one of the plurality of documents detected from the pre-scan image exists at the boundary of the pre-scan image, a part of the document is in the reading range. It is determined whether or not there is a special document that is installed outside the original document. If the special document exists, whether or not the main scan image including the entire area of the plurality of documents is stored during the main scan operation. The main scan operation is terminated when the main scan image of all areas of the plurality of originals is stored, and the original document included in the main scan image is terminated after the main scan operation is completed. Identifying the location, but the not read by prescanning operation, and said the document read by the scanning operation, characterized in that it does not identify the document position of the document.
According to the image reading method, when it is determined that there is a special document in which a part of the document is placed out of the reading range as a result of image processing based on the pre-scanned image in the acquired reading range, During the main scan operation, it is determined whether a main scan image including all areas of the plurality of documents is stored, and when the main scan images of all areas of the plurality of documents are stored, The main scanning operation is terminated.
As a result, it is possible to acquire image data of all areas of the plurality of originals even for an original placed outside the read range in which a part of the original is acquired. In addition, since the main scan operation is terminated when the main scan images of all the areas of the plurality of documents are stored (acquired), the time required for the main scan operation can be shortened.
In addition, after the main scan operation is completed, the document position of the document included in the main scan image is specified, but the document position of the document is not read by the pre-scan operation and the document is read by the main scan operation. Is not specified.
As a result, since the document position of the document included in the main scan image is specified after the main scan operation is completed, various image processing can be performed using the specified image position. Furthermore, it is possible to prevent acquisition of image data of a document that is not intended to be read.
本発明の一側面である請求項7に係る発明は、光透過可能なフラットベットに設置された原稿を読み取る画像読取方法をコンピュータに実行させるためのプログラムであって、前記コンピュータに、前記原稿の読取範囲を取得するステップ、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断するステップ、前記特殊原稿が存在する場合、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断するステップ、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させるステップ、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出すステップ、を実行させることを特徴とする。
上記画像読取プログラムによれば、取得した読取範囲におけるプレスキャン画像に基いて画像処理の結果、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在すると判断された場合に、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させる。
これにより、原稿の一部が取得した読取範囲から外れて設置されている原稿についても、当該複数枚の原稿の全ての領域の画像データを取得することができる。また、当該複数枚の原稿の全ての領域の本スキャン画像を記憶(取得)したときに本スキャン動作を終了させるので、本スキャン動作に必要な時間を短縮することができる。
また、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出す。
これにより、本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するので、特定した画像の位置を用いて種々の画像処理を行うことができる。さらに、特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出すことができる。
The invention according to claim 7 which is one aspect of the present invention is a program for causing a computer to execute an image reading method for reading a document placed on a light transmissive flat bed, wherein A step of acquiring a reading range; whether or not a vertex of an area of at least one document among a plurality of documents detected from a prescan image of the acquired reading range exists at a boundary of the prescan image A step of determining whether or not there is a special document in which a part of the document is placed out of the reading range based on the determination; if the special document is present, Determining whether or not a main scan image including all areas of the original is stored, and when main scan images of all areas of the plurality of originals are stored, Serial steps to terminate the scan operation, the after the scanning operation is completed, to identify the original position of the document included in the scanned image, the based on the specified document position, a plurality of predetermined image from the scan image The step of cutting out is performed.
According to the image reading program, when it is determined that there is a special document in which a part of the document is placed out of the reading range as a result of image processing based on the prescan image in the acquired reading range, During the main scan operation, it is determined whether a main scan image including all areas of the plurality of documents is stored, and when the main scan images of all areas of the plurality of documents are stored, The main scanning operation is terminated.
As a result, it is possible to acquire image data of all areas of the plurality of originals even for an original placed outside the read range in which a part of the original is acquired. In addition, since the main scan operation is terminated when the main scan images of all the areas of the plurality of documents are stored (acquired), the time required for the main scan operation can be shortened.
In addition, after the main scan operation is completed, the document position of the document included in the main scan image is specified, and a plurality of predetermined images are cut out from the main scan image based on the specified document position.
As a result, since the document position of the document included in the main scan image is specified after the main scan operation is completed, various image processing can be performed using the specified image position. Further, a plurality of predetermined images can be cut out from the main scan image based on the specified document position.
本発明の一側面である請求項8に係る発明は、光透過可能なフラットベットに設置された原稿を読み取る画像読取方法をコンピュータに実行させるためのプログラムであって、前記コンピュータに、前記原稿の読取範囲を取得するステップ、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断するステップ、前記特殊原稿が存在する場合、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断するステップ、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させるステップ、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しないステップ、を実行させることを特徴とする。
上記画像読取プログラムによれば、取得した読取範囲におけるプレスキャン画像に基いて画像処理の結果、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在すると判断された場合に、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させる。
これにより、原稿の一部が取得した読取範囲から外れて設置されている原稿についても、当該複数枚の原稿の全ての領域の画像データを取得することができる。また、当該複数枚の原稿の全ての領域の本スキャン画像を記憶(取得)したときに本スキャン動作を終了させるので、本スキャン動作に必要な時間を短縮することができる。
また、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しない。
これにより、本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するので、特定した画像の位置を用いて種々の画像処理を行うことができる。さらに、読み取りを意図していない原稿の画像データの取得を防止することができる。
The invention according to claim 8, which is an aspect of the present invention, is a program for causing a computer to execute an image reading method for reading a document placed on a light-transmissive flat bed. A step of acquiring a reading range; whether or not a vertex of an area of at least one document among a plurality of documents detected from a prescan image of the acquired reading range exists at a boundary of the prescan image A step of determining whether or not there is a special document in which a part of the document is placed out of the reading range based on the determination; if the special document is present, Determining whether or not a main scan image including all areas of the original is stored, and when main scan images of all areas of the plurality of originals are stored, A step of ending the book scan operation; after the book scan operation is finished, the document position of the document contained in the book scan image is specified, but the document is not read by the pre-scan operation and is read by the book scan operation Is characterized in that a step of not specifying the document position of the document is executed.
According to the image reading program, when it is determined that there is a special document in which a part of the document is placed out of the reading range as a result of image processing based on the prescan image in the acquired reading range, During the main scan operation, it is determined whether a main scan image including all areas of the plurality of documents is stored, and when the main scan images of all areas of the plurality of documents are stored, The main scanning operation is terminated.
As a result, it is possible to acquire image data of all areas of the plurality of originals even for an original placed outside the read range in which a part of the original is acquired. In addition, since the main scan operation is terminated when the main scan images of all the areas of the plurality of documents are stored (acquired), the time required for the main scan operation can be shortened.
In addition, after the main scan operation is completed, the document position of the document included in the main scan image is specified, but the document position of the document is not read by the pre-scan operation and the document is read by the main scan operation. Is not specified.
As a result, since the document position of the document included in the main scan image is specified after the main scan operation is completed, various image processing can be performed using the specified image position. Furthermore, it is possible to prevent acquisition of image data of a document that is not intended to be read .
本発明によれば、適切な読取範囲で本スキャン動作を行うことができる。 According to the present invention, the main scanning operation can be performed in an appropriate reading range.
以下、本発明の一実施形態である画像読取装置について図面を参照しつつ説明する。以下の説明においては、当該画像読取装置を、コピー機能、スキャナ機能、ファクシミリ機能及びコードレス電話機能を備えた複合機(MFP)として実現した形態について説明する。
なお、本実施形態の画像読取装置が、コピー装置、スキャナ装置、ファクシミリ装置等に適用可能であることはいうまでもない。
Hereinafter, an image reading apparatus according to an embodiment of the present invention will be described with reference to the drawings. In the following description, a mode in which the image reading apparatus is realized as a multifunction peripheral (MFP) having a copy function, a scanner function, a facsimile function, and a cordless telephone function will be described.
Needless to say, the image reading apparatus of this embodiment can be applied to a copying apparatus, a scanner apparatus, a facsimile apparatus, and the like.
まず、画像読取装置100の概略構成について説明する。図4は、画像読取装置100の外観斜視図である。
図4に示すように、画像読取装置100は、合成樹脂製の本体ケース(ハウジング)101によって形成されている。画像読取装置100の前面には、給紙カセット(トレイ)102が挿抜可能に形成されている。給紙カセット102の上側には、排紙部103が配置されている。
First, a schematic configuration of the
As shown in FIG. 4, the
画像読取装置100の前面には、スロット部104が配置されている。スロット部104にメモリカード等の各種記憶媒体が装填され、当該記憶媒体に記憶された画像データ等を印刷することができる。
A
画像読取装置100の上側には、各種操作ボタンや液晶表示部等を備えた操作パネル部105が設けられている。
画像読取装置100の上側には、設置台(フラットベット)106が設けられている。設置台106には、原稿が配置される。設置台106は、光透過可能な材質(例えば、ガラス)で構成されている。
画像読取装置100の上側には、カバー部107が設けられている。カバー部107は、開閉可能に構成され、原稿の読み取り時には閉状態となる。
On the upper side of the
An installation table (flat bed) 106 is provided on the upper side of the
A
画像読取装置100の内部には、原稿に光を照射するための光源を有するキャリッジ108と、原稿の反射光を撮像する撮像素子を有する撮像機構とが設けられている。
キャリッジ108から照射された光は、設置台106を透過して原稿に対して照射され、その反射光は、設置台106を透過して撮像素子(例えば、CCD)で読み取られる。
なお、撮像機構は、キャリッジ108の内部に設けてもよく、キャリッジ108の外部に設けてもよい。
さらに、本実施形態において、CIS(Contact Image Sensor)方式の主走査方向に1ラインの画像読取センサと、そのセンサを副走査方向に移動させるモータとを組み合わせたCISキャリッジを用いてもよい。
Inside the
The light emitted from the
Note that the imaging mechanism may be provided inside the
Further, in the present embodiment, a CIS (Combined Image Sensor) CIS carriage may be used in which an image reading sensor of one line in the main scanning direction and a motor that moves the sensor in the sub-scanning direction are combined.
キャリッジ108は、駆動モータ(図示せず)によって駆動する駆動ベルト(図示せず)によって、副走査方向(図4におけるX方向)の位置制御が行われる。以下、駆動モータ及び駆動ベルトを総称して駆動機構という。
The
本実施形態では、設置台106の上に原稿を設置し、設置台106の下から原稿に照射する構成であるが、設置台106の下に原稿を設置し、設置台106の上から原稿に照射する構成としてもよい。 In this embodiment, the document is set on the setting table 106 and the document is irradiated from below the setting table 106. However, the document is set under the setting table 106 and the document is set on the setting table 106. It is good also as a structure to irradiate.
画像読取装置100の内部には、印字機構が設けられている。印字機構は、給紙カセット102にセットされている被印刷媒体に、撮像機構で読み取った原稿、記憶媒体の画像データ、または通信I/Fを介してコンピュータ(PC)から受信した画像データ等の所定のデータを印刷する。
画像読取装置100の内部には、紙送り機構が設けられている。紙送り機構は、印刷済みの記録媒体を、撮像機構から見た主走査方向(図4におけるY方向)に搬送することができる。
A printing mechanism is provided inside the
A paper feeding mechanism is provided inside the
なお、撮像機構、印字機構、及び紙送り機構それぞれの構成・動作については、公知であるので、詳細な説明は省略する。 Note that the configurations and operations of the imaging mechanism, the printing mechanism, and the paper feeding mechanism are well known, and thus detailed description thereof is omitted.
画像読取装置100の内部には、制御装置が設けられている。
以下、画像読取装置100の制御装置について説明する。図5は、制御装置のブロック図である。図5に示すように、制御装置には、CPU121、ROM122、RAM123、入出力I/F124、通信I/F125が設けられている。また、それぞれの要素は、信号線によって互いに接続され、種々のデータが送受信される。
A control device is provided inside the
Hereinafter, the control device of the
CPU121は、画像読取装置100全体を制御する。また、本発明を実現するためのプログラム(後述の原稿読取処理プログラム)を実行する。
ROM122には、上記プログラム及び各種テーブルが記憶されている。ROM122として、フラッシュメモリを用いてもよい。
RAM123には、CPU121によるプログラムの実行の際に、種々のデータの読み込み/書き込みが行われる。また、RAM123には、撮像機構が撮像した画像信号(後述のプレスキャン画像、本スキャン画像)が記憶される。
The
The
Various data are read / written in the
入出力I/F124には、種々の機器(操作パネル部105、キャリッジ108、駆動機構、撮像機構、印字機構、紙送り機構等)が接続されており、接続されている機器との間で、種々のデータが送受信される。
Various devices (
なお、図5に示す内部構成は、単なる一例であり、本発明は、この内部構成を有するものに限定されないことはいうまでもない。 Note that the internal configuration shown in FIG. 5 is merely an example, and it goes without saying that the present invention is not limited to the configuration having this internal configuration.
次に、原稿読取処理について説明する。原稿読取処理は、設置台106の上に、1または複数の原稿が設置され、カバー部107が閉じられ、プレスキャン領域が指定され、操作パネル部105の所定のボタン(スタートボタン等)が押下されることにより、実行が開始される。なお、操作パネル部105の操作に代えて、接続されるコンピュータ等からの指示信号に基いて、原稿読取処理の実行を開始してもよい。また、以下の説明では、プレスキャン領域としてA5サイズが指定されたとする。
Next, the document reading process will be described. In the document reading process, one or a plurality of documents are placed on the setting table 106, the
図6は、設置台106に、原稿210、原稿220が設置されている様子であり、原稿210及び原稿220が、プレスキャン領域であるA5サイズの範囲内(点線で示している)に収まっている様子を示している。 FIG. 6 shows a state in which the original 210 and the original 220 are set on the setting table 106, and the original 210 and the original 220 are within the A5 size range (shown by a dotted line) which is a pre-scan area. It shows how it is.
図7は、設置台106に、原稿230〜原稿260が設置されている様子であり、原稿230はプレスキャン領域(点線で示している)に収まっており、原稿240及び原稿250の一部はプレスキャン領域に収まっておらず、原稿260はプレスキャン領域に入っていない様子を示している。
FIG. 7 shows a state in which the original 230 to the original 260 are installed on the installation table 106. The original 230 is within a pre-scan area (shown by a dotted line), and a part of the original 240 and the original 250 is shown. It is shown that the
図8は、原稿読取処理のフローチャートである。
S11において、プレスキャン動作指示を出力する。キャリッジ108は、設置台106上の原稿に対して光を照射しつつ、副走査方向にA5サイズの長さだけ移動する。また、原稿からの反射光は、光電変換されてRAM123に記憶される。
すなわち、プレスキャン動作指示が出力されることにより、プレスキャン領域の画像信号が、プレスキャン画像としてRAM123に記憶される。
FIG. 8 is a flowchart of the document reading process.
In S11, a pre-scan operation instruction is output. The
That is, by outputting the prescan operation instruction, the image signal of the prescan area is stored in the
S12において、S11で取得したプレスキャン画像から原稿の領域を抽出し、抽出した領域の頂点を検出する。原稿の領域の抽出方法、及び、頂点の検出方法として公知の種々の技術を用いることができる。 In S12, a document area is extracted from the pre-scan image acquired in S11, and a vertex of the extracted area is detected. Various known techniques can be used as a document area extraction method and a vertex detection method.
S13において、S11で読み取られた全ての原稿がプレスキャン領域に収まっているか否かを判断する。S12で検出した全ての頂点が、プレスキャン画像(S11で取得した画像)の境界に存在しないと判断した場合に、読み取られた全ての原稿がプレスキャン領域に収まっていると判断される。 In S13, it is determined whether or not all the documents read in S11 are within the pre-scan area. If it is determined that all the vertices detected in S12 do not exist at the boundary of the pre-scan image (the image acquired in S11), it is determined that all the read originals are within the pre-scan area.
図9は、プレスキャン画像301と、その画像に含まれる領域310と領域320、頂点311〜頂点314、及び頂点321〜頂点324を示している。ここで、領域310は図6の原稿210に対応し、領域320は図6の原稿220に対応している。また、設置台106の領域を点線で示している。
図9に示すように、頂点311〜314及び頂点321〜324のいずれもがプレスキャン画像の境界にないので、S13の判断は「YES」となる。
FIG. 9 shows a
As shown in FIG. 9, since none of the
全ての原稿がプレスキャン領域に収まっていると判断した場合は(S13:YES)、S14に移行する。
S14において、本スキャン範囲を決定する。本スキャン範囲の主走査方向長さは、キャリッジ108における主走査方向の最大読取幅(光を照射できる最大幅)である。また、副走査方向読取開始位置(本スキャン範囲の始点、以下、単に「読取開始位置」という。)は、設置台106の原点位置に最も近い頂点(図9の頂点311及び頂点314)の位置となる。副走査方向読取終了位置(本スキャン範囲の終点、以下、単に「読取終了位置」という。)は、設置台106の原点位置から最も遠い頂点(図9の頂点322及び頂点323)の位置となる。
図10は、読取開始位置と読取終了位置を示している。
If it is determined that all the originals are within the pre-scan area (S13: YES), the process proceeds to S14.
In S14, the main scan range is determined. The main scanning direction length of the main scanning range is the maximum reading width in the main scanning direction of the carriage 108 (maximum width that can be irradiated with light). Further, the reading start position in the sub-scanning direction (the start point of the main scanning range, hereinafter simply referred to as “reading start position”) is the position of the vertex (
FIG. 10 shows the reading start position and the reading end position.
S15において、キャリッジ移動指示を出力する。キャリッジ108は、本スキャン動作の初期位置に移動する。この初期位置は、上述した読取開始位置よりも1ライン分だけ逆方向に移動した位置である。
S16において、本スキャン動作指示を出力する。
In S15, a carriage movement instruction is output. The
In S16, a main scan operation instruction is output.
S17において、キャリッジ移動指示を出力する。キャリッジ108は、1ライン分だけ正方向に移動する。
ここで、S16からS17に移行したときに、キャリッジ108は、S17の処理により上述した読取開始位置に移動することになる。
S18において、主走査方向1ライン分の画像データを取得し、RAM123に記憶する。
In S17, a carriage movement instruction is output. The
Here, when the process proceeds from S16 to S17, the
In S18, image data for one line in the main scanning direction is acquired and stored in the
S19において、キャリッジ108が、読取終了位置に到達したか否かを判断する。キャリッジ108が読取終了位置に到達していないと判断した場合は(S19:NO)、S17に戻る。
これにより、キャリッジ108が読取終了位置に到達するまでの間、S17及びS18の処理が繰り返されるため、主走査方向の1ライン分の画像データを順次取得し、RAM123に記憶する。
In S19, it is determined whether or not the
As a result, the processes of S17 and S18 are repeated until the
S19において、キャリッジ108が読取終了位置に到達したと判断した場合は(S19:YES)、本スキャン画像がRAM123に記憶されたので、S21に移行する。
If it is determined in S19 that the
一方、S13において、プレスキャン領域に収まっていない原稿が存在すると判断した場合は(S13:NO)、S20(サブ処理)に移行する。 On the other hand, if it is determined in S13 that there is a document that does not fit in the pre-scan area (S13: NO), the process proceeds to S20 (sub process).
図11は、プレスキャン画像302と、その画像に含まれる領域330〜領域350、頂点331〜頂点334、頂点341〜頂点344、及び頂点351〜頂点354を示している。ここで、領域330は、図7の原稿230に対応し、領域340は、図7の原稿240の一部に対応し、領域350は、図7の原稿250の一部に対応する。また、プレスキャン画像には、原稿260に対応する領域は含まれていない。また、設置台106の領域と各原稿の読み取られなかった領域を点線で示している。
FIG. 11 shows a
図11に示すように、領域340の頂点342と頂点343、及び、領域350の頂点353と頂点354が、プレスキャン画像の境界(プレスキャン画像の端部)に存在するので、S13の判断は「NO」となる。
As shown in FIG. 11, the
次に、サブ処理について説明する。図12は、サブ処理のフローチャートである。
S31において、読取開始位置を決定する。読取開始位置(本スキャン範囲の始点)は、設置台106の原点位置に最も近い頂点(図11の頂点331及び頂点334)の位置となる。また、読取終了位置(本スキャン範囲の終点)は決定されない。
図13は、読取開始位置を示している。
Next, sub processing will be described. FIG. 12 is a flowchart of sub processing.
In S31, the reading start position is determined. The reading start position (the start point of the main scan range) is the position of the vertex (
FIG. 13 shows the reading start position.
S32において、キャリッジ移動指示を出力する。キャリッジ108は、本スキャン動作の初期位置に移動する。この初期位置は、上述した読取開始位置よりも1ライン分だけ逆方向に移動した位置である。
S33において、本スキャン開始指示を出力する。
In S32, a carriage movement instruction is output. The
In S33, a main scan start instruction is output.
S34において、キャリッジ移動指示を出力する。キャリッジ108は、1ライン分だ
け正方向に移動する。
ここで、S33からS34に移行したときに、キャリッジ108は、S34の処理により上述した読取開始位置に移動することになる。
S35において、主走査方向1ライン分の画像データを取得し、RAM123に記憶する。
In S34, a carriage movement instruction is output.
Move in the positive direction.
Here, when the process proceeds from S33 to S34, the
In S35, image data for one line in the main scanning direction is acquired and stored in the
S36において、キャリッジ108が読取終了位置に到達したか否かを判断する。この判断は、S11のプレスキャン動作によって読み取られた原稿(図7の原稿230〜250)の全ての領域が読み取られた時点で、「YES」となる。
In S36, it is determined whether or not the
ここで、読取終了位置の決定方法について説明する。なお、以下に示す決定方法は単なる例示にすぎず、他の方法を用いてもよい。 Here, a method for determining the reading end position will be described. Note that the determination method shown below is merely an example, and other methods may be used.
(方法1)
例えば、「S35で取得した1ライン分の画像(以下、「(N+1)ライン目の画像」とする。)」と「Nライン目の画像」との輝度値の差分値が、所定値以上となっている場合に、Nライン目を読取終了位置とすることができる。なお、(N+1)ライン目の画像は、本スキャン画像から除外される。
(Method 1)
For example, the difference value between the luminance values of “the image for one line acquired in S35 (hereinafter referred to as“ (N + 1) th line image ”)” and “the Nth line image” is equal to or greater than a predetermined value. In this case, the Nth line can be set as the reading end position. Note that the (N + 1) -th line image is excluded from the main scan image.
(方法2)
また、1ライン分の画像を読み取るごとに、当該ライン目までの本スキャン画像に含まれる領域の副走査方向の頂点位置(以下、単に「頂点位置」という。)を検出し、「(N+1)ライン目までの本スキャン画像に含まれる領域の頂点位置」と「Nライン目までの本スキャン画像に含まれる領域の頂点位置」とが同じである場合に、Nライン目を読取終了位置とすることができる。なお、(N+1)ライン目の画像は、本スキャン画像から除外される。
(Method 2)
Further, every time an image for one line is read, a vertex position in the sub-scanning direction (hereinafter simply referred to as “vertex position”) of an area included in the main scan image up to the line is detected, and “(N + 1) When the “vertex position of the region included in the main scan image up to the line” and the “vertex position of the region included in the main scan image up to the Nth line” are the same, the Nth line is set as the reading end position. be able to. Note that the (N + 1) -th line image is excluded from the main scan image.
上記方法2について、図面を参照しつつ詳細に説明する。
図14は、本スキャン画像と領域の頂点位置との関係を示した図である。
図14(A)は、Xライン目までの本スキャン画像601に含まれる領域の頂点位置が「X」であることを示している。
図14(B)は、(X+1)ライン目までの本スキャン画像602に含まれる領域の頂点位置が「X+1」であることを示している。
図14(A)及び(B)に示されるように、頂点位置が「X」から「X+1」に変化しているので、Xライン目は読取終了位置ではない。
The method 2 will be described in detail with reference to the drawings.
FIG. 14 is a diagram showing the relationship between the main scan image and the vertex position of the area.
FIG. 14A shows that the vertex position of the region included in the
FIG. 14B shows that the vertex position of the area included in the
As shown in FIGS. 14A and 14B, since the vertex position has changed from “X” to “X + 1”, the X-th line is not the reading end position.
図14(C)は、Yライン目までの本スキャン画像603に含まれる領域の頂点位置が「Y」であることを示している。
図14(D)は、(Y+1)ライン目までの本スキャン画像604に含まれる領域の頂点位置が「Y+1」であることを示している。
図14(C)及び(D)に示されるように、頂点位置は同じ「Y」であるので、Yライン目が読取終了位置となる。
FIG. 14C shows that the vertex position of the area included in the
FIG. 14D shows that the vertex position of the area included in the
As shown in FIGS. 14C and 14D, since the vertex position is the same “Y”, the Y-th line is the reading end position.
なお、所定ライン目までの本スキャン画像から頂点位置を検出する方法は、例えば、以下のとおりである。
(1)本スキャン画像データから、直線で構成されるエッジ(輪郭線)画像データを作成(2)前記直線が交わる点の座標位置を、頂点位置として検出
The method for detecting the vertex position from the main scan image up to the predetermined line is, for example, as follows.
(1) Create edge (contour) image data composed of straight lines from the main scan image data. (2) Detect the coordinate position of the point where the straight lines intersect as the vertex position.
説明を図12に戻す。
キャリッジ108が読取終了位置に到達していないと判断した場合は(S36:NO)、S34に戻る。
これにより、キャリッジ108が読取終了位置に到達するまでの間、S34及びS35の処理が繰り返されるため、主走査方向の1ライン部の画像データを順次取得し、RAM123に記憶する。
Returning to FIG.
If it is determined that the
As a result, the processes of S34 and S35 are repeated until the
S36において、キャリッジ108が読取終了位置に到達したと判断した場合は(S36:YES)、本スキャン画像がRAM123に記憶されたので、S37に移行する。
図15は、本スキャン動作が終了する副走査方向読取終了位置を示している。
If it is determined in S36 that the
FIG. 15 shows the reading end position in the sub-scanning direction where the main scanning operation ends.
S37において、本スキャン画像に基いて、プレスキャン画像に含まれていた原稿領域の新たな頂点を決定する。
図16は、本スキャン画像402と、その画像に含まれる領域430〜領域460、頂点331〜334、頂点341、442、443、344、及び頂点351、352、453、454を示している。なお、図11のプレスキャン画像302の頂点と同じ位置の頂点には、同じ符号を用いている。
In S37, a new vertex of the document area included in the pre-scan image is determined based on the main scan image.
FIG. 16 shows the
図16に示すように、頂点442、頂点443、頂点453、頂点454が新たに決定されている。また、領域460は、プレスキャン画像302に含まれていなかった領域であるから、頂点は検出されていない。
S37で頂点を決定したあと、S21(図8)に移行する。
As shown in FIG. 16, a
After the vertex is determined in S37, the process proceeds to S21 (FIG. 8).
S21において、検出した頂点に基いて、本プレスキャン画像から出力画像を生成し、生成した出力画像を所定の出力先に出力する。
例えば、本スキャン画像402(図16参照)について、本スキャン画像402から領域460を除去した画像を出力画像とすることができる。
また、本スキャン画像402から領域430、領域440、領域450をそれぞれ切り出した画像を出力画像としてもよい。
In S21, based on the detected vertex, an output image is generated from the main prescan image, and the generated output image is output to a predetermined output destination.
For example, for the main scan image 402 (see FIG. 16), an image obtained by removing the
An image obtained by cutting out the
出力画像の出力先は、RAM123の所定領域、所定の表示画面、スロット部104に装填された記憶媒体等、適宜設定可能である。
また、RAM123の所定領域に記憶された場合は、当該記憶された出力画像は、他の処理(例えば、文字認識処理)の対象とすることができる。
The output destination of the output image can be appropriately set such as a predetermined area of the
When stored in a predetermined area of the
以上説明した本発明の実施形態によれば、設置台106上の所定範囲についてプレスキャン動作を行ってプレスキャン画像を取得し、取得したプレスキャン画像に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、前記特殊原稿が存在する場合、本スキャン動作中に、前記特殊原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、前記特殊原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させる。
これにより、原稿の一部が読取範囲(プレスキャン領域)から外れていた場合であっても、当該原稿の全ての領域を読み取るように適切な範囲で本スキャン動作が行われるので、ユーザが所望する画像データを取得することができる。
また、本スキャン動作は、上記領域の一部が読み取られなかった原稿が全て読み取られた時点で終了するので、本スキャン動作に必要な時間を短縮することができる。
According to the embodiment of the present invention described above, a pre-scan operation is performed for a predetermined range on the installation table 106 to acquire a pre-scan image, and based on the acquired pre-scan image, a part of the document is in the read range. It is determined whether or not there is a special manuscript that is installed outside the target document. If the special manuscript exists, whether or not the main scan image including the entire area of the special manuscript is stored during the main scan operation. When the main scan image of all the areas of the special document is stored, the main scan operation is terminated.
As a result, even when a part of the document is out of the reading range (pre-scan area), the main scanning operation is performed within an appropriate range so as to read the entire area of the document. Image data to be acquired can be acquired.
Further, the main scanning operation is completed when all the originals in which a part of the area has not been read are read, so that the time required for the main scanning operation can be shortened.
なお、本発明は上述した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で種々の改良、変形が可能であることはいうまでもない。 Note that the present invention is not limited to the above-described embodiment, and various improvements and modifications can be made without departing from the scope of the present invention.
また、上述したフローチャートは単なる一例であり、該フローチャートの処理と同等の結果を得ることできるものであれば、他のフローチャートによって原稿読取処理を実現し
てもよい。
Further, the flowchart described above is merely an example, and if a result equivalent to the process of the flowchart can be obtained, the document reading process is realized by another flowchart.
May be.
また、上述した画像読取装置に係る方法、該方法をコンピュータに実行させるためのプログラム、該プログラムを記憶した記憶媒体等としても本発明は実現可能である。 The present invention can also be realized as a method related to the above-described image reading apparatus, a program for causing a computer to execute the method, a storage medium storing the program, and the like.
100 画像読取装置
106 設置台
108 キャリッジ
121 CPU
122 ROM
123 RAM
210〜260 原稿
301、302 プレスキャン画像
402 本スキャン画像
100
122 ROM
123 RAM
210-260
Claims (8)
前記原稿の主走査方向の反射光を画像信号に変換する画像読取手段と、
前記画像信号を記憶する画像記憶手段と、
前記画像記憶手段の画像信号を処理する画像処理手段と、
プレスキャン動作及び本スキャン動作を制御する制御手段と、
前記原稿の読取範囲を取得する領域取得手段と、を有する画像読取装置において、
前記画像処理手段は、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、
前記特殊原稿が存在する場合、
前記画像処理手段は、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、
前記制御手段は、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、
前記画像処理手段は、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出す、
ことを特徴とする画像読取装置。 A document placed on one surface of a light transmissive flat bed is irradiated with light in the main scanning direction from the opposite surface of the flat bed, and in the sub scanning direction of the document. A movable carriage;
Image reading means for converting reflected light in the main scanning direction of the document into an image signal;
Image storage means for storing the image signal;
Image processing means for processing an image signal of the image storage means;
Control means for controlling the pre-scan operation and the main scan operation;
In an image reading apparatus having an area acquisition means for acquiring a reading range of the document,
The image processing means determines whether or not a vertex of an area of at least one document among a plurality of documents detected from the prescan image in the acquired reading range exists at a boundary of the prescan image. On the basis of whether or not there is a special manuscript that is partly placed outside the scanning range,
If the special document exists,
The image processing means determines whether or not a main scan image including all areas of the plurality of documents is stored during the main scan operation;
The control means terminates the main scan operation when the main scan images of all areas of the plurality of documents are stored ,
The image processing means specifies a document position of a document included in the main scan image after the main scan operation is finished , and cuts out a plurality of predetermined images from the main scan image based on the specified document position .
An image reading apparatus.
前記原稿の主走査方向の反射光を画像信号に変換する画像読取手段と、
前記画像信号を記憶する画像記憶手段と、
前記画像記憶手段の画像信号を処理する画像処理手段と、
プレスキャン動作及び本スキャン動作を制御する制御手段と、
前記原稿の読取範囲を取得する領域取得手段と、を有する画像読取装置において、
前記画像処理手段は、前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、
前記特殊原稿が存在する場合、
前記画像処理手段は、本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、
前記制御手段は、前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、
前記画像処理手段は、前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しない、
ことを特徴とする画像読取装置。 A document placed on one surface of a light transmissive flat bed is irradiated with light in the main scanning direction from the opposite surface of the flat bed, and in the sub scanning direction of the document. A movable carriage;
Image reading means for converting reflected light in the main scanning direction of the document into an image signal;
Image storage means for storing the image signal;
Image processing means for processing an image signal of the image storage means;
Control means for controlling the pre-scan operation and the main scan operation;
In an image reading apparatus having an area acquisition means for acquiring a reading range of the document,
The image processing means determines whether or not a vertex of an area of at least one document among a plurality of documents detected from the prescan image in the acquired reading range exists at a boundary of the prescan image. On the basis of whether or not there is a special manuscript that is partly placed outside the scanning range,
If the special document exists,
The image processing means determines whether or not a main scan image including all areas of the plurality of documents is stored during the main scan operation;
The control means terminates the main scan operation when the main scan images of all areas of the plurality of documents are stored,
The image processing means specifies a document position of a document included in a main scan image after the main scan operation is completed, but the document that is not read by the pre-scan operation and is read by the main scan operation Do not specify the original position of the original,
Images reader you wherein a.
ことを特徴とする請求項2の画像読取装置。 The image processing unit generates an output image from the main scan image based on the specified document position;
The image reading apparatus according to claim 2 .
ことを特徴とする請求項2の画像読取装置。 The image processing means cuts out a predetermined image from the main scan image based on the specified document position;
The image reading apparatus according to claim 2 .
前記原稿の読取範囲を取得し、
前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、
前記特殊原稿が存在する場合、
本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、
前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、
前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出す、
ことを特徴とする画像読取方法。 An image reading method for reading a document placed on a light transmissive flat bed,
Obtain the reading range of the document,
Based on the determination as to whether or not the apex of the area of at least one document among the plurality of documents detected from the prescan image in the acquired reading range exists at the boundary of the prescan image, Determine whether there is a special manuscript that is partly placed outside the scanning range,
If the special document exists,
Determining whether or not a main scan image including all areas of the plurality of documents is stored during the main scan operation;
When the main scan image of all areas of the plurality of documents is stored, the main scan operation is terminated ,
After completion of the main scan operation, a document position of a document included in the main scan image is specified, and a plurality of predetermined images are cut out from the main scan image based on the specified document position .
An image reading method.
前記原稿の読取範囲を取得し、Obtain the reading range of the document,
前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断し、Based on the determination as to whether or not the apex of the area of at least one document among the plurality of documents detected from the prescan image in the acquired reading range exists at the boundary of the prescan image, Determine whether there is a special manuscript that is partly placed outside the scanning range,
前記特殊原稿が存在する場合、If the special document exists,
本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断し、Determining whether or not a main scan image including all areas of the plurality of documents is stored during the main scan operation;
前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させ、When the main scan image of all areas of the plurality of documents is stored, the main scan operation is terminated,
前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しない、After the main scan operation, the document position of the document included in the main scan image is specified. However, for the document that is not read by the pre-scan operation and is read by the main scan operation, the document position of the document is specified. do not do,
ことを特徴とする画像読取方法。An image reading method.
前記コンピュータに、
前記原稿の読取範囲を取得するステップ、
前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断するステップ、
前記特殊原稿が存在する場合、
本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断するステップ、
前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させるステップ、
前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定し、前記特定した原稿位置に基いて、前記本スキャン画像から複数の所定の画像を切り出すステップ、
を実行させるための画像読取プログラム。 A program for causing a computer to execute an image reading method for reading a document placed on a light transmissive flat bed,
In the computer,
Obtaining a reading range of the document;
Based on the determination as to whether or not the apex of the area of at least one document among the plurality of documents detected from the prescan image in the acquired reading range exists at the boundary of the prescan image, Determining whether there is a special manuscript that is partly set out of the reading range;
If the special document exists,
Determining whether a main scan image including all areas of the plurality of documents is stored during the main scan operation;
A step of ending the main scanning operation when main scanning images of all areas of the plurality of documents are stored;
A step of specifying a document position of a document included in a main scan image after the main scan operation is finished, and cutting out a plurality of predetermined images from the main scan image based on the specified document position ;
An image reading program for executing.
前記コンピュータに、In the computer,
前記原稿の読取範囲を取得するステップ、 Obtaining a reading range of the document;
前記取得した読取範囲のプレスキャン画像から検出された複数枚の原稿のうちの少なくとも1枚の原稿の領域の頂点が前記プレスキャン画像の境界に存在するか否かの判断に基いて、原稿の一部が当該読取範囲から外れて設置されている特殊原稿が存在するか否かを判断するステップ、Based on the determination as to whether or not the apex of the area of at least one document among the plurality of documents detected from the prescan image in the acquired reading range exists at the boundary of the prescan image, Determining whether there is a special manuscript that is partly set out of the reading range;
前記特殊原稿が存在する場合、If the special document exists,
本スキャン動作中に、前記複数枚の原稿の全領域を含む本スキャン画像が記憶されたか否かを判断するステップ、Determining whether a main scan image including all areas of the plurality of documents is stored during the main scan operation;
前記複数枚の原稿の全ての領域の本スキャン画像が記憶されたときに、前記本スキャン動作を終了させるステップ、A step of ending the main scanning operation when main scanning images of all areas of the plurality of documents are stored;
前記本スキャン動作終了後に、本スキャン画像に含まれる原稿の原稿位置を特定するが、前記プレスキャン動作で読み取られず、かつ前記本スキャン動作で読み取られた原稿については、当該原稿の原稿位置を特定しないステップ、After the main scan operation, the document position of the document included in the main scan image is specified. However, for the document that is not read by the pre-scan operation and is read by the main scan operation, the document position of the document is specified. Don't step,
を実行させるための画像読取プログラム。An image reading program for executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008278096A JP5029569B2 (en) | 2008-10-29 | 2008-10-29 | Image reading apparatus, image reading method, and image reading program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008278096A JP5029569B2 (en) | 2008-10-29 | 2008-10-29 | Image reading apparatus, image reading method, and image reading program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010109547A JP2010109547A (en) | 2010-05-13 |
JP5029569B2 true JP5029569B2 (en) | 2012-09-19 |
Family
ID=42298572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008278096A Active JP5029569B2 (en) | 2008-10-29 | 2008-10-29 | Image reading apparatus, image reading method, and image reading program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5029569B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4886053B2 (en) | 2009-04-23 | 2012-02-29 | シャープ株式会社 | CONTROL DEVICE, IMAGE READING DEVICE, IMAGE FORMING DEVICE, IMAGE READING DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS635659A (en) * | 1986-06-25 | 1988-01-11 | Fuji Xerox Co Ltd | Document size detector |
JP3186246B2 (en) * | 1992-09-24 | 2001-07-11 | 株式会社日立製作所 | Document reading device |
JPH06205173A (en) * | 1993-01-05 | 1994-07-22 | Matsushita Electric Ind Co Ltd | Picture reader |
JP5074651B2 (en) * | 2001-08-02 | 2012-11-14 | キヤノン株式会社 | Image reading method, program, and recording medium |
-
2008
- 2008-10-29 JP JP2008278096A patent/JP5029569B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010109547A (en) | 2010-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4687765B2 (en) | Image reading device | |
JP4929237B2 (en) | Image processing apparatus and image processing method | |
JP6525208B2 (en) | Image reader | |
JP2022165794A (en) | Image reading apparatus and image reading method | |
JP4433030B2 (en) | Image processing apparatus and control program for image processing apparatus | |
JP2008148050A (en) | Image reader | |
JP5029569B2 (en) | Image reading apparatus, image reading method, and image reading program | |
JP4998257B2 (en) | Image reading device | |
JP2011103507A (en) | Image reader, image reading system and image reading method | |
JP2010028510A (en) | Document reader | |
JP6870649B2 (en) | Image reader | |
JP4946699B2 (en) | Image reading device | |
JP5768752B2 (en) | Image reading apparatus and original arrangement determination program | |
JP2018022950A (en) | Image reading device and image reading method | |
JP6922644B2 (en) | Image reader | |
JP6561732B2 (en) | Reader and program | |
JP2009194762A (en) | Image processing apparatus | |
JP4310925B2 (en) | Image reading device | |
KR100735097B1 (en) | Scanning apparatus and scanning method | |
JP2008263275A (en) | Image read system, and control method of image read system | |
JP2007324648A (en) | Image reading system and control method thereof | |
JP5842389B2 (en) | Image reading device | |
JP4200779B2 (en) | Image processing device | |
JP2023099203A (en) | Image processing device | |
JP2021136524A (en) | Image reading device, image forming apparatus, and document area detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100224 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110616 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110705 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110825 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120124 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120314 |
|
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: 20120529 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120611 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5029569 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150706 Year of fee payment: 3 |