JP2007156764A - Figure detection processing program and paper sheets processing device - Google Patents

Figure detection processing program and paper sheets processing device Download PDF

Info

Publication number
JP2007156764A
JP2007156764A JP2005350110A JP2005350110A JP2007156764A JP 2007156764 A JP2007156764 A JP 2007156764A JP 2005350110 A JP2005350110 A JP 2005350110A JP 2005350110 A JP2005350110 A JP 2005350110A JP 2007156764 A JP2007156764 A JP 2007156764A
Authority
JP
Japan
Prior art keywords
points
voting
graphic
contour
slip
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
JP2005350110A
Other languages
Japanese (ja)
Inventor
Takeshi Eisaki
健 永崎
Katsumi Marukawa
勝美 丸川
Kazuki Nakajima
和樹 中島
茂 〆木
Shigeru Shimeki
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.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Computer Peripherals Co 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 Hitachi Computer Peripherals Co Ltd filed Critical Hitachi Computer Peripherals Co Ltd
Priority to JP2005350110A priority Critical patent/JP2007156764A/en
Publication of JP2007156764A publication Critical patent/JP2007156764A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect a seal stamped on an optional position of a voucher at high speed. <P>SOLUTION: A pattern detection processing program comprises a step of extracting a multi-value contour at high speed, and a step of voting contour sorting points. Thus, an amount of calculation necessary for Hough voting can be reduced, and a stamped position can be detected at high speed. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、所定の図形検出手法及びプログラム、装置関する。特に押印の検出に関する。   The present invention relates to a predetermined graphic detection method, program, and apparatus. In particular, it relates to detection of a seal.

大量に遣り取りされる紙の伝票を効率良く処理するために、伝票読取装置(OCR、光学的読取装置とも称する)が用いられる。この伝票読取装置に要求される機能の一つとして、受領印等の判子が伝票上に押されているか否かを判定する、押印検出機能がある。例えば、伝票処理業務は、窓口業務と後方業務に分けることができ、金銭出納に関わる受領印の有無によって、窓口における伝票処理が妥当であったか否かを、後方業務において検証を行うことがある。押印のない伝票をソーティング機械で分離し、当該伝票のみ人間が再度チェックするなどの業務処理において、押印検出機能を持つ伝票読取装置が用いられる。   A slip reader (OCR, also referred to as an optical reader) is used to efficiently process a large amount of paper slips. One of the functions required for the slip reading apparatus is a seal detection function for determining whether or not a stamp such as a receipt stamp is pressed on the slip. For example, the slip processing business can be divided into a counter business and a back business, and the back business may verify whether or not the slip processing at the counter is appropriate depending on the presence or absence of a receipt stamp related to cash accounting. A slip reading device having a seal detection function is used in business processing such as separating slips without a seal with a sorting machine and checking again only the slip by a human.

押印の検知する技術としてハフ技術を用いるものがある(例えば、特許文献1、2参照)。ハフについては非特許文献1に詳しい記述があり、この手法では、ヒューリスティックな処理により円の頂点座標を検出し、同頂点を基準とすることでハフ投票の次元数を1次元に削減する1次元ハフ投票法による円図形の抽出法について開示する。   There is a technique using the Hough technique as a technique for detecting a seal (see, for example, Patent Documents 1 and 2). Non-Patent Document 1 has a detailed description of Hough. This method detects the vertex coordinates of a circle by heuristic processing, and uses the same vertex as a reference to reduce the number of dimensions of Hough voting to one dimension. Disclosed is a method for extracting circular figures by the Hough voting method.

特許文献1は、ペリフェラル特徴(例えば縦方向軸へ画像を投影して得られる特徴)として抽出した一次元特徴ベクトル列をキーとしてハフ投票を行い、郵便物の消印を検出する手法に関する特許である。特許文献2は、特定押印(複写禁止、社外秘などの判子)の検出手法に関する特許である。カラー画像処理により「複写禁止」はんこ等の赤印の領域を抽出し、その種別の判定にハフを使う。そのため多値灰色階調により撮像された伝票画像上の押印検知に関しては適用が難しい。
Patent Document 1 is a patent relating to a method for detecting postmarks of postal items by performing Hough voting using a one-dimensional feature vector sequence extracted as a peripheral feature (for example, a feature obtained by projecting an image on a vertical axis) as a key. . Patent document 2 is a patent relating to a method for detecting a specific seal (copy prohibition, confidential information, etc.). A red-marked area such as “copy prohibited” stamps is extracted by color image processing, and a hough is used to determine the type. Therefore, it is difficult to apply to the detection of a stamp on a slip image picked up by multi-value gray gradation.

特開平10−334240号公報Japanese Patent Laid-Open No. 10-334240 特開2000−123113号公報JP 2000-123113 A 市川幸司(他)、「投票配列を1次元化したハフ変換による円検出の高速化について」、信学誌J80-D-2、no.11、pp.2949-2957 (1997)Koji Ichikawa (others), “High-speed circle detection by Hough transform with one-dimensional voting array”, IEICE J80-D-2, no. 11, pp. 2949-2957 (1997)

本発明の目的は、紙伝票を読み取るOCR装置において、押印検出あるいは押印種別の判定を行い、当該結果に基づいて紙伝票の振分けを行う、その装置及び押印検出プログラムを記録した記録媒体を提供することにある。   An object of the present invention is to provide a recording medium on which an OCR device that reads a paper slip detects a seal or determines a seal type and sorts paper slips based on the result, and a recording medium recording the seal detection program. There is.

従来のハフ投票を用いる押印検出手法では、一方向に投影したペリフェラル特徴を用いたハフ投票、または画像上の全ての点を走査して対象図形の形や大きさを表すパラメータの全範囲に対して投票を行うパラメータ空間ハフ投票を行うことで押印検出を行っていた。しかし、パラメータ空間ハフ投票では投票のための計算量が膨大に掛かる。また、ペリフェラル特徴を用いた場合は、一次元の特徴ベクトル列が入力のためハフ投票の計算が高速に行えるが、特徴として一方向への投影画像から得られるペリフェラル特徴を用いているため、ペリフェラル特徴を計算する所定領域内に押印部があることが処理適用の前提条件となる。そのため、伝票上の任意の箇所に押された押印を検知には適さない。   In the conventional seal detection method using the Hough voting, the Hough voting using the peripheral feature projected in one direction or the entire range of parameters representing the shape and size of the target figure by scanning all points on the image. It was detected by performing parameter space Hough voting. However, the parameter space Hough voting requires a huge amount of calculation for voting. In addition, when using peripheral features, a one-dimensional feature vector sequence is input, so Hough voting can be calculated at high speed. However, since peripheral features obtained from projected images in one direction are used as features, peripherals are used. The presence of a stamped portion within a predetermined area for calculating the feature is a precondition for applying the process. Therefore, it is not suitable for detection of a stamp pressed at an arbitrary place on the slip.

また、非特許文献1の手法では、上端の欠ける欠損円については円の頂点座標候補が検出できないため、2次元平面からのハフ投票で円を抽出しているため、処理速度が大きく低下することがある。
In addition, in the method of Non-Patent Document 1, since a circle vertex coordinate candidate cannot be detected for a missing circle lacking at the upper end, a circle is extracted by a Hough vote from a two-dimensional plane, so that the processing speed is greatly reduced. There is.

本願で開示する代表的な発明の概要は以下の通りである。   The outline of the representative invention disclosed in the present application is as follows.

