[go: up one dir, main page]

JP2014199975A - Program, loading position determination method, and loading position determination device - Google Patents

Program, loading position determination method, and loading position determination device Download PDF

Info

Publication number
JP2014199975A
JP2014199975A JP2013073786A JP2013073786A JP2014199975A JP 2014199975 A JP2014199975 A JP 2014199975A JP 2013073786 A JP2013073786 A JP 2013073786A JP 2013073786 A JP2013073786 A JP 2013073786A JP 2014199975 A JP2014199975 A JP 2014199975A
Authority
JP
Japan
Prior art keywords
image
read
predetermined
read image
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013073786A
Other languages
Japanese (ja)
Inventor
斉藤 孝
Takashi Saito
孝 斉藤
英夫 鎌田
Hideo Kamata
英夫 鎌田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Frontech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Fujitsu Frontech Ltd filed Critical Fujitsu Ltd
Priority to JP2013073786A priority Critical patent/JP2014199975A/en
Publication of JP2014199975A publication Critical patent/JP2014199975A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controlling Sheets Or Webs (AREA)
  • Character Input (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

【課題】 給紙トレイに載置した用紙の載置位置が適切か否かを判定することができるプログラム、載置位置判定方法及び載置位置判定装置を提供する。【解決手段】 コンピュータ装置200の制御部210は、所定の読み取り幅で画像を読み取るスキャナ装置100が読み取った、所定の用紙の画像を含む読取画像を入力する入力部271と、入力部271が入力した読取画像において、読取画像の端部から連続する黒画素の途切れる位置が、所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出部272として機能する。【選択図】 図8PROBLEM TO BE SOLVED: To provide a program, a placement position determination method, and a placement position determination device capable of determining whether or not a placement position of a sheet placed on a paper feed tray is appropriate. A control unit 210 of a computer device 200 inputs an input unit 271 that inputs a read image including an image on a predetermined sheet read by a scanner device 100 that reads an image with a predetermined reading width, and an input unit 271 inputs the input image. In the read image, the detection unit 272 detects an abnormal state when there are a plurality of rows or columns in which the positions where the black pixels continuous from the end of the read image are not at the predetermined position corresponding to the predetermined sheet exist. To do. [Selection] Figure 8

Description

本発明は、プログラム、載置位置判定方法及び載置位置判定装置に関する。   The present invention relates to a program, a mounting position determination method, and a mounting position determination apparatus.

銀行等の金融機関では、帳票等の用紙に記載された情報をコンピュータ処理するため、用紙をスキャナ装置で読み取って電子化する作業を行っている。帳票等の用紙には、複数の種類があるため、スキャナ装置は、大きさの異なる複数種類の用紙を処理する必要がある。
また、為替伝票等の一部の用紙では、画像を読み込んだ後に、スキャナ装置により用紙に通し番号を印字する処理が行われている。通し番号の印字は、例えば、二重読取り等を防止するために行われる。このため、スキャナ装置が処理する用紙には、通し番号を印字する用紙と、通し番号を印字しない用紙とが含まれる。
In a financial institution such as a bank, in order to perform computer processing on information written on paper such as a form, a paper is read and digitized by a scanner device. Since there are a plurality of types of paper such as a form, the scanner device needs to process a plurality of types of paper having different sizes.
Also, with some paper such as exchange slips, after the image is read, the scanner device prints a serial number on the paper. The serial number is printed in order to prevent, for example, double reading. For this reason, the sheets processed by the scanner device include sheets on which serial numbers are printed and sheets on which serial numbers are not printed.

特許文献1には、原稿の設置不良を検出する技術が開示されている。特許文献2には、適切な画像読取り幅を自動で判定する技術が開示されている。特許文献3には、用紙に印刷するイメージの位置を調整する技術が開示されている。特許文献4には、給紙トレイの用紙ガイドに関する技術が開示されている。   Patent Document 1 discloses a technique for detecting a document placement failure. Patent Document 2 discloses a technique for automatically determining an appropriate image reading width. Patent Document 3 discloses a technique for adjusting the position of an image to be printed on paper. Patent Document 4 discloses a technique related to a paper guide for a paper feed tray.

特開平8−97975号公報JP-A-8-97975 特開平8−254407号公報JP-A-8-254407 特開昭60−123873号公報JP 60-123873 A 特開2004−352463号公報JP 2004-352463 A

しかしながら、スキャナ装置が処理する用紙には、複数のサイズがあり、また、通し番号を印字する用紙や、印字しない用紙がある。このため、用紙のサイズや、通し番号印字の有り、無しに応じて、スキャン前の用紙を載置する給紙トレイ上の載置位置が設定されている。したがって、用紙を載置する給紙トレイ上の位置を誤ると、例えば、通し番号を印字したい用紙に通し番号が印字されない、スキャナ装置が読み取った用紙の画像をコンピュータ処理する際の手間が増加するといった問題が生じる。   However, the paper processed by the scanner device has a plurality of sizes, and there are paper that prints serial numbers and paper that does not print. For this reason, the placement position on the paper feed tray on which the paper before scanning is placed is set according to the paper size and whether or not serial number printing is performed. Therefore, if the position on the paper feed tray on which the paper is placed is incorrect, for example, the serial number is not printed on the paper on which the serial number is to be printed, and the time and labor required for computer processing of the image of the paper read by the scanner device increases. Occurs.

1つの側面では、本発明は、給紙トレイに載置した用紙の載置位置が適切か否かを判定することができるプログラム、載置位置判定方法及び載置位置判定装置を提供することを目的とする。   In one aspect, the present invention provides a program, a placement position determination method, and a placement position determination device that can determine whether or not the placement position of a sheet placed on a paper feed tray is appropriate. Objective.

1実施態様では、プログラムは、コンピュータに、所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力手順と、前記入力手順で入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる位置が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出手順とを実行させる。   In one embodiment, the program inputs to the computer an input procedure for inputting a read image including an image on a predetermined sheet read by a scanner device that reads an image with a predetermined reading width, and the read image input in the input procedure. A detection procedure for detecting an abnormal state when there are a plurality of rows or columns where the positions where the black pixels continuous from the edge of the read image are not at the predetermined positions corresponding to the predetermined paper are present. .

1実施態様では、載置位置判定方法は、所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力ステップと、前記入力ステップにより入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる箇所が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出ステップとを有している。   In one embodiment, the placement position determination method includes an input step of inputting a read image including an image of a predetermined sheet read by a scanner device that reads an image with a predetermined reading width, and the reading input by the input step. A detection step of detecting an abnormal state when there are a plurality of rows or columns where the black pixels that are continuous from the edge of the scanned image are not at a predetermined position corresponding to the predetermined paper. doing.

1実施態様では、載置位置判定装置は、所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力手段と、前記入力手段が入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる箇所が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出手段とを備える。   In one embodiment, the placement position determination device includes an input unit that inputs a read image including an image on a predetermined sheet read by a scanner that reads an image with a predetermined reading width, and the reading that is input by the input unit. A detecting unit configured to detect an abnormal state when there are a plurality of rows or columns where black pixels that are continuous from the edge of the read image are not at predetermined positions corresponding to the predetermined paper in the image; .

給紙トレイに載置した用紙の載置位置が適切か否かを判定することができる。   It is possible to determine whether or not the placement position of the paper placed on the paper feed tray is appropriate.

システム構成の一例を示す図である。It is a figure which shows an example of a system configuration. (A)は給紙ユニットの一例を示す斜視図であり、(B)は給紙ユニットの一例を示す平面図である。(A) is a perspective view showing an example of a paper feed unit, (B) is a plan view showing an example of a paper feed unit. 給紙ユニットの一例を示す平面図であって、(A)は左側のサイドガイドを給紙トレイの左端に移動させ、右側のサイドガイドを給紙トレイの幅方向の中間位置に移動させた状態を示し、(B)は左右のサイドガイドをそれぞれ給紙トレイの幅方向の中間位置に移動させた状態を示す図である。FIG. 7A is a plan view illustrating an example of a paper feed unit, in which (A) shows a state in which the left side guide is moved to the left end of the paper feed tray and the right side guide is moved to an intermediate position in the width direction of the paper feed tray. (B) is a diagram showing a state in which the left and right side guides are respectively moved to intermediate positions in the width direction of the paper feed tray. スキャナ装置の備えるハードウェアの一例を示す図である。It is a figure which shows an example of the hardware with which a scanner apparatus is provided. (A)は給紙ユニット、搬送部、読取部、印字部の各部を、処理の担当順に搬送方向に並べた図であり、(B)は読取部で読み取られた画像データの一例を示す図であり、(C)はスキャナ装置から排紙された帳票の一例を示す図である。(A) is a diagram in which the paper feed unit, the conveyance unit, the reading unit, and the printing unit are arranged in the conveyance direction in the order of processing, and (B) is a diagram illustrating an example of image data read by the reading unit. FIG. 8C is a diagram illustrating an example of a form ejected from the scanner device. (A)は給紙ユニット、搬送部、読取部、印字部の各部を、処理の担当順に搬送方向に並べた図であり、(B)は読取部で読み取られた画像データの一例を示す図であり、(C)はスキャナ装置から排紙された帳票の一例を示す図である。(A) is a diagram in which the paper feed unit, the conveyance unit, the reading unit, and the printing unit are arranged in the conveyance direction in the order of processing, and (B) is a diagram illustrating an example of image data read by the reading unit. FIG. 8C is a diagram illustrating an example of a form ejected from the scanner device. コンピュータ装置の備えるハードウェアの一例を示す図である。It is a figure which shows an example of the hardware with which a computer apparatus is provided. コンピュータ装置の制御部が備える機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block with which the control part of a computer apparatus is provided. (A)はスキャナ装置が第1処理を正常に行うことができる、給紙トレイ上の正規の位置に帳票を載置した例を示し、(B)は帳票を給紙トレイの右端に寄せて横置きした例を示し、(C)は帳票を給紙トレイの中央部分に縦置きした例を示し、(D)は給紙トレイの左端に寄せて帳票を縦置きした例を示す図である。(A) shows an example in which a document is placed at a regular position on the paper feed tray where the scanner device can normally perform the first process, and (B) shows the form brought to the right end of the paper feed tray. FIG. 4C shows an example in which the paper is placed horizontally, FIG. 6C shows an example in which the paper is placed vertically in the center portion of the paper feed tray, and FIG. . (A)はスキャナ装置が第2処理を正常に行うことができる、給紙トレイ上の正規の位置に帳票を載置した例を示し、(B)は帳票を給紙トレイの左端に寄せて横置きした例を示し、(C)は帳票を給紙トレイの左端に寄せて縦置きした例を示し、(D)は給紙トレイの左端に寄せて帳票を横置きした例を示す図である。(A) shows an example in which a form is placed at a regular position on the paper feed tray where the scanner device can perform the second processing normally, and (B) shows the form brought to the left end of the paper feed tray. (C) shows an example in which a form is brought to the left end of the paper feed tray and placed vertically, and (D) shows an example in which the form is placed in a horizontal position by bringing it to the left end of the paper feed tray. is there. スキャナ装置によって読み取られた読取画像の一例を示す図であり、(A)は帳票画像の幅方向の両端に黒画像が均等に付加された例を示し、(B)は帳票画像の左側の黒画像の面積が右側の黒画像の面積よりも大きくなる場合を示す図である。2A and 2B are diagrams illustrating an example of a read image read by a scanner device, where FIG. 1A illustrates an example in which black images are evenly added to both ends in the width direction of a form image, and FIG. 2B illustrates black on the left side of the form image. It is a figure which shows the case where the area of an image becomes larger than the area of the black image on the right side. 黒画素数を計数する読取画像の長さ方向の位置を変更して、複数の位置で、黒画素数を計数する様子を示す図である。It is a figure which shows a mode that the position of the length direction of the read image which counts the number of black pixels is changed, and the number of black pixels is counted in a plurality of positions. (A)は、第1左用しきい値及び第1右用しきい値を、読取画像の左端部及び右端部と比較可能となるように示した図であり、(B)は帳票を給紙トレイの右端に寄せて横置きした場合の読取画像の一例を示し図であり、(C)は帳票を給紙トレイの左端に寄せて縦置きした場合の読取画像の一例を示す図である。(A) is a diagram showing the first left threshold and the first right threshold so that they can be compared with the left edge and right edge of the read image, and (B) feeds a form. FIG. 4C is a diagram illustrating an example of a read image when the paper is placed side by side toward the right end of the tray, and FIG. 8C is a diagram illustrating an example of a read image when the form is placed side by side toward the left end of the paper feed tray. (A)は読取画像の幅方向の両端部で、黒画素数を計数する様子を模式的に示す図であり、(B)は(A)に示すa〜fの各ラインの黒画素数の計数結果を示す図である。(A) is a figure which shows typically a mode that the number of black pixels is counted in the both ends of the width direction of a read image, (B) is the number of black pixels of each line of a to f shown in (A). It is a figure which shows a counting result. (A)は第2左用しきい値及び第2右用しきい値を、読取画像の左端部及び右端部と比較可能となるように示した図であり、(B)は帳票を給紙トレイの左端に寄せて縦置きした場合の読取画像の一例を示し図であり、(C)は帳票を給紙トレイの左端に寄せて横置きした場合の読取画像の一例を示す図である。(A) is a diagram showing the second left threshold value and the second right threshold value so that they can be compared with the left end portion and the right end portion of the read image, and (B) shows the form in the paper feed tray. FIG. 6C is a diagram illustrating an example of a read image when the paper is vertically placed close to the left end of the sheet, and FIG. 8C is a diagram illustrating an example of a read image when the form is horizontally placed while being close to the left end of the paper feed tray. (A)〜(E)は、画像を圧縮してノイズを除去する方法の一例を説明するための図である。(A)-(E) is a figure for demonstrating an example of the method of compressing an image and removing a noise. コンピュータ装置の制御部の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the control part of a computer apparatus. コンピュータ装置の制御部の処理手順の一例を示すフローチャートであり、図17に示すフローの続きを示す図である。It is a flowchart which shows an example of the process sequence of the control part of a computer apparatus, and is a figure which shows the continuation of the flow shown in FIG. 図18のS11に示す帳票セット位置の異常判定の詳細フローの一例を示す図である。It is a figure which shows an example of the detailed flow of abnormality determination of the form set position shown to S11 of FIG.

以下、実施形態について、図1〜図19を参照しながら詳細に説明する。   Hereinafter, embodiments will be described in detail with reference to FIGS.

まず、図1を参照しながら本実施形態のシステム構成の一例について説明する。図1に、本実施形態のシステム構成の一例を示す。本実施形態は、スキャナ装置100とコンピュータ装置200とを備える。スキャナ装置100と、コンピュータ装置200とはケーブル300で接続され、スキャナ装置100で読み取られた画像データがケーブル300を介してスキャナ装置100からコンピュータ装置200に送られる。コンピュータ装置200は、スキャナ装置100から送られた画像データに、例えば文字認識等の処理を施し、画像データを電子化してコンピュータ装置200の備える記憶装置に記憶させる。   First, an example of the system configuration of this embodiment will be described with reference to FIG. FIG. 1 shows an example of the system configuration of this embodiment. The present embodiment includes a scanner device 100 and a computer device 200. The scanner device 100 and the computer device 200 are connected by a cable 300, and image data read by the scanner device 100 is sent from the scanner device 100 to the computer device 200 via the cable 300. The computer device 200 performs processing such as character recognition on the image data sent from the scanner device 100, digitizes the image data, and stores the digitized image data in a storage device included in the computer device 200.

次に、スキャナ装置100について説明する。まず、図2及び図3を参照しながらスキャナ装置100に取り付けられる給紙ユニット160について説明する。なお、図2(A)には、給紙ユニット160の斜視図を示し、図2(B)には、給紙ユニット160の平面図を示す。また、図3(A)及び図3(B)には、給紙ユニット160の平面図であって、給紙ユニット160の備えるサイドガイド162、163の位置を、図2(B)に示すサイドガイド162、163の位置とは変更したものを示す。なお、以下では、用紙の一例として帳票を例に挙げて、給紙ユニット160に帳票をセットし、帳票の画像を読み取る場合を例に説明する。
給紙ユニット160は、給紙トレイ161と、一対のサイドガイド162、163とを備える。給紙トレイ161は、載置面Mを有し、載置面M上に、画像をスキャンする帳票が載置される。また、給紙トレイ161の搬送方向の中央部には、搬送方向に直交する方向に向く一対のガイド溝165、166が形成されている。なお、給紙トレイ161にセットされた帳票がスキャナ装置100の読取部(後述する)へと搬送される方向を搬送方向と呼び、搬送方向に直交する方向を幅方向と呼ぶ。これら一対のガイド溝165、166に、各サイドガイド162、163に設けられた不図示の突起が嵌合して、サイドガイド162、163が幅方向に移動可能となっている。図3(A)には、左側のサイドガイド162をガイド溝165の左端に設定し、右側のサイドガイド163をガイド溝166の中間位置に移動させた状態を示す。また、図3(B)には、左右のサイドガイド162、163をそれぞれガイド溝165、166の中間位置に移動させた状態を示す。サイドガイド162、163は、載置面M上に載置された帳票の動きを規制して、帳票が、スキャナ装置100の読取部(後述する)の読み取り位置に搬送されるようにする。なお、ガイド溝165、166には、例えば、左端、中間、右端の各位置に設定したサイドガイド162、163を各位置に固定する部材(不図示)が設けられている。
Next, the scanner device 100 will be described. First, the paper feeding unit 160 attached to the scanner device 100 will be described with reference to FIGS. 2A shows a perspective view of the paper feed unit 160, and FIG. 2B shows a plan view of the paper feed unit 160. As shown in FIG. 3A and 3B are plan views of the paper feeding unit 160, and the positions of the side guides 162 and 163 included in the paper feeding unit 160 are shown in FIG. 2B. The positions of the guides 162 and 163 indicate the changed ones. In the following, a form is taken as an example of paper, and a case where a form is set in the paper feeding unit 160 and an image of the form is read will be described as an example.
The paper feed unit 160 includes a paper feed tray 161 and a pair of side guides 162 and 163. The paper feed tray 161 has a placement surface M, and a document for scanning an image is placed on the placement surface M. In addition, a pair of guide grooves 165 and 166 facing the direction orthogonal to the transport direction are formed at the center of the paper feed tray 161 in the transport direction. A direction in which a form set on the paper feed tray 161 is conveyed to a reading unit (described later) of the scanner device 100 is referred to as a conveyance direction, and a direction orthogonal to the conveyance direction is referred to as a width direction. Projections (not shown) provided on the side guides 162 and 163 are fitted into the pair of guide grooves 165 and 166 so that the side guides 162 and 163 can move in the width direction. FIG. 3A shows a state in which the left side guide 162 is set at the left end of the guide groove 165 and the right side guide 163 is moved to an intermediate position of the guide groove 166. FIG. 3B shows a state in which the left and right side guides 162 and 163 are moved to intermediate positions of the guide grooves 165 and 166, respectively. The side guides 162 and 163 regulate the movement of the form placed on the placement surface M so that the form is conveyed to a reading position of a reading unit (described later) of the scanner device 100. The guide grooves 165 and 166 are provided with members (not shown) for fixing the side guides 162 and 163 set at the left end, middle, and right end positions, for example.

次に、図4を参照しながらスキャナ装置100の備えるハードウェアについて説明する。図4には、スキャナ装置100の備えるハードウェアの一例を示す。スキャナ装置100は、コントローラ110と、入出力部120と、搬送部130と、読取部140と、印字部150とを備える。なお、コントローラ110、入出力部120、搬送部130、読取部140、印字部150の各部は、バス170に接続している。   Next, hardware included in the scanner device 100 will be described with reference to FIG. FIG. 4 shows an example of hardware included in the scanner device 100. The scanner device 100 includes a controller 110, an input / output unit 120, a conveyance unit 130, a reading unit 140, and a printing unit 150. The controller 110, the input / output unit 120, the transport unit 130, the reading unit 140, and the printing unit 150 are connected to the bus 170.

コントローラ110は、制御部111とメモリ112とを備え、スキャナ装置100を制御する。制御部111は、コンピュータ装置200から送信されるコマンドデータを受信し、受信したコマンドデータに従ってスキャナ装置100の各部を制御する。メモリ112には、制御部111が制御に使用する制御プログラムが保存されている。また、メモリ112には、読取部140で読み取られた帳票の画像データが保存される。制御部111は、メモリ112に保存された画像データを読み出してコンピュータ装置200に送信する。   The controller 110 includes a control unit 111 and a memory 112, and controls the scanner device 100. The control unit 111 receives command data transmitted from the computer device 200 and controls each unit of the scanner device 100 according to the received command data. The memory 112 stores a control program used by the control unit 111 for control. In addition, the image data of the form read by the reading unit 140 is stored in the memory 112. The control unit 111 reads out the image data stored in the memory 112 and transmits it to the computer apparatus 200.

入出力部120は、ケーブル300で接続されたコンピュータ装置200とのインターフェース部である。入出力部120は、制御部111の制御に従って、メモリ112から読み出された画像データを、ケーブル300を介してコンピュータ装置200に送信する。また、入出力部120は、ケーブル300を介してコンピュータ装置200から受信したコマンドデータを制御部111に送る。   The input / output unit 120 is an interface unit with the computer apparatus 200 connected by the cable 300. The input / output unit 120 transmits the image data read from the memory 112 to the computer apparatus 200 via the cable 300 under the control of the control unit 111. Further, the input / output unit 120 sends command data received from the computer apparatus 200 via the cable 300 to the control unit 111.

次に、搬送部130、読取部140、印字部150について、図5及び図6を参照しながら説明する。図5(A)及び図6(A)には、給紙ユニット160、搬送部130、読取部140、印字部150の各部を、処理の担当順に帳票の搬送方向に並べた図を示す。図5(B)及び図6(B)には、読取部140で読み取られた画像データの一例を示す。図5(C)及び図6(C)には、スキャナ装置100から排紙された帳票の例を示す。
搬送部130は、搬送ローラ131、132を備え、給紙ユニット160の給紙トレイ161に載置された帳票を一枚ずつ搬送ローラ131、132によって繰り出し、読取部140へと搬送する。搬送ローラ131、132は、給紙トレイ161の幅方向の中央部に設けられている。
Next, the conveyance unit 130, the reading unit 140, and the printing unit 150 will be described with reference to FIGS. 5A and 6A are diagrams in which the respective units of the paper feeding unit 160, the conveyance unit 130, the reading unit 140, and the printing unit 150 are arranged in the conveyance direction of the document in the order of processing. 5B and 6B show an example of image data read by the reading unit 140. FIG. 5C and 6C show examples of forms ejected from the scanner device 100. FIG.
The transport unit 130 includes transport rollers 131 and 132, and feeds the forms placed on the paper feed tray 161 of the paper feed unit 160 one by one by the transport rollers 131 and 132 and transports them to the reading unit 140. The transport rollers 131 and 132 are provided at the center in the width direction of the paper feed tray 161.

読取部140は、読取センサ(不図示)を備え、搬送部130により搬送された帳票の画像を読取センサによって読み取る。読取部140で読み取られた画像データは、制御部111に送られ、制御部111の制御によりメモリ112に保存される。図5(B)及び図6(B)には、読取部140により読み取られた画像データの一例を示す。読取部140は、一定の読み取り幅で帳票の画像を読み取る。すなわち、読取部140は、給紙トレイ161に載置される帳票のサイズが変更になっても、一定の読み取り幅で画像を読み取る。読取部140は、帳票以外の部分も読み取って、背景画像として黒画像で出力する。   The reading unit 140 includes a reading sensor (not shown), and reads an image of the form conveyed by the conveying unit 130 by the reading sensor. The image data read by the reading unit 140 is sent to the control unit 111 and stored in the memory 112 under the control of the control unit 111. 5B and 6B show an example of image data read by the reading unit 140. FIG. The reading unit 140 reads an image of a form with a certain reading width. That is, the reading unit 140 reads an image with a constant reading width even when the size of the form placed on the paper feed tray 161 is changed. The reading unit 140 reads a portion other than the form and outputs a black image as a background image.

印字部150は、印字ヘッド155を備え、読取部140により画像を読み取った後の帳票に通し番号を印字する。印字ヘッド155は、図5(A)及び図6(A)に示すように給紙トレイ161の幅方向の左端に設けている。このため、サイドガイド162を左端に寄せ、サイドガイド163をガイド溝166の中間位置に移動させ、帳票を給紙トレイ161の左端に寄せて載置した場合、図5(C)に示すように、帳票に通し番号が印字される。また、図6(A)に示すように左右のサイドガイド162、163を、ガイド溝165、166の中間位置に移動させて、帳票を給紙トレイ161の中央部に載置した場合には、図6(C)に示すように帳票に通し番号は印字されない。   The printing unit 150 includes a print head 155 and prints a serial number on a form after an image is read by the reading unit 140. The print head 155 is provided at the left end in the width direction of the paper feed tray 161 as shown in FIGS. 5 (A) and 6 (A). Therefore, when the side guide 162 is moved to the left end, the side guide 163 is moved to the intermediate position of the guide groove 166, and the form is moved to the left end of the paper feed tray 161 and placed, as shown in FIG. The serial number is printed on the form. Further, as shown in FIG. 6A, when the left and right side guides 162 and 163 are moved to the intermediate positions of the guide grooves 165 and 166 and the form is placed at the center of the paper feed tray 161, As shown in FIG. 6C, the serial number is not printed on the form.

ここで、スキャナ装置100が実行する2つの処理について説明する。スキャナ装置100は、第1処理と第2処理との2パターンの処理を実行する。第1処理は、給紙トレイ161に載置した帳票の画像を読取部140で読み取り、帳票に通し番号を印字する処理である。第2処理は、給紙トレイ161に載置した帳票の画像を読取部140で読み取り、帳票に通し番号を印字しない処理である。スキャナ装置100に第1処理を実行させる場合、図5(A)に示すように、サイドガイド162を左端に移動させ、サイドガイド163をガイド溝166の中間位置に移動させる。そして、帳票をサイドガイド162とサイドガイド163との間、すなわち、給紙トレイ161の左端に寄せて載置する。また、第2処理をスキャナ装置100に実行させる場合には、図6(A)に示すように、左右のサイドガイド162、163を、ガイド溝165、166の中間位置に移動させて、帳票を給紙トレイ161の中央部分に載置する。   Here, two processes executed by the scanner device 100 will be described. The scanner device 100 executes two patterns of processing, that is, first processing and second processing. The first process is a process in which an image of a form placed on the paper feed tray 161 is read by the reading unit 140 and a serial number is printed on the form. The second process is a process in which the image of the form placed on the paper feed tray 161 is read by the reading unit 140 and the serial number is not printed on the form. When the scanner device 100 executes the first process, as shown in FIG. 5A, the side guide 162 is moved to the left end, and the side guide 163 is moved to an intermediate position of the guide groove 166. The form is placed between the side guide 162 and the side guide 163, that is, close to the left end of the paper feed tray 161. When the scanner apparatus 100 is to execute the second processing, as shown in FIG. 6A, the left and right side guides 162 and 163 are moved to the intermediate positions of the guide grooves 165 and 166, and the form is moved. It is placed on the central portion of the paper feed tray 161.

次に、図7を参照しながらコンピュータ装置200について説明する。図7には、コンピュータ装置200の備えるハードウェアの一例を示す。
コンピュータ装置200は、制御部210を備える。制御部210は、CPU(Central Processing Unit)211、ROM(Read Only Memory)212、RAM(Random Access Memory)213を備える。ROM212には、CPU211が制御に使用する制御プログラムが保存されている。CPU211は、制御プログラムをROM212又はハードディスク装置(以下、HDDと表記する)250から読み出してRAM213に保存する。その後、CPU211は、RAM213に保存した制御プログラムに従って処理(演算)を行う。RAM213は、CPU211のワークメモリとして使用され、CPU211が演算に使用するデータや、CPU211による演算後のデータ等が保存される。CPU211、RAM213などのハードウェアと、制御プログラムとの協働によって実現される機能ブロックについては、図8を参照しながら後述する。
Next, the computer apparatus 200 will be described with reference to FIG. FIG. 7 shows an example of hardware included in the computer apparatus 200.
The computer device 200 includes a control unit 210. The control unit 210 includes a CPU (Central Processing Unit) 211, a ROM (Read Only Memory) 212, and a RAM (Random Access Memory) 213. The ROM 212 stores a control program used by the CPU 211 for control. The CPU 211 reads the control program from the ROM 212 or the hard disk device (hereinafter referred to as HDD) 250 and stores it in the RAM 213. Thereafter, the CPU 211 performs processing (calculation) according to the control program stored in the RAM 213. The RAM 213 is used as a work memory of the CPU 211, and stores data used by the CPU 211 for calculation, data after calculation by the CPU 211, and the like. Functional blocks realized by cooperation of hardware such as the CPU 211 and RAM 213 and the control program will be described later with reference to FIG.

コンピュータ装置200は、入力装置221と、入出力インターフェース(以下、インターフェースをI/Fと略記する)222とを備える。入力装置221は、マウス、キーボード等の入力デバイスである。入力装置221がユーザによって操作されると、入力装置221は、受け付けた操作内容を示す操作情報を、入出力I/F222を介して制御部210に送る。入出力I/F222は、スキャナ装置100と入力装置221とに接続する。また、入出力I/F222は、バス260に接続する。入出力I/F222は、スキャナ装置100から画像データを入力し、入力した画像データを、バス260を介して制御部210に送る。また、入出力I/F222は、入力装置221から操作情報を入力し、入力した操作情報を、バス260を介して制御部210に送る。また、入出力I/F222は、CPU211から入力したコマンドデータをスキャナ装置100に送る。   The computer device 200 includes an input device 221 and an input / output interface (hereinafter, the interface is abbreviated as I / F) 222. The input device 221 is an input device such as a mouse or a keyboard. When the input device 221 is operated by the user, the input device 221 sends operation information indicating the received operation content to the control unit 210 via the input / output I / F 222. The input / output I / F 222 is connected to the scanner device 100 and the input device 221. The input / output I / F 222 is connected to the bus 260. The input / output I / F 222 receives image data from the scanner device 100 and sends the input image data to the control unit 210 via the bus 260. The input / output I / F 222 receives operation information from the input device 221 and sends the input operation information to the control unit 210 via the bus 260. Further, the input / output I / F 222 sends command data input from the CPU 211 to the scanner device 100.

コンピュータ装置200は、グラフィックI/F232と、表示装置231とを備える。グラフィックI/F232は、バス260と表示装置231とに接続する。グラフィックI/F232は、制御部210で処理されたグラフィックデータを表示装置231に表示させるためのインターフェースである。グラフィックI/F232は、制御部210から受け取ったグラフィックデータを波形電気信号に変換して表示装置231に送る。表示装置231は、例えば、スキャナ装置100で読み取られた画像データを、制御部210の制御により表示装置231の表示画面に表示させる。   The computer device 200 includes a graphic I / F 232 and a display device 231. The graphic I / F 232 is connected to the bus 260 and the display device 231. The graphic I / F 232 is an interface for causing the display device 231 to display graphic data processed by the control unit 210. The graphic I / F 232 converts the graphic data received from the control unit 210 into a waveform electric signal and sends it to the display device 231. For example, the display device 231 displays image data read by the scanner device 100 on the display screen of the display device 231 under the control of the control unit 210.

コンピュータ装置200は、ネットワークI/F240を備える。ネットワークI/F240は、バス260と、LAN(Local Area Network)等のネットワーク400とに接続する。ネットワークI/F240は、制御部210から送られたデータを入力し、入力したデータを、ネットワーク400に接続した他のコンピュータ装置に送信する。また、ネットワークI/F240は、ネットワーク400を介して他のコンピュータ装置から受信したデータを制御部210に送る。   The computer device 200 includes a network I / F 240. The network I / F 240 is connected to a bus 260 and a network 400 such as a LAN (Local Area Network). The network I / F 240 inputs data sent from the control unit 210 and transmits the input data to other computer devices connected to the network 400. In addition, the network I / F 240 sends data received from another computer device via the network 400 to the control unit 210.

コンピュータ装置200は、HDD250を備える。HDD250には、CPU211が制御に使用する制御プログラム、スキャナ装置100で読み取られた画像データや、後述する帳票セット位置の判定に使用する判定しきい値が保存される。   The computer device 200 includes an HDD 250. The HDD 250 stores a control program used by the CPU 211 for control, image data read by the scanner device 100, and a determination threshold value used for determination of a form set position described later.

次に、図8を参照しながら機能ブロック270について説明する。機能ブロック270とは、制御部210のCPU211、RAM213などのハードウェアと、制御プログラムとの協働によって実現される処理を、一連の処理で実現される機能ごとにまとめたブロックである。コンピュータ装置200は、機能ブロック270として、入力部271と、検出部272と、表示制御部273とを備える。
入力部271は、所定の読み取り幅で画像を読み取るスキャナ装置100が読み取った、帳票の画像を含む画像データ(以下、読取画像という)を入力する。検出部272は、入力部271が入力した読取画像において、読取画像の端部から連続する黒画素の途切れる位置が、帳票に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する。表示制御部273は、入力部271が入力した読取画像を表示装置231に表示する。また、表示制御部273は、検出部272が異常状態を検出した場合に、給紙トレイ161に載置した帳票の載置位置が正しくない旨を表示装置231の表示画面に表示させる。以下、入力部271、検出部272、表示制御部273について詳細に説明する。
Next, the functional block 270 will be described with reference to FIG. The function block 270 is a block in which processes realized by cooperation of hardware such as the CPU 211 and the RAM 213 of the control unit 210 and the control program are grouped for each function realized by a series of processes. The computer apparatus 200 includes an input unit 271, a detection unit 272, and a display control unit 273 as the function block 270.
The input unit 271 inputs image data including a form image (hereinafter referred to as a read image) read by the scanner device 100 that reads an image with a predetermined reading width. In the read image input by the input unit 271, the detection unit 272 detects an abnormal state when there are a plurality of rows or columns in which the positions where the continuous black pixels from the end of the read image are not a predetermined position corresponding to the form exist. Detect as. The display control unit 273 displays the read image input by the input unit 271 on the display device 231. In addition, when the detection unit 272 detects an abnormal state, the display control unit 273 displays on the display screen of the display device 231 that the placement position of the form placed on the paper feed tray 161 is not correct. Hereinafter, the input unit 271, the detection unit 272, and the display control unit 273 will be described in detail.

入力部271は、スキャナ装置100から送信される画像データ(以下、読取画像と呼ぶ)を入出力I/F222を介して入力する。入力部271は、入力した読取画像をRAM213に保存する。表示制御部273は、RAM213に保存された読取画像を、表示装置231の表示画面に表示させる。また、表示制御部273は、検出部272が行う帳票セット位置の判定結果を表示装置231の表示画面に表示させる。なお、帳票セット位置の判定の詳細については、次の検出部272の説明で詳細に説明する。   The input unit 271 inputs image data (hereinafter referred to as a read image) transmitted from the scanner device 100 via the input / output I / F 222. The input unit 271 stores the input read image in the RAM 213. The display control unit 273 displays the read image stored in the RAM 213 on the display screen of the display device 231. In addition, the display control unit 273 displays the determination result of the form set position performed by the detection unit 272 on the display screen of the display device 231. The details of the determination of the form set position will be described in detail in the following description of the detection unit 272.

検出部272は、RAM213から読取画像を読み出し、スキャナ装置100が第1処理又は第2処理を正常に行うことができる、給紙トレイ161上の正規の位置にセットされた帳票の画像を読み込んだか否かを判定する。この判定を、帳票セット位置の判定と呼ぶ。帳票セット位置の判定では、読取画像の端部から連続する黒画素の途切れる位置が、帳票に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する。帳票セット位置の判定処理の詳細について、図9及び図10を参照しながら説明する。なお、図9及び図10には、給紙トレイ161上に帳票を載置した様子を示す。
図9(A)には、スキャナ装置100が第1処理を正常に行うことができる、給紙トレイ161上の位置に帳票を載置した例を示す。また、図9(B)〜図9(D)には、スキャナ装置100の処理が第1処理の場合に、検出部272が帳票セット位置の判定処理において、異常状態として検出する帳票の載置位置の例を示す。なお、異常状態とは、スキャナ装置100が第1処理又は第2処理を正常に行うことができない位置に帳票がセットされていると検出部272が判定した場合をいう。図9(B)は、帳票を給紙トレイ161の右端に寄せて載置した例を示す。図9(C)は、図9(A)に示す、帳票の長辺が幅方向に向くように帳票を横向き(以下、横置きという)に置くのではなく、帳票の長辺が搬送方向に向くように縦向きに帳票を置く(以下、縦置きという)置きかたを示している。さらに、図9(C)の場合、帳票を載置する位置が、給紙トレイ161の左端ではなく、中央部分になっている。図9(D)は、図9(C)と同様の縦置きであって、給紙トレイ161の左端に寄せて帳票を載置した例を示している。図9(B)及び図9(C)に示す帳票の載置例は、スキャナ装置100に読み込まれた際に、帳票が印字ヘッド155の下を通過しないので、通し番号が帳票に印字されない。また、図9(D)に示す帳票の載置例は、帳票に通し番号を印字することはできるが、帳票を横置きではなく縦置きにしているため、帳票上の予め決められた位置に通し番号を印字することができない。
Whether the detection unit 272 has read the read image from the RAM 213 and has read the image of the form set at the regular position on the paper feed tray 161 that allows the scanner apparatus 100 to normally perform the first process or the second process. Determine whether or not. This determination is called determination of the form set position. In the determination of the form set position, an abnormal state is detected when there are a plurality of rows or columns where the positions where the black pixels continuous from the edge of the read image are not at the predetermined positions corresponding to the form exist. Details of the processing for determining the form set position will be described with reference to FIGS. 9 and 10 show a state in which a form is placed on the paper feed tray 161. FIG.
FIG. 9A shows an example in which a document is placed at a position on the paper feed tray 161 where the scanner apparatus 100 can normally perform the first process. 9B to 9D show the placement of a form that the detection unit 272 detects as an abnormal state in the form set position determination process when the process of the scanner apparatus 100 is the first process. An example of the position is shown. Note that the abnormal state refers to a case where the detection unit 272 determines that a form is set at a position where the scanner apparatus 100 cannot normally perform the first process or the second process. FIG. 9B shows an example in which a form is placed near the right end of the paper feed tray 161. In FIG. 9C, the form is not placed sideways (hereinafter referred to as landscape orientation) so that the long side of the form faces in the width direction as shown in FIG. It shows how to place a form vertically (hereinafter referred to as “vertical”). Further, in the case of FIG. 9C, the position where the form is placed is not the left end of the paper feed tray 161 but the center portion. FIG. 9D shows an example in which the form is placed in the same manner as FIG. 9C and is placed close to the left end of the paper feed tray 161. In the case of the form placement shown in FIGS. 9B and 9C, since the form does not pass under the print head 155 when read by the scanner device 100, the serial number is not printed on the form. In the example of the form placement shown in FIG. 9D, the serial number can be printed on the form. However, since the form is placed vertically rather than horizontally, the serial number is placed at a predetermined position on the form. Cannot be printed.

次に、スキャナ装置100の処理が第2処理である場合について説明する。図10(A)には、スキャナ装置100が第2処理を正常に行うことができる、給紙トレイ161上の正規の位置に帳票を載置した例を示す。第2処理の場合、サイドガイド162及び163をそれぞれガイド溝165、166の中間位置に設定し、帳票を給紙トレイ161の中央部分に載置する。なお、スキャナ装置100が第2処理を正常に行うことができる、給紙トレイ161上の正しい位置は、図10(A)に示す給紙トレイ161の中央部分だけではない。例えば、帳票を給紙トレイ161の右端に寄せて載置してもよいし、給紙トレイ161の左端に寄せて載置してよい。しかし、本実施形態では、図10(A)に示す給紙トレイ161の中央部分に帳票を載置した場合を第2処理の場合の正しい位置としている。これは、スキャナ装置100の処理が第2処理の場合に、スキャナ装置100からコンピュータ装置200に送られる画像を統一させるためである。すなわち、スキャナ装置100は、一定の読み取り幅で帳票の画像を読み取るため、帳票画像の周囲には黒画像が付加される。給紙トレイ161の中央部分に帳票を載置した場合、図11(A)に示すように帳票画像の左右に黒画像が均等に付加される。一方、給紙トレイ161の右端に帳票を載置した場合、図11(B)に示すように帳票画像の左側の黒画像の面積が右側の黒画像の面積よりも大きくなる。すなわち、読取画像中における帳票画像の位置が異なると、読取画像を処理するコンピュータ装置200の処理負担となる。このため、図10(A)に示す給紙トレイ161の中央部分に帳票を載置した場合を第2処理の正しい位置としている。
また、図10(B)〜図10(D)には、スキャナ装置100の処理が第2処理の場合に、検出部272が異常検出する帳票の載置位置の例を示す。図10(B)は、帳票を給紙トレイ161に横置きし、さらに、給紙トレイ161の左端に寄せて帳票を載置した例を示す。図10(C)は、帳票を給紙トレイ161に縦置きし、さらに、図10(B)と同様に給紙トレイ161の左端に寄せて帳票を載置した例を示す。図10(D)は、帳票を給紙トレイ161に横置きし、さらに、給紙トレイ161の右端に寄せて帳票を載置した例を示す。
Next, a case where the process of the scanner device 100 is the second process will be described. FIG. 10A shows an example in which a document is placed at a regular position on the paper feed tray 161 where the scanner apparatus 100 can normally perform the second process. In the case of the second process, the side guides 162 and 163 are set at intermediate positions of the guide grooves 165 and 166, respectively, and the form is placed on the central portion of the paper feed tray 161. Note that the correct position on the paper feed tray 161 where the scanner apparatus 100 can normally perform the second process is not limited to the central portion of the paper feed tray 161 shown in FIG. For example, the form may be placed near the right end of the paper feed tray 161 or may be placed near the left end of the paper feed tray 161. However, in the present embodiment, the case where the form is placed on the central portion of the paper feed tray 161 shown in FIG. This is to unify images sent from the scanner device 100 to the computer device 200 when the processing of the scanner device 100 is the second processing. That is, since the scanner apparatus 100 reads a form image with a constant reading width, a black image is added around the form image. When a form is placed in the central portion of the paper feed tray 161, black images are evenly added to the left and right of the form image as shown in FIG. On the other hand, when a form is placed on the right end of the paper feed tray 161, the area of the black image on the left side of the form image is larger than the area of the black image on the right side as shown in FIG. That is, if the position of the form image in the read image is different, a processing burden is imposed on the computer device 200 that processes the read image. For this reason, the case where the form is placed in the central portion of the paper feed tray 161 shown in FIG.
FIGS. 10B to 10D show examples of the placement positions of the forms that are detected by the detection unit 272 when the process of the scanner device 100 is the second process. FIG. 10B shows an example in which a form is placed horizontally on the paper feed tray 161 and the form is placed near the left end of the paper feed tray 161. FIG. 10C shows an example in which a form is placed vertically on the paper feed tray 161 and the form is placed near the left end of the paper feed tray 161 as in FIG. 10B. FIG. 10D illustrates an example in which a form is placed horizontally on the paper feed tray 161 and the form is placed near the right end of the paper feed tray 161.

検出部272は、ユーザが、給紙トレイ161上の誤った位置・方向に帳票を載置したことを読取部140が読み取った読取画像を使用して検出する。まず、検出部272は、入力装置221から入力した操作情報により、スキャナ装置100が第1処理に設定されているのか、第2処理に設定されているのかを判定する。検出部272は、スキャナ装置100の処理が第1処理である場合、読取画像に対して、第1処理用に用意された判定しきい値を用いて黒画像幅の判定を行って、帳票セット位置を判定する。また、検出部272は、スキャナ装置100の処理が第2処理であると判定する場合、読取画像に対して、第2処理用に用意された判定しきい値を用いて黒画像幅の判定を行って、帳票セット位置を判定する。なお、黒画像幅の判定については後述する。   The detection unit 272 detects that the user has placed the form in the wrong position / direction on the paper feed tray 161 using the read image read by the reading unit 140. First, the detection unit 272 determines whether the scanner device 100 is set to the first process or the second process based on the operation information input from the input device 221. When the process of the scanner device 100 is the first process, the detection unit 272 determines the black image width for the read image using the determination threshold prepared for the first process, and forms the form set. Determine the position. Further, when the detection unit 272 determines that the process of the scanner device 100 is the second process, the detection unit 272 determines the black image width for the read image using the determination threshold prepared for the second process. Go and determine the form set position. The determination of the black image width will be described later.

判定しきい値は、帳票画像が読取画像の幅方向において所定位置にないことを判定するために使用するしきい値であり、第1処理を判定する第1処理用しきい値と、第2処理を判定する第2処理用しきい値とがある。また、第1処理用しきい値には、左端判定用しきい値(以下、第1左用しきい値と略記する)と、右端判定用しきい値(以下、第1右用しきい値と略記する)とがある。同様に、第2処理用しきい値にも、左端判定用しきい値(以下、第2左用しきい値と略記する)と、右端判定しきい値(以下、第2右用しきい値と略記する)とがある。   The determination threshold value is a threshold value used for determining that the form image is not at a predetermined position in the width direction of the read image, and includes a first processing threshold value for determining the first process, and a second threshold value. There is a second processing threshold value for determining processing. The first processing threshold value includes a left edge determination threshold value (hereinafter abbreviated as first left threshold value) and a right edge determination threshold value (hereinafter referred to as first right threshold value). (Abbreviated). Similarly, the second processing threshold value includes a left edge determination threshold value (hereinafter abbreviated as a second left threshold value) and a right edge determination threshold value (hereinafter referred to as a second right threshold value). (Abbreviated).

次に、第1処理の場合の黒画像幅の判定について説明する。検出部272は、まず、読取画像の端部から連続する黒画素の黒画素数を計数する。読取部140は、一定の読み取り幅で画像を読み取るため、帳票以外の部分の画像も読み取って、背景画像として黒画像で出力している。また、帳票画像の端部は白画素である。このため、検出部272は、読取画像の左端部から読取画像の幅方向に連続する黒画素数の計数を、読取画像の幅方向に白画素が検出されるまで行う。検出部272は白画素を検出した場合に、帳票画像の端部であると判定して黒画素数の計数を終了する。また、検出部272は、読取画像の右端側も同様に、読取画像の右端部から読取画像の幅方向に黒画素数を計数する。なお、読取画像の端部から帳票画像の端部までの黒画素数の計数は、図12に示すように読取画像の幅方向に直交する長さ方向における位置を変更して複数行われる。図12には、計数する長さ方向の位置を変更して、黒画素数の計数を各位置で行う様子を示す。検出部272は、例えば、図12に示すa〜kの幅方向(行方向)の各ラインで、読取画像の端部から帳票画像の端部までの黒画素数を計数する。なお、図12に示すa,b,j,kのラインには、帳票画像が存在しないため、a,b,j,kの各ラインでは、白画像を検出することができない。このため、検出部272は、計数する黒画素の画素数が所定値を超えた場合には、帳票画像が存在しないと判定し、黒画素数の計数を中止する。なお、図12では、説明の便宜上、帳票画像以外の背景部も白色の画像で示す。また、図12には、検出部272が、読取画像の幅方向の端部から、幅方向に連続する黒画素の計数を行う例を示した。これ以外に、例えば、検出部272が、読取画像の幅方向に直交する方向、すなわち、長さ方向(列方向)の端部から、長さ方向に連続する黒画素の計数を行うものであってもよい。本実施形態では、第1処理の場合と第2処理の場合とで、帳票を載置する給紙トレイ161上の位置を幅方向で変更する場合を例に説明しているため、読取画像の幅方向の端部から、幅方向に連続する黒画素の計数を行っている。しかし、給紙トレイ161上の帳票の載置位置を、給紙トレイ161の搬送方向で変更する場合には、読取画像の長さ方向(列方向)の端部から、長さ方向に連続する黒画素の計数を行うものであってもよい。   Next, determination of the black image width in the first process will be described. The detection unit 272 first counts the number of black pixels that are continuous from the end of the read image. Since the reading unit 140 reads an image with a constant reading width, the reading unit 140 also reads an image of a part other than the form and outputs it as a black image as a background image. Further, the edge of the form image is a white pixel. For this reason, the detection unit 272 counts the number of black pixels continuous from the left end of the read image in the width direction of the read image until a white pixel is detected in the width direction of the read image. When the detection unit 272 detects a white pixel, the detection unit 272 determines that it is the end of the form image and ends the counting of the number of black pixels. Similarly, the detection unit 272 also counts the number of black pixels in the width direction of the read image from the right end of the read image on the right end side of the read image. Note that the counting of the number of black pixels from the edge of the read image to the edge of the form image is performed by changing the position in the length direction orthogonal to the width direction of the read image as shown in FIG. FIG. 12 shows how the number of black pixels is counted at each position by changing the position in the length direction to be counted. For example, the detection unit 272 counts the number of black pixels from the end of the read image to the end of the form image in each line in the width direction (row direction) a to k shown in FIG. In addition, since a form image does not exist in the lines a, b, j, and k shown in FIG. 12, a white image cannot be detected in each line a, b, j, and k. Therefore, when the number of black pixels to be counted exceeds a predetermined value, the detection unit 272 determines that there is no form image and stops counting the number of black pixels. In FIG. 12, for convenience of explanation, the background portion other than the form image is also shown as a white image. FIG. 12 shows an example in which the detection unit 272 counts black pixels continuous in the width direction from the end in the width direction of the read image. In addition to this, for example, the detection unit 272 counts black pixels continuous in the length direction from the end in the direction perpendicular to the width direction of the read image, that is, the length direction (column direction). May be. In the present embodiment, the case where the position on the paper feed tray 161 on which the form is placed is changed in the width direction between the first process and the second process is described as an example. The black pixels continuous in the width direction are counted from the end in the width direction. However, when the placement position of the form on the paper feed tray 161 is changed in the conveyance direction of the paper feed tray 161, it continues from the end in the length direction (row direction) of the read image in the length direction. A black pixel may be counted.

次に、検出部272は、計数した左側の黒画素の計数値と、第1左用しきい値とを比較して、第1処理に対応する、給紙トレイ161上の正しい位置に帳票がセットされているか否かを判定する。すなわち、検出部272は、端部画像が、読取画像の幅方向において所定位置にあるか否かを判定する。検出部272は、端部画像が、読取画像の幅方向において所定位置にない場合に、異常状態として検出する。同様に、検出部272は、計数した右側の黒画素の計数値と、第1右用しきい値とを比較して、第1処理に対応する、給紙トレイ161の正しい位置に帳票がセットされているか否かを判定する。なお、判定しきい値は、帳票を給紙トレイ161の正しい位置にセットした場合に読み取られる読取画像の端部から帳票画像の端部までの黒画像の画素数、すなわち、黒画素数で規定される。但し、帳票を正しい位置にセットしても、測定される黒画素数には誤差が含まれる。このため、例えば、数回測定した黒画素数の平均値に、所定値を加算又は減算した値をしきい値として使用するようにしてもよい。また、しきい値として範囲を示す値を使用してもよい。例えば、数回測定した黒画素数の平均値に、所定の画素数を加算及び減算した範囲内を正常範囲と判定し、この正常範囲を外れる場合を異常と判定することもできる。   Next, the detection unit 272 compares the counted value of the left black pixel with the first left threshold value, and sets the form at the correct position on the paper feed tray 161 corresponding to the first process. It is determined whether or not it has been done. That is, the detection unit 272 determines whether or not the end image is at a predetermined position in the width direction of the read image. The detection unit 272 detects an abnormal state when the end image is not at a predetermined position in the width direction of the read image. Similarly, the detection unit 272 compares the counted value of the black pixel on the right side with the first right threshold value, and sets the form at the correct position on the paper feed tray 161 corresponding to the first process. It is determined whether or not it has been done. The determination threshold is defined by the number of pixels of the black image from the edge of the read image to the edge of the form image read when the form is set at the correct position on the paper feed tray 161, that is, the number of black pixels. Is done. However, even if the form is set at the correct position, the number of measured black pixels includes an error. Therefore, for example, a value obtained by adding or subtracting a predetermined value to the average value of the number of black pixels measured several times may be used as the threshold value. A value indicating a range may be used as the threshold value. For example, a range obtained by adding and subtracting a predetermined number of pixels to the average value of the number of black pixels measured several times is determined as a normal range, and a case outside this normal range can be determined as abnormal.

図13(A)には、第1左用しきい値及び第1右用しきい値を、読取画像の左端部及び右端部と比較可能に示す。図13(B)には、帳票を給紙トレイ161の右端に寄せて横置きした場合の読取画像を示す。また、図13(C)には、帳票を給紙トレイ161の左端に寄せて縦置きした場合の読取画像を示す。なお、図13(B)、(C)では、説明の便宜上、帳票画像以外の背景部も白色の画像で示す。
第1左用しきい値は、読取画像の左端部から、印字部150の印字ヘッド155の位置までの距離に対応する黒画素数に設定されている。すなわち、検出部272が計数した黒画素数が、読取画像の左端部から印字ヘッド155の位置までの距離に対応する画素数よりも多くなると、検出部272は異常状態として検出する。例えば、図13(B)に示す読取画像の場合、読取画像の左端部から帳票画像の左端部までの黒画素の計数値は、第1左用しきい値よりも大きい。また、図13(C)に示す読取画像の場合、読取画像の右端部から帳票画像の右端部までの黒画素の計数値は、第1右用しきい値よりも大きい。検出部272は、左側の黒画素の計数値が第1左用しきい値よりも大きい場合に異常検出する。同様に、検出部272は、右側の黒画素の計数値が第1右用しきい値よりも大きい場合に異常検出する。
FIG. 13A shows the first left threshold value and the first right threshold value so that they can be compared with the left end portion and the right end portion of the read image. FIG. 13B shows a read image when the form is placed side by side on the right end of the paper feed tray 161. FIG. 13C shows a read image when the form is placed vertically on the left end of the paper feed tray 161. In FIGS. 13B and 13C, for convenience of explanation, the background portion other than the form image is also shown as a white image.
The first left threshold is set to the number of black pixels corresponding to the distance from the left end of the read image to the position of the print head 155 of the print unit 150. That is, when the number of black pixels counted by the detection unit 272 exceeds the number of pixels corresponding to the distance from the left end of the read image to the position of the print head 155, the detection unit 272 detects an abnormal state. For example, in the case of the read image shown in FIG. 13B, the count value of black pixels from the left end portion of the read image to the left end portion of the form image is larger than the first left threshold value. In the case of the read image shown in FIG. 13C, the count value of black pixels from the right end portion of the read image to the right end portion of the form image is larger than the first right threshold value. The detection unit 272 detects an abnormality when the count value of the left black pixel is larger than the first left threshold value. Similarly, the detection unit 272 detects an abnormality when the count value of the right black pixel is larger than the first right threshold value.

次に、図14を参照しながら帳票画像の端部の検出について説明する。検出部272は、読取画像の左端部から黒画素数の計数を開始して、読取画像の幅方向に白画素が検出されるまで黒画素の計数を行う。しかし、帳票画像に汚れ等があり、帳票画像の端部を正しく検出できない場合もある。図14(A)には、検出部272がa〜fの幅方向の各ラインで、黒画素数を計数した様子を示す。a〜fの各ラインのうち、aラインの左側と、eラインの右側とが汚れによって帳票画像の端部を正しく検出できなかった場合を示している。このような汚れ(ノイズ)の影響を排除するため、本実施形態では、誤検出防止用のしきい値を設けている。例えば、スキャナ装置100が読み取る読取画像の読み取り幅は一定である。また、検出部272は、黒画素数の計数を、読取画像の幅方向の同一ラインにおいて、読取画像の左端側と右端側とでそれぞれ行っている。検出部272は、読取画像の左端から計数した黒画素数と、右端側から計数した黒画素数とを加算して、読取画像の読み取り幅の画素数から減算する。そして、減算した値と、誤検出防止用のしきい値とを検出部272が比較する。検出部272は、減算した値が誤検出防止用のしきい値よりも小さいラインの黒画素数は、判定しきい値との比較には用いないようにする。図14(B)には、図14(A)に示すa〜fの各ラインの黒画素数の計数結果を示す。読取画像の左端から計数したaラインの黒画素数(以下、左端幅という)と、読取画像の右端から計数したeラインの黒画素数(以下、右端幅という)とがノイズの影響により正常値よりも多く計数されている。従って、aライン、eラインでは、左端幅と右端幅との合計を、読取画像の画素数から減算した数値(以下、帳票幅という)がb,c,d,fの各ラインよりも小さくなっている。検出部272は、帳票幅を算出すると、算出した帳票幅と誤検出防止用のしきい値とを比較し、aライン、eラインを黒画像幅チェックの対象から除外する。   Next, detection of the edge of the form image will be described with reference to FIG. The detection unit 272 starts counting the number of black pixels from the left end of the read image, and counts black pixels until a white pixel is detected in the width direction of the read image. However, there are cases where the form image is dirty and the edge of the form image cannot be detected correctly. FIG. 14A shows how the detection unit 272 counts the number of black pixels in each line in the width direction from a to f. Among the lines a to f, the left side of the a line and the right side of the e line indicate a case where the edge of the form image cannot be correctly detected due to contamination. In order to eliminate the influence of such dirt (noise), a threshold for preventing erroneous detection is provided in this embodiment. For example, the read width of the read image read by the scanner device 100 is constant. The detection unit 272 counts the number of black pixels on the left end side and the right end side of the read image on the same line in the width direction of the read image. The detection unit 272 adds the number of black pixels counted from the left end of the read image and the number of black pixels counted from the right end side, and subtracts it from the number of pixels of the read width of the read image. Then, the detection unit 272 compares the subtracted value with the threshold value for preventing erroneous detection. The detection unit 272 does not use the number of black pixels on the line whose subtracted value is smaller than the threshold for preventing erroneous detection for comparison with the determination threshold. FIG. 14B shows the result of counting the number of black pixels in each of the lines a to f shown in FIG. The number of black pixels of the a line counted from the left end of the read image (hereinafter referred to as the left end width) and the number of black pixels of the e line counted from the right end of the read image (hereinafter referred to as the right end width) are normal values due to the influence of noise. It is counted more than. Therefore, in the a line and the e line, a numerical value obtained by subtracting the sum of the left end width and the right end width from the number of pixels of the read image (hereinafter referred to as a form width) is smaller than each of the b, c, d, and f lines. ing. After calculating the form width, the detection unit 272 compares the calculated form width with a threshold for preventing erroneous detection, and excludes the a-line and e-line from black image width check targets.

また、検出部272は、スキャナ装置100の設定が第2処理になっていると判定する場合、第2処理用しきい値を用いて、黒画像幅の判定を行う。そして、検出部272は、第2処理に対応する、給紙トレイ161の正しい位置に帳票がセットされているか否かを判定する。図15(A)には、第2左用しきい値と第2右用しきい値とを示す。図15(B)には、帳票を給紙トレイ161の左端に寄せて縦置きした場合を示している。また、図15(C)には、帳票を給紙トレイ161の左端に寄せて横置きした場合を示している。図15(B)に示す位置に帳票を載置した場合、読取画像の左端部から帳票画像の左端部までの黒画素の画素数は、第2左用しきい値よりも小さくなる。また、図15(C)に示す位置に帳票を載置した場合、読取画像データの右端部から帳票画像の右端部までの黒画素の画素数は、第2右用しきい値よりも小さくなる。検出部272は、左側の計数値が第2左用しきい値よりも小さい場合に異常検出する。同様に、検出部272は、右側の計数値が第2右用しきい値よりも小さい場合に異常検出する。   Further, when the detection unit 272 determines that the setting of the scanner device 100 is the second process, the detection unit 272 determines the black image width using the second processing threshold value. Then, the detection unit 272 determines whether or not a form is set at a correct position on the paper feed tray 161 corresponding to the second process. FIG. 15A shows the second left threshold and the second right threshold. FIG. 15B shows a case where the form is placed vertically by bringing it to the left end of the paper feed tray 161. FIG. 15C shows a case where a form is placed side by side on the left end of the paper feed tray 161. When the form is placed at the position shown in FIG. 15B, the number of black pixels from the left end of the read image to the left end of the form image is smaller than the second left threshold value. When the form is placed at the position shown in FIG. 15C, the number of black pixels from the right end of the read image data to the right end of the form image is smaller than the second right threshold value. . The detection unit 272 detects an abnormality when the left count value is smaller than the second left threshold value. Similarly, the detection unit 272 detects an abnormality when the right count value is smaller than the second right threshold value.

また、帳票が、スキャナ装置100の読取部140に斜めに搬送された場合、帳票セット位置の判定を正しく判定することができない。このため、検出部272は、帳票を斜めに読み込んだことを検出するため、計数した黒画素数の最大値と最小値との差を算出する。そして、検出部272は、算出した差と、斜め判定用のしきい値とを比較して、算出した差が斜め判定用のしきい値よりも大きい場合に、帳票を斜めに読み込んだと判断する。この場合、検出部272は、表示装置231の表示画面にエラーメッセージを表示させる。
また、スキャナ装置100は、使用回数が増える程、読取部140や帳票の搬送路に紙粉や汚れが付着し、読取画像にノイズが含まれる。このため、本来、黒画素であるはずの画素が白画素と判断されたり、白画素であるはずの画素に黒画素と判断される場合がある。このため、検出部272は、所定数の画素を1画素に圧縮して読取画像を縮小することでノイズを除去し、縮小した読取画像に対して異常検出の処理を行う。例えば、図16に示すように縦、横それぞれ2画素の隣接する4画素を1画素に圧縮した読取画像を使用して異常検出を行うことで、ノイズの影響を排除することができる。図16(A)に示すように、4画素中に黒画素が3画素存在する場合や、図16(B)に示すように4画素の全てが黒画素である場合には、1画素の黒画素に置き換えられる。同様に、図16(C)に示すように、4画素中に白画素が3画素存在する場合や、図16(D)に示すように4画素の全てが白画素である場合には、1画素の白画素に置き換えられる。また、図16(E)に示すように、黒画素と白画素とが2画素ずつである場合には、対象の4画素の周囲の画素を参照して白画素とするか、黒画素とするかを判定する。なお、圧縮率は1/4に限るものではなく、例えば、1/2や1/6であってもよい。また、圧縮後の読取画像は、帳票位置の異常判定が終了すると、拡大処理が施されて、元のサイズの読取画像に変換される。なお、読取画像をコピーし、コピーした読取画像を用いて帳票セット位置の判定を行ってもよい。すなわち、コピーした読取画像を圧縮して帳票セット位置の判定を行い、帳票セット位置の判定の終了後は、コピーした読取画像は削除される。
In addition, when the form is conveyed obliquely to the reading unit 140 of the scanner device 100, the determination of the form set position cannot be made correctly. For this reason, the detection unit 272 calculates the difference between the maximum value and the minimum value of the counted number of black pixels in order to detect that the form is read obliquely. Then, the detection unit 272 compares the calculated difference with the threshold for oblique determination, and determines that the form is read obliquely when the calculated difference is larger than the threshold for oblique determination. To do. In this case, the detection unit 272 displays an error message on the display screen of the display device 231.
Further, as the number of times of use of the scanner device 100 increases, paper dust and dirt adhere to the reading unit 140 and the conveyance path of the form, and noise is included in the read image. For this reason, a pixel that should originally be a black pixel may be determined as a white pixel, or a pixel that should be a white pixel may be determined as a black pixel. For this reason, the detection unit 272 removes noise by compressing a predetermined number of pixels to one pixel and reducing the read image, and performs an abnormality detection process on the reduced read image. For example, as shown in FIG. 16, the influence of noise can be eliminated by performing abnormality detection using a read image obtained by compressing four adjacent pixels in two vertical and horizontal pixels into one pixel. As shown in FIG. 16A, when there are three black pixels in four pixels, or when all four pixels are black pixels as shown in FIG. Replaced by a pixel. Similarly, when there are three white pixels in four pixels as shown in FIG. 16C, or when all four pixels are white pixels as shown in FIG. The pixel is replaced with a white pixel. As shown in FIG. 16E, when there are two black pixels and two white pixels, the surrounding pixels of the four target pixels are referred to as white pixels or black pixels. Determine whether. Note that the compression rate is not limited to ¼, and may be ½ or 6, for example. Further, when the determination of the form position abnormality is completed, the compressed read image is subjected to enlargement processing and converted into the original size read image. Note that the read image may be copied, and the form set position may be determined using the copied read image. In other words, the copied read image is compressed to determine the form set position, and after the determination of the form set position is completed, the copied read image is deleted.

図17及び図18に示すフローチャートを参照しながらコンピュータ装置200の処理手順を説明する。
まず、制御部210は、表示装置231の表示画面に、処理を選択する画面を表示させ、ユーザからの選択入力があるまで待機する。処理を選択する画面とは、スキャナ装置100に第1処理を実行させるのか、第2処理を実行させるのかを選択する画面である。処理の選択指示を入力装置221で受け付けた場合(ステップS1/YES)、制御部210は、ユーザによって選択された処理に対応する画面を表示装置231の表示画面に表示させる(ステップS2)。その後、制御部210は、画像の読み取り開始の指示を入力装置221で受け付けたか否かを判定する(ステップS3)。読み取り開始の指示を受け付けた場合(ステップS3/YES)、制御部210は、表示装置231に表示中の画面のプロパティを参照する(ステップS4)。制御部210は、表示装置231に表示中の画面のプロパティから、ユーザの選択した処理の情報を取得してRAM213に保存する(ステップS4)。処理の情報とは、スキャナ装置100に第1処理を実行させるのか、第2処理を実行させるのかを示す情報である。次に、制御部210は、帳票の読み取り指示コマンドをスキャナ装置100に送信し(ステップS5)、定義ファイルをHDD250から読み込みRAM213に保存する(ステップS6)。なお、定義ファイルとは、判定しきい値を保存したファイルであり、第1処理用の定義ファイルと第2処理用の定義ファイルとがある。
The processing procedure of the computer apparatus 200 will be described with reference to the flowcharts shown in FIGS.
First, the control unit 210 displays a screen for selecting a process on the display screen of the display device 231 and waits for a selection input from the user. The screen for selecting a process is a screen for selecting whether the scanner apparatus 100 executes the first process or the second process. When the process selection instruction is received by the input device 221 (step S1 / YES), the control unit 210 displays a screen corresponding to the process selected by the user on the display screen of the display device 231 (step S2). Thereafter, the control unit 210 determines whether or not the input device 221 has received an instruction to start reading an image (step S3). When an instruction to start reading is received (step S3 / YES), the control unit 210 refers to the property of the screen being displayed on the display device 231 (step S4). The control unit 210 acquires information on the process selected by the user from the properties of the screen being displayed on the display device 231 and stores the information in the RAM 213 (step S4). The process information is information indicating whether the scanner apparatus 100 is to execute the first process or the second process. Next, the control unit 210 transmits a form reading instruction command to the scanner device 100 (step S5), reads the definition file from the HDD 250, and stores it in the RAM 213 (step S6). The definition file is a file storing the determination threshold value, and includes a definition file for the first process and a definition file for the second process.

次に、制御部210は、スキャナ装置100から紙詰まり等の異常を通知する信号を入力したか否かを判定する。すなわち、制御部210は、スキャナ装置100による画像の読み取りが正常であったか否かを判定する(ステップS7)。スキャナ装置100から異常を通知する信号を入力した場合(ステップS7/NO)、エラーメッセージを表示装置231の表示画面に表示させる(ステップS8)。この後、制御部210は、ユーザが詰まった帳票を取り除き、再度、帳票を給紙トレイ161にセットして、読み取り開始の指示を入力するまで待機する。また、スキャナ装置100から異常を通知する信号が入力されず、帳票の画像の読み取りが正常に処理された場合には(ステップS7/YES)、制御部210は、スキャナ装置100の読み取った読取画像を入力する(ステップS9)。制御部210は、入力した読取画像をRAM213に保存する(ステップS9)。次に、制御部210は、RAM213に保存した読取画像のノイズを除去する処理を行う(ステップS10)。ノイズの除去は、図16に示すように複数画素を圧縮して1画素に変換することで行う。圧縮する際に、処理対象の複数画素に含まれる白画素と黒画素との個数に応じて、変換する画素を白画素とするか黒画素とするのかを判定することで、ノイズを除去することができる。   Next, the control unit 210 determines whether or not a signal for notifying abnormality such as a paper jam is input from the scanner device 100. That is, the control unit 210 determines whether or not the image reading by the scanner device 100 is normal (step S7). When a signal notifying the abnormality is input from the scanner device 100 (step S7 / NO), an error message is displayed on the display screen of the display device 231 (step S8). Thereafter, the control unit 210 removes the form that the user has jammed, sets the form on the paper feed tray 161 again, and waits until an instruction to start reading is input. In addition, when a signal notifying the abnormality is not input from the scanner device 100 and reading of the image of the form is processed normally (step S7 / YES), the control unit 210 reads the read image read by the scanner device 100. Is input (step S9). The controller 210 stores the input read image in the RAM 213 (step S9). Next, the control unit 210 performs processing for removing noise from the read image stored in the RAM 213 (step S10). Noise removal is performed by compressing a plurality of pixels and converting them to one pixel as shown in FIG. When compressing, noise is removed by determining whether the pixel to be converted is a white pixel or a black pixel according to the number of white pixels and black pixels included in a plurality of pixels to be processed. Can do.

図18に、図17のフローの続きを示す。図18を参照しながら制御部210の処理の続きを説明する。読取画像のノイズを除去すると、制御部210は、帳票セット位置の判定を行う(ステップS11)。なお、この処理の詳細については、図19に示すフローチャートを参照しながら後述する。帳票セット位置の判定処理を終了すると、制御部210は、読取画像の左右両端部でそれぞれ計数した黒画素数が正常値であるか否かを判定して、帳票のセット位置が正常であるか否かを判定する(ステップS12)。給紙トレイ161上での帳票のセット位置が正常ではないと判定すると(ステップS12/NO)、制御部210は、エラーメッセージを表示装置231の表示画面に表示させる(ステップS13)。この後、制御部210は、ユーザが帳票を給紙トレイ161上の正しい位置にセットし、読み取り開始の指示を入力するまで待機する。また、給紙トレイ161上での帳票のセット位置が正常であると判定すると(ステップS12/YES)、制御部210は、印字の必要な処理であるか否かを判定する(ステップS14)。制御部210は、ステップS4で取得した処理の情報から、スキャナ装置100が第1処理を実行中であるのか、第2処理を実行中であるのかを判定する。制御部210は、印字の必要な処理、すなわち、第1処理であると判定すると(ステップS14/YES)、通し番号の印字を指示する指示コマンドをスキャナ装置100に通知する(ステップS15)。その後、制御部210は、入力した読取画像を表示装置の表示画面に表示する(ステップS16)。   FIG. 18 shows a continuation of the flow of FIG. The continuation of the process of the control unit 210 will be described with reference to FIG. When the noise of the read image is removed, the control unit 210 determines the form set position (step S11). Details of this processing will be described later with reference to the flowchart shown in FIG. When the processing for determining the form set position is completed, the control unit 210 determines whether the black pixel count counted at the left and right ends of the read image is a normal value, and whether the set position of the form is normal. It is determined whether or not (step S12). If it is determined that the set position of the form on the paper feed tray 161 is not normal (step S12 / NO), the control unit 210 displays an error message on the display screen of the display device 231 (step S13). Thereafter, the control unit 210 waits until the user sets the form at a correct position on the paper feed tray 161 and inputs an instruction to start reading. If it is determined that the set position of the form on the paper feed tray 161 is normal (step S12 / YES), the control unit 210 determines whether the process requires printing (step S14). The control unit 210 determines whether the scanner apparatus 100 is executing the first process or the second process from the process information acquired in step S4. If the control unit 210 determines that the process requires printing, that is, the first process (step S14 / YES), the control unit 210 notifies the scanner device 100 of an instruction command for instructing printing of the serial number (step S15). Thereafter, the controller 210 displays the input read image on the display screen of the display device (step S16).

次に、図19に示すフローチャートを参照しながら、帳票セット位置の判定の詳細フローについて説明する。
まず、制御部210は、黒画素の画素数を計数する計数位置を、読取画像の左右の両端部でそれぞれに設定する(ステップS21)。なお、例えば、読取画像の左右の両端部でそれぞれ10箇所ずつ黒画素数を計測する場合、読取画像の上下方向で50画素を除き、上下50画素を除いた読取画像の上下方向の画素数を10等分することで計数位置を決定する。
Next, a detailed flow for determining the form set position will be described with reference to the flowchart shown in FIG.
First, the control unit 210 sets the counting positions for counting the number of black pixels at the left and right ends of the read image (step S21). For example, when the number of black pixels is measured at 10 positions at both the left and right ends of the read image, the number of pixels in the vertical direction of the read image excluding 50 pixels in the vertical direction of the read image and excluding 50 pixels in the vertical direction is determined. The counting position is determined by dividing into 10 equal parts.

次に、制御部210は、設定した各位置の黒画素数をそれぞれ計数する(ステップS22)。黒画素の計数は、読取画像の左右の両端部でそれぞれに計数される。なお、黒画素の計数は、読取画像の幅方向の端部から、幅方向の中央部に向けて行われ、制御部210は、白画素を検出した場合に、計数を終了させる。黒画素数の計数が終了すると、制御部210は、計数した黒画素数の最大値と最小値との差を算出する(ステップS23)。なお、黒画素数の最大値と最小値との差の算出は、読取画像の左右方向の端部のそれぞれで算出してもよいし、片方のみ行ってもよい。最大値と最小値との差を算出すると、制御部210は、算出した差と、斜め判定用のしきい値とを比較する。制御部210は、黒画素数の差が斜め判定用のしきい値よりも大きいと判定すると(ステップS24/YES)、スキャナ装置100が帳票を斜めに読み込んだと判定する。制御部210は、帳票を斜めに読み込んだと判定する場合に、エラーメッセージを表示装置231に表示させる(ステップS25)。この後、制御部210は、ユーザが帳票を給紙トレイ161にセットし直し、読み取り開始の指示を入力するまで待機する。また、ステップS24の判定が否定判定である場合、制御部210は、帳票の画像を斜めに読み込むことなく正常に読み込んだと判定する。そして、制御部210は、計数した黒画素数の最大値から、当該黒画素数の10%を減算する処理を、読取画像の左右の両端部でそれぞれ行う(ステップS26)。また、制御部210は、計数した黒画素数の最小値に、当該黒画素数の10%を加算する処理を、読取画像の左右の両端部でそれぞれ行う(ステップS27)。そして、制御部210は、計数を行った各位置の黒画数の計数値の平均値を、読取画像の左右の両端部でそれぞれ算出する(ステップS28)。   Next, the control unit 210 counts the number of black pixels at each set position (step S22). The black pixels are counted at both the left and right ends of the read image. The black pixel is counted from the end in the width direction of the read image toward the center in the width direction, and the control unit 210 ends the counting when the white pixel is detected. When the counting of the number of black pixels ends, the control unit 210 calculates a difference between the maximum value and the minimum value of the counted number of black pixels (step S23). Note that the difference between the maximum value and the minimum value of the number of black pixels may be calculated at each of the left and right ends of the read image, or only one of them may be calculated. When the difference between the maximum value and the minimum value is calculated, the control unit 210 compares the calculated difference with a threshold for oblique determination. If the control unit 210 determines that the difference in the number of black pixels is greater than the threshold for oblique determination (step S24 / YES), it determines that the scanner device 100 has read the form obliquely. When determining that the form has been read obliquely, the control unit 210 displays an error message on the display device 231 (step S25). Thereafter, the control unit 210 waits until the user resets the form on the paper feed tray 161 and inputs an instruction to start reading. If the determination in step S24 is negative, the control unit 210 determines that the form image has been read normally without being read obliquely. Then, the control unit 210 performs a process of subtracting 10% of the black pixel number from the counted maximum number of black pixels at both the left and right ends of the read image (step S26). In addition, the control unit 210 performs a process of adding 10% of the number of black pixels to the minimum value of the counted number of black pixels at both left and right ends of the read image (step S27). Then, the control unit 210 calculates the average value of the count values of the number of black strokes at each position where the counting is performed at both the left and right ends of the read image (step S28).

次に、制御部210は、ステップS4で取得した処理の情報を参照して、スキャナ装置100が第1処理を実行中であるのか、第2処理を実行中であるのかを判定する(ステップS29)。スキャナ装置100の処理が第1処理である場合(ステップS29/YES)、制御部210は、左端部側の黒画素数の平均値と、第1処理用の定義ファイルから読み出した第1左用しきい値とを比較する(ステップS30)。制御部210は、左端部側の黒画素数の平均値が第1左用しきい値よりも大きい場合に異常状態と判定し、判定結果をRAM213に保存する。また、左端部側の黒画素数の平均値が第1左用しきい値以下である場合には正常状態し、判定結果をRAM213に保存する。制御部210は、右端部側の黒画素数の平均値についても同様の処理を行い(ステップS31)、異常又は正常を示す判定結果をRAM213に保存する。また、ステップS29の判定が否定判定である場合、制御部210は、左端部側の黒画素数の平均値と、第2処理用の定義ファイルから読み出した第2左用しきい値とを比較する処理を行う(ステップS32)。制御部210は、左端部側の黒画素数の平均値が第2左用しきい値よりも大きい場合に異常状態と判定し、判定結果をRAM213に保存する。また、左端部側の黒画素数の平均値が第2左用しきい値以下である場合には正常状態し、判定結果をRAM213に保存する。制御部210は、右端部側の黒画素数の平均値についても同様の処理を行い(ステップS33)、異常又は正常を示す判定結果をRAM213に保存する。   Next, the control unit 210 refers to the processing information acquired in step S4 to determine whether the scanner device 100 is executing the first process or the second process (step S29). ). When the process of the scanner device 100 is the first process (step S29 / YES), the control unit 210 uses the average value of the number of black pixels on the left end side and the first left use read from the definition file for the first process. The threshold value is compared (step S30). The control unit 210 determines an abnormal state when the average value of the number of black pixels on the left end side is larger than the first left threshold value, and stores the determination result in the RAM 213. If the average value of the number of black pixels on the left end side is equal to or smaller than the first left threshold value, the normal state is entered and the determination result is stored in the RAM 213. The control unit 210 performs the same process for the average value of the number of black pixels on the right end side (step S31), and stores a determination result indicating abnormality or normality in the RAM 213. If the determination in step S29 is negative, the control unit 210 compares the average value of the number of black pixels on the left end side with the second left threshold value read from the second processing definition file. Processing is performed (step S32). The control unit 210 determines an abnormal state when the average value of the number of black pixels on the left end side is larger than the second left threshold, and stores the determination result in the RAM 213. When the average value of the number of black pixels on the left end side is equal to or smaller than the second left threshold value, the normal state is entered and the determination result is stored in the RAM 213. The control unit 210 performs the same process for the average value of the number of black pixels on the right end side (step S33), and stores a determination result indicating abnormality or normality in the RAM 213.

