WO2013127185A1 - Papery medium authentication device and authentication method thereof - Google Patents

Papery medium authentication device and authentication method thereof Download PDF

Info

Publication number
WO2013127185A1
WO2013127185A1 PCT/CN2012/083484 CN2012083484W WO2013127185A1 WO 2013127185 A1 WO2013127185 A1 WO 2013127185A1 CN 2012083484 W CN2012083484 W CN 2012083484W WO 2013127185 A1 WO2013127185 A1 WO 2013127185A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
bad line
medium
paper
identification
Prior art date
Application number
PCT/CN2012/083484
Other languages
French (fr)
Chinese (zh)
Inventor
梁添才
余元超
王卫峰
陈�光
Original Assignee
广州广电运通金融电子股份有限公司
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 广州广电运通金融电子股份有限公司 filed Critical 广州广电运通金融电子股份有限公司
Publication of WO2013127185A1 publication Critical patent/WO2013127185A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/409Edge or detail enhancement; Noise or error suppression
    • H04N1/4097Removing errors due external factors, e.g. dust, scratches
    • 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/20Testing patterns thereon
    • G07D7/202Testing patterns thereon using pattern matching

Definitions

  • the paper-based medium discriminating device When the paper-based medium discriminating device is used for a long time, there may be a phenomenon that a certain light-emitting element of the image sensor (CIS) is broken or the CIS translucent sheet is dirty. Since the CIS is a line scan, when a CIS light-emitting element fails or the CIS light-transmissive sheet is dirty, a black line with a gray-scale mean value close to 0 appears on the reflection or transmission image collected by the image sensor (hereinafter The black line is abbreviated as "bad line” and this phenomenon is called “CIS bad line phenomenon").
  • FIG. 1 is a schematic structural diagram of a paper sheet medium discriminating device according to a preferred embodiment of the present invention
  • FIG. 2 is a flow chart of a paper sheet medium discriminating method according to a preferred embodiment of the present invention
  • the gray value matrix of the reflected image is x . Column, ⁇ . Row;

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Image Processing (AREA)

Abstract

A papery medium authentication device (100) and an authentication method thereof. The papery medium authentication device (100) comprises an image data obtaining part (10), a standard template data storing part (20), a broken line detecting and processing part (30), an image cutting part (40) and a judging part (50). The broken line detecting and processing part (30) is used for detecting whether a broken line exists in image data obtained by the image data obtaining part (10), and in the event where a broken line is detected, obtaining the position of the bad line in the whole image and correcting the image according to features of the broken line. After broken line detection and broken line correction are performed for the image, the judging part matches the corrected image against a standard template to obtain an authentication result. Therefore, failure of a light emitting element in a CIS or dirt on a light transmissive sheet in the CIS, which may be encountered by the papery medium authentication device (100), will not affect the authentication, thereby improving the acceptance rate of the papery medium authentication device (100).

Description