紙面の撮像画像から輪郭点列を検出して輪郭点列から複数の区分点を検出し、検出対象とする図形によって定められる個数の投票対象点を上記区分点から決定する。投票対象点から図形情報を算出して検出対象としての図形としての尤度についての投票を行うことで検出対象の検出を行う図形検出処理プログラム。
A contour point sequence is detected from the captured image of the paper, a plurality of segment points are detected from the contour point sequence, and the number of voting target points determined by the figure to be detected is determined from the segment points. A graphic detection processing program for detecting a detection target by calculating graphic information from voting target points and voting on likelihood as a graphic as a detection target.

従来の手法では、計算量の増大や、領域限定という制約があった。一方、本発明では、押印位置の限定を不用とし、かつ、輪郭区分点からのハフ投票を行うことにより計算量を削減することができる。
In the conventional method, there is a restriction that the amount of calculation is increased or the area is limited. On the other hand, in the present invention, it is possible to reduce the amount of calculation by eliminating the limitation of the stamp position and performing Hough voting from the contour division points.

本発明の目的を具現化するために、高速多値輪郭抽出に基づく輪郭区分近似投票処理を行う。これにより、押印検出の高速化とロバスト化を図る。   In order to realize the object of the present invention, contour segment approximate voting processing based on high-speed multi-valued contour extraction is performed. As a result, high speed and robust detection of the seal is achieved.

この処理について、以下に図を引用しつつ詳述する。   This process will be described in detail below with reference to the drawings.

初めに、本発明の前提とするハード構成について述べる。図1は、高速伝票読取装置のハード構成に関するブロック図である。高速伝票読取装置では、画像撮像装置(0101)により紙文書を電子データに変換し、それを外部記憶装置(0105)及びメモリ(0106)に蓄えて、中央演算装置(0107)により読取を行う。押印検出プログラムは、外部記憶装置(0105)または(0106)に蓄えられており、この撮像された電子データ画像に対して、中央演算装置(0107)が押印検出を行う。はんこの種類を特定する場合は、外部記憶装置(0104)またはメモリ(0106)に蓄えられた判子辞書を参照し、押印種類を判別する。これらの処理は操作端末装置(0102)を通して人間が操作可能であり、処理結果のログ等は表示端末装置(0103)を通して表示される。処理結果などの情報は、必要に応じて外部記憶装置(0105)に蓄積または通信装置(0107)及び外部通信線(0109)を通して外部装置にデータが送られる。上記装置群は内部バス(0108)によって繋がっている。押印検出結果を反映して、入力された伝票類はソータ装置(0104)によって、定義された箱に分配・集積される。   First, a hardware configuration as a premise of the present invention will be described. FIG. 1 is a block diagram relating to the hardware configuration of the high-speed slip reader. In the high-speed slip reader, the paper document is converted into electronic data by the image pickup device (0101), stored in the external storage device (0105) and the memory (0106), and read by the central processing unit (0107). The stamp detection program is stored in the external storage device (0105) or (0106), and the central processing unit (0107) detects the stamp on the captured electronic data image. When specifying the type of stamp, the type of stamp is determined with reference to the name dictionary stored in the external storage device (0104) or the memory (0106). These processes can be operated by a human through the operation terminal device (0102), and a processing result log or the like is displayed through the display terminal device (0103). Information such as processing results is stored in the external storage device (0105) as necessary, or data is sent to the external device through the communication device (0107) and the external communication line (0109). The above devices are connected by an internal bus (0108). Reflecting the result of the stamp detection, the entered slips are distributed and accumulated in the defined box by the sorter device (0104).

図2は、処理の機能ブロック図を表す。これらはコンピュータにプログラムが読み込まれることによって実現されても良いし、ハードウェアとの協調処理によるものであっても良い。入力の紙伝票は、処理0201で撮像され、電子画像となる。以降の処理は、この電子画像を元に行う。電子画像は、一般にグレーまたはカラーなので、処理0202において、二値化及び輪郭抽出を行う。特にこれらを同時に行えば高速化できる。更に、輪郭を走査し、処理0203で、押印箇所の候補を検出する。見つかった押印箇所については、必要であれば、処理0204によって、辞書0206に定義された判子定義によって、当該押印の種類を調べる。処理0204については選択的に適用して良い。押印有無または、当該押印の種別によって、入力された紙伝票は、処理0205によって、辞書0207に定義された振分定義に応じて、ソータ部の当該スタックに搬送される。本発明の主要な点は0203の押印検出部にある。従って、押印判別処理0204と判子辞書0206については詳述を省く。押印検出処理については図3から図5の説明で詳述する。   FIG. 2 shows a functional block diagram of the processing. These may be realized by reading a program into a computer, or may be based on cooperative processing with hardware. The input paper slip is picked up in processing 0201 and becomes an electronic image. Subsequent processing is performed based on this electronic image. Since an electronic image is generally gray or color, binarization and contour extraction are performed in process 0202. In particular, if these are performed simultaneously, the speed can be increased. Further, the contour is scanned, and a candidate for a stamped portion is detected in process 0203. For the stamped part found, if necessary, the type of the stamp is checked by the process 0204 according to the signature definition defined in the dictionary 0206. The process 0204 may be selectively applied. Depending on the presence / absence of the stamp or the type of the stamp, the input paper slip is transferred to the stack of the sorter unit by processing 0205 according to the distribution definition defined in the dictionary 0207. The main point of the present invention lies in the stamp detection unit 0203. Therefore, the details of the stamp determination process 0204 and the signature dictionary 0206 are omitted. The seal detection process will be described in detail with reference to FIGS.

図3は輪郭を抽出する処理のフローである。処理0301で開始する。処理0302で閾値を選択する。閾値は複数可能である。処理0303以降で、画像の各ラインの走査を繰り返す。ラインを走査し、与えられた閾値に従って、ランの左右端を求める。処理0304では、求めたランの左右端と、その右にあるラン、上にあるランの関係を使って、ランの接続関係のリンク情報を計算する。処理0305に移り、現在走査しているライン上で、まだ画像端に到達しない場合は処理0303に戻り、処理0303から0304を繰り返す。画像端に到達した場合、次のラインで操作するべきものがあるかを処理0306で判定し、次のラインが存在すれば、処理0303から0305を繰り返す。以上の走査により、ランの接続関係情報が得られるので、処理0307により、リンクを走査し、輪郭線を形作ることができる。   FIG. 3 is a flowchart of processing for extracting a contour. Start with process 0301. In process 0302, a threshold value is selected. There can be multiple thresholds. After processing 0303, scanning of each line of the image is repeated. The line is scanned and the left and right ends of the run are determined according to a given threshold. In process 0304, link information of the connection relation of the run is calculated using the relation between the left and right ends of the obtained run, the run on the right side, and the run on the right. The process proceeds to process 0305, and if the image edge has not yet been reached on the currently scanned line, the process returns to process 0303, and processes 0303 to 0304 are repeated. When the image end is reached, it is determined in process 0306 whether there is something to be operated on the next line, and if there is a next line, processes 0303 to 0305 are repeated. Since the connection relation information of the run is obtained by the above scanning, the link can be scanned and the contour line can be formed by the process 0307.

図4は、区分N点投票法による図形の投票フローを表す。例えば、投票図形が円であるならば、3点の投票によって、円の中心座標・大きさが推計できる。処理は次のようになる。   FIG. 4 shows a graphic voting flow according to the segmented N-point voting method. For example, if the voting graphic is a circle, the center coordinates and size of the circle can be estimated by voting three points. Processing is as follows.

