JP6534278B2 - Paper sheet discrimination apparatus and paper sheet discrimination method - Google Patents

Paper sheet discrimination apparatus and paper sheet discrimination method Download PDF

Info

Publication number
JP6534278B2
JP6534278B2 JP2015071082A JP2015071082A JP6534278B2 JP 6534278 B2 JP6534278 B2 JP 6534278B2 JP 2015071082 A JP2015071082 A JP 2015071082A JP 2015071082 A JP2015071082 A JP 2015071082A JP 6534278 B2 JP6534278 B2 JP 6534278B2
Authority
JP
Japan
Prior art keywords
edge point
sheet
tape
boundary
boundary portion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015071082A
Other languages
Japanese (ja)
Other versions
JP2016192026A (en
Inventor
鵜飼 和歳
和歳 鵜飼
中島 明
明 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glory Ltd
Original Assignee
Glory 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 Glory Ltd filed Critical Glory Ltd
Priority to JP2015071082A priority Critical patent/JP6534278B2/en
Priority to PCT/JP2016/058188 priority patent/WO2016158392A1/en
Publication of JP2016192026A publication Critical patent/JP2016192026A/en
Application granted granted Critical
Publication of JP6534278B2 publication Critical patent/JP6534278B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/06Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency using wave or particle radiation
    • G07D7/12Visible light, infrared or ultraviolet radiation
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/181Testing mechanical properties or condition, e.g. wear or tear
    • G07D7/189Detecting attached objects, e.g. tapes or clips

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Image Processing (AREA)

Description

本発明は、紙葉類にテープが貼られているか否かを判別することができる紙葉類判別装置及び紙葉類判別方法に関する。   The present invention relates to a sheet discrimination apparatus and a sheet discrimination method capable of discriminating whether or not a tape is attached to a sheet.

紙幣等の紙葉類は短手方向に沿って折り目を入れて折り畳まれることが多い。そして、この折り目によって短手方向に沿った破れが生じた場合にテープによって補強されることがある。   Paper sheets such as banknotes are often folded with a crease along the lateral direction. And, if a tear along the short direction occurs due to the fold, it may be reinforced by the tape.

このようにしてテープが貼られた紙葉類を検知することができる従来技術として、例えば特許文献1で開示されている紙葉類の厚さ検出装置がある。   As a prior art that can detect a sheet having a tape attached in this manner, there is a sheet thickness detection device disclosed in Patent Document 1, for example.

特許文献1で開示されている紙葉類の厚さ検出装置は、固定された回転軸に設けられた基準ローラと基準ローラに対向接触して設けられた検知ローラとの間を通る紙葉類の厚さに応じて回動変位する検知ブロックを用いた機械式の厚み検知を行っている。   The sheet thickness detecting device disclosed in Patent Document 1 includes a sheet passing between a reference roller provided on a fixed rotating shaft and a detection roller provided in contact with the reference roller. Mechanical thickness detection is performed using a detection block that is rotationally displaced according to the thickness of the sensor.

特許第4819162号公報Patent No. 4819162 gazette 米国特許第8089045号明細書U.S. Pat. No. 8,089,045

しかしながら、機械式の厚み検知では50μm以上の厚みを有するテープしか検知することができず、例えば30μm厚や40μm厚といった薄いテープを検出することができないという問題があった。   However, in mechanical thickness detection, only a tape having a thickness of 50 μm or more can be detected, and for example, a thin tape such as 30 μm or 40 μm can not be detected.

一方、特許文献2で開示されている検知装置は、機械式の厚み検知ではなく紙葉類のしわやテープ貼付を光学的に検知している。しかしながら、特許文献2で開示されている検知装置では、紙葉類に対して斜め上方から光を照射することで、テープ中央よりも光源側に位置するテープ側方端の明るい反射やテープ中央よりも光源から離れているテープ側方端の影を検出して紙葉類にテープが貼られているかを検知しており、光源の位置を工夫する必要があるため、機器の構造が複雑になる。   On the other hand, the detection device disclosed in Patent Document 2 optically detects wrinkles and tape sticking of paper sheets instead of mechanical thickness detection. However, in the detection device disclosed in Patent Document 2, by irradiating light to the paper sheets from diagonally above, bright reflection of the tape side end located on the light source side than the tape center or the tape center can be obtained. Also, the shadow of the side edge of the tape away from the light source is detected to detect whether the tape is attached to the paper sheet, and it is necessary to devise the position of the light source, which complicates the structure of the device. .

本発明は、上記の状況に鑑み、薄いテープが貼られている場合でも紙葉類にテープが貼られているか否かを判別することができる紙葉類判別装置及び紙葉類判別方法を提供することを目的とするものである。   The present invention provides a sheet discriminating apparatus and a sheet discriminating method capable of discriminating whether or not a tape is pasted even if a thin tape is pasted in view of the above situation. The purpose is to

上記目的を達成するために本発明に係る紙葉類判別装置は、紙葉類の撮像画像に基づいて紙葉類にテープが貼られているかを判別する紙葉類判別装置であって、正当な紙葉類の撮像画像に含まれる前記正当な紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点である参照エッジ点を記憶する記憶部と、判別対象となる紙葉類の撮像画像から前記判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点を抽出するエッジ点抽出部と、前記エッジ点抽出部によって抽出されたエッジ点から、前記参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いて残存エッジ点を抽出する残存エッジ点抽出部と、前記残存エッジ点に基づいて前記判別対象となる紙葉類にテープが貼られているかを解析する解析部とを備えた構成(第1の構成)とする。   In order to achieve the above object, a sheet discriminating apparatus according to the present invention is a sheet discriminating apparatus for discriminating whether a tape is attached to a sheet based on a captured image of the sheet, and is valid. Storage unit for storing a reference edge point which is an edge point of the density gradient direction range along the longitudinal direction of the valid paper sheet included in a captured image of a thin paper sheet, and imaging of the paper sheet to be discriminated An edge point extraction unit that extracts an edge point of a density gradient direction range along a longitudinal direction of a sheet to be discriminated from an image, and an edge point extracted by the edge point extraction unit to the reference edge point A remaining edge point extraction unit which removes a remaining edge point by removing a corresponding edge point and an edge point estimated to be generated due to a bright area of a pixel not included in the captured image of the valid paper sheet; Based on the remaining edge point A configuration that includes an analysis unit for analyzing whether the tape is stuck to the paper sheet serving as the determination target Te (first configuration).

このような構成によると、テープ貼付を光学的に検知しているので、薄いテープが貼られている場合でも紙葉類にテープが貼られているか否かを判別することができる。また、紙葉類に対して斜め上方から光を照射することで発生するテープ側方端の明るい反射や影を利用しないので、光源の位置を工夫する必要がない。したがって、機器の構造を簡単にすることができる。   According to such a configuration, since the tape attachment is optically detected, it is possible to determine whether the tape is attached to the paper even if the thin tape is attached. In addition, since bright reflections and shadows of the side edge of the tape generated by irradiating light to the paper sheet from obliquely above are not used, there is no need to devise the position of the light source. Therefore, the structure of the device can be simplified.

また、上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点から紙葉類の図柄に起因して発生したエッジ点を取り除くことができる。また、テープが貼付された領域ではテープの影響によって画素が暗くなるため、上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点からテープ側方端に起因して発生していないと推定したエッジ点を取り除くことができる。したがって、テープ貼付の検知精度を高くすることができる。   Further, by extracting the remaining edge points as described above, it is possible to remove the edge points generated due to the design of the paper sheet from the edge points which may be generated due to the tape side edge. In addition, since the pixels become dark due to the influence of the tape in the area where the tape is attached, the extraction of the remaining edge point as described above may cause the tape side edge to be likely to be generated due to the tape side edge. It is possible to remove an edge point estimated to have not occurred due to an edge. Therefore, the detection accuracy of tape sticking can be made high.

上記第1の構成の紙葉類判別装置において、前記参照エッジ点は、前記正当な紙葉類の撮像画像に含まれる第1濃度勾配方向範囲のエッジ点である第1参照エッジ点と、前記第1濃度勾配方向範囲と逆方向である第2濃度勾配方向範囲のエッジ点である第2参照エッジ点とを含み、前記エッジ点抽出部は、前記判別対象となる紙葉類の撮像画像から前記第1濃度勾配方向範囲のエッジ点および前記第2濃度勾配方向範囲のエッジ点を抽出し、前記残存エッジ点は、前記エッジ点抽出部によって抽出された前記第1濃度勾配方向範囲のエッジ点から、前記第1参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いた第1残存エッジ点と、前記エッジ点抽出部によって抽出された前記第2濃度勾配方向範囲のエッジ点から、前記第2参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いた第2残存エッジ点とを含む構成(第2の構成)であることが好ましい。   In the sheet discriminating apparatus having the first configuration, the reference edge point is a first reference edge point which is an edge point of a first density gradient direction range included in a captured image of the valid sheet, and The first density gradient direction range and the second reference edge point which is an edge point of the second density gradient direction range which is the reverse direction, and the edge point extraction unit determines from the captured image of the sheet to be discriminated An edge point of the first concentration gradient direction range and an edge point of the second concentration gradient direction range are extracted, and the remaining edge point is an edge point of the first concentration gradient direction range extracted by the edge point extraction unit A first remaining edge from which an edge point corresponding to the first reference edge point and an edge point estimated to be generated due to a bright region are not included in a pixel not included in the captured image of the valid paper sheet Point and the above From the edge points of the second density gradient direction range extracted by the edge point extraction unit, edge points corresponding to the second reference edge point and pixels not included in the captured image of the valid paper sheet are bright It is preferable that the configuration (second configuration) includes a second remaining edge point from which an edge point estimated to have occurred due to the region is removed.

このような構成によると、右側テープ側方端および左側テープ側方端それぞれの検知が可能となり、テープ貼付の検知精度をより一層高くすることができる。   According to such a configuration, it is possible to detect each of the right side tape side end and the left side tape side end, and it is possible to further increase the detection accuracy of tape sticking.

上記第1または第2の構成の紙葉類判別装置において、前記解析部は、所定サイズ領域における前記残存エッジ点の密度に基づいて前記判別対象となる紙葉類にテープが貼られているかを解析する構成(第3の構成)であることが好ましい。   In the sheet discriminating apparatus having the first or second configuration, the analyzing unit determines whether a tape is attached to the sheet to be discriminated based on the density of the remaining edge point in a predetermined size area. It is preferable that it is the structure (3rd structure) to analyze.

このような構成によると、所定サイズ領域の形状を変えることで貼り付け向きの異なるテープを検知することができる。例えば所定サイズ領域を縦長形状にすることで縦(紙葉類の短手方向)に貼付されたテープを検知することができ、所定サイズ領域を斜めに傾いた形状にすることで斜めに傾いて貼付されたテープを検知することができる。   According to such a configuration, by changing the shape of the predetermined size area, it is possible to detect tapes having different attachment directions. For example, by making the predetermined size area longitudinally elongated, it is possible to detect a tape stuck longitudinally (in the short direction of paper sheets), and by making the predetermined size area obliquely inclined, it is inclined obliquely The attached tape can be detected.

上記第1〜第3のいずれかの構成の紙葉類判別装置において、前記残存エッジ点抽出部は、前記判別対象となる紙葉類の撮像画像に、前記正当な紙葉類の撮像画像に含まれていない前記判別対象となる紙葉類の短手方向に沿った画素が明るい細線状領域が存在していると推定した場合に、前記細線状領域の周囲に位置するエッジ点も前記エッジ点抽出部によって抽出されたエッジ点から取り除く構成(第4の構成)であることが好ましい。   In the paper sheet discriminating apparatus according to any one of the first to third configurations, the remaining edge point extraction unit converts the picked up image of the paper sheet to be discriminated into the picked up image of the valid paper sheet. An edge point located around the thin line-like area is also the edge when it is estimated that a thin fine line-like area having a bright pixel exists along the short direction of the paper sheet to be discriminated which is not included It is preferable that it is the structure (4th structure) remove | eliminated from the edge point extracted by the point extraction part.

このような構成によると、テープ側方端に起因して発生した可能性があるエッジ点から、強い折り目によって発生した細い明線の影響で現れたエッジ点を取り除くことができる。したがって、テープ貼付の検知精度をより一層高くすることができる。   According to such a configuration, it is possible to remove from the edge points that may be generated due to the side edge of the tape, the edge points that appear under the influence of the thin bright line generated by the strong fold. Therefore, the detection accuracy of the tape sticking can be further enhanced.

上記第1〜第4のいずれかの構成の紙葉類判別装置において、前記判別対象となる紙葉類の撮像画像において、前記判別対象となる紙葉類の長手方向の一端から他端に向かう方向で、第1領域から前記第1領域よりも暗い第2領域に変化する境である第1境部および第3領域から前記第3領域よりも明るい第4領域に変化する境である第2境部を検知する検知部と、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域に位置する画素の画素値に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定する判定部とを備えた構成(第5の構成)であることが好ましい。   In the sheet discriminating apparatus having any one of the first to fourth configurations, in the captured image of the sheet to be discriminated, from one end to the other end in the longitudinal direction of the sheet to be discriminated A first boundary that changes from the first area to a second area that is darker than the first area, and a second area that changes from the third area to a fourth area that is brighter than the third area. Based on the pixel value of a pixel located in a region between a detection unit that detects a boundary and the first boundary and the second boundary located closer to the other end than the first boundary, A determination unit configured to determine whether a tape is attached to an area between the first boundary portion and the second boundary portion positioned closer to the other end than the first boundary portion (fifth embodiment) It is preferable that

このような構成によると、エッジ点を抽出せずにテープが貼られているかを判定することができるので、貼付されたテープの側方端によって発生するエッジが鮮明でない場合でも紙葉類にテープが貼られていることを検知することができる。   According to such a configuration, it is possible to determine whether the tape is attached without extracting the edge point, and therefore, even if the edge generated by the side end of the attached tape is not clear, the sheet is a tape Can be detected.

上記第5の構成の紙葉類判別装置において、前記判定部は、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の間隔が判定対象であるテープの最小幅以上であり最大幅以下である場合にのみ、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域に位置する画素の画素値に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定する構成(第6の構成)であることが好ましい。   In the sheet discriminating apparatus having the fifth configuration, the judging unit judges that a distance between the first boundary and the second boundary located closer to the other end than the first boundary is determined. Only in the region between the first boundary and the second boundary located closer to the other end than the first boundary, but only when the width is the minimum width and the maximum width of the target tape. Based on the pixel value of the pixel located, it is determined whether the tape is stuck in the area between the first boundary and the second boundary located closer to the other end than the first boundary. It is preferable that it is a structure (6th structure).

このような構成によると、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との全ての組合せを判定せず、判定する組合せを判定対象であるテープの幅を考慮して絞り込むので、判定時間の短縮や誤検知の防止を図ることができる。   According to such a configuration, a combination to be determined is determined without determining all combinations of the first boundary and the second boundary positioned closer to the other end than the first boundary. Since the narrowing is performed in consideration of the width of the tape, the determination time can be shortened and the false detection can be prevented.

上記第5または第6の構成の紙葉類判別装置において、前記判定部は、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域に位置する画素の画素値の分散に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定する構成(第7の構成)であることが好ましい。   In the sheet discriminating apparatus having the fifth or sixth configuration, the determination unit may be configured to interpose the first boundary portion and the second boundary portion positioned closer to the other end than the first boundary portion. A tape is attached to a region between the first boundary portion and the second boundary portion located on the other end side of the first boundary portion based on the dispersion of pixel values of pixels located in the region. It is preferable that it is the structure (7th structure) which determines whether it exists.

テープが貼られている領域は濃度むらが小さいので、画素値の分散が小さくなる。したがって、このような構成によると、テープ貼付の検知精度を高くすることができる。   In the area where the tape is attached, the unevenness of density is small, so the dispersion of pixel values becomes small. Therefore, according to such a configuration, the detection accuracy of the tape sticking can be enhanced.

上記第5〜第7のいずれかの構成の紙葉類判別装置において、前記判定部は、前記第1領域の画素値および前記第4領域の画素値に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定する構成(第8の構成)であることが好ましい。   In the sheet discriminating apparatus according to any one of the fifth to seventh configurations, the determination unit determines the first boundary portion and the first boundary portion based on a pixel value of the first region and a pixel value of the fourth region. It is preferable that it is a structure (the 8th structure) which determines whether the area | region with the said 2nd boundary part located in the said other end side rather than a 1st boundary part is stuck.

このような構成によると、第1境部および第2境部を検知する条件を緩く設定することができるので、判別対象となる紙葉類の背景濃度が一様でない場合でもテープの貼付を検知することができる。   According to such a configuration, the conditions for detecting the first boundary portion and the second boundary portion can be set loosely, so that tape sticking is detected even when the background density of the sheet to be discriminated is not uniform. can do.

上記目的を達成するために本発明に係る紙葉類判別方法は、紙葉類の撮像画像に基づいて紙葉類にテープが貼られているかを判別する紙葉類判別装置に適用される紙葉類判別方法であって、前記紙葉類判別装置が、判別対象となる紙葉類の撮像画像から前記判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点を抽出するエッジ点抽出工程と、前記紙葉類判別装置が、前記エッジ点抽出工程によって抽出されたエッジ点から、正当な紙葉類の撮像画像に含まれる前記正当な紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点である参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いて残存エッジ点を抽出する残存エッジ点抽出工程と、前記紙葉類判別装置が、前記残存エッジ点に基づいて前記判別対象となる紙葉類にテープが貼られているかを解析する解析工程とを備えた構成とする。 In order to achieve the above object, a sheet discrimination method according to the present invention is applied to a sheet discrimination apparatus that determines whether a tape is attached to a sheet based on a captured image of the sheet. A sheet discriminating method, wherein the sheet discriminating apparatus extracts edge points of a density gradient direction range along a longitudinal direction of a sheet to be discriminated from a captured image of a sheet to be discriminated an edge point extraction step of the paper sheet determination apparatus, the edge points extracted by the edge point extraction process, along a longitudinal direction of the legitimate paper sheet included in the captured image of legitimate sheet An edge point corresponding to a reference edge point which is an edge point of the density gradient direction range and an edge point estimated to be generated due to a bright region are removed from pixels not included in the image of the valid paper sheet To extract the remaining edge points Di-point extracting process, the paper sheet determination apparatus is configured to include an analysis step of analyzing whether the tape is stuck to the paper sheet serving as the determination target based on the remaining edge points.

このような構成によると、テープ貼付を光学的に検知しているので、薄いテープが貼られている場合でも紙葉類にテープが貼られているか否かを判別することができる。また、紙葉類に対して斜め上方から光を照射することで発生するテープ側方端の明るい反射や影を利用しないので、光源の位置を工夫する必要がない。したがって、上記の紙葉類判別方法構造の実施が容易になる。   According to such a configuration, since the tape attachment is optically detected, it is possible to determine whether the tape is attached to the paper even if the thin tape is attached. In addition, since bright reflections and shadows of the side edge of the tape generated by irradiating light to the paper sheet from obliquely above are not used, there is no need to devise the position of the light source. Therefore, implementation of the above-described paper sheet discrimination method structure becomes easy.

また、上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点から紙葉類の図柄に起因して発生したエッジ点を取り除くことができる。また、テープが貼付された領域ではテープの影響によって画素が暗くなるため、上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点からテープ側方端に起因して発生していないと推定したエッジ点を取り除くことができる。したがって、テープ貼付の検知精度を高くすることができる。   Further, by extracting the remaining edge points as described above, it is possible to remove the edge points generated due to the design of the paper sheet from the edge points which may be generated due to the tape side edge. In addition, since the pixels become dark due to the influence of the tape in the area where the tape is attached, the extraction of the remaining edge point as described above may cause the tape side edge to be likely to be generated due to the tape side edge. It is possible to remove an edge point estimated to have not occurred due to an edge. Therefore, the detection accuracy of tape sticking can be made high.

本発明によると、薄いテープが貼られている場合でも紙葉類にテープが貼られているか否かを判別することができる。   According to the present invention, even when a thin tape is attached, it can be determined whether the tape is attached to a sheet.

本発明に係る紙葉類判別手法の概要を示す図A diagram showing an outline of a sheet discrimination method according to the present invention 本発明の第1実施形態に係る紙葉類判別装置の構成を示すブロック図Block diagram showing the configuration of a sheet discriminating apparatus according to the first embodiment of the present invention 平滑化フィルタの一例を示す図Diagram showing an example of a smoothing filter ラプラシアンフィルタの一例を示す図Figure showing an example of Laplacian filter 横方向Prewittフィルタの一例を示す図Figure showing an example of a horizontal direction Prewitt filter 縦方向Prewittフィルタの一例を示す図Figure showing an example of a vertical direction Prewitt filter 第1の推定処理を示すフローチャートFlow chart showing the first estimation process 判別対象となる紙幣の撮像画像に関する画素値ヒストグラムPixel value histogram of the captured image of the bill to be discriminated 第2の推定処理を示すフローチャートFlow chart showing the second estimation process 判別対象となる紙幣の撮像画像に関する短手方向の平均画素値を示す図A diagram showing average pixel values in the lateral direction of a captured image of a bill to be discriminated 密度検出用フィルタの一例を示す図A diagram showing an example of a density detection filter 密度検出用フィルタの他の例を示す図Diagram showing another example of density detection filter 本発明の第2実施形態に係る紙葉類判別装置の構成を示すブロック図Block diagram showing the configuration of a sheet discriminating apparatus according to the second embodiment of the present invention 境部検知処理を示すフローチャートFlow chart showing the boundary detection process 着目点、左側領域、および右側領域の配置を示す図Diagram showing the arrangement of the point of interest, the left area, and the right area 判定処理を示すフローチャートFlow chart showing determination processing 背景濃度が一様でない場所にテープが貼付された場合の画素値分布を模式的に示す図Diagram schematically showing the pixel value distribution when the tape is attached to a place where the background density is not uniform 背景濃度が一様でない場所にインク滲みがある場合の画素値分布を模式的に示す図A diagram schematically showing the pixel value distribution when there is ink bleeding at a place where the background density is not uniform.

以下に、添付図面を参照して、本発明に係る紙葉類判別手法の好適な実施形態を詳細に説明する。なお、以下では、本発明に係る紙葉類判別手法の概要について説明した後に、本発明に係る紙葉類判別手法を適用した紙幣判別装置についての実施形態を説明することとする。   Hereinafter, preferred embodiments of the paper sheet discrimination method according to the present invention will be described in detail with reference to the attached drawings. In the following, after the outline of the paper sheet discrimination method according to the present invention is described, an embodiment of a bill discrimination device to which the paper sheet discrimination method according to the present invention is applied will be described.

<本発明に係る紙葉類判別手法の概要>
図1は、本発明に係る紙葉類判別手法の概要を示す図である。本発明に係る紙葉類判別手法では、まず、判別対象である紙葉類に光を照射し、判別対象である紙葉類からの透過光または反射光に基づいて判別対象である紙葉類の撮像画像を生成する(図1の(1)参照)。
<Outline of the paper sheet discrimination method according to the present invention>
FIG. 1 is a view showing an outline of a sheet discrimination method according to the present invention. In the paper sheet discrimination method according to the present invention, first, the paper sheet to be discriminated is irradiated with light, and the paper sheet to be discriminated based on the transmitted light or the reflected light from the paper sheet to be discriminated The captured image of is generated (see (1) in FIG. 1).

次に、判別対象である紙葉類の撮像画像から判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点を抽出する(図1の(2)参照)。ここで、エッジとは、画像の明暗が著しく変化している箇所のことを指す。以下の説明では、エッジの濃度が明るい方から暗い方に向かう方向を濃度勾配方向としている。また、エッジ点とは、画像中のエッジに該当する画素とする。   Next, edge points in the density gradient direction range along the longitudinal direction of the sheet to be discriminated are extracted from the captured image of the sheet to be discriminated (see (2) in FIG. 1). Here, the edge refers to a portion where the contrast of the image is significantly changed. In the following description, the direction from the bright side to the dark side of the edge density is taken as the density gradient direction. Further, an edge point is a pixel corresponding to an edge in an image.

例えば図1の(2)に示したように、判別対象となる紙葉類の左端から右端に向かう方向に対して±12.5度の幅を持って判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲(図1の(2)においてA方向範囲と表記)のエッジ点と、判別対象となる紙葉類の右端から左端に向かう方向に対して±12.5度の幅を持って判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲(図1の(2)においてB方向範囲と表記)のエッジ点とを抽出する。   For example, as shown in (2) of FIG. 1, the longitudinal direction of the sheet to be discriminated has a width of ± 12.5 degrees with respect to the direction from the left end to the right end of the sheet to be discriminated The edge point of the density gradient direction range (indicated as A direction range in (2) in Fig. 1) along with the width of ± 12.5 degrees with respect to the direction from the right edge to the left edge of the paper sheet The edge points of the density gradient direction range (indicated as the B direction range in (2) of FIG. 1) along the longitudinal direction of the sheet to be discriminated are extracted.

紙幣等の紙葉類では短手方向に沿ったテープの貼付が想定されるため、上記のような特定のエッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点を抽出することができる。   In the case of paper sheets such as banknotes, it is assumed that the tape is stuck along the short direction, so the extraction of the specific edge point as described above may result in an edge point that may be generated due to the tape side edge. Can be extracted.

次に、抽出した特定のエッジ点から、正当な紙葉類の撮像画像に含まれる正当な紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点である参照エッジ点に対応するエッジ点および正当な紙葉類の撮像画像に含まれていない画素が明るい領域、即ち本実施形態では画素値の大きい領域に起因して発生したと推定したエッジ点を取り除いて残存エッジ点を抽出する(図1の(3)参照)。ここで、正当な紙葉類とは、汚れやしわ、折り目などの汚損が生じておらずテープの貼付もない紙葉類を意味している。   Next, an edge point corresponding to a reference edge point that is an edge point of a density gradient direction range along the longitudinal direction of a valid paper sheet included in a captured image of a valid paper sheet from the extracted specific edge point And the remaining edge point is extracted by removing the edge point estimated to be generated due to the region where the pixels not included in the captured image of the valid paper sheet are bright, that is, the region having a large pixel value in this embodiment See FIG. 1 (3)). Here, the term "authorized sheet" means a sheet which is not soiled such as dirt, wrinkles or creases and is not attached with a tape.