纸页类介质鉴别装置及其鉴别方法  Paper type medium identification device and identification method thereof
本申请要求于 2012 年 2 月 28 日提交中国专利局、 申请号为 201210049058.6、 发明名称为"纸页类介质鉴别装置及其鉴别方法"的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  The present application claims priority to Chinese Patent Application No. 201210049058.6, entitled "Paper Sheet Media Identification Device and Its Identification Method", filed on February 28, 2012, the entire contents of which are incorporated by reference. In this application. Technical field
本发明涉及纸页类介质鉴别技术领域, 尤其涉及一种纸页类介质鉴别装置 及其鉴别方法。 背景技术  The invention relates to the technical field of paper sheet medium identification, in particular to a paper sheet medium identification device and a method for identifying the same. Background technique
在金融机构的自动拒员机上安装有鉴别纸页类介质 (纸币) 的鉴别装置。 在纸页类介质鉴别装置的存储部有鉴别纸页类介质模板数据。每当投入了纸页 类介质时, 纸页类介质鉴别装置的图像数据取得部以光学方式读取纸页类介 质,取得待鉴别纸页类介质的灰度图像数据,根据所取得的待鉴别纸页类介质 灰度图像的图样和灰度值的浓淡,在模板与检测结果之间进行匹配, 由此判断 所述纸页类介质的种类 (币种)和真伪。  An authentication device for discriminating sheet-type media (banknotes) is installed on the automatic rejection machine of the financial institution. In the storage unit of the paper type medium discriminating device, there is discriminative paper sheet medium template data. When the sheet-type medium is loaded, the image data acquisition unit of the sheet-type medium discriminating device optically reads the sheet-type medium, and obtains grayscale image data of the sheet-like medium to be discriminated, according to the obtained to-be-identified The pattern of the gray-scale image of the paper-based medium and the shading of the gradation value are matched between the template and the detection result, thereby judging the type (currency) and authenticity of the paper-based medium.
当纸页类介质鉴别装置使用时间过长 , 可能会出现图像传感器 (CIS)某个 发光元件故障或者 CIS透光片脏污的现象。 由于 CIS是线扫描, 当 CIS某个 发光元件故障或者 CIS透光片脏污现象时,图像传感器采集到的反射图或透射 图上会出现一条灰度均值接近于 0的黑线(以下将该黑线简称为 "坏线", 将 这种现象称为 "CIS坏线现象")。 由于 CIS某个发光元件故障或者 CIS透光片 脏污的位置存在随机性,因此坏线在待测纸页类介质的图像中位置也是随机分 布的。 在这种情况下, 如果还是遵循现有识别流程, 会直接影响纸页类介质鉴 别装置的接受率,对整个纸页类介质鉴别装置的性能带来巨大的影响, 影响客 户体验, 不利于装置的市场推广和使用。 因此,提供一种在纸页类介质鉴别装置中能有效处理 CIS坏线现象的技术 非常必要。 When the paper-based medium discriminating device is used for a long time, there may be a phenomenon that a certain light-emitting element of the image sensor (CIS) is broken or the CIS translucent sheet is dirty. Since the CIS is a line scan, when a CIS light-emitting element fails or the CIS light-transmissive sheet is dirty, a black line with a gray-scale mean value close to 0 appears on the reflection or transmission image collected by the image sensor (hereinafter The black line is abbreviated as "bad line" and this phenomenon is called "CIS bad line phenomenon"). Due to the randomness of a CIS light-emitting element failure or the position where the CIS light-transmissive sheet is dirty, the position of the bad line in the image of the paper-like medium to be tested is also randomly distributed. In this case, if the existing identification process is followed, it will directly affect the acceptance rate of the paper-based media identification device, which will have a huge impact on the performance of the entire paper-based media identification device, affecting the customer experience, and is not conducive to the device. Marketing and use. Therefore, it is necessary to provide a technique capable of effectively handling the CIS bad line phenomenon in a paper sheet type medium discriminating device.
发明内容 Summary of the invention
本发明的目的之一在于提供一种纸页类介质鉴别装置,该纸页类介质鉴别 装置能有效处理 CIS坏线现象, 其接受率大大提高。  SUMMARY OF THE INVENTION One object of the present invention is to provide a paper sheet medium discriminating apparatus which can effectively handle the CIS bad line phenomenon and which has a greatly improved acceptance rate.
本发明还提供上述纸页类介质鉴别装置鉴别纸页类介质的方法。  The present invention also provides a method of discriminating a sheet-like medium by the above-described sheet-type medium discriminating device.
该纸页类介质鉴别装置包括: 输送通道, 用以将纸页类介质一张一张地输 送并通过图像数据取得部; 图像数据取得部, 用以取得纸页类介质通过时的原 始图像数据; 标准模板数据存储部, 用以存储鉴别该纸页类介质所需要的标准 模板数据信息; 坏线检测处理部, 用以检测该图像数据取得部所取得的该原始 图像数据是否存在坏线,且在检测到坏线存在的情况下得到该坏线在整个图像 中的位置, 并根据该坏线的特征进行图像修复; 图像切割部, 用以切割有效识 别纸页类介质的识别图像信息; 以及判定部, 用以对切割的识别图像信息实施 模板匹配识别,判断该识别图像信息与该标准模板数据信息的相似度以得到鉴 别结果。  The paper sheet medium discriminating device includes: a transport path for transporting the sheet-like medium one by one and passing through the image data acquisition unit; and an image data acquisition unit for acquiring the original image data when the sheet medium passes a standard template data storage unit for storing standard template data information required for identifying the paper-based medium; and a bad line detection processing unit for detecting whether the original image data obtained by the image data acquisition unit has a bad line. And detecting the position of the bad line in the entire image when the presence of the bad line is detected, and performing image repair according to the characteristic of the bad line; and the image cutting unit for cutting the identification image information for effectively identifying the paper-type medium; And a determining unit configured to perform template matching recognition on the cut identification image information, and determine a similarity between the identification image information and the standard template data information to obtain an authentication result.
优选地,该图像切割部用以对经过坏线检测处理部的图像信息进行有效识 别区域切割形成特征图像信息。  Preferably, the image cutting unit is configured to perform effective recognition region cutting on the image information passing through the bad line detection processing portion to form feature image information.
进一步地,该特征图像信息为该纸页类介质的完整图像信息或为该纸页类 介质的至少一部分图像信息。  Further, the feature image information is complete image information of the paper-based medium or at least a portion of image information of the paper-based medium.
该纸页类介质的鉴别方法, 其包括: 步骤一, 投入纸页类介质, 该纸页类 介质进入输送通道; 步骤二, 图像传感器扫描纸页类介质通过输送通道时的图 像形成原始图像数据; 步骤三, 坏线检测处理部对图像数据取得部获取的原始 图像数据进行分析, 检测是否存在坏线; 如果检测结束并未发现坏线, 则进入 步骤四; 如果存在坏线, 同时确认坏线在图像中的位置, 根据坏线灰度特征实 施坏线修复, 再进入步骤四; 步骤四, 图像切割部获取纸页类介质图像区域; 即探测纸页类介质图像区域边界,并将纸页类介质图像区域从原始图像中切割 出来, 得到用于有效识别的识别图像信息; 以及步骤五, 判定部调用存储部中 的标准模板数据, 进行模板匹配识别, 即判断该识别图像信息与该标准模板数 据的相似度以得到鉴别结果。 The method for discriminating the paper-based medium comprises: step one, inputting a paper-based medium, the paper-based medium enters a transport channel; and step 2, the image sensor scans the image of the paper-based medium through the transport channel to form original image data Step 3: The bad line detection processing unit analyzes the original image data acquired by the image data acquisition unit to detect whether there is a bad line; if the detection does not find a bad line, the process proceeds to step 4; if there is a bad line, the bad line is confirmed. The position of the line in the image, based on the grayscale characteristics of the bad line Applying the broken line repair, and then proceeding to step 4; Step 4, the image cutting unit acquires the paper-like medium image area; that is, detects the boundary of the paper-like medium image area, and cuts the paper-like medium image area from the original image to obtain The identification image information for effective recognition; and step 5, the determination unit calls the standard template data in the storage unit, performs template matching identification, that is, determines the similarity between the identification image information and the standard template data to obtain the identification result.
其中, 步骤三中检测坏线是否存在的方法为: 将纸页类介质的图像置于 xy坐标系中, 设:  The method for detecting the presence of a bad line in the third step is: placing the image of the paper-based medium in the xy coordinate system, and setting:
① 图像灰度值矩阵为 x。列, ^。行; 1 The image gray value matrix is x . Column, ^. Row;
② 为图像的第 行第 X列位置的灰度值;  2 is the gray value of the Xth column position of the first line of the image;
③ 为图像第 X列的灰度均值; 3 is the grayscale mean of the Xth column of the image;
按照约束条件 g(x,y) < ,(O < y < y0)\ ( A , 均大于 o, 为设定阈值)
Figure imgf000005_0001
According to the constraint g(x,y) < , (O < y < y 0 )\ ( A , both greater than o, set the threshold)
Figure imgf000005_0001
对图像传感器获取的图像灰度值矩阵进行自动搜索检测, 如果图像灰度矩 阵存在某一列 χ = «。, 即图像灰度矩阵的第《。列满足上述约束条件, 则判定图像 上存在坏线, 否则不存在坏线。  Automatic search and detection of the image gray value matrix acquired by the image sensor, if there is a column 图像 = « in the image gray matrix. , that is, the image of the gray matrix of the image. If the column satisfies the above constraints, it is determined that there is a bad line on the image, otherwise there is no bad line.
当存在坏线时, 对坏线采取如下模型进行修复:  When there is a bad line, the following model is used to repair the bad line:
g(n0 , y) = ^i^(«o _ 2, + 2g(«0 - y) + ^g(n0 + ly) + ^g(no + 2, J , 其中, ye(0,jQ) , 6¾、 ω2. ί¾、 《4为坏线修复灰度拟合线性加权系数, ωι + ω2+ω,+ωΑ =\ , 即坏线上任意一点的灰度值用与该点同一行的前两个点与 后两个点的灰度值的线性加权值来替代。 g(n 0 , y) = ^i^(«o _ 2 , + 2 g(« 0 - y) + ^g(n 0 + ly) + ^g( n o + 2, J , where ye( 0,j Q ) , 63⁄4, ω 2 . ί3⁄4, " 4 is the bad line repair gradation fitting linear weighting coefficient, ω ι + ω 2 +ω, +ω Α =\ , that is, the gray level of any point on the bad line The value is replaced by a linear weighting of the gray values of the first two points and the last two points of the same line as the point.
由于对待鉴别的纸页类介质图像进行了坏线检测及坏线修复,使得纸页类 介质鉴别装置可能出现的 CIS某个发光元件故障或者 CIS透光片脏污的现象对 鉴别无影响,从而提高纸页类介质鉴别装置的接受率,有利于装置的市场推广 和使用。 Due to bad line detection and bad line repair due to the image of the paper medium to be authenticated, the paper sheet The failure of a CIS light-emitting element or the contamination of the CIS transparent sheet that may occur in the medium identification device has no effect on the identification, thereby improving the acceptance rate of the paper-based medium identification device, which is beneficial to the market promotion and use of the device.
附图说明 DRAWINGS
图 1是本发明优选实施例提供的一种纸页类介质鉴别装置结构示意图; 图 2是本发明优选实施例提供的纸页类介质鉴别方法流程图;  1 is a schematic structural diagram of a paper sheet medium discriminating device according to a preferred embodiment of the present invention; FIG. 2 is a flow chart of a paper sheet medium discriminating method according to a preferred embodiment of the present invention;
图 3是 CIS出现坏线时, 图像传感器得到的图像示意图;  Figure 3 is a schematic diagram of an image obtained by an image sensor when a CIS has a bad line;
图 4是对坏线未作修复时, 图像传感器得到的图像与标准模板匹配示意 图; 图 5是本发明优选实施例中将图像传感器得到的图像置于 x^坐标系中待 作坏线修复的示意图; 4 is a schematic diagram of matching an image obtained by an image sensor with a standard template when the bad line is not repaired; FIG. 5 is a diagram showing the image obtained by the image sensor in the x ^ coordinate system to be repaired by a bad line in a preferred embodiment of the present invention; schematic diagram;
图 6是对图像传感器得到的图像中的坏线进行修复后的图像示意图; 图 7是将坏线修复后的图像与标准模板匹配的示意图。  6 is a schematic diagram of an image after repairing a bad line in an image obtained by an image sensor; FIG. 7 is a schematic diagram of matching an image after repairing a bad line with a standard template.
具体实施方式 detailed description
为进一步阐述本发明, 以下结合图示介绍本发明的具体实施例。  In order to further illustrate the invention, specific embodiments of the invention are described in the accompanying drawings.
图 1是本发明一较佳实施例提供的纸页类介质鉴别装置结构示意图。该纸 页类介质鉴别装置 100嵌入在例如 ATM (银行自动拒员机)等纸页类介质处 理装置中, 通过输送通道将待鉴别纸页类介质 (例如纸币 )一张一张地输送并 通过图像数据取得部。具体的, 该纸页类介质鉴别装置 100包括图像数据取得 部 10、 标准模板数据存储部 20、 坏线检测处理部 30、 图像切割部 40以及判 定部 50, 其中, 该图像数据取得部 10用以取得纸页类介质通过时的原始图像 数据; 该标准模板数据存储部 20用以存储鉴别该纸页类介质所需要的标准模 板数据信息;该坏线检测处理部 30用以检测该图像数据取得部 10所取得的该 原始图像数据是否存在坏线,且在检测到坏线存在的情况下得到该坏线在整个 图像中的位置, 并根据该坏线的特征进行图像修复; 该图像切割部 40用以切 割有效识别纸页类介质的识别图像信息; 该判定部 50用以对切割的该识别图 像信息实施模板匹配识别,判断该识别图像信息与该标准模板数据信息的相似 度以得到鉴别结果。 其中, 该图像切割部 40 用以对经过坏线检测处理部 30 的图像信息进行有效识别区域切割形成特征图像信息,该特征图像信息为该纸 页类介质的完整图像信息或为该纸页类介质的至少一部分图像信息。 1 is a schematic structural view of a paper sheet medium discriminating device according to a preferred embodiment of the present invention. The sheet-type medium discriminating device 100 is embedded in a sheet-type medium processing device such as an ATM (Bank Automatic Rejector), and conveys and passes the sheet-like medium (for example, banknotes) to be discriminated one by one through a conveying path. Image data acquisition unit. Specifically, the paper sheet medium identification device 100 includes an image data acquisition unit 10, a standard template data storage unit 20, a bad line detection processing unit 30, an image cutting unit 40, and a determination unit 50, wherein the image data acquisition unit 10 uses The original template data storage unit 20 is configured to store standard template data information required for identifying the paper-based medium; the bad line detection processing unit 30 is configured to detect the image data. Obtained by the acquisition unit 10 Whether the original image data has a bad line, and the position of the bad line in the entire image is obtained in the presence of the detected dead line, and the image is repaired according to the characteristics of the bad line; the image cutting portion 40 is used for cutting the effective identification The identification unit 50 is configured to perform template matching recognition on the cut identification image information, and determine the similarity between the identification image information and the standard template data information to obtain an authentication result. The image cutting unit 40 is configured to perform effective identification area cutting on the image information passing through the bad line detection processing unit 30 to form feature image information, which is the complete image information of the paper-based medium or the paper sheet type. At least a portion of the image information of the medium.
图 2是采用纸页类介质鉴别装置 100对纸页类介质进行鉴别的方法流程 图, 包括以下步骤: 步骤一, 投入纸页类介质, 该纸页类介质进入输送通道, 流程开始; 步骤二, 图像传感器扫描纸页类介质通过输送通道时的图像形成原 始图像数据; 步骤三, 坏线检测处理部对图像数据取得部获取的原始图像数据 进行分析, 检测是否存在坏线; 如果检测结束并未发现坏线, 则进入步骤四; 如果存在坏线, 同时确认坏线在图像中的位置,根据坏线灰度特征实施坏线修 复, 再进入步骤四; 步骤四, 图像切割部获取纸页类介质图像区域; 即探测纸 页类介质图像区域边界, 并将纸页类介质图像区域从原始图像中切割出来,得 到用于有效识别的识别图像信息; 以及步骤五, 判定部调用存储部中的标准模 板数据, 进行模板匹配识别, 即判断该识别图像信息与该标准模板数据的相似 度以得到鉴别结果。  2 is a flow chart of a method for discriminating a sheet-type medium by using a sheet-type medium discriminating device 100, comprising the following steps: Step 1: Injecting a sheet-type medium, the sheet-like medium enters a conveying passage, and the flow starts; The image sensor scans the sheet-type medium to form the original image data through the image when the transport channel is passed; Step 3, the bad line detection processing unit analyzes the original image data acquired by the image data acquisition unit to detect whether there is a bad line; If no bad line is found, go to step 4. If there is a bad line and confirm the position of the bad line in the image, perform the bad line repair according to the bad line gray feature, and then go to step 4; Step 4, the image cutting part gets the paper a medium-like image area; that is, detecting a boundary of a paper-like medium image area, and cutting a paper-like medium image area from the original image to obtain identification image information for effective recognition; and step 5, the determination unit calls the storage unit Standard template data, template matching identification, that is, the identification image Similar information of the data to obtain a standard template authentication result.
该图像数据取得部 10由检测透过图像的投射传感器和 /或检测反射图像的 反射传感器构成, 当所述纸页类介质经过传送路径传送时, 图像数据取得部 10获取所述纸页类介质的透视图像和 /或反射图像, 并将所获得的透视图像和 / 或反射图像传至坏线检测处理部 30。  The image data acquisition unit 10 is configured by a projection sensor that detects a transmission image and/or a reflection sensor that detects a reflection image. When the sheet medium is transported through a transport path, the image data acquisition unit 10 acquires the sheet medium. The fluoroscopic image and/or the reflected image, and the obtained fluoroscopic image and/or reflected image are transmitted to the bad line detection processing section 30.
坏线检测处理部 30 首先检测图像传感器获取的原始图像中是否存在坏 线,如果投入的纸页类介质的原始图像存在坏线, 则准确的获取到坏线在整个 图像中的位置信息。 由于 CIS成像是线扫描, 如果存在坏线, 在待测纸页类介 质的原始图像上将出现一条灰度值接近于 0的黑线。由于 CIS坏线的位置存在 不确定性, 因此坏线在待测纸页类介质的原始图像中的位置也存在不确定性。 假设在 CIS出现坏线(一条坏线) 时, 图像传感器得到的图像如图 3。 The bad line detection processing section 30 first detects whether or not there is a bad line in the original image acquired by the image sensor, and if there is a bad line in the original image of the input paper-type medium, the positional information of the bad line in the entire image is accurately acquired. Since CIS imaging is a line scan, if there is a bad line, in the paper to be tested A black line with a gray value close to 0 will appear on the prime original image. Due to the uncertainty of the position of the CIS bad line, there is also uncertainty in the position of the bad line in the original image of the paper-like medium to be tested. Assume that when the CIS has a bad line (a bad line), the image obtained by the image sensor is shown in Figure 3.
如果不对坏线区域采取任何措施而直接实施图像切割和模板匹配识别,则 当坏线恰好处在某个待进行模板匹配识别的区域时,显然匹配不能成功,如图 If image cutting and template matching recognition are directly implemented without taking any measures on the bad line area, when the bad line happens to be in an area to be template-matched, the matching is not successful, as shown in the figure.
4, 待鉴别纸页类介质的识别则以失败告终, 最终导致正常的纸页类介质被金 融自助设备 (如 ATM )拒收。 4. The identification of the media to be identified is not successful, and eventually the normal paper-based media is rejected by the financial self-service device (such as ATM).
在本实施方式中,利用反射传感器获取的投入纸页类介质的反射图像检测 是否存在坏线。 将投入纸页类介质的反射图像置于如图 5所示的坐标系中, 设:  In the present embodiment, it is detected whether or not there is a bad line by using the reflection image of the sheet-type medium taken by the reflection sensor. Place the reflected image of the paper-based medium into the coordinate system as shown in Figure 5, and set:
① 反射图像灰度值矩阵为 x。列, ^。行; 1 The gray value matrix of the reflected image is x . Column, ^. Row;
② g(x, 为反射图像的第 行第 ^列位置的灰度值; 2 g( x , the gray value of the position of the first column of the reflected image;
③ 为反射图像第 X列的灰度均值。  3 is the grayscale mean of the Xth column of the reflected image.
按照约束条件  According to the constraints
g(x,y) < A,(O < y < ); ( W 均大于 o,为设定阈值), ( i.i )
Figure imgf000008_0001
g(x,y) < A,(O < y <); (W is greater than o, is the set threshold), ( ii )
Figure imgf000008_0001
例如可设 A=2(), =20, =80, =80对图像传感器获取的反射图像灰 度值矩阵进行自动搜索检测。 For example, A = 2 () , = 20 , = 80, = 80 can be used to automatically search and detect the gray value matrix of the reflected image obtained by the image sensor.
如果遍历反射图像灰度值矩阵都没有满足约束条件(1.1 ) 的列 x, 则判 定图像传感器获取的反射图像上不存在坏线,进而推断该纸页类介质鉴别装置 不存在 CIS坏线现象,直接进入识别纸页类介质图像区域切割环节,最后对切 割出来的纸页类介质图像区域实施模板匹配识别, 得到最终识别结果。 If the traversing reflection image gray value matrix does not satisfy the column x of the constraint condition (1.1), it is determined that there is no bad line on the reflection image acquired by the image sensor, and it is inferred that the paper sheet medium identification device does not have a CIS bad line phenomenon. Directly enter the cutting section of the identification paper sheet medium image area, and finally implement template matching recognition on the cut paper sheet medium image area to obtain the final recognition result.
如果反射图像灰度矩阵存在某一列 即图像灰度矩阵的第《。列满足上述约束条件 ( 1.1 ), 则判定反射图像上存在坏 线, 即该纸页类鉴别装置存在 CIS坏线现象,并且坏线位置位于图像传感器获 得的灰度图像中的第"。列, 进入坏线修复环节。 If there is a column in the gray matrix of the reflected image That is, the image of the gray matrix of the image. If the column satisfies the above constraint condition (1.1), it is determined that there is a bad line on the reflected image, that is, the paper sheet type discrimination device has a CIS bad line phenomenon, and the bad line position is located in the gray image obtained by the image sensor. Enter the bad line repair link.
当图像传感器获得的反射图像第 x = "。列被判定为坏线时, 利用图像处理 技术对待识别图像进行坏线修复。 因为坏线两侧为正常的灰度值, 并且灰度图 像某一点的灰度值与该点邻域内点的灰度值存在一定的相关性,本实施方案对 坏线采取如下模型进行修复: g( , y) = ^i^(«o _ 2, + 2g("0 - y) + ^>3§( + l y) + ^4s( + y) ( 1.2 ) 其中 y e (0,j。), ω, + ω^ ω^ + ω^ Ι , 例如取 ί¾ 丄, 即坏线上任 意一点的灰度值用与该点同一行的前两个与后两个灰度值和的均值来替代。经 过坏线修复后的图像如图 6所示。 When the image obtained by the image sensor is x = ". The column is judged to be a bad line, the image processing technique is used to perform the bad line repair on the image to be recognized. Because the bad line has normal gray values on both sides, and the gray image has a certain point. The gray value has a certain correlation with the gray value of the point in the neighborhood of the point. In this embodiment, the following model is used to repair the bad line: g( , y) = ^i^(«o _ 2, + 2 g (" 0 - y) + ^>3§( + ly) + ^ 4 s( + y) ( 1.2 ) where ye (0,j.), ω, + ω^ ω^ + ω^ Ι , for example ί3⁄4丄, that is, the gray value of any point on the bad line is replaced by the mean of the sum of the first two and the last two gray values in the same line as the point. The image after the bad line repair is shown in Fig. 6.
然后, 该图像切割部 40对已经进行了坏线修复的图像进行纸页类介质图 像区域探测和切割,将有效的识别区域从图像传感器获取的整个图像中切割出 来, 得到用于模板匹配识别的图像, 如图 7所示。  Then, the image cutting unit 40 performs paper sheet medium image area detection and cutting on the image that has been subjected to the bad line repair, and cuts the effective recognition area from the entire image acquired by the image sensor to obtain template matching recognition. The image is shown in Figure 7.
判定部 50利用该标准模板数据存储部 20存储的标准模板,对纸页类介质 图像区域图像进行模板匹配识别, 得到最终识别结果。  The determination unit 50 performs template matching recognition on the sheet-type medium image area image by using the standard template stored in the standard template data storage unit 20, and obtains the final recognition result.
由于对纸页类介质的图像进行了坏线检测及坏线修复,使得纸页类介质鉴 别装置可能出现的 CIS某个发光元件故障或者 CIS透光片脏污的现象对鉴别无 影响,从而提高纸页类介质鉴别装置的接受率,有利于装置的市场推广和使用。  Due to the bad line detection and the bad line repair on the image of the paper-based medium, the CIS light-emitting element failure or the CIS transparent sheet may appear to have no effect on the identification of the paper-based medium identification device, thereby improving The acceptance rate of the paper-based media identification device is beneficial to the marketing and use of the device.
以上仅是本发明的优选实施方式,应当指出的是, 上述优选实施方式不应 视为对本发明的限制, 本发明的保护范围应当以权利要求所限定的范围为准。 对于本技术领域的普通技术人员来说,在不脱离本发明的精神和范围内,还可 以做出若干改进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above is only a preferred embodiment of the present invention, and it should be noted that the above-described preferred embodiments are not to be construed as limiting the scope of the invention, and the scope of the invention should be determined by the scope defined by the claims. It will be apparent to those skilled in the art that various modifications and improvements may be made without departing from the spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种纸页类介质鉴别装置, 其包括:  A paper sheet medium discriminating device comprising:
输送通道, 用以将纸页类介质逐张地输送并通过图像数据取得部; 图像数据取得部, 用以取得纸页类介质通过时的原始图像数据; 标准模板数据存储部,用以存储鉴别该纸页类介质所需要的标准模板数据 信息;  a transport channel for transporting the sheet-like medium one by one and passing through the image data acquisition unit; an image data acquisition unit for acquiring raw image data when the sheet-type medium passes; and a standard template data storage unit for storing the identification Standard template data information required for the paper-based medium;
图像切割部, 用以将纸页类介质图像区域从原始图像中切割出来, 用以获 取有效识别纸页类介质的识别图像信息;  An image cutting unit, configured to cut a paper-like medium image area from the original image, to obtain identification image information that effectively identifies the paper-type medium;
判定部, 用以对切割的识别图像信息实施模板匹配识别, 判断该识别图像 信息与该标准模板数据信息的相似度以得到鉴别结果;  a determining unit, configured to perform template matching identification on the cut identification image information, and determine a similarity between the identification image information and the standard template data information to obtain an authentication result;
其特征在于, 该纸页类介质鉴别装置还包括:  The paper sheet medium discriminating device further includes:
坏线检测处理部,用以检测该图像数据取得部所取得的该原始图像数据是 否存在坏线, 且在检测到坏线存在的情况下得到该坏线在整个图像中的位置, 并根据该坏线的特征进行图像修复。  The bad line detection processing unit detects whether the original image data acquired by the image data acquisition unit has a bad line, and if a bad line is detected, obtains a position of the bad line in the entire image, and according to the The features of the bad line are image repaired.
2、 如权利要求 1所述的纸页类介质鉴别装置, 其特征在于, 该图像切割 部用以对经过坏线检测处理部的图像信息进行有效识别区域切割形成特征图 像信息。  The paper sheet medium discriminating device according to claim 1, wherein the image cutting unit is configured to cut the image information of the bad line detecting processing unit into the effective recognition area to form the feature image information.
3、 如权利要求 2所述的纸页类介质鉴别装置, 其特征在于, 该特征图像 信息为该纸页类介质的完整图像信息或为该纸页类介质的至少一部分图像信 息。  The paper sheet medium discriminating device according to claim 2, wherein the feature image information is complete image information of the sheet type medium or at least a part of image information of the sheet type medium.
4、 一种纸页类介质鉴别方法, 其特征在于, 包括:  4. A paper sheet medium identification method, characterized in that:
步骤一, 投入纸页类介质, 该纸页类介质进入输送通道;  Step one, inputting a paper-type medium, the paper-type medium enters a conveying passage;
步骤二,图像传感器扫描纸页类介质通过输送通道时的图像形成原始图像 数据;  Step two, the image sensor scans the image of the sheet medium through the conveying channel to form original image data;
步骤三, 坏线检测处理部对图像数据取得部获取的原始图像数据进行分 析, 检测是否存在坏线; 如果检测结束并未发现坏线, 则进入步骤四; 如果 存在坏线, 同时确认坏线在图像中的位置, 根据坏线灰度特征实施坏线修复, 再进入步骤四; Step 3: The bad line detection processing unit divides the original image data acquired by the image data acquisition unit If there is no bad line, if it does not find a bad line, go to step 4. If there is a bad line and confirm the position of the bad line in the image, perform the bad line repair according to the bad line gray feature, and then enter Step four;
步骤四, 图像切割部获取纸页类介质图像区域; 即探测纸页类介质图像 区域边界, 并将纸页类介质图像区域从原始图像中切割出来, 得到用于有效 识别的识别图像信息;  Step 4: The image cutting unit acquires a paper-like medium image area; that is, detects a paper-sheet medium image area boundary, and cuts the paper-type medium image area from the original image to obtain identification image information for effective recognition;
步骤五, 判定部调用存储部中的标准模板数据, 进行模板匹配识别, 即 判断该识别图像信息与该标准模板数据的相似度以得到鉴别结果。  Step 5: The determining unit calls the standard template data in the storage unit to perform template matching identification, that is, determining the similarity between the identification image information and the standard template data to obtain the authentication result.
5、 如权利要求 4所述的纸页类介质鉴别方法, 其特征在于, 该步骤三中 检测是否存在坏线的方法为:  The paper sheet medium identification method according to claim 4, wherein the method for detecting whether there is a bad line in the third step is:
将纸页类介质的图像置于 xy坐标系中,  Place the image of the paper-like medium in the xy coordinate system.
设:  Assume:
① 图像灰度值矩阵为 x。列, ^。行; 1 The image gray value matrix is x . Column, ^. Row;
② 为图像的第 行第 X列位置的灰度值;  2 is the gray value of the Xth column position of the first line of the image;
③ 为图像第 ^列的灰度均值;  3 is the gray level mean of the image column;
按照约束条件  According to the constraints
g(x, y) < ,(O < y < ); , 均大于 0, 为设定阈值)
Figure imgf000011_0001
g(x, y) < , (O < y <); , both greater than 0, is the threshold)
Figure imgf000011_0001
对图像传感器获取的图像灰度值矩阵进行自动搜索检测,如果图像灰度矩 阵存在某一列 x = «。, 即图像灰度矩阵的第《。列满足上述约束条件, 则判定图像 上存在坏线, 否则不存在坏线。  Automatic search detection of the image gray value matrix acquired by the image sensor, if the image gray matrix exists in a certain column x = «. , that is, the image of the gray matrix of the image. If the column satisfies the above constraints, it is determined that there is a bad line on the image, otherwise there is no bad line.
6、 如权利要求 4所述的纸页类介质鉴别方法, 其特征在于, 该步骤三中 对坏线采取如下模型进行修复: 6. The paper sheet medium identification method according to claim 4, wherein the step 3 is Repair the bad line with the following model:
g(n0 , y) = ^i^(«o _ 2, + i¾g("0 - y) + ^g(n0 + ly) + ^g(no + 2, y) 其中, ye(0,jQ) , ω . ω2、 ω3 , «4为坏线修复灰度拟合线性加权系数, ωγ + ω2+ω,+ωΑ =\ , 即坏线上任意一点的灰度值用与该点同一行的前两个点与 后两个点的灰度值的线性加权值来替代。 g(n 0 , y) = ^i^(«o _ 2, + i3⁄4g(" 0 - y) + ^g(n 0 + ly) + ^g( n o + 2 , y) where ye(0 , j Q ) , ω . ω 2 , ω 3 , « 4 is the bad line repair gradation fitting linear weighting coefficient, ω γ + ω 2 + ω, +ω Α =\ , that is, the gray level of any point on the bad line The value is replaced by a linear weighting of the gray values of the first two points and the last two points of the same line as the point.
PCT/CN2012/083484 2012-02-28 2012-10-25 Papery medium authentication device and authentication method thereof WO2013127185A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210049058.6 2012-02-28
CN2012100490586A CN102592351B (en) 2012-02-28 2012-02-28 Authentication method of papery medium

Publications (1)

Publication Number Publication Date
WO2013127185A1 true WO2013127185A1 (en) 2013-09-06

Family

ID=46480933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/083484 WO2013127185A1 (en) 2012-02-28 2012-10-25 Papery medium authentication device and authentication method thereof

Country Status (2)

Country Link
CN (1) CN102592351B (en)
WO (1) WO2013127185A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440701B (en) * 2013-09-11 2015-09-23 广州广电运通金融电子股份有限公司 A kind of magnetic signal detection method of banknote and device
CN106952254A (en) * 2017-03-17 2017-07-14 北京思比科微电子技术股份有限公司 The detection method of the bad row of image bad row

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1196633A (en) * 1997-04-14 1998-10-21 鸿友科技股份有限公司 Device and method for restoration of image
EP1737213A1 (en) * 2005-06-21 2006-12-27 Samsung Electronics Co, Ltd Shading Profile Value Correction Method and Image Scanning Device
CN101589410A (en) * 2006-11-13 2009-11-25 光荣株式会社 Bill handling device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004265036A (en) * 2003-02-28 2004-09-24 Nippon Conlux Co Ltd Paper sheet identification device and method
JP2004326548A (en) * 2003-04-25 2004-11-18 Nippon Conlux Co Ltd Method and apparatus for identifying sheet of paper
JP2004326547A (en) * 2003-04-25 2004-11-18 Nippon Conlux Co Ltd Method and apparatus for identifying sheet of paper
JP5137602B2 (en) * 2008-01-31 2013-02-06 株式会社ユニバーサルエンターテインメント Paper sheet identification device and paper sheet identification method
CN102306415B (en) * 2011-08-01 2013-06-26 广州广电运通金融电子股份有限公司 Portable valuable file identification device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1196633A (en) * 1997-04-14 1998-10-21 鸿友科技股份有限公司 Device and method for restoration of image
EP1737213A1 (en) * 2005-06-21 2006-12-27 Samsung Electronics Co, Ltd Shading Profile Value Correction Method and Image Scanning Device
CN101589410A (en) * 2006-11-13 2009-11-25 光荣株式会社 Bill handling device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG, DONGJIAO ET AL.: "Research on RMB Currency Number Identification System Based on Template Matching", COMPUTER & DIGITAL ENGINEERING, vol. 40, no. 1, January 2012 (2012-01-01), pages 104 - 108, XP008172539 *

Also Published As

Publication number Publication date
CN102592351A (en) 2012-07-18
CN102592351B (en) 2013-11-27

Similar Documents

Publication Publication Date Title
US8983168B2 (en) System and method of categorising defects in a media item
EP3252710B1 (en) Banknote crack detection method and apparatus
KR101446376B1 (en) Identification and verification of an unknown document according to an eigen image process
KR101515256B1 (en) Document verification using dynamic document identification framework
EP3082112B1 (en) Method and device for banknote identification based on thickness signal identification
US20090252437A1 (en) Image Skew Detection Apparatus And Methods
US20050244046A1 (en) Sheet media identification method and sheet media identification apparatus
CN102324134A (en) Valuable document identification method and device
WO2012051925A1 (en) Banknote double-note detection method and device and automated terminal
WO2016065968A1 (en) Method and device for detecting overlapped bank notes
WO2019001191A1 (en) Method and device for detecting spliced banknote
WO2004097753A1 (en) Sheet identifying device and method
WO2013127185A1 (en) Papery medium authentication device and authentication method thereof
RU2689206C1 (en) Device and method of checking valuable documents, primarily banknotes, as well as valuable documents processing system
JP6534278B2 (en) Paper sheet discrimination apparatus and paper sheet discrimination method
WO2013127186A1 (en) Paper medium identifying device and identifying method
JP6582548B2 (en) Serial number recognition device, medium identification device, automatic transaction device, serial number management device, serial number management system, and serial number management program
JP6013232B2 (en) Image reading apparatus and paper sheet processing apparatus
KR101388551B1 (en) Method for determinating fitness and unfitness of banknote
CN111415450B (en) Bill altering detection method and detection device and computer storage medium
JP2007179323A (en) Paper sheet discriminating device and method
US20160148456A1 (en) Method for Providing Measurement Data of a Device for Processing Security Documents and Security-Document Processing Device
JP5976477B2 (en) Character reading device and paper sheet processing device
JP5249353B2 (en) Paper sheet identification device and paper sheet identification method
JP2915608B2 (en) Paper processing equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12870011

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12870011

Country of ref document: EP

Kind code of ref document: A1