まず開始段階(0401)で、既に輪郭ランの作成が終わっているものとする。処理0402では、複数ある輪郭ランの中から1つを選択する。輪郭ランの選択は、すべての輪郭を順々に1つずつ選択しても良いし、また、投票対象となる図形の大きさに比べて小さい輪郭ランは無視し、大きいランだけを処理する方法などがある。紙面上に記された図形について、そのサイズや位置などに限定条件を設けて良い場合は、輪郭選択処理(0402)を行うことで投票回数を制限し、処理速度を上げることができる。   First, it is assumed that the contour run has already been created at the start stage (0401). In process 0402, one of a plurality of contour runs is selected. Contour runs may be selected by selecting all the contours one by one or by ignoring contour runs that are smaller than the size of the figure to be voted and processing only large runs. and so on. In the case where a limitation condition may be set for the size or position of a graphic drawn on a sheet, the number of votes can be limited by performing the contour selection process (0402), and the processing speed can be increased.

次に、処理0403では、輪郭点群から区分点を求め、N点投票の起点となる端点を決定する。ここで言う区分点とは、輪郭線を直線で近似した場合の屈曲点を意味する。図形を見つけるための投票を、輪郭上に並ぶ全ての点からでなく、区分点に限って行うことの利点は2つある。1つは、図形情報の計算回数、投票回数を減らすことにより処理の高速化を図ることである。もう1つは、図形情報の計算結果が安定することである。計算結果の安定性については図5の説明のところで述べる。区分点の計算手法としては、例えば直線近似法などがある。直線近似法は既に区分点として決められた2点A,Bの間で、次の区分点Cを求め、同様の処理を2組の2点間A−C,C−Bについて処理を繰り返す手法である。N点投票の起点となる端点としては、例えば、輪郭上の最も左上にある点を開始点かつ終了点とする。2点A,Bの間の区分点Cを求めるためには、2点A,Bを通る線分から最も離れた点を選ぶなどの方法がある。   Next, in process 0403, a segment point is obtained from the contour point group, and an end point serving as a starting point for N-point voting is determined. The division point mentioned here means a bending point when the outline is approximated by a straight line. There are two advantages of voting to find a figure not only from all the points on the contour, but only from the dividing points. One is to increase the processing speed by reducing the number of calculations of graphic information and the number of votes. The other is that the calculation result of the graphic information is stabilized. The stability of the calculation result will be described in the explanation of FIG. As a method for calculating the dividing point, for example, there is a linear approximation method. In the linear approximation method, a next segment point C is obtained between two points A and B that have already been determined as segment points, and the same processing is repeated for two sets of points A to C and C-B. It is. As the end point that is the starting point of the N-point voting, for example, the upper left point on the contour is set as the start point and the end point. In order to obtain the segment point C between the two points A and B, there is a method such as selecting a point farthest from the line segment passing through the two points A and B.

次に、処理0404によって投票する対象のN点を抽出した区分点の中から決定する。投票N点は投票する図形によって決まる。N点の決定は、投票情報を計算するアルゴリズムに応じて、装置が自動的に設定する。円の図形を求める場合は、3点から円の中心座標、大きさが推定できるので、端点とその間の1つの区分点を併せた3点が投票点となる。最も簡単な例としては、連続する3つの区分点が投票点となる。但し、連続する区分点の間の距離が、図形のサイズに応じて定まる閾値よりも短い場合は、隣の区分点ではなく、もう一つ隣の区分点を選ぶといった処理を行う場合も有る。これは、近接した区分点から図形情報を計算すると、計算の誤差が大きくなる可能性があるためである。計算誤差に関しては、図5の説明で述べる。投票N点を決定後、次に、処理0405では、端点と区分点を用いて、これらN点から図形情報を求める。   Next, in process 0404, N points to be voted on are determined from the extracted segment points. The voting N points are determined by the figure to vote. The determination of N points is automatically set by the apparatus according to an algorithm for calculating voting information. When obtaining a circle figure, since the center coordinates and size of the circle can be estimated from the three points, the three points including the end points and one division point between them are the voting points. As the simplest example, three consecutive division points are voting points. However, when the distance between consecutive segment points is shorter than a threshold value determined according to the size of the figure, there is a case where processing is performed such as selecting another segment point instead of the next segment point. This is because if the graphic information is calculated from adjacent segment points, the calculation error may increase. The calculation error will be described with reference to FIG. After determining the voting N points, in processing 0405, graphic information is obtained from these N points using the end points and the segment points.

図形情報は一般に図形の姿勢を表すベクトルとして表現できる。すなわち、図形重心の座標、図形のサイズ、図形の傾きである。円図形の場合、図形の傾きは無視できるので、図形情報を表すベクトルは4次元のベクトルで、(円の中心座標X、円の中心座標Y、円の半径R、円であることを示すID)で表すことができる。但し、以降の記述では、計算対象とする図形の形状が文脈上明白な場合は、図形の形状を表すIDを省略して記すこととする。その場合、円という形状を表す図形情報は3次元ベクトル(円の中心座標X、円の中心座標Y、円の半径R)となる。一般のハフ変換では、パラメータ空間を表現する多次元配列を用意し、検出した図形に最も近い配列の値を1増やすなどして投票を行う。本手法では、検出した図形のベクトル情報を登録することが投票となる。これにより、事前にパラメータ空間用の多次元配列を確保する必要がなくなるので、計算の際のメモリ容量を減らすことができる。   Graphic information can generally be expressed as a vector representing the posture of a graphic. That is, the coordinates of the center of gravity of the figure, the size of the figure, and the inclination of the figure. In the case of a circular figure, since the inclination of the figure can be ignored, the vector representing the graphic information is a four-dimensional vector (a circle center coordinate X, a circle center coordinate Y, a circle radius R, an ID indicating a circle) ). However, in the following description, if the shape of the figure to be calculated is clear in context, the ID representing the figure shape is omitted. In this case, the graphic information representing the shape of a circle is a three-dimensional vector (circle center coordinate X, circle center coordinate Y, circle radius R). In general Hough transform, a multidimensional array representing a parameter space is prepared, and voting is performed by increasing the value of the array closest to the detected figure by one. In this method, voting is performed by registering vector information of detected figures. This eliminates the need to secure a multidimensional array for the parameter space in advance, so that the memory capacity for calculation can be reduced.

0403から0405に至る処理によって、図形情報の計算及び投票を、輪郭上に並ぶ全点からでなく、区分点に限って行う。これにより、図形情報の計算回数・投票回数を減らすことによる処理の高速化と、図形情報の計算の安定性を確保する。   By the processing from 0403 to 0405, the calculation and voting of graphic information is performed only on the division points, not on all the points arranged on the contour. As a result, the processing speed can be increased by reducing the number of graphic information calculations / voting times, and the stability of graphic information calculation can be ensured.