特定のエッジ点を抽出する際に用いた「判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲」と、参照エッジ点を求める際に用いる「正当な紙葉類の撮像画像に含まれる正当な紙葉類の長手方向に沿った濃度勾配方向範囲」とは完全一致していなくても構わないが、完全一致していることが望ましい。   "The density gradient direction range along the longitudinal direction of the sheet to be discriminated" used when extracting a specific edge point, and "a captured image of a valid sheet" used when obtaining a reference edge point Although it does not have to be completely coincident with “the density gradient direction range along the longitudinal direction of the legitimate paper sheet to be included”, it is desirable that they are completely coincident.

上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点から紙葉類の図柄に起因して発生したエッジ点を取り除くことができる。また、テープが貼付された領域ではテープの影響によって画素が暗くなる、即ち本実施形態では画素値が小さくなるため、上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点からテープ側方端に起因して発生していないと推定したエッジ点を取り除くことができる。   By extracting the remaining edge points as described above, it is possible to remove the edge points generated due to the design of the paper sheet from the edge points which may be generated due to the tape side edge. Further, in the area where the tape is attached, the pixel becomes dark due to the influence of the tape, that is, the pixel value becomes small in the present embodiment, so the extraction of the remaining edge point as described above causes the tape side edge. From the possible edge points, edge points estimated to have not occurred due to the tape side edge can be removed.

