WO2022236874A1 - Banknote quality test method and system based on multi-spectral image, and medium - Google Patents

Banknote quality test method and system based on multi-spectral image, and medium Download PDF

Info

Publication number
WO2022236874A1
WO2022236874A1 PCT/CN2021/095958 CN2021095958W WO2022236874A1 WO 2022236874 A1 WO2022236874 A1 WO 2022236874A1 CN 2021095958 W CN2021095958 W CN 2021095958W WO 2022236874 A1 WO2022236874 A1 WO 2022236874A1
Authority
WO
WIPO (PCT)
Prior art keywords
banknote
sub
feature
image
banknotes
Prior art date
Application number
PCT/CN2021/095958
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 WO2022236874A1 publication Critical patent/WO2022236874A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • G06T2207/10036Multispectral image; Hyperspectral image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Definitions

  • the invention relates to the field of banknote quality detection, in particular to a banknote quality detection method, system and storage medium based on multispectral images.
  • paper currency is the current mainstream form of currency circulation, and when paper currency circulates in the market, it is easy to get stains, or someone intentionally or unintentionally scribbles on the paper currency, resulting in frequent graffiti on the surface of the paper currency , dirty, etc., and these paper currencies with graffiti and dirt are not suitable for circulation in the market; in addition, different countries have their own paper currencies, and the surface textures of paper currencies in different countries are not the same. It is difficult to accurately detect the quality of paper money with a complex background; in this situation, a banknote quality evaluation technology is urgently needed to realize the quality rating of banknotes.
  • one of the purposes of the present invention is to provide a banknote quality detection method based on multispectral images, which can perform quality detection on banknotes and improve detection accuracy.
  • the second object of the present invention is to provide a detection system for implementing the method for detecting the quality of banknotes based on multi-spectral images.
  • the third object of the present invention is to provide a storage medium for implementing the method for detecting the quality of banknotes based on multi-spectral images.
  • a banknote quality detection method based on multispectral images comprising:
  • Step S1 Collect the multispectral image of the banknote to be tested, and preprocess the image to obtain multiple sub-regions;
  • Step S2 Extract the characteristic parameters of each sub-region, perform feature fusion on the characteristic parameters of the sub-regions, and import them into the trained regression model to obtain confidence;
  • Step S3 Combining the confidence level and the regional voting strategy to judge the quality of the banknote to be tested.
  • the multispectral image is a red, green, and blue three-band image.
  • the method of the pretreatment is:
  • the corresponding attention weight is assigned to each sub-region according to the image texture features.
  • the feature parameters include Hog feature, Gabor filter local energy, texture statistical histogram feature and image wavelet transform coefficient variance.
  • the training method of the regression model is:
  • a support vector regression model is trained by using the final region feature vectors of multiple banknote images without abnormal features to obtain a trained regression model.
  • N f is the number of RS
  • N c is the number of block connected domains of RS in the texture image, and the area of each connected domain is larger than the area of a single sub-region.
  • the confidence level is divided into three levels:
  • the three grades from low to high represent genuine banknotes, suspected abnormal banknotes and abnormal banknotes.
  • a banknote quality inspection system based on multispectral images including:
  • the acquisition module is used to acquire the multispectral image of the banknote to be tested
  • a preprocessing module for dividing the multispectral image into multiple subregions
  • the feature extraction module is used to extract the feature parameters of each sub-region, and perform feature fusion on the feature parameters of the sub-regions to obtain the final region feature vector;
  • the model analysis module is used to import the final regional feature vector after feature fusion into the trained regression model to obtain confidence;
  • the post-processing module is used for judging the quality of banknotes to be tested in combination with the confidence level and the regional voting strategy.
  • a storage medium stores a program, and when the program is executed by a processor, the above method for detecting banknote quality based on multi-spectral images is realized.
  • the present invention uses the regression model to pre-train banknotes that do not contain abnormal features.
  • the feature vectors of the banknotes to be tested are imported into the trained regression model, and the graffiti in any complex background can be completed. , Dirt detection, to achieve the purpose of quickly detecting the quality of banknotes.
  • Fig. 1 is the schematic diagram of the banknote quality detection method based on the multispectral image of the present invention
  • Fig. 2 is the specific flowchart of the banknote quality detection method based on the multispectral image of the present invention
  • Fig. 3 is a structural block diagram of the multi-spectral image-based banknote quality detection system of the present invention.
  • This embodiment discloses a banknote quality detection method based on multispectral images, which can detect graffiti and dirt on the banknote surface under any complex background, and improve the accuracy of banknote quality evaluation.
  • the banknote quality detection method of the present embodiment comprises the following steps:
  • Step S1 Collect the multispectral image of the banknote to be tested, and preprocess the image to obtain multiple sub-regions;
  • Step S2 Extract the characteristic parameters of each sub-region, perform feature fusion on the characteristic parameters of the sub-regions, and import them into the trained regression model to obtain confidence;
  • Step S3 Perform regional voting strategy processing in combination with the confidence level to judge the quality of the banknote to be tested.
  • Step a Collect multi-spectral images of banknote images without abnormal features.
  • the banknote images without abnormal features refer to the original banknote images without dirt or graffiti.
  • the image information of different bands of the same target is obtained at different times, and in this embodiment, the multi-spectral image specifically refers to the image information of red, green and blue bands.
  • the acquisition method of the multispectral image is an existing technology, and will not be described in detail here.
  • allocating different attention weights can be used to emphasize or select important information of the target processing object, suppress irrelevant detailed information, reduce interference of subsequent feature extraction, and improve feature extraction accuracy.
  • Step c Extract feature parameters for each sub-region, where feature parameters include but not limited to Hog features, Gabor filter local energy, texture statistical histogram features, and image wavelet transform coefficient variance.
  • the Hog feature is the histogram of the gradient distribution of the direction, and the feature is formed by calculating and counting the histogram of the gradient direction of the local area of the image; in this method, 8 gradient directions are used, and the calculated gradient distribution histogram is normalized After this normalization, better effects on illumination changes and shadows can be obtained, and finally an 8-dimensional Hog feature vector is obtained.
  • the Gabor filter bank in 4 directions 2 wavelengths to choose from.
  • the local energy here is represented by the global gray level of the Gabor filtered sub-region. Due to the complexity of the texture, the direction and wavelength can be set according to the specific texture, and finally an 8-dimensional feature vector is obtained.
  • the texture statistical histogram feature can be represented by the following six metrics:
  • is the average value of the gray level in the region
  • Z i refers to the value corresponding to the i-th gray level
  • L means that the sub-region has L gray levels
  • p(Z i ) means the value of the i-th gray level Frequency
  • represents the gray standard deviation in the region
  • the finally generated texture statistical histogram feature is (s 1 , s 2 , s 3 , s 4 , s 5 , s 6 ), which is a 6-dimensional feature vector.
  • the variance of the image wavelet transform coefficients in the feature parameters is a four-dimensional vector, representing the variance of the coefficients calculated from the low-pass decomposition filter. These four coefficients are approximate, horizontal, vertical, and diagonal coefficients.
  • Step d Concatenate the above feature parameters into a 26-dimensional initial feature vector V i , and then multiply the initial feature vector by the regional attention weight ⁇ i to obtain the final regional feature vector V f .
  • Different weights are added to the final regional feature vector Vf , which improves the detection ability of graffiti and dirty banknotes in weak texture areas, reduces the probability of mistaking genuine banknotes for graffiti and dirty banknotes in strong texture areas, and further improves the accuracy of banknote quality detection. sex.
  • Step e use the final region feature vector V f to train the support vector regression model M 1 to complete the training step of the regression model.
  • the specific method of training the support vector regression model is as follows:
  • ⁇ k represents the Lagrangian multiplier corresponding to the kth sample x k in the decision function
  • b represents the bias of the decision function.
  • ⁇ i represents the Lagrangian multiplier corresponding to the i -th sample point
  • kij represents the kernel function product of the i-th sample point and the j-th sample point.
  • is the insensitivity loss factor.
  • the final Lagrangian vector ⁇ ( ⁇ 1 , ⁇ 2 ,..., ⁇ k ,..., ⁇ N ) is calculated, the final decision bias is b, and the calculated regression decision function :
  • ⁇ i represents the i-th Lagrangian multiplier in the final Lagrangian vector
  • x i is the i-th sample in the training sample set
  • x is a new sample
  • K( xi , x) is the training sample set
  • y x represents the output of the regression decision function corresponding to the new sample x.
  • the multi-spectral image of the banknote to be tested can be collected, and the image of the banknote to be tested is partitioned according to the above steps a to step d to obtain the final regional feature vector V f of the banknote to be tested for each sub-region.
  • the final region feature vector V f is input as a test sample set into the already trained regression model for calculation, and the output value of the regression model M1 is used as the confidence degree Conf that the sub-region contains abnormal features; in this embodiment, Conf is divided into 3 A grade (Grade), as shown in the following formula:
  • the three levels from low to high represent genuine banknotes, suspected abnormal banknotes, and abnormal banknotes.
  • N f is the number of RS.
  • Grade i represents the confidence level of the i -th sub-region in Nf.
  • N c is the number of block-connected domains of RS in the texture image, and the minimum is 1. The area of each connected domain must be larger than the area of a single subregion.
  • Nc When Grade i is constant, the larger Nc means that the distribution of abnormal banknotes is relatively discrete, and the score of regional voting will be low; when Nc is constant and Grade i is smaller, it means that banknotes are abnormally distributed The degree is relatively low, and the score of regional voting will also be low at this time.
  • the regression model is used to perform feature training on the banknotes without abnormal features in advance.
  • the feature vectors of the banknotes to be tested are imported into the trained regression model, and the detection of any complex background can be completed. Graffiti and dirt detection to achieve the purpose of quickly detecting the quality of banknotes.
  • This embodiment provides a banknote quality detection system based on multispectral images.
  • the system executes the banknote quality detection method based on multispectral images described in Embodiment 1.
  • the detection system of this embodiment specifically includes the following module:
  • the collection module is used to collect the multispectral image of the banknote to be tested, wherein the multispectral image is the image information of three bands of red, green and blue;
  • the preprocessing module is used to divide the multi-spectral image into multiple sub-regions.
  • the division rule is to divide the multi-spectral image into N*N sub-regions on average. In the N*N sub-regions, according to the texture depth in the original banknote image , assigning different attention weights ⁇ j to the degree of density;
  • the feature extraction module is used to extract the feature parameters of each sub-region, perform feature fusion on the feature parameters of the sub-regions to obtain the initial feature vector V i , and then multiply the initial feature vector by the regional attention weight ⁇ i to obtain the final regional feature vector V f ;
  • characteristic parameters include but not limited to Hog feature, Gabor filter local energy, texture statistical histogram feature and image wavelet transform coefficient variance;
  • the model analysis module is used to import the final regional feature vector V f into the trained regression model to obtain the degree of confidence;
  • the post-processing module is used for judging the quality of banknotes to be tested in combination with the confidence level and the regional voting strategy.
  • This embodiment provides a banknote quality detection device, including:
  • a memory for storing the program
  • the processor is configured to load the program to execute the multi-spectral image-based banknote quality detection method described in Embodiment 1.
  • this embodiment also provides a storage medium, which stores a program, which is characterized in that, when the program is executed by a processor, the method for detecting the quality of banknotes based on multi-spectral images as described above is realized.
  • the device and storage medium in this embodiment are based on the two aspects of the same inventive concept as the method in the previous embodiment.
  • the implementation process of the method has been described in detail above, so those skilled in the art can understand clearly from the foregoing description To understand the structure and implementation process of the device in this implementation, for the sake of brevity of the description, details will not be repeated here.
  • the above-mentioned embodiment is only a preferred embodiment of the present invention, and cannot be used to limit the protection scope of the present invention. Any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention belong to the scope of the present invention. Scope of protection claimed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Image Analysis (AREA)