処理0406は、上記求めた図形情報をテーブルに記録しておく処理である。処理0407では、現在、走査対象としている輪郭について、これ以上走査を続けるかを決定する。走査継続の場合は、再び端点決定のプロセスに戻り、上述の0404から0406の処理を行う。例えば、円投票の場合、前段階の端点の片方と、中間点を合わせて、新しいステップでの端点とし、更にその端点間から1点を選択することで、新しい投票3点が構成できる。この場合、2つの端点組の候補ができるが、すべての区分方法を網羅するためには、端点候補をキューまたはスタックに格納し、これをポップすることで端点を決定し、その中間点を選択してゆけばよい。キュー、またはスタックの概念は情報プロセスにおいて一般的であるのでここでは記述を省略する。キュー、またはスタックの選択は、対象とする問題に性質によって深さ優先探索が良いか、幅優先探索が良いかに依存して決まる話なので、一意に決定はできない。以上の走査を続けて、キューやスタックに、これ以上端点候補が存在しない場合や、端点・区分点などの配置情報から、走査を継続しないという場合は、処理0407を終え、次の処理に移る。例えば、円図形を求める場合において走査を継続しないケースには、端点と区分点がほぼ直線上に並ぶ場合、これ以上の計算を行っても直線上にならぶ3点しか得られないと結論付けられ、その場合、円の推定精度が悪化するため、計算を打ち切ることができる。処理0408では、別の輪郭を走査するかどうかを決定する。まだ走査するべき輪郭が残っている場合は、処理0402から0407の処理を繰り返す。これ以上処理を行わない場合は、次の処理に移行する。処理0409では、策ほど登録した図形情報を元に、どの図形が尤もらしいかの投票を行う。投票はベクトル同士の近接度合いを計算することで行える。すなわち、ベクトル間距離尺度を導入し、ベクトル同士が似ている場合は、両方のベクトルの尤度を加算する。最終的に、似ているベクトルの多いものが図形尤度の高いものとされ、候補となる。例えば、ベクトル間距離尺度として単純にはユークリッド距離が考えられる。また、ベクトルの要素ごとに重みを変更したマハラノビス距離も可能である。   A process 0406 is a process for recording the obtained graphic information in a table. In process 0407, it is determined whether or not to continue scanning for the contour currently being scanned. In the case of continuing scanning, the process returns to the end point determination process again, and the processes from 0404 to 0406 described above are performed. For example, in the case of circle voting, three new votes can be formed by combining one of the end points of the previous stage and the intermediate point to make an end point in a new step, and further selecting one point between the end points. In this case, two end point set candidates can be created, but in order to cover all classification methods, the end point candidates are stored in a queue or stack, and the end points are determined by popping them, and the intermediate points are selected. Just go. Since the concept of a queue or stack is common in information processing, the description is omitted here. The selection of a queue or stack is a story that depends on whether the depth-first search is good or the breadth-first search is good depending on the nature of the target problem, so it cannot be determined uniquely. If the above scanning is continued and there are no more end point candidates in the queue or stack, or if the scanning is not continued from the arrangement information such as the end points / partition points, the process 0407 is ended and the next process is started. . For example, in the case where the scanning is not continued when obtaining a circular figure, it can be concluded that if the end points and the division points are arranged almost on a straight line, even if further calculations are performed, only three points on the straight line can be obtained. In that case, since the estimation accuracy of the circle deteriorates, the calculation can be aborted. In process 0408, it is determined whether to scan another contour. If there is still a contour to be scanned, the processes 0402 to 0407 are repeated. If no further processing is performed, the process proceeds to the next processing. In process 0409, based on the graphic information registered as much as possible, a vote of which graphic is likely is performed. Voting can be performed by calculating the degree of proximity between vectors. That is, an inter-vector distance measure is introduced, and when the vectors are similar, the likelihoods of both vectors are added. Eventually, a vector having many similar vectors is considered to have a high figure likelihood and becomes a candidate. For example, the Euclidean distance can be considered simply as a distance measure between vectors. A Mahalanobis distance in which the weight is changed for each vector element is also possible.

図形尤度計算処理0409については、円投票を例に、数式を交えてもう少し詳しく説明する。図形情報はベクトルデータとして表すことができる。これが複数個(i=1〜N個)投票される場合、i番目の図形情報zi(i=1〜N)を次のように記す。   The graphic likelihood calculation process 0409 will be described in a little more detail using mathematical expressions, taking a circle vote as an example. Graphic information can be represented as vector data. When a plurality of votes (i = 1 to N) are voted, the i-th graphic information zi (i = 1 to N) is described as follows.

Figure 2007156764
Figure 2007156764


このとき、ベクトルデータの尤度LTは、次の式に基づいて決められる。

At this time, the likelihood LT of the vector data is determined based on the following equation.

Figure 2007156764
Figure 2007156764


関数LBは2つのベクトル間の距離の近さに応じて尤もらしさを計算する関数である。つまり、似たような投票値の多いものほど、全体の尤度LTが高くなる。例えば、関数LBとしては、ユークリッド距離を指数関数で変換した

The function LB is a function for calculating the likelihood according to the proximity of the distance between the two vectors. That is, as the number of similar votes increases, the overall likelihood LT increases. For example, as the function LB, the Euclidean distance is converted by an exponential function.

Figure 2007156764
Figure 2007156764


という関数や、変数ごとに異なる許容幅を持たせたもの

Functions with different tolerances for each function or variable

Figure 2007156764
Figure 2007156764


などが考えられる。
図形尤度計算処理0409では、ベクトル間の距離を計算するので、このときの計算量は投票済みのベクトルの数Mに対して、M×(M−1)の計算量が一般に掛かる。しかし、区分線分近似を行うことで、無駄な投票を省くことができるため、Mの数を減らすことができる。さらには、ベクトルの重心をもとに二次元座標上でインデックス表を作ることで、距離計算をする対象のNを減らすことも可能である。二次元インデックスを使った計算量の削減は次のように行う。仮に、i番目の図形情報が(Xi,Yi,Ri)というベクトルであったとする。Xの取り得る値は0からMAXまで、同様に、Yの取り得る値も0からMAXであるとする。また、あらかじめ、図形情報を登録する際に用いる2次元の配列IDX[10][10]を用意しておく。このとき、i番目の図形情報は、2次元配列IDXの10*Xi/MAX、10*Yi/MAX番目の配置、すなわちIDX[10*Xi/MAX][10*Yi/MAX]に登録される。処理0409でベクトル間の距離を計算する際には、2次元配列IDX[][]の同じ配置に登録されたもの同士の距離を計算する。つまり図形情報(Xi,Yi,Ri)と距離計算を行うのは、IDX[10*Xi/MAX][10*Yi/MAX]に登録された、その他の図形情報だけである。従来法との計算量の比較については後で述べるが、以上の処理により、従来法に比べて計算量を大幅に削減することができる。

And so on.
In the graphic likelihood calculation process 0409, since the distance between vectors is calculated, the calculation amount at this time is generally M × (M−1) with respect to the number M of voted vectors. However, the number of M can be reduced because unnecessary voting can be omitted by performing the segment line segment approximation. Furthermore, by creating an index table on the two-dimensional coordinates based on the center of gravity of the vector, it is also possible to reduce N of objects for which distance calculation is performed. The amount of calculation using a two-dimensional index is reduced as follows. Suppose that the i-th graphic information is a vector (Xi, Yi, Ri). Assume that the possible value of X is from 0 to MAX, and similarly the possible value of Y is from 0 to MAX. In addition, a two-dimensional array IDX [10] [10] used for registering graphic information is prepared in advance. At this time, the i-th graphic information is registered in the 10 * Xi / MAX, 10 * Yi / MAX-th arrangement of the two-dimensional array IDX, that is, IDX [10 * Xi / MAX] [10 * Yi / MAX]. . When calculating the distance between vectors in the process 0409, the distance between those registered in the same arrangement of the two-dimensional array IDX [] [] is calculated. That is, the graphic information (Xi, Yi, Ri) and the distance calculation are performed only for other graphic information registered in IDX [10 * Xi / MAX] [10 * Yi / MAX]. Although the comparison of the calculation amount with the conventional method will be described later, the calculation amount can be greatly reduced by the above processing as compared with the conventional method.

最後に上記処理により求まった図形尤度を元に、その最尤図形候補を決定する処理0410がある。ここでは、投票尤度により図形情報のソーティングを行い、さらに閾値により受理・棄却を決定する。

図5は、3点投票から中心座標を求める場合の模式図を表している。押印部の輪郭が0501の太線で示されている。この輪郭を走査し、その上で3点(0502、0503、0504)を選択する。この3点が構成する円弧の中心座標は、3点から得られる2線分(0505、0506)の二等分線(0507、0508)の交点として求めることができる。具体的な数式で表現する。3点(0502、0503、0504)の座標が次のように与えられたとする。
Finally, there is a process 0410 for determining the maximum likelihood figure candidate based on the figure likelihood obtained by the above process. Here, the graphic information is sorted by the voting likelihood, and the acceptance / rejection is determined by the threshold.