最後に、抽出した残存エッジ点に基づいて判別対象である紙葉類にテープが貼られているかを解析する。   Finally, based on the extracted remaining edge point, it is analyzed whether the tape is stuck to the sheet to be discriminated.

このように本発明に係る紙葉類判別手法では、テープ貼付を光学的に検知している。従って、薄いテープが貼られている場合でも紙葉類にテープが貼られているか否かを判別することができる。また、紙葉類に対して斜め上方から光を照射することで発生するテープ側方端の明るい反射や影を利用しないので、光源の位置を工夫する必要がない。さらに、本発明に係る紙葉類判別手法では、上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点から紙葉類の図柄に起因して発生したエッジ点を取り除くことができる。また、テープが貼付された領域ではテープの影響によって画素値が小さくなるため、上記のような残存エッジ点の抽出により、テープ側方端に起因して発生した可能性があるエッジ点からテープ側方端に起因して発生していないと推定したエッジ点を取り除くことができる。したがって、テープ貼付の検知精度を高くすることができる。   As described above, in the paper sheet discrimination method according to the present invention, tape sticking is optically detected. Therefore, even when a thin tape is attached, it can be determined whether the tape is attached to a sheet. In addition, since bright reflections and shadows of the side edge of the tape generated by irradiating light to the paper sheet from obliquely above are not used, there is no need to devise the position of the light source. Furthermore, in the paper sheet discrimination method according to the present invention, due to the extraction of the remaining edge point as described above, the edge point that may be generated due to the tape side edge is attributed to the pattern of the paper sheet. The generated edge points can be removed. Also, since the pixel value is small due to the influence of the tape in the area where the tape is attached, the extraction of the remaining edge points as described above may result in the edge point that may have arisen due to the tape side edge. It is possible to remove an edge point estimated to have not occurred due to the edge. Therefore, the detection accuracy of tape sticking can be made high.

以下では、図1を用いて説明した本発明に係る紙葉類判別手法を適用した紙幣判別装置についての実施形態を詳細に説明するが、本発明に係る紙葉類判別手法は紙幣のみならず、小切手、手形及び商品券等、他の任意の紙葉類に対しても適用することができる。   Hereinafter, an embodiment of a bill discriminating apparatus to which the bill discriminating method according to the present invention described with reference to FIG. 1 is applied will be described in detail. However, the bill discriminating method according to the present invention is not only bill The present invention can also be applied to any other sheet such as a check, a bill and a gift certificate.

<第1実施形態>
図2は、本発明の第1実施形態に係る紙幣判別装置10の構成を示すブロック図である。なお、図2においては紙幣判別装置10の特徴を説明するために必要な構成要素のみを示しており、一般的な構成要素についての記載を省略している。
First Embodiment
FIG. 2 is a block diagram showing the configuration of the banknote discrimination device 10 according to the first embodiment of the present invention. In addition, in FIG. 2, only the component required in order to demonstrate the characteristic of the banknote discrimination | determination apparatus 10 is shown, and the description about a general component is abbreviate | omitted.

紙幣判別装置10は、イメージラインセンサ部1と、制御部2と、記憶部3とを備えている。また、制御部2は、画像データ取得部2aと、金種識別部2bと、エッジ点抽出部2cと、残存エッジ点抽出部2dと、解析部2eとを備えている。また、記憶部3は、金種識別テンプレート3aと、各種フィルタ3bと、参照エッジ点3cと、解析基準情報3dとを記憶している。   The banknote discrimination device 10 includes an image line sensor unit 1, a control unit 2, and a storage unit 3. The control unit 2 further includes an image data acquisition unit 2a, a denomination identification unit 2b, an edge point extraction unit 2c, a remaining edge point extraction unit 2d, and an analysis unit 2e. In addition, the storage unit 3 stores a denomination identification template 3a, various filters 3b, a reference edge point 3c, and analysis reference information 3d.

イメージラインセンサ部1は、図示しない搬送機構によって搬送される紙幣からの透過光または反射光を受光するセンサ部であり、複数の受光センサを直線状に配置することで構成される。紙幣に照射する光としては、汚れに反応しにくい赤外波長の光が好ましいが、白色、赤色、緑色、青色などの可視光でも良い。また、イメージラインセンサ部1は、受光結果を制御部2の画像データ取得部2bに出力する処理を併せて行う。   The image line sensor unit 1 is a sensor unit that receives transmitted light or reflected light from a bill transported by a transport mechanism (not shown), and is configured by arranging a plurality of light receiving sensors in a straight line. The light to be applied to the bill is preferably light of an infrared wavelength which does not easily react to stains, but may be visible light such as white, red, green or blue. In addition, the image line sensor unit 1 also performs a process of outputting the light reception result to the image data acquisition unit 2 b of the control unit 2.

制御部2は、イメージラインセンサ部1からの出力に基づいて紙幣の画像データを生成し、生成した画像データを解析して紙幣にテープが貼られているかの判別を行う処理部である。   The control unit 2 is a processing unit that generates image data of a bill based on the output from the image line sensor unit 1 and analyzes the generated image data to determine whether a tape is attached to the bill.

画像データ取得部2aは、イメージラインセンサ部1からの出力データをメモリに展開し、1枚の紙幣ごとに合成し、紙幣全体についての画像データを生成する処理を行う処理部である。また、画像データ取得部2aは、生成した画像データを金種識別部2bおよびエッジ点抽出部2cにそれぞれ出力する処理を併せて行う。   The image data acquisition unit 2a is a processing unit that develops output data from the image line sensor unit 1 in a memory, combines the data for each bill, and generates image data for the entire bill. Further, the image data acquisition unit 2a performs a process of outputting the generated image data to the denomination identification unit 2b and the edge point extraction unit 2c, respectively.

金種識別部2bは、画像データ取得部2aによって生成された画像データの特徴パターンと、紙幣の金種ごとの特徴パターンである金種識別テンプレート3aとを比較して、紙幣の金種を判定する。   The denomination identification unit 2b determines the denomination of the bill by comparing the feature pattern of the image data generated by the image data acquisition unit 2a with the denomination identification template 3a, which is a feature pattern for each denomination of the bill. Do.

エッジ点抽出部2cは、各種フィルタ3bを用いて、画像データ取得部2bが出力した画像データを平滑化し、平滑化した画像データから紙幣の長手方向に沿った濃度勾配方向範囲のエッジ点を抽出する処理を行う処理部である。また、エッジ点抽出部2cは、抽出したエッジ点を示すエッジ点画像を残存エッジ点抽出部2dに出力する処理を併せて行う。   The edge point extraction unit 2c smoothes the image data output from the image data acquisition unit 2b using various filters 3b, and extracts edge points in the density gradient direction range along the longitudinal direction of the bill from the smoothed image data Is a processing unit that performs processing to The edge point extraction unit 2c also performs a process of outputting an edge point image indicating the extracted edge point to the remaining edge point extraction unit 2d.

本実施形態では、エッジ点抽出部2cは、紙幣の左端から右端に向かう方向に対して±12.5度の幅を持って紙幣の長手方向に沿った濃度勾配方向範囲(以下、A方向範囲ともいう)のエッジ点と、紙幣の右端から左端に向かう方向に対して±12.5度の幅を持って紙幣の長手方向に沿った濃度勾配方向範囲(以下、B方向範囲ともいう)のエッジ点とを抽出する。ここで±12.5度の幅を持っているのは、テープが斜めに貼られていることを考慮しているためである。しかしながら、+12.5度は一例であって0度以上+45度以下の任意の値であれば良い。同様に、−12.5度も一例であって−45度以上0度以下の任意の値であれば良い。また、各濃度勾配方向範囲は紙幣の長手方向に対して線対称で無くても良く、両濃度勾配方向範囲は紙幣の短手方向に対して線対称で無くても良い。また、右側テープ側方端および左側テープ側方端のいずれか一方が確実に検知できなくなるが、前者のエッジ点および後者のエッジ点のいずれか一方のみを抽出する形態であっても構わない。   In the present embodiment, the edge point extraction unit 2c has a width of ± 12.5 degrees with respect to the direction from the left end to the right end of the banknote, and the concentration gradient direction range along the longitudinal direction of the banknote (hereinafter referred to as A range) Of the density gradient direction range (hereinafter also referred to as the B direction range) along the longitudinal direction of the bill with an edge point of) and a width of ± 12.5 degrees with respect to the direction from the right end to the left end of the bill Extract edge points. The reason for having a width of ± 12.5 degrees here is to take into consideration that the tape is stuck obliquely. However, +12.5 degrees is an example, and any value between 0 degrees and 45 degrees may be used. Similarly, -12.5 degrees is also an example, and any value between -45 degrees and 0 degrees may be used. Further, each concentration gradient direction range may not be line symmetrical with respect to the longitudinal direction of the bill, and both concentration gradient direction ranges may not be line symmetrical with respect to the short direction of the bill. Further, although either one of the right side tape side end and the left side tape side end can not be detected with certainty, only one of the former edge point and the latter edge point may be extracted.

画像データのフィルタ処理では、フィルタの中心と注目画素とが重なるようにし、各重なり位置においてフィルタの係数と画素の画素値とを乗算し、それぞれの乗算値の和を注目画素の画素値とする。   In the filter process of image data, the center of the filter and the pixel of interest are made to overlap, and the coefficient of the filter and the pixel value of the pixel are multiplied at each overlapping position, and the sum of the respective multiplication values is made the pixel value of the pixel of interest. .

平滑化においては、例えば図3に示す3×3画素の係数が全て1である平滑化フィルタを用いることができる。平滑化によって、画像に重畳しているランダムなノイズを除去することができる。なお、平滑化を行わない場合でも、エッジ点および濃度勾配方向の検出を行うことは可能である。   In smoothing, for example, a smoothing filter in which coefficients of 3 × 3 pixels shown in FIG. 3 are all 1 can be used. The smoothing can remove random noise superimposed on the image. Even when the smoothing is not performed, it is possible to detect the edge point and the density gradient direction.

また、エッジ点の検出においては、例えば図4に示す3×3画素の8方向ラプラシアンフィルタを用いることができる。ラプラシアンフィルタを用いたフィルタ処理によって検出されるゼロクロス点が原画像のエッジ部分となる。   In addition, in detection of edge points, for example, an 8 direction Laplacian filter of 3 × 3 pixels shown in FIG. 4 can be used. The zero crossing point detected by the filter processing using the Laplacian filter is the edge portion of the original image.

また、濃度勾配方向の検出においては、例えば図5に示す3×3画素の横方向Prewittフィルタおよび図6に示す3×3画素の縦方向Prewittフィルタを用いることができる。横方向Prewittフィルタを用いたフィルタ処理によって得られる注目画素の画素値と縦方向Prewittフィルタを用いたフィルタ処理によって得られる注目画素の画素値との間の、正負組合せおよび絶対値の比によって濃度勾配方向を検出することができる。   In addition, in detection of the density gradient direction, for example, a 3 × 3 pixel horizontal direction Prewitt filter shown in FIG. 5 and a 3 × 3 pixel vertical direction Prewitt filter shown in FIG. 6 can be used. Density gradient according to the ratio of the positive / negative combination and the absolute value between the pixel value of the target pixel obtained by the filtering process using the horizontal Prewitt filter and the pixel value of the target pixel obtained by the filtering process using the vertical Prewitt filter The direction can be detected.