Abstract

A banknote quality test method and system based on a multi-spectral image, and a storage medium. The banknote quality test method comprises: collecting a multi-spectral image of a banknote to be tested, and pre-processing the image to obtain a plurality of sub-regions; extracting a feature parameter of each sub-region, performing feature fusion on feature parameters of the sub-regions, and then importing same into a trained regression model to obtain a degree of confidence; and determining the quality of said banknote by means of combining the degree of confidence and a regional voting policy. Feature training is performed in advance on banknotes without abnormal features by using a regression model, and when a banknote to be tested needs to be tested, a feature vector of said banknote is imported into the trained regression model, such that graffiti and smudginess detection in any complex background can be completed, thereby achieving the aim of quickly testing the quality of a banknote.

Description

一种基于多光谱图像的钞票质量检测方法、系统及介质A banknote quality detection method, system and medium based on multispectral images 技术领域technical field
本发明涉及钞票质量检测领域,尤其涉及一种基于多光谱图像的钞票质量检测方法、系统及存储介质。The invention relates to the field of banknote quality detection, in particular to a banknote quality detection method, system and storage medium based on multispectral images.
背景技术Background technique
目前,纸质货币是目前主流的货币流通形式,而纸质货币在市场中流通时,容易沾上污渍,或者有人有意或无意在纸质货币上进行涂写,导致纸质货币表面会经常存在涂鸦、脏污等情况,而这些存在涂鸦、脏污的纸质货币不宜在市场上流通;再加上不同的国家拥有其各自的纸质货币,不同国家的纸质货币表面纹理并不相同,想要准确地对具有复杂背景的纸质货币的质量进行检测,存在一定的难度;在这种形势下,亟待一种钞票质量评价技术,实现对钞票的质量评级。At present, paper currency is the current mainstream form of currency circulation, and when paper currency circulates in the market, it is easy to get stains, or someone intentionally or unintentionally scribbles on the paper currency, resulting in frequent graffiti on the surface of the paper currency , dirty, etc., and these paper currencies with graffiti and dirt are not suitable for circulation in the market; in addition, different countries have their own paper currencies, and the surface textures of paper currencies in different countries are not the same. It is difficult to accurately detect the quality of paper money with a complex background; in this situation, a banknote quality evaluation technology is urgently needed to realize the quality rating of banknotes.
发明内容Contents of the invention
为了克服现有技术的不足,本发明的目的之一在于提供一种基于多光谱图像的钞票质量检测方法,可对钞票进行质量检测,提高检测准确性。In order to overcome the deficiencies of the prior art, one of the purposes of the present invention is to provide a banknote quality detection method based on multispectral images, which can perform quality detection on banknotes and improve detection accuracy.
本发明的目的之二在于提供一种执行上述基于多光谱图像的钞票质量检测方法的检测系统。The second object of the present invention is to provide a detection system for implementing the method for detecting the quality of banknotes based on multi-spectral images.
本发明的目的之三在于提供一种执行上述基于多光谱图像的钞票质量检测方法的存储介质。The third object of the present invention is to provide a storage medium for implementing the method for detecting the quality of banknotes based on multi-spectral images.
本发明的目的之一采用如下技术方案实现:One of purpose of the present invention adopts following technical scheme to realize:
一种基于多光谱图像的钞票质量检测方法,包括:A banknote quality detection method based on multispectral images, comprising:
步骤S1:采集待测钞票的多光谱图像,对图像进行预处理以获得多个子区域;Step S1: Collect the multispectral image of the banknote to be tested, and preprocess the image to obtain multiple sub-regions;
步骤S2:提取每个子区域的特征参数,对子区域的特征参数进行特征融合后导入训练好的回归模型中获得置信度;Step S2: Extract the characteristic parameters of each sub-region, perform feature fusion on the characteristic parameters of the sub-regions, and import them into the trained regression model to obtain confidence;
步骤S3:结合置信度和区域投票策略进行待测钞票质量判断。Step S3: Combining the confidence level and the regional voting strategy to judge the quality of the banknote to be tested.
进一步地,所述多光谱图像为红、绿、蓝三波段图像。Further, the multispectral image is a red, green, and blue three-band image.
进一步地,所述预处理的方法为:Further, the method of the pretreatment is:
将钞票多光谱图像平均分为N*N个子区域,其中N为非零自然数;Divide the banknote multispectral image into N*N sub-regions on average, wherein N is a non-zero natural number;
根据图像纹理特征对每个子区域分配对应的注意力权重。The corresponding attention weight is assigned to each sub-region according to the image texture features.
进一步地,所述特征参数包括Hog特征、Gabor滤波器局部能量、纹理统计直方图特征和图像小波变换系数方差。Further, the feature parameters include Hog feature, Gabor filter local energy, texture statistical histogram feature and image wavelet transform coefficient variance.
进一步地,所述特征融合的方法为:Further, the method of feature fusion is:
将所述子区域的特征参数拼接为26维的初识特征向量;Splicing the feature parameters of the sub-regions into a 26-dimensional primary feature vector;
将所述初识特征向量乘以该区域对应的所述注意力权重得到最终区域特征向量。Multiplying the initial feature vector by the attention weight corresponding to the area to obtain a final area feature vector.
进一步地,所述回归模型的训练方法为:Further, the training method of the regression model is:
利用多个不含异常特征的钞票图像的最终区域特征向量训练支持向量回归模型以获得训练好的回归模型。A support vector regression model is trained by using the final region feature vectors of multiple banknote images without abnormal features to obtain a trained regression model.
进一步地,所述区域投票策略为:Further, the regional voting strategy is:
Figure PCTCN2021095958-appb-000001
Figure PCTCN2021095958-appb-000001
其中,设置信度等级大于等于2的子区域为RS,N f是RS的个数;N c是RS在纹理图像的块连通域个数,每个连通域的面积大于单个子区域的面积。 Among them, set the sub-region with reliability level greater than or equal to 2 as RS, N f is the number of RS; N c is the number of block connected domains of RS in the texture image, and the area of each connected domain is larger than the area of a single sub-region.
进一步地,所述置信度分为三个等级:Further, the confidence level is divided into three levels:
Figure PCTCN2021095958-appb-000002
Figure PCTCN2021095958-appb-000002
其中,三个等级从低到高分别代表真钞、疑似异常钞和异常钞。Among them, the three grades from low to high represent genuine banknotes, suspected abnormal banknotes and abnormal banknotes.
本发明的目的之二采用如下技术方案实现:Two of the purpose of the present invention adopts following technical scheme to realize:
一种基于多光谱图像的钞票质量检测系统,包括:A banknote quality inspection system based on multispectral images, including:
采集模块,用于采集待测钞票的多光谱图像;The acquisition module is used to acquire the multispectral image of the banknote to be tested;
预处理模块,用于将多光谱图像划分为多个子区域;A preprocessing module for dividing the multispectral image into multiple subregions;
特征提取模块,用于提取每个子区域的特征参数,对子区域的特征参数进行特征融合以获得最终区域特征向量;The feature extraction module is used to extract the feature parameters of each sub-region, and perform feature fusion on the feature parameters of the sub-regions to obtain the final region feature vector;
模型分析模块,用于将特征融合后的最终区域特征向量导入训练好的回归模型中获得置信度;The model analysis module is used to import the final regional feature vector after feature fusion into the trained regression model to obtain confidence;
后处理模块,用于结合置信度和区域投票策略进行待测钞票质量判断。The post-processing module is used for judging the quality of banknotes to be tested in combination with the confidence level and the regional voting strategy.
本发明的目的之三采用如下技术方案实现:Three of the purpose of the present invention adopts following technical scheme to realize:
一种存储介质,其存储有程序,所述程序被处理器执行时实现如上述的基于多光谱图像的钞票质量检测方法。A storage medium stores a program, and when the program is executed by a processor, the above method for detecting banknote quality based on multi-spectral images is realized.
相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:
本发明利用回归模型预先将不含异常特征的钞票进行特征训练,在需要对待测钞票进行检测时,将待测钞票的特征向量导入训练好的回归模型中,即可完成任何复杂背景下的涂鸦、脏污检测,实现快速检测钞票质量的目的。The present invention uses the regression model to pre-train banknotes that do not contain abnormal features. When the banknotes to be tested need to be detected, the feature vectors of the banknotes to be tested are imported into the trained regression model, and the graffiti in any complex background can be completed. , Dirt detection, to achieve the purpose of quickly detecting the quality of banknotes.
附图说明Description of drawings
图1为本发明基于多光谱图像的钞票质量检测方法的示意图;Fig. 1 is the schematic diagram of the banknote quality detection method based on the multispectral image of the present invention;
图2为本发明基于多光谱图像的钞票质量检测方法的具体流程图;Fig. 2 is the specific flowchart of the banknote quality detection method based on the multispectral image of the present invention;
图3为本发明基于多光谱图像的钞票质量检测系统的结构框图。Fig. 3 is a structural block diagram of the multi-spectral image-based banknote quality detection system of the present invention.
具体实施方式Detailed ways
下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。Below, the present invention will be further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of not conflicting, the various embodiments described below or the technical features can be combined arbitrarily to form new embodiments. .
实施例一Embodiment one
本实施例公开一种基于多光谱图像的钞票质量检测方法,可实现任何复杂背景下对钞票表面的涂鸦、脏污等情况进行检测,提高钞票质量评价准确性。This embodiment discloses a banknote quality detection method based on multispectral images, which can detect graffiti and dirt on the banknote surface under any complex background, and improve the accuracy of banknote quality evaluation.
如图1、图2所示,本实施例的钞票质量检测方法包括如下步骤:As shown in Figure 1 and Figure 2, the banknote quality detection method of the present embodiment comprises the following steps:
步骤S1:采集待测钞票的多光谱图像,对图像进行预处理以获得多个子区域;Step S1: Collect the multispectral image of the banknote to be tested, and preprocess the image to obtain multiple sub-regions;
步骤S2:提取每个子区域的特征参数,对子区域的特征参数进行特征融合后导入训练好的回归模型中获得置信度;Step S2: Extract the characteristic parameters of each sub-region, perform feature fusion on the characteristic parameters of the sub-regions, and import them into the trained regression model to obtain confidence;
步骤S3:结合置信度进行区域投票策略处理以判断待测钞票质量。Step S3: Perform regional voting strategy processing in combination with the confidence level to judge the quality of the banknote to be tested.
本实施例在对待测钞票进行质量检测之前,需要预先构建回归模型,所述回归模型的训练方法为:In this embodiment, before the banknotes to be tested are subjected to quality inspection, a regression model needs to be constructed in advance, and the training method of the regression model is:
步骤a:采集不含异常特征的钞票图像的多光谱图像,其中不含异常特征的钞票图像具体是指不含脏污、涂鸦等情况的原钞票图像,通过摄像头摄影或扫描的方式,在同一时间获得同一目标不同波段的图像信息,而本实施例中,多光谱图像具体是指红、绿和蓝三波段的图像信息。而多光谱图像的获取方法为现有技术,在此不做详细描述。Step a: Collect multi-spectral images of banknote images without abnormal features. Specifically, the banknote images without abnormal features refer to the original banknote images without dirt or graffiti. The image information of different bands of the same target is obtained at different times, and in this embodiment, the multi-spectral image specifically refers to the image information of red, green and blue bands. The acquisition method of the multispectral image is an existing technology, and will not be described in detail here.
步骤b:对多光谱图像平均分为N*N个子区域,在N*N个子区域中,根据原钞票图像中对纹理深浅程度、疏密程度分配不同的注意力权重α j,其中j=1,2,......,N*N。本实施例通过分配不同的注意力权重可用于强调或选择目标处理对象的重要信息,抑制无关的细节信息,减少后续特征提取的干扰,提高特征提取准确度。 Step b: Divide the multispectral image into N*N sub-regions on average, and in the N*N sub-regions, assign different attention weights α j according to the texture depth and density in the original banknote image, where j=1 ,2,...,N*N. In this embodiment, allocating different attention weights can be used to emphasize or select important information of the target processing object, suppress irrelevant detailed information, reduce interference of subsequent feature extraction, and improve feature extraction accuracy.
步骤c:对每个子区域进行特征参数提取,其中特征参数包括但不限于Hog特征、Gabor滤波器局部能量、纹理统计直方图特征和图像小波变换系数方差。Step c: Extract feature parameters for each sub-region, where feature parameters include but not limited to Hog features, Gabor filter local energy, texture statistical histogram features, and image wavelet transform coefficient variance.
其中,Hog特征为方向梯度分布直方图,通过计算和统计图像局部区域的梯度方向直方图来构成特征;在本方法中,使用8个梯度方向,并对计算出的梯度分布直方图进行归一化处理,通过这个归一化后,能对光照变化和阴影获得更好的效果,最后得到一个8维的Hog特征向量。Among them, the Hog feature is the histogram of the gradient distribution of the direction, and the feature is formed by calculating and counting the histogram of the gradient direction of the local area of the image; in this method, 8 gradient directions are used, and the calculated gradient distribution histogram is normalized After this normalization, better effects on illumination changes and shadows can be obtained, and finally an 8-dimensional Hog feature vector is obtained.
而Gabor滤波器组在4个方向
Figure PCTCN2021095958-appb-000003
2种波长上选择。这里的局部能量使用Gabor滤波后的子区域的全局灰度来表示。由于纹理的复杂性,这里方向与波长均可根据具体的纹理来设置,最后得到一个8维的特征向量。
And the Gabor filter bank in 4 directions
Figure PCTCN2021095958-appb-000003
2 wavelengths to choose from. The local energy here is represented by the global gray level of the Gabor filtered sub-region. Due to the complexity of the texture, the direction and wavelength can be set according to the specific texture, and finally an 8-dimensional feature vector is obtained.
其中,纹理统计直方图特征可使用以下6个量度来表示:Among them, the texture statistical histogram feature can be represented by the following six metrics:
(1)直方图的方差,如下式所示:(1) The variance of the histogram, as shown in the following formula:
Figure PCTCN2021095958-appb-000004
Figure PCTCN2021095958-appb-000004
(2)概率平方和,如下式所示:(2) Probability sum of squares, as shown in the following formula:
Figure PCTCN2021095958-appb-000005
Figure PCTCN2021095958-appb-000005
(3)平均熵,如下式所示:(3) Average entropy, as shown in the following formula:
Figure PCTCN2021095958-appb-000006
Figure PCTCN2021095958-appb-000006
(4)相对平滑度,如下式所示:(4) Relative smoothness, as shown in the following formula:
Figure PCTCN2021095958-appb-000007
Figure PCTCN2021095958-appb-000007
(5)偏斜度,如下式所示:(5) Skewness, as shown in the following formula:
Figure PCTCN2021095958-appb-000008
Figure PCTCN2021095958-appb-000008
(6)峰度,如下式所示:(6) Kurtosis, as shown in the following formula:
Figure PCTCN2021095958-appb-000009
Figure PCTCN2021095958-appb-000009
其中,μ为区域内灰度均值,Z i指第i个灰度等级对应的值,L表示子区域有L个灰度等级,p(Z i)表示第i个灰度等级上的值的频率,σ表示区域内灰度标准差,最终生成的纹理统计直方图特征为(s 1,s 2,s 3,s 4,s 5,s 6),是一个6维的特征向量。 Among them, μ is the average value of the gray level in the region, Z i refers to the value corresponding to the i-th gray level, L means that the sub-region has L gray levels, and p(Z i ) means the value of the i-th gray level Frequency, σ represents the gray standard deviation in the region, and the finally generated texture statistical histogram feature is (s 1 , s 2 , s 3 , s 4 , s 5 , s 6 ), which is a 6-dimensional feature vector.
而特征参数中的图像小波变换系数方差是一个四维向量,分别代表从低通分解滤波器计算而来的系数的方差,这四个系数分别是近似、水平、垂直、对角系数。The variance of the image wavelet transform coefficients in the feature parameters is a four-dimensional vector, representing the variance of the coefficients calculated from the low-pass decomposition filter. These four coefficients are approximate, horizontal, vertical, and diagonal coefficients.
步骤d:将上述特征参数拼接为26维的初始特征向量V i,再把初始特征向量乘以区域注意力权重α i得到最终区域特征向量V f。最终区域特征向量V f加入了不同的权重,提高了弱纹理区涂鸦、脏污钞的检测能力,降低了强纹理区真钞误认为涂鸦、脏污钞的概率,进一步提高钞票质量检测的准确性。 Step d: Concatenate the above feature parameters into a 26-dimensional initial feature vector V i , and then multiply the initial feature vector by the regional attention weight α i to obtain the final regional feature vector V f . Different weights are added to the final regional feature vector Vf , which improves the detection ability of graffiti and dirty banknotes in weak texture areas, reduces the probability of mistaking genuine banknotes for graffiti and dirty banknotes in strong texture areas, and further improves the accuracy of banknote quality detection. sex.
步骤e:使用最终区域特征向量V f来训练支持向量回归模型M 1,以完成回归模型的训练步骤。 Step e: use the final region feature vector V f to train the support vector regression model M 1 to complete the training step of the regression model.
训练支持向量回归模型的具体方法如下:The specific method of training the support vector regression model is as follows:
(1)设定训练样本集合:(1) Set the training sample set:
将最终区域特征向量V f设定为训练样本集合T={(x 1,y 1),(x 2,y 2),...,(x k,y k),...,(x N,y N)},x k∈R n,R n为输入空间,n表示输入空间的维数。输出空间的值y k∈R,R为输出空间。(x k,y k)表示第k个样本点,N表示训练集合中有N个样本点,设定不敏感损失因子ε与惩罚因子C。 Set the final region feature vector V f as the training sample set T={(x 1 ,y 1 ),(x 2 ,y 2 ),...,(x k ,y k ),...,(x N ,y N )}, x k ∈ R n , R n is the input space, and n represents the dimension of the input space. The value of the output space y k ∈ R, R is the output space. (x k , y k ) means the kth sample point, N means there are N sample points in the training set, and set the insensitive loss factor ε and penalty factor C.
(2)计算核函数矩阵K并进行初始化:(2) Calculate the kernel function matrix K and initialize it:
计算核函数矩阵K,k pq=K(x p,x q)=<φ(x p),φ(x q)>,其中,k pq表示第p个样本点和第q个样本点的核函数积,φ(x)为核函数;初始化拉格朗日乘子常量λ=(λ 12,...,λ k,...,λ N)=0,决策函数偏置b等于0。其中,λ k表示决策函数中第k个样本x k对应的拉格朗日乘子,b表示决策函数的偏置。 Calculate the kernel function matrix K, k pq =K(x p ,x q )=<φ(x p ),φ(x q )>, where k pq represents the kernel of the pth sample point and the qth sample point Function product, φ(x) is kernel function; initialize Lagrangian multiplier constant λ=(λ 12 ,...,λ k ,...,λ N )=0, decision function bias b is equal to 0. Among them, λ k represents the Lagrangian multiplier corresponding to the kth sample x k in the decision function, and b represents the bias of the decision function.
(3)利用SMO算法优化目标函数,直至训练集的所有样本满足KKT条件。待优化目标函数如下:(3) Use the SMO algorithm to optimize the objective function until all samples in the training set satisfy the KKT condition. The objective function to be optimized is as follows:
Figure PCTCN2021095958-appb-000010
Figure PCTCN2021095958-appb-000010
Figure PCTCN2021095958-appb-000011
Figure PCTCN2021095958-appb-000011
其中,λ i表示第i个样本点对应的拉格朗日乘子,k ij表示第i个样本点和第j个样本点的核函数积。ε为不敏感损失因子。 Among them, λi represents the Lagrangian multiplier corresponding to the i -th sample point, and kij represents the kernel function product of the i-th sample point and the j-th sample point. ε is the insensitivity loss factor.
(4)计算最终得到的回归决策函数:(4) Calculate the final regression decision function:
训练结束,计算得到最终的拉格朗日向量λ=(λ 12,...,λ k,...,λ N),最终的决策偏置为b,计算得到的回归决策函数:
Figure PCTCN2021095958-appb-000012
其中,λ i表示最终拉格朗日向量中第i个拉格朗日乘子,x i为训练样本集中的第i个样本,x为新样本,K(x i,x)为训练样本集中第i个样本与新样本x的核函数积,y x表示新样本x对应 的回归决策函数的输出。
At the end of the training, the final Lagrangian vector λ=(λ 12 ,...,λ k ,...,λ N ) is calculated, the final decision bias is b, and the calculated regression decision function :
Figure PCTCN2021095958-appb-000012
Among them, λ i represents the i-th Lagrangian multiplier in the final Lagrangian vector, x i is the i-th sample in the training sample set, x is a new sample, and K( xi , x) is the training sample set The kernel function product of the i-th sample and the new sample x, y x represents the output of the regression decision function corresponding to the new sample x.
回归模型训练完毕后,即可采集待测钞票的多光谱图像,按照上述步骤a~步骤d的方法对待测钞票图像分区处理,获得待测钞票对每个子区域的最终区域特征向量V f,将最终区域特征向量V f作为测试样本集合输入至已经训练好的回归模型中进行运算,并将回归模型M 1的输出值作为子区域含有异常特征的置信度Conf;本实施例把Conf分为3个等级(Grade),如下式所示: After the regression model training is completed, the multi-spectral image of the banknote to be tested can be collected, and the image of the banknote to be tested is partitioned according to the above steps a to step d to obtain the final regional feature vector V f of the banknote to be tested for each sub-region. The final region feature vector V f is input as a test sample set into the already trained regression model for calculation, and the output value of the regression model M1 is used as the confidence degree Conf that the sub-region contains abnormal features; in this embodiment, Conf is divided into 3 A grade (Grade), as shown in the following formula:
Figure PCTCN2021095958-appb-000013
Figure PCTCN2021095958-appb-000013
三个等级从低到高分别代表真钞、疑似异常钞、异常钞。The three levels from low to high represent genuine banknotes, suspected abnormal banknotes, and abnormal banknotes.
本实施例中考虑到钞票的异常特征往往集中成片出现,因此在最后二分类时还需执行区域投票策略处理,最后基于区域投票策略处理结果来判断钞票的质量;本实施例在进行区域投票策略处理时,还需同时考虑各区域的相对位置与各自的置信度等级。区域投票策略如下式所示:In this embodiment, considering that the abnormal features of banknotes often appear concentrated in pieces, it is necessary to perform regional voting strategy processing during the final two classifications, and finally judge the quality of banknotes based on the results of regional voting strategy processing; this embodiment is performing regional voting During policy processing, it is also necessary to consider the relative positions of each region and their respective confidence levels. The regional voting strategy is as follows:
Figure PCTCN2021095958-appb-000014
Figure PCTCN2021095958-appb-000014
其中,设置信度等级大于等于2的子区域为RS,N f是RS的个数。Grade i代表N f中第i个子区域的置信度等级。根据RS在空间上是否连通,引入块连通域的概念。N c是RS在纹理图像的块连通域个数,最小为1。每个连通域的面积必须大于单个子区域的面积。当Grade i不变时,N c越大,意味着钞票异常的区域分布地比较离散,这时区域投票的得分就会偏低;当N c不变,Grade i较小时,意味着钞票异常的程度比较低,这时区域投票的得分也会偏低。 Wherein, set the sub-area whose reliability level is greater than or equal to 2 as RS, and N f is the number of RS. Grade i represents the confidence level of the i -th sub-region in Nf. According to whether RS is connected in space, the concept of block connected domain is introduced. N c is the number of block-connected domains of RS in the texture image, and the minimum is 1. The area of each connected domain must be larger than the area of a single subregion. When Grade i is constant, the larger Nc means that the distribution of abnormal banknotes is relatively discrete, and the score of regional voting will be low; when Nc is constant and Grade i is smaller, it means that banknotes are abnormally distributed The degree is relatively low, and the score of regional voting will also be low at this time.
当Y<3,钞票不存在异常;When Y<3, there is no abnormality in the banknote;
当3<=Y<=5,钞票轻微异常;When 3<=Y<=5, the banknote is slightly abnormal;
当6<=Y<=9,钞票较严重异常;When 6<=Y<=9, the banknote is seriously abnormal;
当Y>10,钞票严重异常。When Y>10, the banknote is seriously abnormal.
本实施例利用回归模型预先将不含异常特征的钞票进行特征训练,在需要对待测钞票进行检测时,将待测钞票的特征向量导入训练好的回归模型中,即可完成任何复杂背景下的涂鸦、脏污检测,实现快速检测钞票质量的目的。In this embodiment, the regression model is used to perform feature training on the banknotes without abnormal features in advance. When the banknotes to be tested need to be detected, the feature vectors of the banknotes to be tested are imported into the trained regression model, and the detection of any complex background can be completed. Graffiti and dirt detection to achieve the purpose of quickly detecting the quality of banknotes.
实施例二Embodiment two
本实施例提供一种基于多光谱图像的钞票质量检测系统,该系统执行实施例一所述的基于多光谱图像的钞票质量检测方法,如图3所示,本实施例的检测系统具体包括如下模块:This embodiment provides a banknote quality detection system based on multispectral images. The system executes the banknote quality detection method based on multispectral images described in Embodiment 1. As shown in FIG. 3, the detection system of this embodiment specifically includes the following module:
采集模块,用于采集待测钞票的多光谱图像,其中多光谱图像为红、绿和蓝三个波段的图像信息;The collection module is used to collect the multispectral image of the banknote to be tested, wherein the multispectral image is the image information of three bands of red, green and blue;
预处理模块,用于将多光谱图像划分为多个子区域,其划分规律为对多光谱图像平均分为N*N个子区域,在N*N个子区域中,根据原钞票图像中对纹理深浅程度、疏密程度分配不同的注意力权重α jThe preprocessing module is used to divide the multi-spectral image into multiple sub-regions. The division rule is to divide the multi-spectral image into N*N sub-regions on average. In the N*N sub-regions, according to the texture depth in the original banknote image , assigning different attention weights α j to the degree of density;
特征提取模块,用于提取每个子区域的特征参数,将子区域的特征参数进行特征融合获得初始特征向量V i,再把初始特征向量乘以区域注意力权重α i得到最终区域特征向量V f;其中,特征参数包括但不限于Hog特征、Gabor滤波器局部能量、纹理统计直方图特征和图像小波变换系数方差; The feature extraction module is used to extract the feature parameters of each sub-region, perform feature fusion on the feature parameters of the sub-regions to obtain the initial feature vector V i , and then multiply the initial feature vector by the regional attention weight α i to obtain the final regional feature vector V f ; Wherein, characteristic parameters include but not limited to Hog feature, Gabor filter local energy, texture statistical histogram feature and image wavelet transform coefficient variance;
模型分析模块,用于将最终区域特征向量V f导入训练好的回归模型中获得置信度; The model analysis module is used to import the final regional feature vector V f into the trained regression model to obtain the degree of confidence;
后处理模块,用于结合置信度和区域投票策略进行待测钞票质量判断。The post-processing module is used for judging the quality of banknotes to be tested in combination with the confidence level and the regional voting strategy.
实施例三Embodiment Three
本实施例提供一种钞票质量检测装置,包括:This embodiment provides a banknote quality detection device, including:
程序;program;
存储器,用于存储所述程序;a memory for storing the program;
处理器,用于加载所述程序以执行实施例一所述的基于多光谱图像的钞票质量检测方法。The processor is configured to load the program to execute the multi-spectral image-based banknote quality detection method described in Embodiment 1.
此外,本实施例还提供一种存储介质,其存储有程序,其特征在于,所述程序被处理器执行时实现如上述的基于多光谱图像的钞票质量检测方法。In addition, this embodiment also provides a storage medium, which stores a program, which is characterized in that, when the program is executed by a processor, the method for detecting the quality of banknotes based on multi-spectral images as described above is realized.
本实施例中的装置及存储介质与前述实施例中的方法是基于同一发明构思下的两个方面,在前面已经对方法实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚地了解本实施中的装置的结构及实施过程,为了说明书的简洁,在此就不再赘述。上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。The device and storage medium in this embodiment are based on the two aspects of the same inventive concept as the method in the previous embodiment. The implementation process of the method has been described in detail above, so those skilled in the art can understand clearly from the foregoing description To understand the structure and implementation process of the device in this implementation, for the sake of brevity of the description, details will not be repeated here. The above-mentioned embodiment is only a preferred embodiment of the present invention, and cannot be used to limit the protection scope of the present invention. Any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention belong to the scope of the present invention. Scope of protection claimed.
上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。The above-mentioned embodiment is only a preferred embodiment of the present invention, and cannot be used to limit the protection scope of the present invention. Any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention belong to the scope of the present invention. Scope of protection claimed.