FIG. 5 shows a schematic diagram in the case of obtaining the center coordinates from the three-point vote. The outline of the stamped portion is indicated by a thick line 0501. The outline is scanned, and three points (0502, 0503, 0504) are selected on the outline. The center coordinates of the arc formed by these three points can be obtained as the intersection of two bisectors (0507, 0508) of two line segments (0505, 0506) obtained from the three points. Expressed with specific mathematical formulas. Assume that the coordinates of three points (0502, 0503, 0504) are given as follows.

Figure 2007156764
Figure 2007156764


このとき、線分X12、X23の中心から、法線方向に各々k、l倍した所で交わるのが円の中心である。従って、次の連立式を解けば良い。

At this time, the center of the circle intersects at the points multiplied by k and l in the normal direction from the centers of the line segments X12 and X23. Therefore, the following simultaneous equations may be solved.

Figure 2007156764
Figure 2007156764


上記連立方程式を解いて得られるk、lの値は次のようになる。

The values of k and l obtained by solving the above simultaneous equations are as follows.

Figure 2007156764
Figure 2007156764


中心座標は、このkまたはlを使って求める。中心座標(0509)を(cx,cy)とすると、その解は

The center coordinates are obtained using this k or l. If the central coordinate (0509) is (cx, cy), the solution is

Figure 2007156764
Figure 2007156764


と求まる。
数式8から、区分点を使った図形情報の計算結果が安定することの説明ができる。輪郭上に並ぶ3点X1,X2,X3の座標は、実際には、紙の撚れ、スキャン時の歪み、画像を電子化する際の離散化誤差、などの要因により、真の円周上の座標からずれた位置に観測される。仮にX3の座標が(0、Δy)だけずれて観測されたとする。この時、円の中心座標は、

It is obtained.
From Equation 8, it can be explained that the calculation result of the graphic information using the segment points is stable. The coordinates of the three points X1, X2, and X3 arranged on the contour are actually on the true circumference due to factors such as paper twist, distortion during scanning, and discretization error when digitizing the image. Observed at a position deviated from the coordinates. Assume that the coordinates of X3 are observed with a shift of (0, Δy). At this time, the center coordinates of the circle are

Figure 2007156764
Figure 2007156764


と求まる。 ここで分子にあるΔyを無視し、かつ1/(1+δ)≒1−δという近似式を考慮すると、分数式の部分は次のように展開できる。

It is obtained. Here, if Δy in the numerator is ignored and an approximate expression of 1 / (1 + δ) ≈1−δ is taken into consideration, the fractional expression part can be developed as follows.

Figure 2007156764
Figure 2007156764


このことは、推定される円の中心座標に

This is due to the estimated center coordinates of the circle.

Figure 2007156764
Figure 2007156764


に比例する誤差が生じることを示している。数式11の値が小さいほど、円の中心座標の推定誤差は少なくなる。仮に、点X1−X2間の距離と、点X2−X3間の距離がほぼ等しいと仮定すると、数式11は更に簡略化できて、円の中心座標の推定誤差が下記の式に比例すると解釈できる。

It is shown that an error proportional to is generated. The smaller the value of Equation 11, the smaller the estimation error of the center coordinates of the circle. If it is assumed that the distance between the points X1-X2 and the distance between the points X2-X3 are substantially equal, the equation 11 can be further simplified, and the estimation error of the center coordinates of the circle can be interpreted as being proportional to the following equation. .

Figure 2007156764
Figure 2007156764


区分点ではなく、輪郭線上の隣接点から図形情報を計算する場合、数式12の分母であるy21+y32は0に近い値を取り、結果として、円の中心座標の推定に大きな誤差が入り込む。しかし、区分点から図形情報を計算する場合は、数式12の分母であるy21+y32の値が、より大きくなることが期待できるため、この問題が回避できる。以上が、区分点を使った図形情報の計算が安定的であることの理由である。

When calculating graphic information from adjacent points on the contour line instead of segment points, y21 + y32, which is the denominator of Equation 12, takes a value close to 0, resulting in a large error in the estimation of the center coordinates of the circle. However, this problem can be avoided when the graphic information is calculated from the dividing points because the value of y21 + y32, which is the denominator of Equation 12, can be expected to be larger. The above is the reason why the calculation of graphic information using segment points is stable.

ここで従来手法と本手法の計算量を比較してみる。従来の、円、または円弧を抽出するためのパラメータ空間投票式のハフ投票の擬似コードを図9に、また、区分輪郭投票方式によるハフ投票の擬似コードを図10に示す。   Here, we compare the amount of calculation between the conventional method and this method. FIG. 9 shows a conventional parameter space voting type Hough voting pseudo code for extracting a circle or an arc, and FIG. 10 shows a Hough voting pseudo code based on a segmented contour voting method.

この擬似コードを元に従来手法の計算量を計算すると、画像上の全ての点の数W×H、仮定する円のサイズのバリエーションの数R、ある半径の円に対する投票回数Mに対して、ハフ投票の計算量はW×H×R×Mに比例した値になることが分かる。このため、伝票のサイズが大きくなるほど、伝票全面の中から円の判子を検出する場合の時間が掛かることになる。   When the calculation amount of the conventional method is calculated based on this pseudo code, the number W × H of all points on the image, the number R of variations of the assumed circle size, the number of votes M for a circle of a certain radius, It can be seen that the calculation amount of the Hough vote is a value proportional to W × H × R × M. For this reason, the larger the size of the slip, the longer it takes to detect a circle stamp from the entire slip surface.

一方、区分輪郭投票方式でのハフ投票では、投票の計算量が画像上の輪郭区分点数Lに比例し、かつ、投票済みのベクトル数Nについて、最尤投票結果を得るためにN(N−1)に比例した計算量が掛かる。従って、計算量は最大でL+N(N−1)のオーダーとなる。投票ベクトルについて二次元インデックスを用いた場合は、最尤投票結果を得るための固有数がNのα倍に抑えることができるため、計算量がL+N×αとなる。このように、従来方式と比べて本方式は、計算量を大きく削減できることが分かる。
On the other hand, in the Hough voting by the segmented contour voting method, the calculation amount of voting is proportional to the number of contour segment points L on the image, and N (N− The calculation amount proportional to 1) is applied. Accordingly, the calculation amount is on the order of L + N (N−1) at the maximum. When a two-dimensional index is used for the voting vector, the eigennumber for obtaining the maximum likelihood voting result can be suppressed to α times N, so that the calculation amount is L + N × α. Thus, it can be seen that this method can greatly reduce the amount of calculation compared to the conventional method.

図6は、実際の伝票画像を使った、輪郭抽出と押印検出の結果である。押印部(0601)の輪郭を捜査した結果、その中心座標が大きなバツ印(0602)によって示されている。
FIG. 6 shows the results of contour extraction and stamp detection using an actual slip image. As a result of investigating the outline of the stamped portion (0601), the center coordinate is indicated by a large cross (0602).