以上、詳細に説明したように本実施形態は、以下に示す効果を奏する。
スキャナ装置100が所定の読み取り幅で画像を読み取る場合、読み取った用紙の画像以外に黒画像が付加されている。用紙が給紙トレイの適切な位置に載置している場合、スキャナ装置100によって読み取られた読取画像の端部から連続する黒画素が途切れる位置も、用紙に応じた所定位置になる。しかし、用紙が給紙トレイの適切な位置に載置されていない場合、黒画素の途切れる位置が、所定の用紙に対応する所定位置ではない行又は列が複数存在することになる。この点に着目し、コンピュータ装置200の制御部210が、読取画像の端部から連続する黒画素が途切れる位置が所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を異常状態として検出する。これにより、給紙トレイに載置した用紙の載置位置が適切か否かを判定することができる。
As described above in detail, this embodiment has the following effects.
When the scanner device 100 reads an image with a predetermined reading width, a black image is added in addition to the read paper image. When the paper is placed at an appropriate position on the paper feed tray, the position where the continuous black pixels are cut off from the end of the read image read by the scanner device 100 is also a predetermined position corresponding to the paper. However, when the paper is not placed at an appropriate position on the paper feed tray, there are a plurality of rows or columns where the black pixel is not interrupted at a predetermined position corresponding to the predetermined paper. Focusing on this point, the control unit 210 of the computer apparatus 200 is in an abnormal state when there are a plurality of rows or columns where the positions where the continuous black pixels are interrupted from the end of the read image are not the predetermined positions corresponding to the predetermined paper. Detect as. Thereby, it can be determined whether or not the placement position of the paper placed on the paper feed tray is appropriate.