なお、上記の説明では、8方ラプラシアンフィルタ、横方向Prewittフィルタおよび縦方向Prewittフィルタを用いてエッジ点と濃度勾配方向を検出する例を示したが、Sobelフィルタなど他のフィルタを用いることとしてもよいし、各種フィルタを適宜組み合わせることとしても良い。また、各種フィルタのサイズや係数についても特に限定されない。   In the above description, an example is shown in which an edge point and a density gradient direction are detected using an 8-way Laplacian filter, a horizontal direction Prewitt filter, and a vertical direction Prewitt filter, but other filters such as a Sobel filter may be used. It is also possible to combine various filters as appropriate. Also, the sizes and coefficients of the various filters are not particularly limited.

図2の説明に戻り、残存エッジ点抽出部2dについて説明する。   Referring back to FIG. 2, the remaining edge point extraction unit 2d will be described.

残存エッジ点抽出部2dは、エッジ点抽出部2cによって抽出されたエッジ点から、金種識別部2bによって識別された金種の参照エッジ点に対応するエッジ点および正当な紙幣の撮像画像に含まれていない画素値の大きい領域に起因して発生したと推定したエッジ点を取り除く。   The remaining edge point extraction unit 2d is included in an edge point corresponding to the reference edge point of the denomination identified by the denomination identification unit 2b from the edge point extracted by the edge point extraction unit 2c and in the captured image of the valid bill. The edge point estimated to have arisen due to the large area of the pixel value which is not detected is removed.

また、残存エッジ点抽出部2dは、判別対称となる紙幣の画像データに、正当な紙幣の撮像画像に含まれていない判別対象となる紙幣の短手方向に沿った画素値の大きい細線状領域が存在していると推定した場合に、その細線状領域の周囲に位置するエッジ点もエッジ点抽出部2cによって抽出されたエッジ点から取り除く。なお、上記の3種類のエッジ点を取り除く順番は特に限定されない。また、1種類ずつ順に取り除いても良く、複数種類のエッジ点を同時に取り除いても良い。   In addition, the remaining edge point extraction unit 2d is a thin line-shaped area having a large pixel value along the short direction of the bill to be discriminated which is not included in the captured image of the valid bill in the image data of the bill to be discriminatively symmetrical When it is estimated that there exists, the edge point located around the thin line region is also removed from the edge points extracted by the edge point extraction unit 2c. The order of removing the above three types of edge points is not particularly limited. Also, one type may be sequentially removed, or a plurality of types of edge points may be simultaneously removed.

本実施形態では、残存エッジ点抽出部2dは、エッジ点抽出部2cによって抽出されたA方向範囲のエッジ点を示すエッジ点画像、後述するA方向範囲の参照エッジ点を示す画像、および後述する各推定処理の結果を用いて、A方向範囲の残存エッジ点を示すエッジ点画像を生成する。同様に、残存エッジ点抽出部2dは、エッジ点抽出部2cによって抽出されたB方向範囲のエッジ点を示すエッジ点画像、後述するB方向範囲の参照エッジ点を示す画像、および後述する各推定処理の結果を用いて、B方向範囲の残存エッジ点を示すエッジ点画像を生成する。また、残存エッジ点抽出部2dは、A方向範囲の残存エッジ点を示すエッジ点画像およびB方向範囲の残存エッジ点を示すエッジ点画像を解析部2eに出力する処理を併せて行う。   In the present embodiment, the remaining edge point extraction unit 2d generates an edge point image indicating an edge point of the A direction range extracted by the edge point extraction unit 2c, an image indicating a reference edge point of the A direction range described later, and The result of each estimation process is used to generate an edge point image indicating the remaining edge points in the A direction range. Similarly, the remaining edge point extraction unit 2d generates an edge point image indicating an edge point of the B direction range extracted by the edge point extraction unit 2c, an image indicating a reference edge point of the B direction range described later, and estimations described later. The result of the processing is used to generate an edge point image indicating the remaining edge points in the B direction range. Also, the remaining edge point extraction unit 2d performs a process of outputting an edge point image indicating a remaining edge point in the A direction range and an edge point image indicating a remaining edge point in the B direction range to the analysis unit 2e.

ここで、参照エッジ点の作成手順の一例について説明する。参照エッジ点とは正当な紙幣の画像データに現れるエッジ点であり、テープのエッジ点を抽出するため、除去すべきエッジ点のマスクパターンとして使用する。   Here, an example of the creation procedure of the reference edge point will be described. The reference edge point is an edge point appearing in the image data of a valid bill, and is used as a mask pattern of edge points to be removed in order to extract an edge point of the tape.

まず、複数枚(例えば200枚)の正当な紙幣の画像データについて、A方向範囲のエッジ点を検出し、判定閾値(例えば5枚)以上の枚数で同一位置のエッジ点があれば、A方向範囲の有効エッジ点とする。そして、判別対象となる紙幣と正当な紙幣の位置ずれの吸収を主たる目的として、有効エッジ点を周辺画素に拡張する膨張処理を行う。周辺画素としては、例えば隣接する近傍8画素としても良く、紙幣の左端から右端に向かう方向に隣接する近傍1画素としても良い。このようにして得られたA方向範囲の有効エッジ点をA方向範囲の参照エッジ点とする。記憶部3はA方向範囲の参照エッジ点を示す画像の形式でA方向範囲の参照エッジ点を記憶する。   First, for the image data of a plurality of (for example, 200) valid banknotes, edge points in the A direction range are detected, and if there are edge points at the same position with the number of judgment threshold (for example 5) or more, the A direction Set as the effective edge point of the range. Then, expansion processing is performed to expand the effective edge point to the peripheral pixels, with the main purpose of absorbing the positional deviation between the bill to be discriminated and the valid bill. The peripheral pixels may be, for example, eight neighboring pixels adjacent to each other, or one neighboring pixel adjacent in a direction from the left end to the right end of the bill. The effective edge point of the A-direction range obtained in this manner is taken as the reference edge point of the A-direction range. The storage unit 3 stores reference edge points in the A direction range in the form of an image indicating reference edge points in the A direction range.

同様に、複数枚(例えば200枚)の正当な紙幣の画像データについて、B方向範囲のエッジ点を検出し、判定閾値(例えば5枚)以上の枚数で同一位置のエッジ点があれば、B方向範囲の有効エッジ点とする。そして、判別対象となる紙幣と正当な紙幣の位置ずれの吸収を主たる目的として、有効エッジ点を周辺画素に拡張する膨張処理を行う。周辺画素としては、例えば隣接する近傍8画素としても良く、紙幣の左端から右端に向かう方向に隣接する近傍1画素としても良い。このようにして得られたB方向範囲の有効エッジ点をB方向範囲の参照エッジ点とする。記憶部3はB方向範囲の参照エッジ点を示す画像の形式でB方向範囲の参照エッジ点を記憶する。   Similarly, for the image data of a plurality of (for example, 200) valid banknotes, edge points in the B direction range are detected, and if there are edge points at the same position with the number of determination threshold (for example, 5) or more, B It is the effective edge point of the direction range. Then, expansion processing is performed to expand the effective edge point to the peripheral pixels, with the main purpose of absorbing the positional deviation between the bill to be discriminated and the valid bill. The peripheral pixels may be, for example, eight neighboring pixels adjacent to each other, or one neighboring pixel adjacent in a direction from the left end to the right end of the bill. The effective edge point of the B-direction range obtained in this manner is taken as the reference edge point of the B-direction range. The storage unit 3 stores reference edge points in the B-direction range in the form of an image showing reference edge points in the B-direction range.

上記で説明したA方向範囲の参照エッジ点およびB方向範囲の参照エッジ点は金種によって異なるので、金種ごとに記憶されている。また、上記で説明した参照エッジ点の作成は紙幣判別装置10の製品出荷前に行われ、参照エッジ点3cがあらかじめ記憶部3に記憶された状態で紙幣判別装置10が製品出荷される。参照エッジ点の作成は紙幣判別装置10以外の装置を用いて実施しても良く、紙幣判別装置10自体を用いて実施しても良い。また、記憶部3の記憶内容の書き換えを可能にするためのインターフェースを紙幣判別装置10に設け、参照エッジ点3cの追加や修正などが容易に行えるようにしても良い。   Since the reference edge point in the A direction range and the reference edge point in the B direction range described above differ depending on the denomination, they are stored for each denomination. In addition, the creation of the reference edge point described above is performed before the product shipment of the banknote discrimination device 10, and the banknote discrimination device 10 is shipped with the reference edge point 3c stored in advance in the storage unit 3. Creation of a reference edge point may be implemented using apparatuses other than the banknote discrimination device 10, and may be implemented using the banknote discrimination device 10 itself. Further, an interface for enabling rewriting of the storage content of the storage unit 3 may be provided in the bill discriminating device 10 so that addition or correction of the reference edge point 3c can be easily performed.

ここで、注目エッジ点が正当な紙幣の撮像画像に含まれていない例えばしわ、折れのような画素値の大きい領域に起因して発生したエッジ点であるか否かを推定する第1の推定処理について図7のフローチャートを用いて説明する。かかる第1の推定処理は残存エッジ点抽出部2dが実行する。かかる第1の推定処理によって処理される注目エッジ点はエッジ点抽出部2cによって抽出されたエッジ点が最大となる。例えば、かかる第1の推定処理の実行前に、エッジ点抽出部2cによって抽出されたエッジ点から金種識別部2bによって識別された金種の参照エッジ点に対応するエッジ点が取り除かれている場合には、残っているエッジ点がかかる第1の推定処理によって処理される注目エッジ点となる。   Here, a first estimation is performed to estimate whether the target edge point is an edge point generated due to a region having a large pixel value such as, for example, a wrinkle or a fold not included in a captured image of a valid bill. The process will be described with reference to the flowchart of FIG. The remaining edge point extraction unit 2d executes the first estimation process. The target edge point processed by the first estimation process has the largest edge point extracted by the edge point extraction unit 2c. For example, before execution of the first estimation process, the edge point corresponding to the reference edge point of the gold type identified by the denomination identification unit 2b is removed from the edge point extracted by the edge point extraction unit 2c. In this case, the remaining edge points become the notable edge points to be processed by the first estimation process.

残存エッジ点抽出部2dは、判別対象となる紙幣の撮像画像の最頻出画素値を求める(ステップS1)。図8は、判別対象となる紙幣の撮像画像に関する画素値ヒストグラムの一例を示す図である。図8に示す例では、判別対象となる紙幣の撮像画像の濃淡が256諧調であり、画素値0の画素が最も暗い画素であり、画素値256の画素が最も明るい画素であり、画素値188が最頻出画素値となっている。本実施形態では、上記の“最頻出画素値”を、判別対象となる紙幣の撮像画像の背景を代表する画素値として、ステップS2以降において利用する。ステップS2以降の処理は個々の注目エッジ点に対して実行される。   The remaining edge point extraction unit 2d obtains the most frequently appearing pixel value of the captured image of the bill to be discriminated (step S1). FIG. 8 is a diagram showing an example of a pixel value histogram related to a captured image of a bill to be discriminated. In the example shown in FIG. 8, the density of the captured image of the bill to be discriminated is 256 tones, the pixel of pixel value 0 is the darkest pixel, and the pixel of pixel value 256 is the brightest pixel, and the pixel value 188 Is the most frequent pixel value. In the present embodiment, the “most frequently appearing pixel value” is used in step S2 and subsequent steps as a pixel value representing the background of the captured image of the bill to be determined. The processes after step S2 are performed on each notable edge point.

次に、残存エッジ点抽出部2dは、注目エッジ点の左側(紙幣の左端側)に隣接して紙幣の右端から左端に向かう方向で連続して並ぶ3つの画素の画素値それぞれが上記の“最頻出画素値”から5を引いた値より小さい、又は、注目エッジ点の右側(紙幣の右端側)に隣接して紙幣の左端から右端に向かう方向で連続して並ぶ3つの画素の画素値それぞれが上記の“最頻出画素値”から5を引いた値より小さいという第1の条件を満たすか否かを判定する(ステップS2)。   Next, the remaining edge point extraction unit 2d sets each of the pixel values of the three pixels adjacent to the left side of the target edge point (the left end side of the bill) and continuously arranged in the direction from the right end to the left end of the bill. Pixel value of three pixels smaller than the value of “most frequently appearing pixel value” minus 5 or the pixel value of three pixels continuously arranged in the direction from the left end to the right end of the bill adjacent to the right side (right end side of the bill) It is determined whether the first condition that each is smaller than the above-mentioned "most frequently appearing pixel value" minus 5 is satisfied (step S2).