押印検出機能を用いる場合の伝票読取装置の運用形態について、図7を例に述べる。0701は伝票読取装置の本体で、0702は是に付随するソータユニットである。伝票読取装置は、0701の本体のみ、または本体に0702のソータユニットを複数つなげての動作が可能である。0703は伝票読取装置の給紙装置である。ここに紙伝票を入力する。紙伝票は伝票読取装置本体のスタッカ部0704に振分けられるか、または、ソータユニットのスタッカ0705やスタッカ0707などに振分けられる。このとき、紙伝票は0706にある矢印方向に伝票が搬送される。
An operation mode of the slip reading apparatus when the seal detection function is used will be described with reference to FIG. Reference numeral 0701 denotes a main body of the slip reading apparatus, and reference numeral 0702 denotes a sorter unit attached to the right. The slip reading apparatus can operate with only the 0701 main body or a plurality of 0702 sorter units connected to the main body. Reference numeral 0703 denotes a paper feeding device of the slip reading device. Enter a paper slip here. The paper slip is distributed to the stacker unit 0704 of the slip reading apparatus main body, or to the stacker unit 0705 and the stacker 0707 of the sorter unit. At this time, the paper slip is conveyed in the direction of the arrow at 0706.

図8は、押印検出機能を用いた場合の、スタッカへの伝票の振分け方を模式図で示したものである。最も基本的な機能は、図8の上段に示す流れである。すなわち、押印検出処理(0801)を行い、押印の無い伝票はスタッカ1(0802)に振分け、押印の有る伝票はスタッカ2(0803)に振分けるという流れである。図8の下段は、押印検出処理に、様々な伝票判別処理を加えて振分けを行う場合の流れである。例えば、押印の無い伝票類は人手によるチェックを行うため混在で振分け、押印のある伝票類については、電気やガスなどの業種毎に分類する、伝票を受け付けた店舗ごとに分類する、といった業務の場合、押印検出機能と伝票判別機能を組み合わせて行うことで、伝票の種類毎にスタッカを振分けた格納ができる。この場合は、押印検出処理0804を行い、押印の無い伝票についてはスタッカ1(0805)に振分ける。押印の有る伝票については、続いて伝票判別処理(0806)を行う。伝票判別処理には、例えば、伝票上に記されたバーコードやマークや数字列を読取ることで伝票の種類を判別する、または押印された判子の文字を読取ることで受付店舗を判別する、などの処理が有る。伝票判別処理は単一の処理でなく、バーコード読取や判子読取などの処理が多段化されたものでも良い。伝票判別処理の結果、何らかの判別結果が存在しない場合はスタッカ2(0807)に振分けられる。また、何らかの判別結果が存在する場合は、スタッカ3、または当該判別結果に応じて別個のスタッカへと振分ける(0808)。尚、上記で述べた、押印無、押印有の条件は、これを反転しても同様の処理ができる。すなわち、押印の無いケースについて伝票判別処理を行うことも可能である。
FIG. 8 is a schematic diagram showing how the slips are distributed to the stacker when the seal detection function is used. The most basic function is the flow shown in the upper part of FIG. In other words, the seal detection process (0801) is performed, a slip without a seal is distributed to the stacker 1 (0802), and a slip with a seal is distributed to the stacker 2 (0803). The lower part of FIG. 8 is a flow in the case of performing distribution by adding various slip determination processes to the stamp detection process. For example, slips without a seal are manually distributed for checking by hand, and slips with a seal are classified according to the type of business such as electricity and gas, or classified according to the store where the slip is received. In this case, by combining the seal detection function and the slip determination function, it is possible to store the stackers sorted for each type of slip. In this case, a seal detection process 0804 is performed, and a slip without a seal is distributed to the stacker 1 (0805). For a slip with a seal, a slip discrimination process (0806) is subsequently performed. In the slip determination process, for example, the type of the slip is determined by reading a bar code, a mark, or a numerical string written on the slip, or the reception store is determined by reading a stamped character. There is processing of. The slip determination process is not a single process, but may be a multi-stage process such as barcode reading or stamp reading. As a result of the slip discrimination process, if any discrimination result does not exist, it is assigned to stacker 2 (0807). If there is any discrimination result, it is assigned to the stacker 3 or a separate stacker according to the discrimination result (0808). It should be noted that the same processing can be performed even if the above-described conditions of no stamping and stamping are reversed. That is, it is possible to perform a slip determination process for a case without a seal.

図7における伝票処理装置の構成において、図8のスタッカの割り当てをどのように行うかは、運用方針に依存して決まる。図7の本体(0701)のみで、図8上段の処理を行う場合、スタッカ1(0802)とスタッカ2(0803)を、本体のスタッカ群(0704)の中から割り当てることになる。本体(0701)に加えてソータユニット(0702)を使う場合、より作業者に近い側(本体側)に、より多く流通する伝票を振分ける場合もあれば、腰を曲げて作業をすることが無いようにソータユニットのスタッカ群(0705)の上段に伝票を振分けることもある。また、伝票の種別毎、押印の種別毎、押印の有無などの読取結果に応じ、幾つかのスタッカ群に分けて振分けを行うといった運用が考えられる。スタッカ群を分ける遣り方としては、本体(0701)から近い側、遠い側で分ける、あるいはスタッカ群の上段と下段で分ける、または本体のスタッカ群(0704)とソータユニット(0702)のスタッカ群に分けるといったものがある。
運用時の履歴を用いると、スタッカの割り当てをスタッカ配置自動学習により最適な割り当てへと自動的に変更することができる。例えば、本体(0701)側に位置する人間の伝票抜き取り作業による移動量を減らすために、取扱量の多い伝票類を本体に近いスタッカ(0705)へと振分け、取扱量が少なくなるにつれて給紙装置から離れたスタッカ(0707)へと振分けるスタッカ割り当てが考えられる。このとき、運用時に押印有無の頻度を自動的に集計することで、スタッカの割り当て数を自動的に決定する機能が実現できる。例えば、押印の有る伝票が多い場合、次の計算式を用いて、本体に近い側から何個のスタックを割り当てるかが計算できる。スタッカ1個分で最大A枚格納できるとする。給紙の作業時間と自動ソーティングの時間を併せて一時間あたり伝票処理数B、自動学習による押印の有る伝票の割合C、押印の有る伝票は一時間あたりBC枚入力されることとなる。スタッカが満杯に至ることによる伝票除去作業の発生間隔をD時間以上と指定した場合、押印の有る伝票に対するスタッカの数Nは、N≧BCD/Aという式で求めることができる。このN個分のスタッカを、本体のスタッカ群(0704)及び本体に近い側のソータユニットのスタッカ群(0705)に確保し、残りを本体から離れたスタッカ群(0706)に確保するという割り当てを自動的に行う。スタッカ配置学習は、押印有無のログ以外にも、伝票種別のログ、押印店舗のログなどを使って行うことができる。
In the configuration of the slip processing apparatus in FIG. 7, how to assign the stacker in FIG. 8 is determined depending on the operation policy. When only the main body (0701) of FIG. 7 performs the processing in the upper part of FIG. 8, stacker 1 (0802) and stacker 2 (0803) are allocated from the stacker group (0704) of the main body. When using the sorter unit (0702) in addition to the main body (0701), it may be possible to distribute more slips to the side closer to the worker (main body side), or to work by bending the waist. In some cases, the slips are distributed to the upper stage of the stacker group (0705) of the sorter unit. In addition, an operation may be considered in which distribution is performed by dividing into several stacker groups according to reading results such as slip types, stamp types, presence / absence of stamps, and the like. The stacker group can be divided into the side closer to the main body (0701) and the side farther from the main body (0701), the upper stack and the lower stacker group, or the stacker group (0704) of the main body and the stacker group of the sorter unit (0702) There is something to divide.
If the history during operation is used, the stacker assignment can be automatically changed to the optimum assignment by stacker placement automatic learning. For example, in order to reduce the amount of movement due to a person's slip extraction operation located on the main body (0701) side, papers having a large handling amount are distributed to a stacker (0705) close to the main body, and the paper feeding device decreases as the handling amount decreases. A stacker assignment to distribute to a stacker (0707) that is far from the stacker is considered. At this time, a function for automatically determining the number of stackers assigned can be realized by automatically counting the frequency of presence / absence of stamps during operation. For example, when there are many slips with stamps, it is possible to calculate how many stacks are allocated from the side closer to the main body using the following calculation formula. Assume that a maximum of A sheets can be stored in one stacker. The number of slips processed per hour is combined with the time for paper feeding and the time of automatic sorting, the rate C of slips with stamps by automatic learning, and BC slips with stamps are input per hour. If the generation interval of the slip removal work due to the stacker becoming full is designated as D hours or more, the number N of stackers for the slip with a stamp can be obtained by the equation N ≧ BCD / A. The N stackers are allocated to the stacker group (0704) of the main body and the stacker group (0705) of the sorter unit close to the main body, and the remaining stackers are allocated to the stacker group (0706) away from the main body. Do it automatically. The stacker layout learning can be performed using a slip type log, a stamp store log, and the like in addition to the stamp presence / absence log.