Claims (10)

  1. 一种基于多光谱图像的钞票质量检测方法,其特征在于,包括:A method for detecting the quality of banknotes based on multispectral images, characterized in that it includes:
    步骤S1:采集待测钞票的多光谱图像,对图像进行预处理以获得多个子区域;Step S1: Collect the multispectral image of the banknote to be tested, and preprocess the image to obtain multiple sub-regions;
    步骤S2:提取每个子区域的特征参数,对子区域的特征参数进行特征融合后导入训练好的回归模型中获得置信度;Step S2: Extract the characteristic parameters of each sub-region, perform feature fusion on the characteristic parameters of the sub-regions, and import them into the trained regression model to obtain confidence;
    步骤S3:结合置信度和区域投票策略进行待测钞票质量判断。Step S3: Combining the confidence level and the regional voting strategy to judge the quality of the banknote to be tested.
  2. 根据权利要求1所述的基于多光谱图像的钞票质量检测方法,其特征在于,所述多光谱图像为红、绿、蓝三波段图像。The banknote quality detection method based on multi-spectral images according to claim 1, wherein the multi-spectral images are red, green and blue three-band images.
  3. 根据权利要求1所述的基于多光谱图像的钞票质量检测方法,其特征在于,所述预处理的方法为:The method for detecting the quality of banknotes based on multispectral images according to claim 1, wherein the preprocessing method is:
    将钞票多光谱图像平均分为N*N个子区域,其中N为非零自然数;Divide the banknote multispectral image into N*N sub-regions on average, wherein N is a non-zero natural number;
    根据图像纹理特征对每个子区域分配对应的注意力权重。The corresponding attention weight is assigned to each sub-region according to the image texture features.
  4. 根据权利要求1所述的基于多光谱图像的钞票质量检测方法,其特征在于,所述特征参数包括Hog特征、Gabor滤波器局部能量、纹理统计直方图特征和图像小波变换系数方差。The banknote quality detection method based on multi-spectral images according to claim 1, wherein the feature parameters include Hog features, Gabor filter local energy, texture statistical histogram features and image wavelet transform coefficient variance.
  5. 根据权利要求3所述的基于多光谱图像的钞票质量检测方法,其特征在于,所述特征融合的方法为:The banknote quality detection method based on multispectral images according to claim 3, wherein the method of feature fusion is:
    将所述子区域的特征参数拼接为26维的初识特征向量;Splicing the feature parameters of the sub-regions into a 26-dimensional primary feature vector;
    将所述初识特征向量乘以该区域对应的所述注意力权重得到最终区域特征向量。Multiplying the initial feature vector by the attention weight corresponding to the area to obtain a final area feature vector.
  6. 根据权利要求1所述的基于多光谱图像的钞票质量检测方法,其特征在于,所述回归模型的训练方法为:The banknote quality detection method based on multispectral images according to claim 1, wherein the training method of the regression model is:
    利用多个不含异常特征的钞票图像的最终区域特征向量训练支持向量回归 模型以获得训练好的回归模型。Using the final region feature vectors of multiple banknote images without abnormal features to train the support vector regression model to obtain a trained regression model.
  7. 根据权利要求1所述的基于多光谱图像的钞票质量检测方法,其特征在于,所述区域投票策略为:The banknote quality detection method based on multispectral images according to claim 1, wherein the regional voting strategy is:
    Figure PCTCN2021095958-appb-100001
    Figure PCTCN2021095958-appb-100001
    其中,设置信度等级大于等于2的子区域为RS,N f是RS的个数;N c是RS在纹理图像的块连通域个数,每个连通域的面积大于单个子区域的面积。 Among them, set the sub-region with reliability level greater than or equal to 2 as RS, N f is the number of RS; N c is the number of block connected domains of RS in the texture image, and the area of each connected domain is larger than the area of a single sub-region.
  8. 根据权利要求1所述的基于多光谱图像的钞票质量检测方法,其特征在于,所述置信度分为三个等级:The banknote quality detection method based on multispectral images according to claim 1, wherein the confidence is divided into three levels:
    Figure PCTCN2021095958-appb-100002
    Figure PCTCN2021095958-appb-100002
    其中,三个等级从低到高分别代表真钞、疑似异常钞和异常钞。Among them, the three grades from low to high represent genuine banknotes, suspected abnormal banknotes and abnormal banknotes.
  9. 一种基于多光谱图像的钞票质量检测系统,其特征在于,包括:A banknote quality detection system based on multispectral images, characterized in that it includes:
    采集模块,用于采集待测钞票的多光谱图像;The acquisition module is used to acquire the multispectral image of the banknote to be tested;
    预处理模块,用于将多光谱图像划分为多个子区域;A preprocessing module for dividing the multispectral image into multiple subregions;
    特征提取模块,用于提取每个子区域的特征参数,对子区域的特征参数进行特征融合以获得最终区域特征向量;The feature extraction module is used to extract the feature parameters of each sub-region, and perform feature fusion on the feature parameters of the sub-regions to obtain the final region feature vector;
    模型分析模块,用于将特征融合后的最终区域特征向量导入训练好的回归模型中获得置信度;The model analysis module is used to import the final regional feature vector after feature fusion into the trained regression model to obtain confidence;
    后处理模块,用于结合置信度和区域投票策略进行待测钞票质量判断。The post-processing module is used for judging the quality of banknotes to be tested in combination with the confidence level and the regional voting strategy.
  10. 一种存储介质,其存储有程序,其特征在于,所述程序被处理器执行时实现如权利要求1-8任一项所述的基于多光谱图像的钞票质量检测方法。A storage medium storing a program, characterized in that, when the program is executed by a processor, the multi-spectral image-based banknote quality detection method according to any one of claims 1-8 is realized.