テープが貼付された領域ではテープの影響によって画素値が小さくなる。このため、上記第1の条件を満たす場合には、注目エッジ点がテープ側方端に起因して発生したと推定することができる。したがって、上記第1の条件を満たすと判定した場合(ステップS2のYES)、残存エッジ点抽出部2dは、注目エッジ点が正当な紙幣の撮像画像に含まれていない画素値の大きい領域に起因して発生したエッジ点でないと推定する(ステップS3)。   In the area where the tape is attached, the pixel value becomes smaller due to the influence of the tape. Therefore, when the first condition is satisfied, it can be estimated that the target edge point is generated due to the tape side end. Therefore, when it is determined that the first condition is satisfied (YES in step S2), the remaining edge point extraction unit 2d is caused due to an area having a large pixel value in which the target edge point is not included in the captured image of the valid bill. It is estimated that the edge point is not generated (step S3).

一方、上記第1の条件を満たさない場合には、注目エッジ点がテープ側方端に起因して発生していない可能性がある。そこで、上記第1の条件を満たすと判定しなかった場合(ステップS2のNO)、残存エッジ点抽出部2dは、注目エッジ点の左側(紙幣の左端側)に隣接して紙幣の右端から左端に向かう方向で連続して並ぶ3つの画素の画素値それぞれと、注目エッジ点の右側(紙幣の右端側)に隣接して紙幣の左端から右端に向かう方向で連続して並ぶ3つの画素の画素値それぞれの片方が上記の“最頻出画素値”より小さく、もう片方が上記の“最頻出画素値”に5を加えた値より小さいという第2の条件を満たすか否かを判定する(ステップS4)。   On the other hand, when the first condition is not satisfied, there is a possibility that the target edge point is not generated due to the tape side end. Therefore, when it is not determined that the first condition is satisfied (NO in step S2), the remaining edge point extraction unit 2d is adjacent to the left side (the left end side of the bill) of the attention edge point The pixel values of three pixels arranged in a row in the direction toward and the pixels of three pixels arranged in a direction from the left end of the bill to the right end adjacent to the right side (right end side of the bill) It is determined whether the second condition that one side of each value is smaller than the above-mentioned “most frequent pixel value” and the other is smaller than the above “most frequent pixel value” plus 5 (step S4).

テープが貼付された領域ではテープの影響によって画素値が小さくなる。このため、上記第2条件を満たす場合には、注目エッジ点の周辺が比較的明るい背景であり、且つ、注目エッジ点がテープ側方端に起因して発生したと推定することができる。したがって、上記第2の条件を満たすと判定した場合(ステップS4のYES)、残存エッジ点抽出部2dは、注目エッジ点が正当な紙幣の撮像画像に含まれていない画素値の大きい領域に起因して発生したエッジ点でないと推定する(ステップS3)。   In the area where the tape is attached, the pixel value becomes smaller due to the influence of the tape. Therefore, when the second condition is satisfied, it can be estimated that the periphery of the target edge point is a relatively bright background, and the target edge point is generated due to the tape side edge. Therefore, when it is determined that the second condition is satisfied (YES in step S4), the remaining edge point extraction unit 2d is caused due to an area having a large pixel value in which the focused edge point is not included in the captured image of the valid bill. It is estimated that the edge point is not generated (step S3).

一方、上記第1の条件も上記第2の条件も満たさない場合には、注目エッジ点がテープ側方端に起因して発生したと考え難い。したがって、上記第2の条件を満たすと判定しなかった場合(ステップS4のNO)、残存エッジ点抽出部2dは、注目エッジ点が正当な紙幣の撮像画像に含まれていない画素値の大きい領域に起因して発生したエッジ点であると推定する(ステップS5)。   On the other hand, when neither the first condition nor the second condition is satisfied, it is hard to think that the focused edge point is generated due to the tape side edge. Therefore, when it is not determined that the second condition is satisfied (NO in step S4), the remaining edge point extraction unit 2d determines that the region with a large pixel value in which the focused edge point is not included in the captured image of the valid bill. It is estimated that this is an edge point generated due to (step S5).

なお、上記のステップS2およびステップS4で用いた各判定条件はあくまで一例であり、判定条件において用いた閾値などは特に限定されない。   Each determination condition used in the above-mentioned step S2 and step S4 is an example to the last, and the threshold etc. which were used in the determination condition are not limited in particular.

ここで、正当な紙幣の撮像画像に含まれていない判別対象となる紙幣の短手方向に沿った画素値の大きい細線状領域が判別対象となる紙幣の撮像画像に存在しているか否かを推定する第2の推定処理について図9のフローチャートを用いて説明する。かかる第2の推定処理は残存エッジ点抽出部2dが実行する。   Here, whether or not a thin line-like region having a large pixel value along the short direction of the bill to be discriminated which is not included in the captured image of the valid bill exists in the imaged image of the bill to be discriminated The second estimation process to be estimated will be described with reference to the flowchart of FIG. The second estimation process is performed by the remaining edge point extraction unit 2d.

残存エッジ点抽出部2dは、判別対象となる紙幣の撮像画像の最頻出画素値を求める(ステップS11)。ステップS11の処理は、上述した図7のフローチャートにおけるステップS1の処理と同一である。   The remaining edge point extraction unit 2d obtains the most frequently appearing pixel value of the captured image of the bill to be discriminated (step S11). The process of step S11 is the same as the process of step S1 in the flowchart of FIG. 7 described above.

次に、残存エッジ点抽出部2dは、判別対象となる紙幣の撮像画像を対象として縦方向(紙幣の短手方向)の画素値の平均値を横方向(紙幣の長手方向)の各画素位置で算出する(ステップS12)。ステップS12の処理で得られた算出結果の一例をグラフで表すと、図10のようになる。   Next, the remaining edge point extraction unit 2d sets the average value of the pixel values in the vertical direction (shorter direction of the banknote) to each pixel position in the horizontal direction (longitudinal direction of the banknote) for the captured image of the banknote to be discriminated. It calculates with (step S12). If an example of the calculation result obtained by the process of step S12 is represented by a graph, it will become like FIG.

次に、残存エッジ点抽出部2dは、横方向の幅3画素分を判定対象として、条件(I)、条件(II)、条件(III)を全て満たすか否かを判定する(ステップS13)。条件(I)は、判定対象である横方向の幅3画素分において、3つある縦方向の画素値の平均値の少なくとも一つが最頻出画素値より大きいという条件である。条件(II)は、判定対象である横方向の幅3画素分の左端である縦方向の画素値の平均値がその左隣の縦方向の画素値の平均値より5以上大きいという条件である。条件(III)は、判定対象である横方向の幅3画素分の右端である縦方向の画素値の平均値がその右隣の縦方向の画素値の平均値より5以上大きいという条件である。   Next, the remaining edge point extraction unit 2d determines whether all of the conditions (I), (II) and (III) are satisfied, with the width of 3 pixels in the horizontal direction as the determination target (step S13). . The condition (I) is a condition that at least one of the average values of the three vertical pixel values is larger than the most frequently appearing pixel value in the three horizontal pixels to be determined. The condition (II) is a condition that the average value of the pixel values in the vertical direction which is the left end for three pixels in the horizontal direction to be determined is five or more larger than the average value of the pixel values in the vertical direction next to it. . The condition (III) is a condition that the average value of the vertical pixel values at the right end of the horizontal three pixels for determination is 5 or more larger than the average value of the vertical pixel values on the right thereof. .

条件(I)、条件(II)、条件(III)を全て満足している場合(ステップS13のYES)、残存エッジ点抽出部2dは、ステップS13の判定対象である横方向の幅3画素分が明るい縦細線であると推定する(ステップS14)。なお、明るい縦細線とは、正当な紙幣の撮像画像に含まれていない判別対象となる紙幣の短手方向に沿った画素値の大きい細線状領域を意味している。この明るい縦細線は強い折り目により発生する。   If all of the conditions (I), (II), and (III) are satisfied (YES in step S13), the remaining edge point extraction unit 2d determines the width 3 pixels in the horizontal direction to be determined in step S13. Is estimated to be a bright vertical thin line (step S14). In addition, a bright vertical thin line means a thin linear region having a large pixel value along the short direction of the bill to be discriminated which is not included in the captured image of the valid bill. This bright vertical thin line is generated by a strong crease.

一方、条件(I)、条件(II)、条件(III)の少なくとも一つを満足していない場合(ステップS13のNO)、残存エッジ点抽出部2dは、ステップS13の判定対象である横方向の幅3画素分が明るい縦細線でないと推定する(ステップS15)。   On the other hand, when at least one of the condition (I), the condition (II) and the condition (III) is not satisfied (NO in step S13), the remaining edge point extraction unit 2d detects the horizontal direction which is the determination target in step S13. It is estimated that the three pixels in width are not bright vertical thin lines (step S15).

その後、ステップS13の判定対象である横方向の幅3画素分を1画素ずつ横方向にスライドさせながら、上述したステップS13以降の処理を繰り返す。   After that, while sliding three pixels in the horizontal direction, which is the determination target in step S13, in the horizontal direction one pixel at a time, the processing after step S13 described above is repeated.

そして、本実施形態では、明るい縦細線とその両隣1画素分、すなわち明るい縦細線を中央とする横方向の幅5画素分に含まれるエッジ点を、エッジ点抽出部2cによって抽出されたエッジ点から取り除いている。これにより、正当な紙幣の撮像画像に含まれていない判別対象となる紙幣の短手方向に沿った画素値の大きい細線状領域によって現れたエッジ点をテープ側方端によるエッジ点であると誤検知することを防止することができる。   Then, in the present embodiment, an edge point extracted by the edge point extraction unit 2c is an edge point included in a bright vertical thin line and one pixel adjacent to the bright vertical thin line, that is, five horizontal pixels centered at the bright vertical thin line. It is removed from Thus, an edge point appearing by a thin line-like region having a large pixel value along the short direction of the bill to be discriminated which is not included in the captured image of the valid bill is erroneously regarded as an edge point by the tape side end It is possible to prevent detection.

なお、上記のステップS13で用いた各判定条件はあくまで一例であり、判定条件において用いた閾値などは特に限定されない。   Note that each determination condition used in step S13 described above is merely an example, and the threshold value and the like used in the determination condition are not particularly limited.

また、上述した第2の推定処理は、テープ貼付の検知とは無関係に単独で実施することも可能である。上述した第2の推定処理を単独で実施した場合には、強い折れ線(強い折れ癖)を検知する機能となる。   Also, the second estimation process described above can be performed independently regardless of the detection of the tape application. When the second estimation process described above is performed alone, it has a function of detecting a strong broken line (strong break).

図2の説明に戻り、解析部2eについて説明する。   Returning to the description of FIG. 2, the analysis unit 2e will be described.

解析部2eは、残存エッジ点抽出部2dから送られてくるA方向範囲の残存エッジ点を示すエッジ点画像およびB方向範囲の残存エッジ点を示すエッジ点画像を合成し、その合成画像に対して密度検出用フィルタを適用して所定サイズ領域における残存エッジ点の密度を画素値として検出する。解析部2eは、画素値として検出される所定サイズ領域における残存エッジ点の密度が解析基準情報3dとして記憶部3に記憶されている閾値を超えている場合に、テープ側方端を検知する。本実施形態では、右側テープ側方端と左側テープ側方端の両方を検知している。このため、右側テープ側方端と左側テープ側方端のいずれか一方が紙幣のスレッド部と重なる位置にあっても他方のテープ側方端を検知することができ、テープ貼付を検知することができる。   The analysis unit 2e combines the edge point image indicating the remaining edge points in the A direction range sent from the remaining edge point extraction unit 2d and the edge point image indicating the remaining edge points in the B direction range with respect to the composite image. The density detection filter is applied to detect the density of the remaining edge point in a predetermined size area as a pixel value. When the density of the remaining edge point in the predetermined size area detected as the pixel value exceeds the threshold stored in the storage unit 3 as the analysis reference information 3 d, the analysis unit 2 e detects the tape side edge. In the present embodiment, both the right side tape side end and the left side tape side end are detected. For this reason, even if one of the right side tape side end and the left side tape side end overlaps with the thread portion of the bill, the other side end of the tape can be detected, and the tape sticking can be detected. it can.

例えば所定サイズ領域を縦長形状にする場合には例えば図11に示す密度検出用フィルタを用いることができ、所定サイズ領域を斜めに傾いた形状にする場合には例えば図12に示す密度検出用フィルタを用いることができる。所定サイズ領域を縦長形状にすることで縦(紙葉類の短手方向)に貼付されたテープを検知することができ、所定サイズ領域を斜めに傾いた形状にすることで斜めに傾いて貼付されたテープを検知することができる。   For example, the filter for density detection shown in FIG. 11 can be used, for example, when making a predetermined size region into a vertically long shape, and the filter for detecting density shown in FIG. Can be used. By making the predetermined size area longitudinally elongated, it is possible to detect the tape stuck longitudinally (in the direction of the short side of the sheet), and by making the predetermined size area obliquely inclined, the sheet is inclined and attached The detected tape can be detected.