高速伝票読取装置のハード構成図。The hardware block diagram of a high-speed slip reading apparatus. 高速伝票読取装置の機能ブロック図。The functional block diagram of a high-speed slip reader. 輪郭抽出処理フロー。Contour extraction processing flow. 押印検出処理フロー。Seal detection processing flow. 円判子検出処理の概要図。The outline figure of a circle stamp detection process. 押印部検出結果。Sealed part detection result. 高速伝票読取装置のスタッカ構成例。The stacker structural example of a high-speed slip reader. 押印検出機能とスタック振分け戦略。Imprint detection function and stack distribution strategy. パラメータ空間投票方式の擬似コード。Pseudo code for parameter space voting. 区分輪郭投票方式の擬似コード。Pseudo code for section contour voting.

符号の説明Explanation of symbols

0101…高速伝票読取装置を構成する画像撮像装置
0102…高速伝票読取装置を構成する操作端末装置
0103…高速伝票読取装置を構成する表示端末装置
0104…高速伝票読取装置を構成するソータ装置
0105…高速伝票読取装置を構成する外部記憶装置
0106…高速伝票読取装置を構成するメモリ
0107…高速伝票読取装置を構成する中央演算装置
0108…高速伝票読取装置を構成する内部バス
0109…高速伝票読取装置を構成する通信装置
0201…押印処理における画像撮像部
0202…押印処理における輪郭抽出部
0203…押印処理における押印検出部
0204…押印処理における押印判別部
0205…押印処理における押印判別で用いる判子辞書
0206…押印処理におけるソータ処理部
0207…押印処理におけるソータ処理で用いる振分辞書
0301…輪郭抽出処理の開始
0302…輪郭抽出処理における閾値選択
0303…輪郭抽出処理における画像ライン操作
0304…輪郭抽出処理における左右ランリンク処理
0305…輪郭抽出処理における同ライン走査継続判定
0306…輪郭抽出処理における別ライン走査移行判定
0307…輪郭抽出処理における輪郭リンク走査
0308…輪郭抽出処理の終了
0401…特定図形抽出処理の開始
0402…特定図形抽出処理における輪郭選択
0403…特定図形抽出処理における区分点計算
0404…特定図形抽出処理における投票N点決定
0405…特定図形抽出処理における図形情報計算
0406…特定図形抽出処理における図形情報登録
0407…特定図形抽出処理における同一輪郭走査継続の判定
0408…特定図形抽出処理における別輪郭走査への移行の判定
0409…特定図形抽出処理における図形尤度計算
0410…特定図形抽出処理における最尤図形候補決定
0411…特定図形抽出処理の終了
0501…判子の輪郭
0502…判子輪郭上の特徴点
0503…判子輪郭上の特徴点
0504…判子輪郭上の特徴点
0505…判子輪郭上の特徴点間を結ぶ線分
0506…判子輪郭上の特徴点間を結ぶ線分
0507…判子輪郭上の特徴点間を結ぶ線分の二等分線
0508…判子輪郭上の特徴点間を結ぶ線分の二等分線
0509…判子の中心座標
0601…押印された箇所
0602…押印検出結果の表示
0701…伝票読取装置の本体
0702…伝票読取装置につながるソータユニット
0703…伝票読取装置の紙入力部
0704…伝票読取装置本体のスタッカ部
0705…ソータユニットのスタッカ(紙入力部に近い側)
0706…ソータユニットにおける伝票の搬送方向
0707…ソータユニットのスタッカ(紙入力部に遠い側)。
010 ... Image capturing device 0102 constituting high-speed slip reading device. Operation terminal device 0103 constituting high-speed slip reading device. Display terminal device 0104 constituting high-speed slip reading device. Sorter device 0105 constituting high-speed slip reading device. External storage device 0106 constituting the slip reading device ... Memory 0107 constituting the high speed slip reading device ... Central processing unit 0108 constituting the high speed slip reading device ... Internal bus 0109 constituting the high speed slip reading device ... Constructing the high speed slip reading device Communication device 0201 Image capturing unit 0202 in stamping process Outline extracting unit 0203 in stamping process Stamp detecting unit 0204 in stamping process Stamp determining unit 0205 in stamping process Stamp processor 0206 used in stamping determination in stamping process Sorter processing unit 0207 in Sorting dictionary 0301 used in sorter processing in the image ... Start of contour extraction processing 0302 ... Threshold selection in contour extraction processing 0303 ... Image line operation in contour extraction processing 0304 ... Left and right run link processing in contour extraction processing 0305 ... Same line in contour extraction processing Scan continuation determination 0306... Another line scanning transition determination in contour extraction processing 0307 ... contour link scanning 0308 in contour extraction processing ... end of contour extraction processing 0401 ... start of specific graphic extraction processing 0402 ... contour selection 0403 in specific graphic extraction processing ... specific Division point calculation in the graphic extraction process 0404 ... Vote N point determination in the specific graphic extraction process 0405 ... Graphic information calculation in the specific graphic extraction process 0406 ... Graphic information registration in the specific graphic extraction process 0407 ... Same contour scanning in the specific graphic extraction process Next determination 0408 ... Determination of transition to another contour scanning in specific graphic extraction processing 0409 ... Graphic likelihood calculation in specific graphic extraction processing 0410 ... Maximum likelihood graphic candidate determination in specific graphic extraction processing 0411 ... End of specific graphic extraction processing 0501 ... the contour 0502 ... the feature point 0503 on the contour contour 0503 ... the feature point 0504 on the contour contour 0505 ... the line segment 0506 between the feature points on the contour contour 0506 ... between the feature points on the contour contour Line segment 0507 ... A bisector line 0508 connecting line feature points on the contour of the discriminator 0508 ... A bisector line 0509 connecting the feature points on the pendulum contour ... 0602 ... Display of the detection result of the stamp 0701 ... Main body of the slip reader 0702 ... Sorter unit connected to the slip reader 0703 ... Paper input section of the slip reader 0 04 ... slip reader stacker stacker 0705 ... sorter units of the main body (the side closer to the paper input section)
0706: Sheet transport direction in the sorter unit 0707: Stacker unit stacker (the side farther from the paper input unit)

Claims (5)