PCT/CN2021/095958 2021-05-14 2021-05-26 Banknote quality test method and system based on multi-spectral image, and medium WO2022236874A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110528860.2A CN113240643A (en) 2021-05-14 2021-05-14 Banknote quality detection method, system and medium based on multispectral image
CN202110528860.2 2021-05-14

Publications (1)

Publication Number Publication Date
WO2022236874A1 true WO2022236874A1 (en) 2022-11-17

Family

ID=77134389

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095958 WO2022236874A1 (en) 2021-05-14 2021-05-26 Banknote quality test method and system based on multi-spectral image, and medium

Country Status (2)

Country Link
CN (1) CN113240643A (en)
WO (1) WO2022236874A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070154099A1 (en) * 2005-12-16 2007-07-05 Chao He Detecting improved quality counterfeit media
US20100220922A1 (en) * 2009-03-02 2010-09-02 Kabushiki Kaisha Toshiba Learning apparatus and object detecting apparatus
CN102110323A (en) * 2011-01-14 2011-06-29 深圳市怡化电脑有限公司 Method and device for examining money
CN102169544A (en) * 2011-04-18 2011-08-31 苏州市慧视通讯科技有限公司 Face-shielding detecting method based on multi-feature fusion
CN104916036A (en) * 2015-06-19 2015-09-16 广州广电运通金融电子股份有限公司 Multi-spectral recognition device and multi-spectral recognition method for banknotes
CN106599787A (en) * 2016-11-17 2017-04-26 河海大学 Single sample face recognition method based on semi-supervised block joint regression
CN110598699A (en) * 2019-09-16 2019-12-20 华中科技大学 Anti-counterfeiting bill authenticity distinguishing system and method based on multispectral image
CN111709914A (en) * 2020-05-27 2020-09-25 西安理工大学 Non-reference image quality evaluation method based on HVS characteristics

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222384B (en) * 2011-05-27 2013-10-16 尤新革 Analysis method of multispectral image of note
CN109271921B (en) * 2018-09-12 2021-01-05 合刃科技(武汉)有限公司 Intelligent identification method and system for multispectral imaging
CN111127738A (en) * 2019-12-27 2020-05-08 恒银金融科技股份有限公司 Paper currency multispectral image acquisition and analysis system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070154099A1 (en) * 2005-12-16 2007-07-05 Chao He Detecting improved quality counterfeit media
US20100220922A1 (en) * 2009-03-02 2010-09-02 Kabushiki Kaisha Toshiba Learning apparatus and object detecting apparatus
CN102110323A (en) * 2011-01-14 2011-06-29 深圳市怡化电脑有限公司 Method and device for examining money
CN102169544A (en) * 2011-04-18 2011-08-31 苏州市慧视通讯科技有限公司 Face-shielding detecting method based on multi-feature fusion
CN104916036A (en) * 2015-06-19 2015-09-16 广州广电运通金融电子股份有限公司 Multi-spectral recognition device and multi-spectral recognition method for banknotes
CN106599787A (en) * 2016-11-17 2017-04-26 河海大学 Single sample face recognition method based on semi-supervised block joint regression
CN110598699A (en) * 2019-09-16 2019-12-20 华中科技大学 Anti-counterfeiting bill authenticity distinguishing system and method based on multispectral image
CN111709914A (en) * 2020-05-27 2020-09-25 西安理工大学 Non-reference image quality evaluation method based on HVS characteristics