なお、本実施形態とは異なり、A方向範囲の残存エッジ点を示すエッジ点画像とB方向範囲の残存エッジ点を示すエッジ点画像とを合成せずにそれぞれ独立してテープ側方端を検知するようにしても良い。この場合、右側テープ側方端の検知と左側テープ側方端の検知を分離して行うことができる。例えば、右側テープ側方端と左側テープ側方端のいずれか一方が紙幣のスレッド部と重なる位置にあっても他方のテープ側方端を検知することができ、さらに他方のテープ側方端が右側テープ側方端と左側テープ側方端のどちらであるかを把握することができるので、テープ貼付を検知することができ、更にテープ貼付位置を推定することができる。   Unlike the present embodiment, the tape side edge is detected independently without combining the edge point image indicating the remaining edge point in the A direction range and the edge point image indicating the remaining edge point in the B direction range. You may do it. In this case, the detection of the right side tape side end and the detection of the left side tape side end can be performed separately. For example, even if one of the right side tape side end and the left side tape side end overlaps with the thread portion of the bill, the other side tape end can be detected, and the other side tape side end Since it is possible to grasp which is the right side tape side end or the left side tape side end, it is possible to detect the tape application and to estimate the tape application position.

<第2実施形態>
上述した本発明の第1実施形態に係る紙幣判別装置10は、エッジ点を抽出して紙幣にテープが貼られているか否かを判別している。しかしながら、貼付されたテープの側方端によって発生するエッジが鮮明でない場合も想定される。このため、エッジ点を抽出しなくても紙幣にテープが貼られていることを検知できることが望ましい。
Second Embodiment
The bill discriminating apparatus 10 according to the first embodiment of the present invention described above extracts edge points and discriminates whether or not a tape is stuck on a bill. However, it is also conceivable that the edges generated by the lateral ends of the applied tape are not sharp. For this reason, it is desirable to be able to detect that the tape is attached to the bill without extracting the edge point.

したがって、本発明の第2実施形態に係る紙幣判別装置20は、エッジ点を抽出しなくても紙幣にテープが貼られていることを検知できる機能を本発明の第1実施形態に係る紙幣判別装置10に追加した構成としている。   Therefore, the bill discriminating device 20 according to the second embodiment of the present invention has a function capable of detecting that the tape is attached to the bill without extracting the edge point. The bill discriminating according to the first embodiment of the present invention The configuration is added to the device 10.

図13は、紙幣判別装置20の構成を示すブロック図である。なお、図13において図2と同一の部分には同一の符号を付し詳細な説明を省略している。   FIG. 13 is a block diagram showing the configuration of the bill discriminating device 20. As shown in FIG. In FIG. 13, the same parts as those in FIG. 2 are indicated by the same reference numerals and the detailed description is omitted.

紙幣判別装置20の制御部2は、画像データ取得部2a、金種識別部2b、エッジ点抽出部2c、残存エッジ点抽出部2d、および解析部2eの他に境部検知部2fおよび判定部2gを備えている。また、記憶部3は、金種識別テンプレート3a、各種フィルタ3b、参照エッジ点3c、および解析基準情報3dの他に検知基準情報3eおよび判定基準情報3fを記憶している。   Control unit 2 of banknote discrimination device 20 includes boundary detection unit 2f and determination unit in addition to image data acquisition unit 2a, denomination identification unit 2b, edge point extraction unit 2c, remaining edge point extraction unit 2d, and analysis unit 2e. It has 2g. In addition to the denomination identification template 3a, the various filters 3b, the reference edge point 3c, and the analysis reference information 3d, the storage unit 3 stores detection reference information 3e and judgment reference information 3f.

境部検知部2fは、画像データ取得部2aによって生成された画像データを用いて、判別対象となる紙幣の長手方向の一端から他端に向かう方向で、第1領域から第1領域よりも暗い第2領域に変化する境である第1境部および第3領域から第3領域よりも明るい第4領域に変化する境である第2境部を検知する。   The boundary detection unit 2 f uses the image data generated by the image data acquisition unit 2 a and is darker than the first area from the first area in the direction from one end to the other end in the longitudinal direction of the bill to be discriminated A first boundary portion which is a boundary which changes to the second region and a second boundary portion which is a boundary which changes to the fourth region which is brighter than the third region are detected.

以下の説明では、判別対象となる紙幣の長手方向の一端を紙幣の左端とし、判別対象となる紙幣の長手方向の他端を紙幣の右端とするが、左端と右端を入れ替えても同様の効果を得ることができる。   In the following description, one end of the bill to be discriminated in the longitudinal direction is taken as the left end of the bill, and the other end in the longitudinal direction of the bill to be discriminated is taken as the right end of the bill. You can get

境部検知部2fが実行する境部検知処理について図14のフローチャートを用いて説明する。   The boundary detection process performed by the boundary detection unit 2 f will be described using the flowchart in FIG. 14.

まず境部検知部2fは、判別対象となる紙幣の撮像画像において横方向の高さ2画素分の着目点4を設定し、着目点4の左側に隣接する4×2画素の左側領域5を設定し、着目点の右側に隣接する4×2画素の右側領域6を設定する(ステップS21)。したがって、着目点4、左側領域5、および右側領域6の位置関係は図15に示すようになる。   First, the boundary detection unit 2f sets a point of interest 4 for two pixels in the horizontal direction in the captured image of the bill to be discriminated, and sets the left area 5 of 4 × 2 pixels adjacent to the left of the point of attention 4. It sets and the right area 6 of 4x2 pixels adjacent to the right side of an attention point is set (step S21). Accordingly, the positional relationship between the point of interest 4, the left side area 5 and the right side area 6 is as shown in FIG.

着目点4、左側領域5、および右側領域6それぞれの構成画素数は特に限定されないが、着目点4、左側領域5、および右側領域6それぞれに紙幣の図柄によって生じるエッジ点が入らないようにする必要がある。   Although the number of constituent pixels of each of the point of interest 4, the left side area 5 and the right side area 6 is not particularly limited, it is made to prevent the edge point generated by the symbol of the bill from entering each of the point of attention 4, left side area 5 and right side area 6 There is a need.

本実施形態では、上端の近傍に図柄が存在しない紙幣を判別対象とし、図柄が存在しない上端の近傍を着目点4が横方向にスライドするように着目点4を設定する。なお、金種識別テンプレート3aなどを利用して紙幣の横方向に応じて着目点4の縦方向位置を変更させて、着目点4、左側領域5、および右側領域6が紙幣の図柄にかからないようにしても良い。   In the present embodiment, the target point 4 is set such that the target point 4 slides in the lateral direction in the vicinity of the upper end where the symbol does not exist, with a bill whose symbol does not exist in the vicinity of the upper end. The vertical position of the point of interest 4 is changed according to the horizontal direction of the bill using the denomination identification template 3a etc., and the point of interest 4, the left area 5 and the right area 6 do not overlap the symbol of the bill. You may

次に境部検知部2fは、着目点4が「第1領域から第1領域よりも暗い第2領域に変化する境である第1境部」に該当するか否かを判定する(ステップS22)。ステップS22の判定では、左側領域5が明るい領域であり、右側領域6が暗い領域であれば、着目点4が第1境部に該当することになる。ステップS22の判定で用いる所定値や判定式などは検知基準情報3eとして記憶部3が記憶しておくと良い。   Next, the boundary detection unit 2f determines whether or not the focused point 4 corresponds to "a first boundary which is a boundary where the first region changes to a second region darker than the first region" (step S22). ). In the determination of step S22, if the left region 5 is a bright region and the right region 6 is a dark region, the focused point 4 corresponds to the first boundary portion. It is preferable that the storage unit 3 store the predetermined value, the determination formula, and the like used in the determination of step S22 as the detection reference information 3e.

例えば、左側領域5の平均画素値が右側領域6の平均画素値より所定値以上大きい場合に着目点4が第1境部に該当すると判定することができる。また、例えば、左側領域5の中央画素値が右側領域6の中央画素値より所定値以上大きい場合に着目点4が第1境部に該当すると判定することができる。また、テープが貼られている領域は濃度むらが小さく画素値の分散が小さくなることを考慮して、左側領域5の平均画素値が右側領域6の平均画素値より所定値以上大きい場合や左側領域5の中央画素値が右側領域6の中央画素値より所定値以上大きい場合であっても、右側領域6の画素値の分散が所定値以上である場合は着目点4が第1境部に該当しないと判定しても良い。   For example, when the average pixel value of the left area 5 is larger than the average pixel value of the right area 6 by a predetermined value or more, it can be determined that the focused point 4 corresponds to the first boundary. Further, for example, when the central pixel value of the left region 5 is larger than the central pixel value of the right region 6 by a predetermined value or more, it can be determined that the focused point 4 corresponds to the first boundary. Also, in consideration of the small unevenness in density and small dispersion of pixel values in the area where the tape is attached, the average pixel value of the left area 5 is larger than the average pixel value of the right area 6 by a predetermined value or more. Even if the center pixel value of the area 5 is larger than the center pixel value of the right side area 6 by a predetermined value or more, the target point 4 is the first boundary when the pixel values of the right side area 6 are dispersed more than the predetermined value. You may determine that it does not correspond.

着目点4が「第1領域から第1領域よりも暗い第2領域に変化する境である第1境部」に該当すると判定された場合(ステップS22のYES)、境部検知部2fは、着目点4を第1境部とする(ステップS23)。   When it is determined that the point of interest 4 corresponds to “a first boundary portion that is a boundary that changes from the first region to a second region that is darker than the first region” (YES in step S22), the boundary detection unit 2f Let the point of interest 4 be the first boundary portion (step S23).

一方、着目点4が「第1領域から第1領域よりも暗い第2領域に変化する境である第1境部」に該当しないと判定された場合(ステップS22のNO)、着目点4が「第3領域から第3領域よりも明るい第4領域に変化する境である第2境部」に該当するか否かを判定する(ステップS24)。ステップS24の判定では、左側領域5が暗い領域であり、右側領域6が明るい領域であれば、着目点4が第2境部に該当することになる。ステップS24の判定で用いる所定値や判定式などは検知基準情報3eとして記憶部3が記憶しておくと良い。   On the other hand, if it is determined that the point of interest 4 does not fall under the “first boundary portion that is the boundary at which the first area changes to a second area darker than the first area” (NO in step S22), the point of interest 4 is It is determined whether it corresponds to "a second boundary portion which is a boundary which changes from the third region to the fourth region which is brighter than the third region" (step S24). If it is determined in step S24 that the left area 5 is a dark area and the right area 6 is a bright area, the focused point 4 corresponds to the second boundary. It is preferable that the storage unit 3 store the predetermined value, the determination formula, and the like used in the determination of step S24 as the detection reference information 3e.

例えば、右側領域6の平均画素値が左側領域5の平均画素値より所定値以上大きい場合に着目点4が第2境部に該当すると判定することができる。また、例えば、右側領域6の中央画素値が左側領域5の中央画素値より所定値以上大きい場合に着目点4が第2境部に該当すると判定することができる。また、テープが貼られている領域は濃度むらが小さく画素値の分散が小さくなることを考慮して、右側領域6の平均画素値が左側領域5の平均画素値より所定値以上大きい場合や右側領域6の中央画素値が左側領域5の中央画素値より所定値以上大きい場合であっても、左側領域5の画素値の分散が所定値以上である場合は着目点4が第2境部に該当しないと判定しても良い。   For example, when the average pixel value of the right area 6 is larger than the average pixel value of the left area 5 by a predetermined value or more, it can be determined that the focused point 4 corresponds to the second boundary. For example, when the central pixel value of the right side area 6 is larger than the central pixel value of the left side area 5 by a predetermined value or more, it can be determined that the focused point 4 corresponds to the second boundary. Also, in consideration of the small unevenness in density and small dispersion of pixel values in the area where the tape is attached, the average pixel value of the right area 6 is larger than the average pixel value of the left area 5 by a predetermined value or more. Even if the center pixel value of the area 6 is larger than the center pixel value of the left area 5 by a predetermined value or more, the focused point 4 is the second boundary when the dispersion of the pixel values of the left area 5 is more than the predetermined value. You may determine that it does not correspond.

着目点4が「第3領域から第3領域よりも明るい第4領域に変化する境である第2境部」に該当すると判定された場合(ステップS24のYES)、境部検知部2fは、着目点4を第2境部とする(ステップS25)。   When it is determined that the point of interest 4 corresponds to “the second boundary portion that is a boundary that changes from the third region to the fourth region brighter than the third region” (YES in step S24), the boundary detection unit 2f Let the point of interest 4 be the second boundary (step S25).

一方、着目点4が「第3領域から第3領域よりも明るい第4領域に変化する境である第2境部」に該当しないと判定された場合(ステップS24のNO)、そのままフローを終了する。   On the other hand, if it is determined that the point of interest 4 does not fall under the “second boundary portion that is the boundary that changes from the third region to the fourth region brighter than the third region” (NO in step S24), the flow ends Do.