また、所定の用紙の外縁が白色である点に着目し、読取画像の端部から連続する黒画素が白画素に変わる位置を読取画像における用紙の端部として判定する。このため、読取画像における用紙の端部の判定精度を向上させることができる。   Further, paying attention to the point that the outer edge of the predetermined paper is white, the position where the black pixel continuous from the edge of the read image changes to the white pixel is determined as the edge of the paper in the read image. For this reason, it is possible to improve the determination accuracy of the edge of the sheet in the read image.

また、読取画像の画像サイズを縮小して、読取画像のノイズを除去することで、読取画像における用紙の端部の判定精度を向上させることができる。   Further, by reducing the image size of the read image and removing the noise of the read image, it is possible to improve the determination accuracy of the edge of the paper in the read image.

また、本実施形態は、複数箇所の黒画素の計数値のうち、他の計数値との差が所定値以上のものを、読取画像における用紙端部の判定に使用しないようにしている。従って、用紙端部の判定精度を向上させることができる。   Further, in the present embodiment, among the count values of the black pixels at a plurality of locations, the difference between the count values of the black pixels and the other count values is not more than a predetermined value so as not to be used for the determination of the paper edge portion in the read image. Therefore, it is possible to improve the determination accuracy of the paper edge.

また、複数箇所の黒画素数の計数値の最大値と最小値との差が所定値以上である場合に、用紙が斜めに読み取られたと判定することで、スキャナ装置による読み取りのエラーを検出することができる。また、複数箇所の黒画素数の計数値の最大値と最小値との差が所定値以上である場合に、読取画像における用紙端部の判定に使用しないようにすることで、用紙端部の判定精度を向上させることができる。   Further, when the difference between the maximum value and the minimum value of the count values of the number of black pixels at a plurality of locations is equal to or greater than a predetermined value, an error in reading by the scanner device is detected by determining that the sheet has been read obliquely. be able to. In addition, when the difference between the maximum value and the minimum value of the count value of the number of black pixels at a plurality of locations is equal to or greater than a predetermined value, it is not used for determining the paper edge in the read image. The determination accuracy can be improved.