Also Published As

Publication number Publication date
CN113240643A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN107133948B (en) Image blurring and noise evaluation method based on multitask convolution neural network
CN108765465B (en) Unsupervised SAR image change detection method
CN104298989B (en) False distinguishing method and its system based on zebra stripes Infrared Image Features
Valliammal et al. Plant leaf segmentation using non linear K means clustering
Qing et al. Automated detection and identification of white-backed planthoppers in paddy fields using image processing
CN101059425A (en) Method and device for identifying different variety green tea based on multiple spectrum image texture analysis
CN106557740B (en) The recognition methods of oil depot target in a kind of remote sensing images
Zeggeye et al. Automatic recognition and counterfeit detection of Ethiopian paper currency
Marques et al. Automatic road pavement crack detection using SVM
CN112949464B (en) Face changing counterfeiting detection method, system and equipment based on three-dimensional shape of human face
Qiao et al. Source camera device identification based on raw images
Serafim et al. A method based on convolutional neural networks for fingerprint segmentation
CN116167964A (en) Tumor classification method and system based on tumor hyperspectral image
Pramestya et al. Road defect classification using gray level co-occurrence matrix (GLCM) and radial basis function (RBF)
Akbar et al. Original and counterfeit money detection based on edge detection
Guan et al. Defect detection and classification for plain woven fabric based on deep learning
WO2022236874A1 (en) Banknote quality test method and system based on multi-spectral image, and medium
CN113674225A (en) Power equipment fault detection method based on convolutional neural network
CN108681734A (en) A kind of image camera source discrimination method based on samples selection
Bennabhaktula et al. Device-based image matching with similarity learning by convolutional neural networks that exploit the underlying camera sensor pattern noise
Ahmed et al. Retina based biometric authentication using phase congruency
CN117373136A (en) Face counterfeiting detection method based on frequency mask and attention consistency
CN106326927A (en) Shoeprint new class detection method
CN115830351A (en) Image processing method, apparatus and storage medium
Sousa et al. Banknote identification methodology for visually impaired people

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: 21941443

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: 21941443

Country of ref document: EP

Kind code of ref document: A1