その後、着目点4を1画素分横方向にスライドさせながら、上述した境部検知処理を繰り返す。全ての着目点4に対して境部検知処理が終了すると、境部検知部2fはステップS23およびステップS25で定めた第1境部および第2境部の情報を判定部2gに出力する。   Thereafter, the above-described boundary detection process is repeated while sliding the point of interest 4 in the horizontal direction by one pixel. When the boundary detection process is completed for all the points of interest 4, the boundary detection unit 2f outputs the information of the first boundary and the second boundary determined in step S23 and step S25 to the determination unit 2g.

図13の説明に戻り、判定部2gについて説明する。   Returning to the description of FIG. 13, the determination unit 2 g will be described.

判定部2gは、境部検知部2fによって検知された第1境部および第2境部を用いて、 第1境部と第1境部よりも右側に位置する第2境部との間の領域に位置する画素の画素値に基づいて、第1境部と第1境部よりも右側に位置する第2境部の間の領域にテープが貼られているかを判定する。   The determination unit 2g uses the first boundary and the second boundary detected by the boundary detection unit 2f to determine the distance between the first boundary and the second boundary located to the right of the first boundary. Based on the pixel values of the pixels located in the area, it is determined whether the tape is attached to the area between the first boundary and the second boundary located on the right side of the first boundary.

判定部2gが実行する判定処理について図16のフローチャートを用いて説明する。   The determination process performed by the determination unit 2g will be described using the flowchart of FIG.

まず判定部2gは、第1境部と第2境部の全組合せの中から、左側テープ側方端と右側テープ側方端の組合せになり得る第1境部と第2境部の組合せを抽出する(ステップS31)。本実施形態では、 第1境部と第1境部よりも右側に位置する第2境部との組合せを抽出し、さらに第1境部と第1境部よりも右側に位置する第2境部との間の間隔が判定対象であるテープの最小幅以上であり最大幅以下である組合せに限定して抽出する。このように第1境部と第2境部の組合せを判定対象であるテープの幅を考慮して絞り込むので、判定時間の短縮や誤検知の防止を図ることができる。   First, the determination unit 2g determines, from among all combinations of the first boundary and the second boundary, a combination of the first boundary and the second boundary which can be a combination of the left side tape side end and the right side tape side end. It extracts (Step S31). In this embodiment, the combination of the first boundary and the second boundary located on the right side of the first boundary is extracted, and the first boundary and the second boundary located on the right of the first boundary are further extracted. Extraction is limited to combinations in which the distance between the parts is equal to or greater than the minimum width of the tape to be determined and is equal to or less than the maximum width. As described above, since the combination of the first boundary portion and the second boundary portion is narrowed in consideration of the width of the tape to be determined, it is possible to shorten the determination time and prevent erroneous detection.

次に判定部2gは、ステップS31で抽出した組合せから或る一つの組合せに着目し、着目した第1境部と第2境部の間がテープ貼付部に該当するか否かを判定する(ステップS32)。ステップS32の判定で用いる所定値や判定式などは判定基準情報3fとして記憶部3が記憶しておくと良い。   Next, the determination unit 2g focuses on a certain combination from the combinations extracted in step S31, and determines whether or not the portion between the focused first boundary portion and the second boundary portion corresponds to a tape sticking portion ( Step S32). The storage unit 3 may store the predetermined value, the determination formula, and the like used in the determination of step S32 as the determination reference information 3f.

例えば、着目した第1境部と第2境部の間の領域に位置する画素の平均画素値が所定値未満である場合に、着目した第1境部と第2境部の間がテープ貼付部に該当すると判定することができる。また例えば、着目した第1境部と第2境部の間の領域に位置する画素の中央画素値が所定値未満である場合に、着目した第1境部と第2境部の間がテープ貼付部に該当すると判定することができる。また例えば、着目した第1境部と第2境部の間の領域の画素値の分散が所定値未満である場合に、着目した第1境部と第2境部の間がテープ貼付部に該当すると判定することができる。   For example, when the average pixel value of the pixels located in the area between the focused first boundary and the second boundary is less than the predetermined value, the tape is attached between the focused first boundary and the second boundary. It can be determined that it corresponds to the department. Also, for example, when the central pixel value of the pixel located in the area between the focused first border and the second border is less than the predetermined value, the tape between the focused first border and the second border is a tape. It can be determined that it corresponds to the sticking section. Also, for example, when the dispersion of the pixel values of the region between the focused first boundary and the second boundary is less than the predetermined value, the portion between the focused first boundary and the second boundary is a tape attaching unit. It can be determined that it corresponds.

ここで、判別対象となる紙幣の背景画素値が一様で無い場合が考えられる。そして、背景濃度が一様でない場所にテープが貼付された場合の画素値分布は図17のようになるので、第1境部および第2境部の検知条件を厳しくすると、第1境部または第2境部が検知できなくなるおそれがある。一方、第1境部および第2境部の検知条件を緩くすると、図18に示すような背景濃度が一様でない場所にインク滲みがある場合の画素値分布であっても第1境部および第2境部が検知されてしまうことになる。   Here, it is conceivable that the background pixel value of the bill to be discriminated is not uniform. Then, the pixel value distribution when the tape is attached to a place where the background density is not uniform is as shown in FIG. 17. Therefore, if the detection condition of the first boundary and the second boundary is tightened, the first boundary or There is a risk that the second boundary can not be detected. On the other hand, when the detection conditions of the first boundary and the second boundary are relaxed, the first boundary and the pixel value distribution as shown in FIG. The second boundary will be detected.

そこで、本実施形態では、ステップS32の判定において、着目した第1境部に対応する図15に示した左側領域5の平均画素値と着目した第2境部に対応する図15に示した右側領域6の平均画素値の和を求め、その和から「着目した第1境部と第2境部の間の領域に位置する画素の平均画素値」を引いた値を求める。そして、その求めた値が所定値未満である場合は、着目した第1境部と第2境部の間の領域に位置する画素の平均画素値が所定値未満である場合や着目した第1境部と第2境部の間の領域に位置する画素の中央画素値が所定値未満である場合であっても、着目した第1境部と第2境部の間がテープ貼付部に該当しないと判定しても良い。   Therefore, in this embodiment, in the determination of step S32, the average pixel value of the left region 5 shown in FIG. 15 corresponding to the focused first boundary and the right side shown in FIG. 15 corresponding to the focused second boundary. The sum of the average pixel values of the area 6 is obtained, and a value obtained by subtracting “the average pixel value of the pixels located in the area between the focused first boundary portion and the second boundary portion” is obtained from the sum. When the calculated value is less than the predetermined value, the average pixel value of the pixels located in the area between the focused first boundary portion and the second boundary portion is less than the predetermined value, or the focused first pixel is selected. Even if the central pixel value of the pixel located in the area between the border and the second border is less than the predetermined value, the portion between the focused first border and the second border corresponds to the tape sticking part It may be determined not to.

着目した第1境部と第2境部の間がテープ貼付部に該当すると判定された場合(ステップS32のYES)、判定部2gは、着目した第1境部と第2境部の間をテープ貼付部とする(ステップS33)。   When it is determined that the portion between the focused first boundary portion and the second boundary portion corresponds to the tape attaching portion (YES in step S32), the determination unit 2g determines the position between the focused first boundary portion and the second boundary portion. It is set as a tape sticking part (step S33).

一方、着目した第1境部と第2境部の間がテープ貼付部に該当しないと判定された場合(ステップS32のNO)、そのままフローを終了する。   On the other hand, when it is determined that the portion between the focused first boundary portion and the second boundary portion does not correspond to the tape sticking portion (NO in step S32), the flow is ended as it is.

その後、着目する第1境部と第2境部を変更して上述したステップS32の判定を繰り返し、ステップS31で抽出した組合せ全てに対してステップS32の判定を行う。   Thereafter, the first boundary portion and the second boundary portion to which attention is paid are changed, and the determination in step S32 described above is repeated, and the determination in step S32 is performed on all the combinations extracted in step S31.

上述した境部検知処理および判定処理により、エッジ点を抽出せずにテープが貼られているかを判定することができるので、貼付されたテープの側方端によって発生するエッジが鮮明でない場合でも紙葉類にテープが貼られていることを検知することができる。   Since it is possible to determine whether the tape is stuck without extracting the edge point by the above-mentioned border detection processing and judgment processing, even if the edge generated by the side end of the stuck tape is not clear, the paper It can be detected that the tape is attached to the leaves.

また、テープ貼付部は画素値の分散が小さく、インク滲み等の汚れは画素値の分散が大きいため、上述したステップS22、S24、S32のいずれかにおいて画素値の分散を考慮して判定を行うことで、インク滲み等の汚れをテープの貼付であると誤検出することを防止できる。   Also, since the tape sticking portion has a small dispersion of pixel values and stains such as ink bleeding have a large dispersion of pixel values, the determination is performed in consideration of the dispersion of pixel values in any of steps S22, S24 and S32 described above. As a result, it is possible to prevent erroneous detection of contamination such as ink bleeding as sticking of a tape.

紙幣判別装置20は、エッジ点を抽出して紙幣にテープが貼られていることを検知できる機能と、エッジ点を抽出しなくても紙幣にテープが貼られていることを検知できる機能とを搭載した装置であったが、本実施形態において詳細に説明したエッジ点を抽出しなくても紙幣にテープが貼られていることを検知できる機能は、エッジ点を抽出して紙幣にテープが貼られていることを検知できる機能とは無関係に単独で実施することも可能である。   The bill discriminating device 20 has a function of extracting an edge point and detecting that a tape is stuck on a bill, and a function of detecting that a tape is stuck on a bill without extracting an edge point. Although it was an installed device, the function that can detect that the tape is stuck on the bill without extracting the edge point explained in detail in this embodiment is that the edge point is extracted and the tape is stuck on the bill It is also possible to carry out independently regardless of the function that can detect what is being done.

また、本実施形態において詳細に説明したエッジ点を抽出しなくても紙幣にテープが貼られていることを検知できる機能と、機械式の厚み検知を行ってテープが貼られていることを検知できる機能とを組み合わせて実施しても良い。   In addition, the function that can detect that the tape is attached to the bill without extracting the edge points described in detail in this embodiment and the mechanical thickness detection are performed to detect that the tape is attached. You may implement combining with the function which can be performed.

機械式の厚み検知を行って紙葉類にテープが貼られていることを検知できる厚みセンサの欠点として、紙葉類の前端部は厚みセンサに突入したときの衝撃によって本来の厚みよりも大きな厚みが検知されてしまうため、薄いテープで無くても紙葉類の前端部にテープが貼られているか否かを判定することができないという問題があった。   As a drawback of a thickness sensor that can detect that a tape is attached to a sheet by performing mechanical thickness detection, the front end of the sheet is larger than the original thickness due to the impact when it enters the thickness sensor Since the thickness is detected, there is a problem that it can not be determined whether the tape is attached to the front end of the sheet even if it is not a thin tape.

そこで、本実施形態において詳細に説明したエッジ点を抽出しなくても紙幣にテープが貼られていることを検知できる機能によって、紙葉類の前端部にテープが貼付されているか否かを判定し、機械式の厚み検知を行ってテープが貼られていることを検知できる機能によって、紙葉類の前端部以外の部分にテープが貼付されているか否かを判定すれば良い。   Therefore, it is determined whether or not the tape is attached to the front end of the sheet by the function of detecting that the tape is attached to the banknote without extracting the edge points described in detail in this embodiment. The mechanical thickness detection may be performed to determine whether the tape is attached to a portion other than the front end portion of the paper sheet by the function of detecting that the tape is attached.

1 イメージラインセンサ部
2 制御部
2a 金種識別部
2b 画像データ取得部
2c エッジ点抽出部
2d 残存エッジ点抽出部
2e 解析部
2f 境部検知部
2g 判定部
3 記憶部
3a 金種識別テンプレート
3b フィルタ群
3c 参照エッジ点
3d 解析基準情報
3e 検知基準情報
3g 判定基準情報
10、20 紙葉類判別装置
Reference Signs List 1 image line sensor unit 2 control unit 2a denomination identification unit 2b image data acquisition unit 2c edge point extraction unit 2d residual edge point extraction unit 2e analysis unit 2f boundary detection unit 2g determination unit 3 storage unit 3a denomination identification template 3b filter Group 3c Reference edge point 3d Analysis standard information 3e Detection standard information 3g Judgment standard information 10, 20 Sheet discrimination device

Claims (9)