また、本実施形態は、連続する黒画素数が、読取画像の端部から印字部の印字位置までの距離に対応する黒画素数よりも大きい場合を、異常状態として検出する。このため、画像を読み取った用紙に通し番号を印字する設定となっている場合に、用紙に通し番号が印字されないケースの発生を低減することができる。   In the present embodiment, the case where the number of continuous black pixels is larger than the number of black pixels corresponding to the distance from the edge of the read image to the printing position of the printing unit is detected as an abnormal state. For this reason, when the serial number is set to be printed on the paper from which the image is read, it is possible to reduce the occurrence of the case where the serial number is not printed on the paper.

(変形例)
スキャナ装置100が読み取る読取画像には、図11(A)及び(B)に示すように背景部としての黒画像が付加されている。このため、同一種類の帳票をスキャナ装置100にスキャンさせても、帳票を載置する給紙トレイ161上の位置や向きが異なれば、図11(A)及び(B)に示すように読取画像に付加される黒画像の位置や、大きさが異なる。従って、コンピュータ装置200で読取画像を処理する場合に、同じ種類の帳票の画像であるのに、帳票画像の周囲に付加される黒画像の位置や大きさが揃っていない場合がある。このような場合、読取画像を処理するコンピュータ装置200での処理負担が増加してしまう。そこで、この変形例では、帳票の種類に応じて、読取画像の周囲に付加される黒画像の位置や大きさを揃えることができるようにする。
(Modification)
A black image as a background portion is added to the read image read by the scanner device 100 as shown in FIGS. For this reason, even if the same type of form is scanned by the scanner apparatus 100, if the position and orientation on the paper feed tray 161 on which the form is placed are different, the read image is displayed as shown in FIGS. The position and size of the black image added to the are different. Therefore, when the scanned image is processed by the computer apparatus 200, there are cases where the positions and sizes of the black images added around the form image are not uniform even though they are the same type of form image. In such a case, the processing load on the computer device 200 that processes the read image increases. Therefore, in this modification, the position and size of the black image added around the read image can be made uniform according to the type of form.