紙面の撮像画像から輪郭点列を検出し、
上記輪郭点列から複数の区分点を検出し、検出対象とする図形によって定められる個数の投票対象点を上記区分点から決定し、上記投票対象点から図形情報を算出し、
上記図形情報に基いて上記検出対象としての図形としての尤度についての投票を行うことで上記検出対象の検出を行うことを特徴とする図形検出処理プログラム。
A contour point sequence is detected from the captured image of the paper,
A plurality of segment points are detected from the contour point sequence, the number of voting target points determined by the figure to be detected is determined from the segment points, and graphic information is calculated from the voting target points,
A graphic detection processing program for detecting the detection target by voting on likelihood as a graphic as the detection target based on the graphic information.
上記検出対象は円形の押印であって、上記投票対象点として3点の区分点を決定することを特徴とする請求項1記載の図形検出処理プログラム。   2. The graphic detection processing program according to claim 1, wherein the detection target is a circular stamp, and three division points are determined as the voting target points. 上記輪郭点列を直線近似した場合の、その屈曲点を上記区分点とすることを特徴とする請求項1又は2に記載の図形検出処理プログラム。   The graphic detection processing program according to claim 1 or 2, wherein the inflection point when the contour point sequence is linearly approximated is set as the division point. 上記輪郭点列を計算する際に、既に走査済みの上行のランの端点と、現在走査しているランの端点との間のリンク情報を計算することでランの端点間で同一の輪郭線を属するかを計算して、輪郭点列を構成することを特徴とする請求項1乃至3何れかに記載の図形検出処理プログラム。   When calculating the above contour point sequence, the same contour line between the end points of the runs can be calculated by calculating the link information between the end points of the already scanned upper run and the end points of the currently scanned run. The figure detection processing program according to any one of claims 1 to 3, wherein a contour point sequence is formed by calculating whether the image belongs. 入力された紙葉の撮像を行う撮像装置と、上記撮像された画像から押印の有無を抽出する中央演算装置と、
上記押印の有無に応じて上記紙葉をソートするソータ装置とを有し、
上記中央演算装置は、上記撮像画像から輪郭点列を検出し、
上記輪郭点列から複数の区分点を検出し、
検出対象とする図形によって定められる個数の投票対象点を上記区分点から決定し、
上記投票対象点から図形情報を算出し、
上記図形情報に基いて上記検出対象としての図形としての尤度についての投票を行うことで上記押印の検出を行うことを特徴とする紙葉処理装置。
An imaging device that captures an input paper sheet, a central processing unit that extracts presence or absence of a seal from the captured image,
A sorter device that sorts the paper sheets according to the presence or absence of the seal,
The central processing unit detects a contour point sequence from the captured image,
A plurality of segment points are detected from the contour point sequence,
The number of voting points determined by the figure to be detected is determined from the above division points,
Calculate graphic information from the above voting points,
A paper sheet processing apparatus, wherein the stamp is detected by voting on the likelihood as a graphic as the detection target based on the graphic information.
JP2005350110A 2005-12-05 2005-12-05 Figure detection processing program and paper sheets processing device Pending JP2007156764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005350110A JP2007156764A (en) 2005-12-05 2005-12-05 Figure detection processing program and paper sheets processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005350110A JP2007156764A (en) 2005-12-05 2005-12-05 Figure detection processing program and paper sheets processing device

Publications (1)

Publication Number Publication Date
JP2007156764A true JP2007156764A (en) 2007-06-21

Family

ID=38241058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005350110A Pending JP2007156764A (en) 2005-12-05 2005-12-05 Figure detection processing program and paper sheets processing device

Country Status (1)

Country Link
JP (1) JP2007156764A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009025856A (en) * 2007-07-17 2009-02-05 Hitachi Computer Peripherals Co Ltd Document discrimination program and document discrimination device
JP2013232115A (en) * 2012-04-27 2013-11-14 Fujitsu Ltd Image processing device, image processing program and image processing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01180678A (en) * 1988-01-13 1989-07-18 Ricoh Co Ltd Line graphic approximation method
JPH01180680A (en) * 1988-01-13 1989-07-18 Ricoh Co Ltd Line graphic approximation method
JPH10293852A (en) * 1997-04-21 1998-11-04 Fuji Photo Film Co Ltd Outline extracting method
JPH10334240A (en) * 1997-06-04 1998-12-18 Toshiba Corp Graphic position detection method and graphic position detector
JP2000123113A (en) * 1998-10-15 2000-04-28 Matsushita Electric Ind Co Ltd Image collating method, recording medium for image collation and image collating device
JP2000174960A (en) * 1998-12-03 2000-06-23 Ricoh Co Ltd Reader
WO2002033352A1 (en) * 2000-10-19 2002-04-25 Nikon Corporation Method and device for shape measurement, method and device for exposure, control program, and device manufacturing method
JP2004138586A (en) * 2002-10-21 2004-05-13 Hitachi Ltd Rechargeable battery evaluating method and rechargeable battery

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01180678A (en) * 1988-01-13 1989-07-18 Ricoh Co Ltd Line graphic approximation method
JPH01180680A (en) * 1988-01-13 1989-07-18 Ricoh Co Ltd Line graphic approximation method
JPH10293852A (en) * 1997-04-21 1998-11-04 Fuji Photo Film Co Ltd Outline extracting method
JPH10334240A (en) * 1997-06-04 1998-12-18 Toshiba Corp Graphic position detection method and graphic position detector
JP2000123113A (en) * 1998-10-15 2000-04-28 Matsushita Electric Ind Co Ltd Image collating method, recording medium for image collation and image collating device
JP2000174960A (en) * 1998-12-03 2000-06-23 Ricoh Co Ltd Reader
WO2002033352A1 (en) * 2000-10-19 2002-04-25 Nikon Corporation Method and device for shape measurement, method and device for exposure, control program, and device manufacturing method
JP2004138586A (en) * 2002-10-21 2004-05-13 Hitachi Ltd Rechargeable battery evaluating method and rechargeable battery

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009025856A (en) * 2007-07-17 2009-02-05 Hitachi Computer Peripherals Co Ltd Document discrimination program and document discrimination device
JP2013232115A (en) * 2012-04-27 2013-11-14 Fujitsu Ltd Image processing device, image processing program and image processing method

Similar Documents

Publication Publication Date Title
US11036949B2 (en) Scanner with control logic for resolving package labeling conflicts
CN103914858B (en) Document Image Compression Method And Its Application In Document Authentication
US4590606A (en) Multi-function image processing system
JP4932177B2 (en) Coin classification device and coin classification method
JP6245880B2 (en) Information processing apparatus, information processing method, and program
JP6278276B2 (en) Object identification device, object identification method, and program
JPH0587871B2 (en)
JPWO2014030399A1 (en) Object identification device, object identification method, and program
JP6458239B1 (en) Image recognition system
JP5372183B2 (en) Coin classification device and coin classification method
Chen et al. Perfecting vectorized mechanical drawings
CN113158895A (en) Bill identification method and device, electronic equipment and storage medium
CN109388935A (en) Document verification method and device, electronic equipment and readable storage medium storing program for executing
CN108090728B (en) Express information input method and system based on intelligent terminal
JP2003109007A (en) Device, method and program for classifying slip form and image collating device
JP4140221B2 (en) Image collation device and image collation program
JP2007156764A (en) Figure detection processing program and paper sheets processing device
JP2004133629A (en) Dictionary preparation device for detecting specific mark, specific mark detection device, specific mark recognition device, and program and recording medium
FI3903230T3 (en) Structural image matching by hashing descriptors of singularities of the gradient
CN101609453A (en) A kind of separator page and the method and apparatus that utilizes the document classification of this separator page
JP6890849B2 (en) Information processing system
JPH10222587A (en) Method and device for automatically discriminating slip or the like
JPH08305791A (en) Image recognizing device and control sheet
JP6941331B2 (en) Image recognition system
JP2002032812A (en) Disc-shaped subject recognition system

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20080829

Free format text: JAPANESE INTERMEDIATE CODE: A621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101005

A131 Notification of reasons for refusal

Effective date: 20101012

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110310

A02 Decision of refusal

Effective date: 20110329

Free format text: JAPANESE INTERMEDIATE CODE: A02