紙葉類の撮像画像に基づいて紙葉類にテープが貼られているかを判別する紙葉類判別装置であって、
正当な紙葉類の撮像画像に含まれる前記正当な紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点である参照エッジ点を記憶する記憶部と、
判別対象となる紙葉類の撮像画像から前記判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点を抽出するエッジ点抽出部と、
前記エッジ点抽出部によって抽出されたエッジ点から、前記参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いて残存エッジ点を抽出する残存エッジ点抽出部と、
前記残存エッジ点に基づいて前記判別対象となる紙葉類にテープが貼られているかを解析する解析部と
を備えたことを特徴とする紙葉類判別装置。
A sheet discrimination apparatus that determines whether a tape is attached to a sheet based on a captured image of the sheet, the sheet discrimination apparatus comprising:
A storage unit that stores a reference edge point that is an edge point of a density gradient direction range along the longitudinal direction of the valid paper sheet included in a captured image of the valid paper sheet;
An edge point extraction unit for extracting an edge point of a density gradient direction range along the longitudinal direction of the sheet to be discriminated from a captured image of the sheet to be discriminated;
From the edge point extracted by the edge point extraction unit, it is estimated that the edge point corresponding to the reference edge point and the pixel not included in the captured image of the valid paper sheet are generated due to the bright region A remaining edge point extraction unit that removes edge points and extracts remaining edge points;
A paper sheet discrimination apparatus comprising: an analysis unit that analyzes whether a tape is attached to the paper sheet to be discriminated based on the remaining edge point.
前記参照エッジ点は、
前記正当な紙葉類の撮像画像に含まれる第1濃度勾配方向範囲のエッジ点である第1参照エッジ点と、前記第1濃度勾配方向範囲と逆方向である第2濃度勾配方向範囲のエッジ点である第2参照エッジ点とを含み、
前記エッジ点抽出部は、
前記判別対象となる紙葉類の撮像画像から前記第1濃度勾配方向範囲のエッジ点および前記第2濃度勾配方向範囲のエッジ点を抽出し、
前記残存エッジ点は、
前記エッジ点抽出部によって抽出された前記第1濃度勾配方向範囲のエッジ点から、前記第1参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いた第1残存エッジ点と、前記エッジ点抽出部によって抽出された前記第2濃度勾配方向範囲のエッジ点から、前記第2参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いた第2残存エッジ点とを含むことを特徴とする請求項1に記載の紙葉類判別装置。
The reference edge point is
A first reference edge point, which is an edge point of a first density gradient direction range included in a captured image of a valid paper sheet, and an edge of a second density gradient direction range, which is opposite to the first density gradient direction range And a second reference edge point which is a point
The edge point extraction unit
Extracting an edge point of the first density gradient direction range and an edge point of the second density gradient direction range from the captured image of the sheet to be discriminated;
The remaining edge point is
From the edge points of the first density gradient direction range extracted by the edge point extraction unit, edge points corresponding to the first reference edge point and pixels not included in the captured image of the valid paper sheet are bright From the first remaining edge point from which the edge point estimated to be generated due to the region is removed and the edge point of the second density gradient direction range extracted by the edge point extracting unit to the second reference edge point A corresponding edge point and a second remaining edge point from which an edge point estimated to be generated due to a bright region is removed including a corresponding edge point and a pixel not included in the captured image of the valid paper sheet. The sheet discriminating apparatus according to claim 1.
前記解析部は、
所定サイズ領域における前記残存エッジ点の密度に基づいて前記判別対象となる紙葉類にテープが貼られているかを解析することを特徴とする請求項1または請求項2に記載の紙葉類判別装置。
The analysis unit
The paper sheet discrimination according to claim 1 or 2, wherein whether or not the tape is stuck to the paper sheet to be discriminated is analyzed based on the density of the remaining edge point in a predetermined size area. apparatus.
前記残存エッジ点抽出部は、
前記判別対象となる紙葉類の撮像画像に、前記正当な紙葉類の撮像画像に含まれていない前記判別対象となる紙葉類の短手方向に沿った画素が明るい細線状領域が存在していると推定した場合に、前記細線状領域の周囲に位置するエッジ点も前記エッジ点抽出部によって抽出されたエッジ点から取り除くことを特徴とする請求項1〜3のいずれか一項に記載の紙葉類判別装置。
The remaining edge point extraction unit
In the captured image of the sheet to be discriminated, there is a thin line-like region in which the pixels along the short direction of the sheet to be discriminated are not included in the imaged image of the valid sheet. The edge point located around the said thin wire | line-like area | region is also remove | eliminated from the edge point extracted by the said edge point extraction part, when it is estimated that it has done. Sheet discrimination device as described.
前記判別対象となる紙葉類の撮像画像において、前記判別対象となる紙葉類の長手方向の一端から他端に向かう方向で、第1領域から前記第1領域よりも暗い第2領域に変化する境である第1境部および第3領域から前記第3領域よりも明るい第4領域に変化する境である第2境部を検知する検知部と、
前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域に位置する画素の画素値に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定する判定部と
を備えたことを特徴とする請求項1〜4のいずれか一項に記載の紙葉類判別装置。
The first area is changed from the first area to a second area darker than the first area in the direction from one end to the other end in the longitudinal direction of the sheet to be discriminated in the captured image of the sheet to be discriminated A detection unit that detects a first boundary portion that is a boundary to be moved and a second boundary portion that is a boundary that changes from a third region to a fourth region that is brighter than the third region;
The first boundary portion and the first boundary portion are based on pixel values of pixels located in a region between the first boundary portion and the second boundary portion positioned on the other end side with respect to the first boundary portion. The determination part which determines whether the tape is stuck in the area | region between the said 2nd boundary part located in the said other end side rather than a boundary part, It was provided with any one of the Claims 1-4 characterized by the above-mentioned. The sheet discriminating apparatus according to one aspect.
前記判定部は、
前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の間隔が判定対象であるテープの最小幅以上であり最大幅以下である場合にのみ、
前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域に位置する画素の画素値に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定することを特徴とする請求項5に記載の紙葉類判別装置。
The determination unit is
Only when the distance between the first boundary portion and the second boundary portion located closer to the other end side than the first boundary portion is equal to or greater than the minimum width of the tape to be determined and is equal to or less than the maximum width. ,
The first boundary portion and the first boundary portion are based on pixel values of pixels located in a region between the first boundary portion and the second boundary portion positioned on the other end side with respect to the first boundary portion. The sheet discrimination apparatus according to claim 5, wherein it is determined whether a tape is attached to a region between the boundary portion and the second boundary portion located on the other end side of the boundary portion.
前記判定部は、
前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域に位置する画素の画素値の分散に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定することを特徴とする請求項5または請求項6に記載の紙葉類判別装置。
The determination unit is
The first boundary portion and the first boundary portion are based on dispersion of pixel values of pixels located in a region between the first boundary portion and the second boundary portion positioned closer to the other end side than the first boundary portion. The paper sheet according to claim 5 or 6, wherein it is determined whether a tape is attached in a region between the first boundary and the second boundary located closer to the other end than the first boundary. Classification device.
前記判定部は、
前記第1領域の画素値および前記第4領域の画素値に基づいて、前記第1境部と前記第1境部よりも前記他端側に位置する前記第2境部との間の領域にテープが貼られているかを判定することを特徴とする請求項5〜7のいずれか一項に記載の紙葉類判別装置。
The determination unit is
In the area between the first boundary and the second boundary located closer to the other end than the first boundary based on the pixel value of the first region and the pixel value of the fourth region The sheet discriminating apparatus according to any one of claims 5 to 7, wherein it is determined whether a tape is attached.
紙葉類の撮像画像に基づいて紙葉類にテープが貼られているかを判別する紙葉類判別装置に適用される紙葉類判別方法であって、
前記紙葉類判別装置が、判別対象となる紙葉類の撮像画像から前記判別対象となる紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点を抽出するエッジ点抽出工程と、
前記紙葉類判別装置が、前記エッジ点抽出工程によって抽出されたエッジ点から、正当な紙葉類の撮像画像に含まれる前記正当な紙葉類の長手方向に沿った濃度勾配方向範囲のエッジ点である参照エッジ点に対応するエッジ点および前記正当な紙葉類の撮像画像に含まれていない画素が明るい領域に起因して発生したと推定したエッジ点を取り除いて残存エッジ点を抽出する残存エッジ点抽出工程と、
前記紙葉類判別装置が、前記残存エッジ点に基づいて前記判別対象となる紙葉類にテープが貼られているかを解析する解析工程と
を備えたことを特徴とする紙葉類判別方法。
A sheet discrimination method applied to a sheet discrimination apparatus for discriminating whether a tape is attached to a sheet based on a captured image of a sheet,
An edge point extracting step of extracting edge points of a density gradient direction range along the longitudinal direction of the sheet to be discriminated from the captured image of the sheet to be discriminated by the sheet discriminating apparatus ;
The edge of the density gradient direction along the longitudinal direction of the valid paper sheet included in the captured image of the valid paper sheet from the edge point extracted by the edge point extraction step by the paper sheet discrimination device An edge point corresponding to a reference edge point that is a point and an edge point estimated to be generated due to a bright region that is not included in the image of the valid paper sheet are extracted to extract a remaining edge point A remaining edge point extraction step;
A paper sheet discrimination method, comprising: an analysis step of analyzing whether or not a tape is attached to the paper sheet to be discriminated based on the remaining edge point.
JP2015071082A 2015-03-31 2015-03-31 Paper sheet discrimination apparatus and paper sheet discrimination method Active JP6534278B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015071082A JP6534278B2 (en) 2015-03-31 2015-03-31 Paper sheet discrimination apparatus and paper sheet discrimination method
PCT/JP2016/058188 WO2016158392A1 (en) 2015-03-31 2016-03-15 Paper sheet detection device and paper sheet detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015071082A JP6534278B2 (en) 2015-03-31 2015-03-31 Paper sheet discrimination apparatus and paper sheet discrimination method

Publications (2)

Publication Number Publication Date
JP2016192026A JP2016192026A (en) 2016-11-10
JP6534278B2 true JP6534278B2 (en) 2019-06-26

Family

ID=57006699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015071082A Active JP6534278B2 (en) 2015-03-31 2015-03-31 Paper sheet discrimination apparatus and paper sheet discrimination method

Country Status (2)

Country Link
JP (1) JP6534278B2 (en)
WO (1) WO2016158392A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106898085B (en) * 2017-02-23 2019-06-11 深圳怡化电脑股份有限公司 Identify bank note towards method and device
CN107886615B (en) * 2017-12-15 2020-03-27 深圳怡化电脑股份有限公司 Edge detection method and currency detection equipment
CN114627080B (en) * 2022-03-16 2023-08-25 江苏巨杰机电有限公司 Vehicle stamping accessory defect detection method based on computer vision

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3604549B2 (en) * 1997-12-12 2004-12-22 グローリー工業株式会社 Paper sheet foreign matter detection device
JP2000259885A (en) * 1999-03-10 2000-09-22 Hamamatsu Photonics Kk Paper sheets discrimination device
EP2057609B2 (en) * 2006-08-18 2013-11-27 De La Rue International Limited Method and apparatus for raised material detection
JP2010122894A (en) * 2008-11-19 2010-06-03 Oki Electric Ind Co Ltd Medium discrimination device
CN102804233B (en) * 2010-03-17 2015-08-12 光荣株式会社 Paper discriminating gear and paper method of discrimination

Also Published As

Publication number Publication date
JP2016192026A (en) 2016-11-10
WO2016158392A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
US6741727B1 (en) Apparatus for determining the soil degree of printed matter
US8559748B2 (en) Edge detection
CN104574353B (en) The surface defect decision method of view-based access control model conspicuousness
US8983168B2 (en) System and method of categorising defects in a media item
RU2678493C1 (en) Method and device for detection the tear of a banknote
JP6534278B2 (en) Paper sheet discrimination apparatus and paper sheet discrimination method
CN107134047B (en) White watermark detection method and device
JP2010035162A5 (en)
CN107610316B (en) Method and device for detecting defect of paper money and terminal equipment
CN101799868A (en) Machine vision inspection method for paper money
US9042632B2 (en) Method and system for touchless counting of stacked substrates, especially bundled banknotes
JP2009251800A (en) Paper-sheet stain detection apparatus and method
CN113139927A (en) Banknote crack detection method, device, equipment and readable medium
JP4724957B2 (en) Medium contamination degree judging device
CN106447908B (en) Paper money counterfeit distinguishing method and device
JP2008122139A (en) Inspection system for paper quality
JP4679953B2 (en) Paper sheet damage ticket determination device, damage ticket determination method, and damage ticket determination program
JP4863050B2 (en) Color unevenness defect inspection method and apparatus
US9661183B2 (en) Image correction apparatus and method
JP2005265828A (en) Flaw detection method and apparatus
JP4253265B2 (en) Shadow detection apparatus, shadow detection method and shadow detection program, image processing apparatus using shadow detection apparatus, image processing method using shadow detection method, and image processing program using shadow detection program
CN102081792A (en) Multi-scale red jujube image crack edge detection method based on wavelet transformation
AU2017332227B2 (en) Method and device for detecting color fading on a value document, in particular a banknote, and value-document processing system
JP7010539B2 (en) Parking space detection device, parking space detection method, and control program
CN114742986A (en) Method, system, equipment and storage medium for detecting altered coins

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190409

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190528

R150 Certificate of patent or registration of utility model

Ref document number: 6534278

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150