このため、この変形例では、帳票の種類に応じて、帳票を載置する給紙トレイ161上の位置と向きとをユーザが事前に決め、コンピュータ装置200に登録させる。帳票を載置する給紙トレイ161上の位置は、例えば、左寄せ、中央部、右寄せの3パターンがあり、給紙トレイ161上の帳票の向きにも、縦置き、横置きの2パターンがある。なお、帳票を載置する給紙トレイ161上の位置や向きについては、図9(A)〜(D)及び図10(A)〜(D)に示す。
ユーザは、帳票を識別する識別番号と、帳票の縦横サイズ等の情報を含む種類情報と、帳票を載置する位置と向きとの情報をコンピュータ装置200の入力装置221から入力する。コンピュータ装置200の制御部210は、入力装置221から入力した、識別番号と、帳票の種類情報と、帳票を載置する位置と向きとの情報をRAM213に保存する。また、制御部210は、入力した帳票の種類情報と、帳票を載置する位置と向きとの情報から、帳票が給紙トレイ161上の正しい位置、向きに載置されていることを判別することができる判定しきい値を選択する。制御部210は、選択した判定しきい値を、前述の識別番号、帳票の種類情報、及び帳票を載置する位置と向きとの情報に対応付けてRAM213に保存する。
For this reason, in this modification, the user determines in advance the position and orientation on the paper feed tray 161 on which the form is placed according to the type of form, and causes the computer apparatus 200 to register it. The position on the paper feed tray 161 on which the form is placed has, for example, three patterns of left justification, center portion, and right justification, and the orientation of the form on the paper feed tray 161 also has two patterns of vertical placement and horizontal placement. . Note that the positions and orientations on the paper feed tray 161 on which the form is placed are shown in FIGS. 9 (A) to 9 (D) and FIGS. 10 (A) to 10 (D).
The user inputs from the input device 221 of the computer device 200 the identification number for identifying the form, the type information including information such as the vertical and horizontal sizes of the form, and the position and orientation of the form. The control unit 210 of the computer apparatus 200 stores the identification number, the form type information, and the position and orientation information on the form, which are input from the input device 221, in the RAM 213. Further, the control unit 210 determines that the form is placed at the correct position and orientation on the paper feed tray 161 from the input form type information and information on the position and orientation of the form. The decision threshold that can be selected is selected. The control unit 210 stores the selected determination threshold in the RAM 213 in association with the above-described identification number, form type information, and information on the position and orientation of the form.

スキャナ装置100に帳票の画像を読み取らせる前には、ユーザは、入力装置221から、画像を読み込ませる帳票の識別番号を入力する。制御部210は、入力装置221から入力した識別番号に対応する判定しきい値をRAM213から読み出す。そして、制御部210は、スキャナ装置100から読取画像を入力すると、読取画像の幅方向の両端部、又は長さ方向の両端部の黒画素数を計数する。そして、制御部210は、計数した黒画素数が、判定しきい値よりも大きい場合には、帳票が給紙トレイ161上の正しい位置に載置されていないと判定して異常状態として出力する。なお、判定しきい値には、上述した実施形態と同様に、左用しきい値と右用しきい値とが用意されている。また、この他に、長さ方向の左用しきい値と右用しきい値とを用いて、計数した黒画素数との比較を行ってもよい。また、この処理フローの詳細は、図17〜図19に示すフローチャートとほぼ同一であるため、詳細な説明は省略する。ただし、図17のステップS4に示すユーザの選択した処理の情報を取得するステップが、ユーザの選択した帳票の識別情報を入力して、RAM213に保存する処理に変更になる。また、図18のステップS14の印字が必要か否かを判定するステップは、常に否定判定となる。また、図19のステップS29の第1処理であるか否かを判定するステップが、帳票の識別情報に対応する判定しきい値をRAM213から読み出す処理に置き換わる。また、図19のS30、S31のステップは削除され、ステップS29で取得した判定しきい値を使用して、S32、S33の処理を行う処理に変更される。   Before causing the scanner device 100 to read a form image, the user inputs the identification number of the form from which the image is to be read from the input device 221. The control unit 210 reads a determination threshold value corresponding to the identification number input from the input device 221 from the RAM 213. When the read image is input from the scanner device 100, the control unit 210 counts the number of black pixels at both ends in the width direction or both ends in the length direction of the read image. If the counted number of black pixels is larger than the determination threshold value, the control unit 210 determines that the form is not placed at the correct position on the paper feed tray 161 and outputs the abnormal state. . As the determination threshold, a left threshold and a right threshold are prepared as in the above-described embodiment. In addition to this, a comparison with the counted number of black pixels may be performed using a left threshold value and a right threshold value in the length direction. The details of this processing flow are almost the same as the flowcharts shown in FIGS. However, the step of acquiring the information of the process selected by the user shown in step S4 of FIG. 17 is changed to the process of inputting the identification information of the form selected by the user and storing it in the RAM 213. Further, the step of determining whether or not the printing in step S14 in FIG. 18 is necessary is always a negative determination. Further, the step of determining whether or not the first process in step S29 of FIG. 19 is replaced with a process of reading a determination threshold corresponding to the identification information of the form from the RAM 213. Also, the steps of S30 and S31 in FIG. 19 are deleted, and the process is changed to the process of performing the processes of S32 and S33 using the determination threshold acquired in step S29.

上述した実施形態は、本発明の好適な実施の形態である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内で種々の変形実施が可能である。例えば、図1には、スキャナ装置100として、搬送ローラによりスキャンする用紙を搬送ローラによりスキャナ装置100の読取部140に搬送して、画像を読み取るタイプの装置を示した。これ以外に、原稿台に用紙を載置して、光源、読取部140を移動させながら原稿台に置かれた用紙の画像を読み取るタイプの装置であってもよい。また、上述の実施形態では、帳票をスキャナ装置100に読み取らせて、コンピュータ装置200が帳票セット位置の判定を行う例を示した。しかし、スキャナ装置100が読み取り、コンピュータ装置200がセット位置の判定を行う用紙は帳票に限られるものではない。例えば、コンピュータ装置200に実行させる処理に応じて、トレイ161上の異なる位置に用紙をセットする場合が挙げられる。   The above-described embodiment is a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention. For example, FIG. 1 illustrates a scanner device 100 of a type in which a sheet to be scanned by a transport roller is transported to a reading unit 140 of the scanner device 100 by a transport roller and an image is read. In addition to this, a device of a type in which a sheet is placed on the document table and an image of the sheet placed on the document table is read while moving the light source and the reading unit 140 may be used. In the above-described embodiment, an example has been described in which the computer apparatus 200 determines the form set position by causing the scanner apparatus 100 to read the form. However, the paper that the scanner device 100 reads and the computer device 200 determines the set position is not limited to a form. For example, there is a case where paper is set at a different position on the tray 161 in accordance with processing executed by the computer device 200.

また、上述した実施形態では、スキャナ装置100が読み取った画像データをコンピュータ装置200に送って、コンピュータ装置200が帳票セット位置の判定を行っていた。これ以外に、スキャナ装置100自身が、上述の帳票セット位置の判定を行ってもよい。この場合、スキャナ装置100のコントローラ110が備えるメモリ112に、判定しきい値を保存しておく。コントローラ110は、メモリ112に保存した判定しきい値を使用して、図17〜図19に示すフローチャートに従って処理を行う。   In the above-described embodiment, the image data read by the scanner device 100 is sent to the computer device 200, and the computer device 200 determines the form set position. In addition, the scanner device 100 itself may determine the above-described form set position. In this case, the determination threshold value is stored in the memory 112 provided in the controller 110 of the scanner device 100. The controller 110 performs processing according to the flowcharts shown in FIGS. 17 to 19 using the determination threshold value stored in the memory 112.

なお、以上の説明に関して更に以下の付記を開示する。
(付記1) コンピュータに、
所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力手順と、
前記入力手順で入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる位置が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出手順と、
を実行させるためのプログラム。
(付記2) 前記所定の用紙の外縁は白色であり、
前記検出手順は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向に連続する黒画素に隣接する白画素を、前記所定の用紙の端部画像と判定し、判定した前記端部画像が、前記読取画像の前記読み取り幅の方向において所定位置にない場合を前記異常状態として検出することを特徴とする付記1記載のプログラム。
(付記3) 前記読取画像の画像サイズを縮小することで、前記読取画像のノイズを除去する除去手順をさらに実行し、
前記検出手順は、前記除去手順で画像サイズを縮小した読取画像に対して異常状態の検出を行うことを特徴とする付記1又は2記載のプログラム。
(付記4) 前記所定の用紙の外縁は白色であり、
前記検出手順は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の前記読み取り幅の方向に直交する方向の複数箇所で行い、計数した前記複数箇所の黒画素の計数値のうち、他の計数値との差が所定値以上のものを、前記所定の用紙の端部の判定に使用する計数値から除外することを特徴とする付記1記載のプログラム。
(付記5) 前記スキャナ装置は、前記所定の用紙を読み取るための読取部と、前記読取部に前記所定の用紙を搬送するための搬送ローラとを含み、
前記搬送ローラは、前記スキャナ装置の前記読み取り幅の方向の中央部に配置されていることを特徴とする付記1から4のいずれか一項記載のプログラム。
(付記6) 前記スキャナ装置は、前記コンピュータから通し番号を印字する指示を受け付けている場合に、前記所定の用紙としての帳票の画像を読み取った後に、前記帳票に前記通し番号を印字する印字部を備えることを特徴とする付記1から5のいずれか一項記載のプログラム。
(付記7) 前記検出手順は、前記連続する黒画素数が、前記読取画像の端部から、前記印字部の印字位置までの距離に対応する黒画素数よりも大きい場合に、前記異常状態の検出を行うことを特徴とする付記6記載のプログラム。
(付記8) 前記所定の用紙の外縁は白色であり、
前記検出手順は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の複数箇所で行い、計数した前記複数箇所の黒画素数の最大値と最小値との差が所定値以上である場合に、前記所定の用紙が斜めに読み取られたと判定することを特徴とする付記1記載のプログラム。
(付記9) 所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力ステップと、
前記入力ステップにより入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる位置が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出ステップと、
を有することを特徴とする載置位置判定方法。
(付記10) 前記所定の用紙の外縁は白色であり、
前記検出ステップは、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向に連続する黒画素に隣接する白画素を、前記所定の用紙の端部画像と判定し、判定した前記端部画像が、前記読取画像の前記読み取り幅の方向において所定位置にない場合を前記異常状態として検出することを特徴とする付記9記載の載置位置判定方法。
(付記11) 前記読取画像の画像サイズを縮小することで、前記読取画像のノイズを除去する除去ステップをさらに実行し、
前記検出ステップは、前記除去ステップで画像サイズを縮小した読取画像に対して異常状態の検出を行うことを特徴とする付記9又は10記載の載置位置判定方法。
(付記12) 前記所定の用紙の外縁は白色であり、
前記検出ステップは、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の前記読み取り幅の方向に直交する方向の複数箇所で行い、計数した前記複数箇所の黒画素の計数値のうち、他の計数値との差が所定値以上のものを、前記所定の用紙の端部の判定に使用する計数値から除外することを特徴とする付記9記載の載置位置判定方法。
(付記13) 前記スキャナ装置は、前記所定の用紙を読み取るための読取部と、前記読取部に前記所定の用紙を搬送するための搬送ローラとを含み、
前記搬送ローラは、前記スキャナ装置の前記読み取り幅の方向の中央部に配置されていることを特徴とする付記9から12のいずれか一項記載の載置位置判定方法。
(付記14) 前記スキャナ装置は、前記コンピュータから通し番号を印字する指示を受け付けている場合に、前記所定の用紙としての帳票の画像を読み取った後に、前記帳票に前記通し番号を印字する印字部を備えることを特徴とする付記9から13のいずれか一項記載の載置位置判定方法。
(付記15) 前記検出ステップは、前記連続する黒画素数が、前記読取画像の端部から、前記印字部の印字位置までの距離に対応する黒画素数よりも大きい場合に、前記異常状態の検出を行うことを特徴とする付記14記載の載置位置判定方法。
(付記16) 前記所定の用紙の外縁は白色であり、
前記検出ステップは、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の複数箇所で行い、計数した前記複数箇所の黒画素数の最大値と最小値との差が所定値以上である場合に、前記所定の用紙が斜めに読み取られたと判定することを特徴とする付記9記載の載置位置判定方法。
(付記17) 所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力手段と、
前記入力手段が入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる箇所が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出手段と、
を備えることを特徴とする載置位置判定装置。
(付記18) 前記所定の用紙の外縁は白色であり、
前記検出手段は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向に連続する黒画素に隣接する白画素を、前記所定の用紙の端部画像と判定し、判定した前記端部画像が、前記読取画像の前記読み取り幅の方向において所定位置にない場合を前記異常状態として検出することを特徴とする付記17記載の載置位置判定装置。
(付記19) 前記読取画像の画像サイズを縮小することで、前記読取画像のノイズを除去する除去手段をさらに実行し、
前記検出手段は、前記除去手段で画像サイズを縮小した読取画像に対して異常状態の検出を行うことを特徴とする付記17又は18記載の載置位置判定装置。
(付記20) 前記所定の用紙の外縁は白色であり、
前記検出手段は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の前記読み取り幅の方向に直交する方向の複数箇所で行い、計数した前記複数箇所の黒画素の計数値のうち、他の計数値との差が所定値以上のものを、前記所定の用紙の端部の判定に使用する計数値から除外することを特徴とする付記17記載の載置位置判定装置。
(付記21) 前記スキャナ装置は、前記所定の用紙を読み取るための読取部と、前記読取部に前記所定の用紙を搬送するための搬送ローラとを含み、
前記搬送ローラは、前記スキャナ装置の前記読み取り幅の方向の中央部に配置されていることを特徴とする付記17から20のいずれか一項記載の載置位置判定装置。
(付記22) 前記スキャナ装置は、前記コンピュータから通し番号を印字する指示を受け付けている場合に、前記所定の用紙としての帳票の画像を読み取った後に、前記帳票に前記通し番号を印字する印字部を備えることを特徴とする付記17から21のいずれか一項記載の載置位置判定装置。
(付記23) 前記検出手段は、前記連続する黒画素数が、前記読取画像の端部から、前記印字部の印字位置までの距離に対応する黒画素数よりも大きい場合に、前記異常状態の検出を行うことを特徴とする付記22記載の載置位置判定装置。
(付記24) 前記所定の用紙の外縁は白色であり、
前記検出手段は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の複数箇所で行い、計数した前記複数箇所の黒画素数の最大値と最小値との差が所定値以上である場合に、前記所定の用紙が斜めに読み取られたと判定することを特徴とする付記17記載の載置位置判定装置。
In addition, the following additional notes are disclosed regarding the above description.
(Supplementary note 1)
An input procedure for inputting a read image including an image on a predetermined sheet read by a scanner device that reads an image with a predetermined reading width;
In the read image input in the input procedure, when there are a plurality of rows or columns where the positions where the black pixels continuous from the end of the read image are not at a predetermined position corresponding to the predetermined paper exist, Detection procedure to detect as,
A program for running
(Appendix 2) The outer edge of the predetermined paper is white,
In the detection procedure, a white pixel adjacent to a black pixel continuous in the reading width direction from an end portion in the reading width direction of the read image is determined as an end image of the predetermined sheet. The program according to claim 1, wherein the abnormal state is detected when the end image is not at a predetermined position in the reading width direction of the read image.
(Additional remark 3) The removal procedure which removes the noise of the said read image by reducing the image size of the said read image is further performed,
The program according to claim 1 or 2, wherein the detection procedure detects an abnormal state with respect to a read image whose image size has been reduced by the removal procedure.
(Appendix 4) The outer edge of the predetermined paper is white,
The detection procedure includes counting the number of continuous black pixels from an end of the read image in the read width direction to a white pixel adjacent to a black pixel continuous in the read width direction. The measurement is performed at a plurality of locations in a direction orthogonal to the direction of the reading width, and among the counted values of the black pixels at the plurality of locations, the difference between the counted values and other count values is equal to or larger than a predetermined value. The program according to appendix 1, characterized in that it is excluded from the count value used for the part determination.
(Supplementary Note 5) The scanner device includes a reading unit for reading the predetermined paper, and a conveyance roller for conveying the predetermined paper to the reading unit,
The program according to any one of appendices 1 to 4, wherein the conveyance roller is arranged at a central portion of the scanner device in the reading width direction.
(Additional remark 6) The said scanner apparatus is provided with the printing part which prints the said serial number on the said form, after reading the image of the form as said predetermined | prescribed paper, when the instruction | indication which prints the serial number from the said computer is received. The program according to any one of appendices 1 to 5, characterized in that:
(Supplementary Note 7) The detection procedure is performed when the number of continuous black pixels is larger than the number of black pixels corresponding to the distance from the edge of the read image to the print position of the print unit. The program according to appendix 6, wherein detection is performed.
(Appendix 8) The outer edge of the predetermined paper is white,
The detection procedure includes counting the number of continuous black pixels from an end of the read image in the read width direction to a white pixel adjacent to a black pixel continuous in the read width direction. Note that the predetermined sheet is determined to be read obliquely when a difference between a maximum value and a minimum value of the number of black pixels counted at the plurality of positions is equal to or greater than a predetermined value. 1. The program according to 1.
(Supplementary Note 9) An input step of inputting a read image including an image on a predetermined sheet read by a scanner device that reads an image with a predetermined reading width;
In the read image input by the input step, when there are a plurality of rows or columns where the positions where the black pixels continuous from the end of the read image are not at the predetermined positions corresponding to the predetermined paper exist, Detecting step to detect as,
A mounting position determination method characterized by comprising:
(Appendix 10) The outer edge of the predetermined paper is white,
In the detection step, a white pixel adjacent to a black pixel continuous in the reading width direction from an end portion in the reading width direction of the read image is determined as an end image of the predetermined paper, and determined. The mounting position determination method according to claim 9, wherein the abnormal state is detected when the end image is not at a predetermined position in the reading width direction of the read image.
(Additional remark 11) The removal step which removes the noise of the said read image by reducing the image size of the said read image is further performed,
11. The mounting position determination method according to appendix 9 or 10, wherein in the detection step, an abnormal state is detected for the read image whose image size is reduced in the removal step.
(Appendix 12) The outer edge of the predetermined paper is white,
The detection step includes counting the number of continuous black pixels from an end of the read image in the read width direction to a white pixel adjacent to a black pixel continuous in the read width direction. The measurement is performed at a plurality of locations in a direction orthogonal to the direction of the reading width, and among the counted values of the black pixels at the plurality of locations, the difference between the counted values and other count values is equal to or larger than a predetermined value. The mounting position determination method according to appendix 9, wherein the placement position determination method is excluded from the count value used for determination of a part.
(Supplementary Note 13) The scanner device includes a reading unit for reading the predetermined sheet, and a conveyance roller for conveying the predetermined sheet to the reading unit,
The placement position determination method according to any one of appendices 9 to 12, wherein the transport roller is disposed at a central portion of the scanner device in the reading width direction.
(Supplementary Note 14) The scanner device includes a printing unit that, when receiving an instruction to print a serial number from the computer, prints the serial number on the form after reading an image of the form as the predetermined sheet. The mounting position determination method according to any one of appendices 9 to 13, characterized in that:
(Supplementary Note 15) In the detection step, when the number of continuous black pixels is larger than the number of black pixels corresponding to the distance from the edge of the read image to the print position of the print unit, The mounting position determination method according to supplementary note 14, wherein detection is performed.
(Supplementary Note 16) The outer edge of the predetermined paper is white,
The detection step includes counting the number of continuous black pixels from an end of the read image in the read width direction to a white pixel adjacent to a black pixel continuous in the read width direction. Note that the predetermined sheet is determined to be read obliquely when a difference between a maximum value and a minimum value of the number of black pixels counted at the plurality of positions is equal to or greater than a predetermined value. 9. The mounting position determination method according to 9.
(Supplementary Note 17) Input means for inputting a read image including an image on a predetermined sheet read by a scanner device that reads an image with a predetermined reading width;
In the read image input by the input means, when there are a plurality of rows or columns where the black pixel continuous from the end of the read image is not at a predetermined position corresponding to the predetermined paper, Detecting means for detecting as,
A mounting position determination apparatus comprising:
(Supplementary Note 18) The outer edge of the predetermined paper is white,
The detection unit determines and determines a white pixel adjacent to a black pixel continuous in the reading width direction from the end in the reading width direction of the read image as an end image of the predetermined sheet. 18. The mounting position determination device according to claim 17, wherein the abnormal state is detected when the end image is not at a predetermined position in the reading width direction of the read image.
(Additional remark 19) The reduction means which removes the noise of the said read image by reducing the image size of the said read image is further performed,
19. The mounting position determination device according to appendix 17 or 18, wherein the detection unit detects an abnormal state with respect to the read image whose image size is reduced by the removal unit.
(Appendix 20) The outer edge of the predetermined paper is white,
The detection means counts the number of continuous black pixels from the end in the read width direction to the white pixels adjacent to the black pixels continuous in the read width direction of the read image. The measurement is performed at a plurality of locations in a direction orthogonal to the direction of the reading width, and among the counted values of the black pixels at the plurality of locations, the difference between the counted values and other count values is equal to or larger than a predetermined value. The mounting position determination device according to appendix 17, wherein the mounting position determination device is excluded from the count value used for determination of a part.
(Supplementary Note 21) The scanner device includes a reading unit for reading the predetermined sheet, and a conveyance roller for conveying the predetermined sheet to the reading unit,
21. The mounting position determination device according to any one of appendices 17 to 20, wherein the transport roller is disposed in a central portion of the scanner device in the reading width direction.
(Supplementary Note 22) The scanner device includes a printing unit that, when receiving an instruction to print a serial number from the computer, prints the serial number on the form after reading an image of the form as the predetermined sheet. The mounting position determination device according to any one of appendices 17 to 21, characterized in that:
(Supplementary Note 23) When the number of continuous black pixels is larger than the number of black pixels corresponding to the distance from the edge of the read image to the print position of the print unit, the detection unit is in the abnormal state. The mounting position determination device according to attachment 22, wherein detection is performed.
(Supplementary Note 24) The outer edge of the predetermined paper is white,
The detection means counts the number of continuous black pixels from the end in the read width direction to the white pixels adjacent to the black pixels continuous in the read width direction of the read image. Note that the predetermined sheet is determined to be read obliquely when a difference between a maximum value and a minimum value of the number of black pixels counted at the plurality of positions is equal to or greater than a predetermined value. The mounting position determination device according to 17.

100 スキャナ装置
110 コントローラ
130 搬送部
140 読取部
150 印字部
160 給紙ユニット
161 給紙トレイ
162、163 サイドガイド
165、166 ガイド溝
200 コンピュータ装置
210 制御部
231 表示装置
271 入力部
272 検出部
273 表示制御部
DESCRIPTION OF SYMBOLS 100 Scanner apparatus 110 Controller 130 Conveyance part 140 Reading part 150 Printing part 160 Paper feed unit 161 Paper feed tray 162,163 Side guide 165,166 Guide groove 200 Computer apparatus 210 Control part 231 Display apparatus 271 Input part 272 Detection part 273 Display control Part

Claims (10)

コンピュータに、
所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力手順と、
前記入力手順で入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる位置が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出手順と、
を実行させるためのプログラム。
On the computer,
An input procedure for inputting a read image including an image on a predetermined sheet read by a scanner device that reads an image with a predetermined reading width;
In the read image input in the input procedure, when there are a plurality of rows or columns where the positions where the black pixels continuous from the end of the read image are not at a predetermined position corresponding to the predetermined paper exist, Detection procedure to detect as,
A program for running
前記所定の用紙の外縁は白色であり、
前記検出手順は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向に連続する黒画素に隣接する白画素を、前記所定の用紙の端部画像と判定し、判定した前記端部画像が、前記読取画像の前記読み取り幅の方向において所定位置にない場合を前記異常状態として検出することを特徴とする請求項1記載のプログラム。
The outer edge of the predetermined paper is white,
In the detection procedure, a white pixel adjacent to a black pixel continuous in the reading width direction from an end portion in the reading width direction of the read image is determined as an end image of the predetermined sheet. The program according to claim 1, wherein the abnormal state is detected when the end image is not at a predetermined position in the reading width direction of the read image.
前記読取画像の画像サイズを縮小することで、前記読取画像のノイズを除去する除去手順をさらに実行し、
前記検出手順は、前記除去手順で画像サイズを縮小した読取画像に対して異常状態の検出を行うことを特徴とする請求項1又は2記載のプログラム。
Further executing a removal procedure to remove noise in the read image by reducing the image size of the read image;
3. The program according to claim 1, wherein the detection procedure detects an abnormal state with respect to a read image obtained by reducing an image size in the removal procedure.
前記所定の用紙の外縁は白色であり、
前記検出手順は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の前記読み取り幅の方向に直交する方向の複数箇所で行い、計数した前記複数箇所の黒画素の計数値のうち、他の計数値との差が所定値以上のものを、前記所定の用紙の端部の判定に使用する計数値から除外することを特徴とする請求項1記載のプログラム。
The outer edge of the predetermined paper is white,
The detection procedure includes counting the number of continuous black pixels from an end of the read image in the read width direction to a white pixel adjacent to a black pixel continuous in the read width direction. The measurement is performed at a plurality of locations in a direction orthogonal to the direction of the reading width, and among the counted values of the black pixels at the plurality of locations, the difference between the counted values and other count values is equal to or larger than a predetermined value. 2. The program according to claim 1, wherein the program is excluded from the count value used for determination of a part.
前記スキャナ装置は、前記所定の用紙を読み取るための読取部と、前記読取部に前記所定の用紙を搬送するための搬送ローラとを含み、
前記搬送ローラは、前記スキャナ装置の前記読み取り幅の方向の中央部に配置されていることを特徴とする請求項1から4のいずれか一項記載のプログラム。
The scanner device includes a reading unit for reading the predetermined sheet, and a conveyance roller for conveying the predetermined sheet to the reading unit,
The program according to any one of claims 1 to 4, wherein the conveyance roller is disposed at a central portion of the scanner device in a direction of the reading width.
前記スキャナ装置は、前記コンピュータから通し番号を印字する指示を受け付けている場合に、前記所定の用紙としての帳票の画像を読み取った後に、前記帳票に前記通し番号を印字する印字部を備えることを特徴とする請求項1から5のいずれか一項記載のプログラム。   The scanner device includes a printing unit that prints the serial number on the form after reading an image of the form as the predetermined paper when receiving an instruction to print a serial number from the computer. The program according to any one of claims 1 to 5. 前記検出手順は、前記連続する黒画素数が、前記読取画像の端部から、前記印字部の印字位置までの距離に対応する黒画素数よりも大きい場合に、前記異常状態の検出を行うことを特徴とする請求項6記載のプログラム。   In the detection procedure, the abnormal state is detected when the number of continuous black pixels is larger than the number of black pixels corresponding to the distance from the edge of the read image to the printing position of the printing unit. The program according to claim 6. 前記所定の用紙の外縁は白色であり、
前記検出手順は、前記読取画像の、前記読み取り幅の方向の端部から前記読み取り幅の方向において連続する黒画素に隣接する白画素までの前記連続する黒画素数の計数を、前記読取画像の複数箇所で行い、計数した前記複数箇所の黒画素数の最大値と最小値との差が所定値以上である場合に、前記所定の用紙が斜めに読み取られたと判定することを特徴とする請求項1記載のプログラム。
The outer edge of the predetermined paper is white,
The detection procedure includes counting the number of continuous black pixels from an end of the read image in the read width direction to a white pixel adjacent to a black pixel continuous in the read width direction. The determination is performed at a plurality of locations, and when the difference between the counted maximum value and the minimum value of the number of black pixels is equal to or greater than a predetermined value, it is determined that the predetermined sheet is read obliquely. Item 1. The program according to item 1.
所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力ステップと、
前記入力ステップにより入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる箇所が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出ステップと、
を有することを特徴とする載置位置判定方法。
An input step of inputting a read image including an image of a predetermined sheet read by a scanner device that reads an image with a predetermined reading width;
In the read image input by the input step, when there are a plurality of rows or columns where the black pixel continuous from the end of the read image is not at a predetermined position corresponding to the predetermined paper, Detecting step to detect as,
A mounting position determination method characterized by comprising:
所定の読み取り幅で画像を読み取るスキャナ装置が読み取った、所定の用紙の画像を含む読取画像を入力する入力手段と、
前記入力手段が入力した前記読取画像において、前記読取画像の端部から連続する黒画素の途切れる箇所が、前記所定の用紙に対応する所定位置ではない行又は列が複数存在する場合を、異常状態として検出する検出手段と、
を備えることを特徴とする載置位置判定装置。
An input means for inputting a read image including an image on a predetermined sheet read by a scanner device that reads an image with a predetermined reading width;
In the read image input by the input means, when there are a plurality of rows or columns where the black pixel continuous from the end of the read image is not at a predetermined position corresponding to the predetermined paper, Detecting means for detecting as,
A mounting position determination apparatus comprising:
JP2013073786A 2013-03-29 2013-03-29 Program, loading position determination method, and loading position determination device Pending JP2014199975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013073786A JP2014199975A (en) 2013-03-29 2013-03-29 Program, loading position determination method, and loading position determination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013073786A JP2014199975A (en) 2013-03-29 2013-03-29 Program, loading position determination method, and loading position determination device

Publications (1)

Publication Number Publication Date
JP2014199975A true JP2014199975A (en) 2014-10-23

Family

ID=52356661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013073786A Pending JP2014199975A (en) 2013-03-29 2013-03-29 Program, loading position determination method, and loading position determination device

Country Status (1)

Country Link
JP (1) JP2014199975A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020121460A (en) * 2019-01-30 2020-08-13 京セラドキュメントソリューションズ株式会社 Image forming device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5483438A (en) * 1977-12-15 1979-07-03 Ricoh Co Ltd Original detecting method
JPS635659A (en) * 1986-06-25 1988-01-11 Fuji Xerox Co Ltd Document size detector
JPH03181271A (en) * 1989-12-08 1991-08-07 Ricoh Co Ltd automatic document feeder
JPH06141137A (en) * 1992-10-23 1994-05-20 Canon Inc Image processing device
JPH1127455A (en) * 1997-06-30 1999-01-29 Sanyo Electric Co Ltd Picture reader
JP2007074547A (en) * 2005-09-08 2007-03-22 Canon Electronics Inc Image reading apparatus, image reading apparatus control method, control program, and image reading system
JP2011217323A (en) * 2010-04-02 2011-10-27 Canon Inc Image reading apparatus, and image reading method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5483438A (en) * 1977-12-15 1979-07-03 Ricoh Co Ltd Original detecting method
JPS635659A (en) * 1986-06-25 1988-01-11 Fuji Xerox Co Ltd Document size detector
JPH03181271A (en) * 1989-12-08 1991-08-07 Ricoh Co Ltd automatic document feeder
JPH06141137A (en) * 1992-10-23 1994-05-20 Canon Inc Image processing device
JPH1127455A (en) * 1997-06-30 1999-01-29 Sanyo Electric Co Ltd Picture reader
JP2007074547A (en) * 2005-09-08 2007-03-22 Canon Electronics Inc Image reading apparatus, image reading apparatus control method, control program, and image reading system
JP2011217323A (en) * 2010-04-02 2011-10-27 Canon Inc Image reading apparatus, and image reading method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020121460A (en) * 2019-01-30 2020-08-13 京セラドキュメントソリューションズ株式会社 Image forming device
JP7215195B2 (en) 2019-01-30 2023-01-31 京セラドキュメントソリューションズ株式会社 image forming device

Similar Documents

Publication Publication Date Title
US10516790B2 (en) Inspection apparatus, image forming system, inspection method, and program
JP5751760B2 (en) Document reader
US20190289152A1 (en) Image processing apparatus and program
JP6295612B2 (en) Image forming system, image forming method, and program
US12548144B2 (en) Inspection apparatus, method of controlling the same, inspection system, and storage medium
WO2015081765A1 (en) Automatic fault diagnosis method and device for sorting machine
US11354799B2 (en) Image processing for inspecting an inspection target image so that a difference in the difference image greater than a threshold value is reduced
US11907593B2 (en) Printing system, inspection method, and medium
US9955028B2 (en) Image-processing apparatus and image-processing method
US10427438B2 (en) Abnormality detection and processing for image forming systems and devices
US9100511B2 (en) Image reading device and image reading system
JP2014200062A (en) Image reader and method for determining vertical streak
US11838454B2 (en) Inspection apparatus, control method thereof, and storage medium
JP5440162B2 (en) White spot detection device, image forming apparatus, and white spot detection program
US12063331B2 (en) Image processing apparatus, image processing method, and recording medium
JP2021107788A (en) Inspection device, insection method and program
JP2014199975A (en) Program, loading position determination method, and loading position determination device
US20190356789A1 (en) Image processing apparatus, image processing system, and program
US8305650B2 (en) Image to target comparator software
US10819875B2 (en) Image reading apparatus
JP5540595B2 (en) Printed matter inspection apparatus, printed matter inspection system, printed matter inspection method, and printed matter inspection program
JP2015009479A (en) Print control apparatus, print control method and program
JP5886181B2 (en) Barcode image correction device, passbook processing device, and automatic transaction device
JP2022174395A (en) Information processing apparatus, printing system, control method and program for printing system
JP2009093360A (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161101

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170425