CN108427969A - A kind of paper sheet defect sorting technique of Multiscale Morphological combination convolutional neural networks - Google Patents
A kind of paper sheet defect sorting technique of Multiscale Morphological combination convolutional neural networks Download PDFInfo
- Publication number
- CN108427969A CN108427969A CN201810260457.4A CN201810260457A CN108427969A CN 108427969 A CN108427969 A CN 108427969A CN 201810260457 A CN201810260457 A CN 201810260457A CN 108427969 A CN108427969 A CN 108427969A
- Authority
- CN
- China
- Prior art keywords
- image
- defect
- paper
- gradient
- classification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000007547 defect Effects 0.000 title claims abstract description 100
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000013527 convolutional neural network Methods 0.000 title claims abstract description 28
- 230000000877 morphologic effect Effects 0.000 title claims abstract description 25
- 230000004927 fusion Effects 0.000 claims abstract description 4
- 238000012549 training Methods 0.000 claims description 16
- 238000012360 testing method Methods 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 7
- 238000000605 extraction Methods 0.000 abstract description 11
- 238000013528 artificial neural network Methods 0.000 abstract description 2
- 238000004364 calculation method Methods 0.000 description 6
- 238000007781 pre-processing Methods 0.000 description 5
- 101100353161 Drosophila melanogaster prel gene Proteins 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000003909 pattern recognition Methods 0.000 description 3
- 238000012706 support-vector machine Methods 0.000 description 3
- 230000007797 corrosion Effects 0.000 description 2
- 238000005260 corrosion Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 206010027146 Melanoderma Diseases 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000007635 classification algorithm Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
- 230000037303 wrinkles Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/34—Smoothing or thinning of the pattern; Morphological operations; Skeletonisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
Abstract
一种多尺度形态学结合卷积神经网络的纸张缺陷分类方法,用不同尺度的结构元对原始图像进行形态学运算,对不同尺度下的梯度图像加权融合得到多尺度形态学梯度图像,为了增强纸张缺陷对比度,突出缺陷梯度特征和缺陷边缘的信息特征,将多尺度形态学梯度图像与原始缺陷图像进行加权融合,实现缺陷图像增强,输入至卷积神经网络进行特征提取并分类,把卷积神经网络用在纸张缺陷分类中,能够快速实现纸张缺陷的准确分类,具有方法简单、耗时短、识别精度高的特点。A paper defect classification method based on multi-scale morphology combined with convolutional neural network, using structural elements of different scales to perform morphological operations on the original image, weighted and fused gradient images at different scales to obtain a multi-scale morphological gradient image, in order to enhance Paper defect contrast, highlighting defect gradient features and defect edge information features, weighted fusion of multi-scale morphological gradient images and original defect images, to achieve defect image enhancement, input to convolutional neural network for feature extraction and classification, convolution The neural network is used in the classification of paper defects, which can quickly realize the accurate classification of paper defects, and has the characteristics of simple method, short time consumption and high recognition accuracy.
Description
技术领域technical field
本发明属于图像处理及模式识别技术领域,特别涉及一种多尺度形态学结合卷积神经网络的纸张缺陷分类方法。The invention belongs to the technical field of image processing and pattern recognition, in particular to a paper defect classification method based on multi-scale morphology combined with convolutional neural network.
背景技术Background technique
特征提取是模式识别的关键步骤,在图像分析和模式识别中有着重要应用。图像分类的传统特征提取方法都是预先定义一种特征,再根据定义好的特征进行特征提取并分类。实际应用中纸张图像容易受到光照、环境等因素影响,使得缺陷检测、特征提取及分类成为造纸行业中的热点。目前,学者们已经提出了多种纸张缺陷分类算法。袁浩等人通过对纸张缺陷灰度图像进行固定特征选择,提出将支持向量机应用于实际的纸张缺陷分类,但对于纸张缺陷灰度图像而言,灰度表现单一,且采集到的缺陷图可能存在亮度上的变化,导致分类效果不理想。因此,胡慕伊等人提出根据不同纸张缺陷图像的灰度特征,利用动态双阈值分割纸张缺陷区域,提取缺陷特征进行分类,但阈值分割需要对不同的纸张缺陷设置不同的阈值,导致参数设置困难。为了降低参数设置复杂度,周强等人利用Hough变换检测直线特征的方法对纸张缺陷进行分类,该方法在缺陷形状为线型时识别效果较好,但不适用于大多数非线型形状的纸张缺陷分类,且运算复杂不利于后期的在线实现。基于以上问题,杨雁南等人提出使用模糊融合器对纸张缺陷的多种特征值进行特征层融合,利用径向基神经网络对纸张缺陷图像进行分类,扩大了纸张缺陷辨识的范围,但提取的特征单一且为浅层特征,从而导致分类精度较低。为此,罗磊等人提出提取纸张灰度图像的LBP(LocialBinary Pattern,局部二进制模式)特征,进行缺陷识别。但由于LBP方法对纸张表面图像纹理清晰度要求较高,需要增加复杂的预处理算法。因此,吴一全等人提出一种基于Krawtchouk矩不变量和小波支持向量机的纸张缺陷识别方法,通过计算纸张缺陷图像的Krawtchouk矩不变量,来构造纸张缺陷图像的特征向量,根据训练样本的特征向量构造支持向量机,对纸张缺陷图像进行缺陷分类,但前期计算步骤复杂会降低识别速度。为了提高缺陷辨识精度,周强等人提出利用二维小波变换去噪、奇异值分解方法提取纸张缺陷特征,进行缺陷类别识别。但提取纸张缺陷特征仍然存在特征计算复杂等问题。且现有纸张缺陷分类方法依赖于传统特征描述子和分类器选择、特征计算复杂等问题。Feature extraction is a key step in pattern recognition and has important applications in image analysis and pattern recognition. The traditional feature extraction method of image classification is to pre-define a feature, and then perform feature extraction and classification according to the defined feature. In practical applications, paper images are easily affected by factors such as light and environment, which makes defect detection, feature extraction and classification become hot spots in the paper industry. At present, scholars have proposed a variety of paper defect classification algorithms. Yuan Hao et al proposed to apply support vector machine to the actual paper defect classification by performing fixed feature selection on the gray image of paper defects. There may be variations in brightness that lead to suboptimal classification. Therefore, Hu Muyi et al. proposed to use dynamic double thresholds to segment paper defect regions based on the grayscale features of different paper defect images, and extract defect features for classification. However, threshold segmentation needs to set different thresholds for different paper defects, which leads to difficulty in parameter setting. In order to reduce the complexity of parameter setting, Zhou Qiang et al. used the method of Hough transform to detect linear features to classify paper defects. This method has a better recognition effect when the shape of the defect is linear, but it is not suitable for most paper with non-linear shapes. Defect classification and complex calculation are not conducive to later online implementation. Based on the above problems, Yang Yannan et al. proposed to use fuzzy fuser to fuse various eigenvalues of paper defects, and use radial basis neural network to classify paper defect images, which expanded the scope of paper defect identification, but the extracted features Single and shallow features, resulting in low classification accuracy. For this reason, Luo Lei et al. proposed to extract the LBP (Local Binary Pattern, Local Binary Pattern) feature of the paper grayscale image for defect recognition. However, since the LBP method has higher requirements on the definition of paper surface image texture, complex preprocessing algorithms need to be added. Therefore, Wu Yiquan and others proposed a paper defect recognition method based on Krawtchouk moment invariants and wavelet support vector machines. By calculating the Krawtchouk moment invariants of paper defect images, the feature vectors of paper defect images were constructed. According to the feature vectors of training samples A support vector machine is constructed to classify paper defect images, but the complex calculation steps in the early stage will reduce the recognition speed. In order to improve the accuracy of defect identification, Zhou Qiang et al proposed to use two-dimensional wavelet transform to denoise and singular value decomposition to extract paper defect features and identify defect categories. However, there are still problems such as complex feature calculation in extracting paper defect features. And the existing paper defect classification methods rely on traditional feature descriptors and classifier selection, complex feature calculation and other issues.
针对传统图像分类方法依赖于特征描述子的问题,Hinton等人提出的深度学习能够分层学习图像特征,有效避免传统图像分类方法依赖于人工特征描述子的问题,在图像处理及计算机视觉等众多领域中得到了广泛应用。作为深度学习的代表性模型,卷积神经网络(CNN)能自动学习图像特征,对复杂图像的形状特征、纹理特征、颜色特征以及空间关系特征进行深层特征信息提取并分类。通常可获得比传统特征提取方法更好的分类效果。而纸张缺陷图像纹理简单,背景单一,且纸张缺陷图像比如黑斑、孔洞、垫痕、褶皱都属于小而少量缺陷。传统方法只能提取到单一底层特征,导致分类效果不理想。因此,如何将深度卷积神经网络应用在纸张缺陷图像中实现快速准确分类是一个热点问题。Aiming at the problem that traditional image classification methods rely on feature descriptors, the deep learning proposed by Hinton et al. can learn image features hierarchically, effectively avoiding the problem that traditional image classification methods rely on artificial feature descriptors. has been widely used in the field. As a representative model of deep learning, convolutional neural network (CNN) can automatically learn image features, extract and classify deep feature information of shape features, texture features, color features and spatial relationship features of complex images. Usually better classification results can be obtained than traditional feature extraction methods. The texture of paper defect images is simple, the background is single, and paper defect images such as black spots, holes, pad marks, and wrinkles are small and a small number of defects. Traditional methods can only extract a single underlying feature, resulting in unsatisfactory classification results. Therefore, how to apply deep convolutional neural networks to paper defect images to achieve fast and accurate classification is a hot issue.
发明内容Contents of the invention
为了克服上述现有技术的缺点,本发明的目的在于提供一种多尺度形态学结合卷积神经网络的纸张缺陷分类方法,把卷积神经网络用在纸张缺陷分类中,能够快速实现纸张缺陷的准确分类,具有方法简单、耗时短、识别精度高的特点。In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a paper defect classification method based on multi-scale morphology combined with convolutional neural network. Using convolutional neural network in paper defect classification can quickly realize paper defect classification. Accurate classification has the characteristics of simple method, short time consumption and high recognition accuracy.
为了达到上述目的,本发明采取的技术方案为:In order to achieve the above object, the technical scheme that the present invention takes is:
一种多尺度形态学结合卷积神经网络的纸张缺陷分类方法,包括以下步骤:A paper defect classification method based on multi-scale morphology combined with convolutional neural network, comprising the following steps:
步骤1:准备纸张缺陷图像数据,并随机划分训练集和测试集;Step 1: Prepare paper defect image data, and randomly divide training set and test set;
步骤2:初始化,给定Matlab程序运行参数,输入纸张缺陷训练集图像;Step 2: Initialize, given the operating parameters of the Matlab program, input the image of the paper defect training set;
步骤3:对输入图像进行不同尺度形态学梯度运算,得到多个尺度下的形态学梯度图像;Step 3: Perform different-scale morphological gradient operations on the input image to obtain morphological gradient images at multiple scales;
步骤4:对不同尺度下的梯度图像加权融合,取均值得到最终的多尺度形态学梯度图像;Step 4: Weighted fusion of gradient images at different scales, taking the mean value to obtain the final multi-scale morphological gradient image;
步骤5:将多尺度形态学梯度图像与纸张缺陷图像进行融合实现图像增强,得到卷积神经网络输入图像;Step 5: Fuse the multi-scale morphological gradient image with the paper defect image to achieve image enhancement, and obtain the input image of the convolutional neural network;
步骤6:增强后的训练图像输入至卷积神经网络训练模型;Step 6: The enhanced training image is input to the convolutional neural network training model;
步骤7:测试集重复步骤3-5得到梯度增强图像,输入至训练好的模型上进行缺陷特征提取并分类;Step 7: Repeat steps 3-5 for the test set to obtain gradient enhanced images, and input them to the trained model for defect feature extraction and classification;
步骤8:将预测标签与实际标签对比,计算缺陷分类正确率。Step 8: Compare the predicted label with the actual label, and calculate the correct rate of defect classification.
所述步骤3具体实现过程为:The specific implementation process of the step 3 is:
利用数学形态学方法计算纸张缺陷图像f(x,y)的形态学梯度图像G(i):Calculate the morphological gradient image G(i) of the paper defect image f(x,y) using mathematical morphology method:
(a)计算f的不同尺度大小的结构元sei对应的梯度图像g(i),公式如下:(a) Calculate the gradient image g(i) corresponding to the structural elements se i of different scales of f, the formula is as follows:
(b)对g(i)与sei-1进行腐蚀运算,得f的形态学梯度图像G(i),公式如下:(b) Corrosion operation is performed on g(i) and se i-1 to obtain the morphological gradient image G(i) of f, the formula is as follows:
G(i)=g(i)!sei-1。G(i)=g(i)! se i-1 .
本发明与现有技术相比的有益效果为:The beneficial effects of the present invention compared with prior art are:
针对传统纸张缺陷分类方法依赖于特征描述子和分类器选择、特征描述计算步骤复杂、纸张缺陷图像的光照不均影响分类精度等问题,利用深度卷积神经网络对纸张缺陷图像进行特征提取并分类,解决了传统分类方法存在的问题,结合纸张缺陷特点,利用多尺度形态学方法对缺陷图像实现梯度增强,然后利用卷积神经网络(CNN)能够自动学习图像特征的优势对纸张缺陷图像进行特征提取并分类。本发明与现有的传统特征纸张缺陷分类方法相比,不需针对各种缺陷进行缺陷特征提取和特征描述,能够快速实现纸张缺陷的准确分类,同时解决了由于纸张缺陷图像光照不均影响分类精度的问题,具有耗时低、精度高优点。Aiming at the problems that traditional paper defect classification methods rely on the selection of feature descriptors and classifiers, the calculation steps of feature description are complicated, and the uneven illumination of paper defect images affects the classification accuracy, etc., using deep convolutional neural network to extract and classify paper defect images , to solve the problems existing in the traditional classification method, combined with the characteristics of paper defects, using the multi-scale morphology method to achieve gradient enhancement on the defect image, and then using the advantages of convolutional neural network (CNN) that can automatically learn image features to characterize the paper defect image Extract and classify. Compared with the existing traditional characteristic paper defect classification method, the present invention does not need to perform defect feature extraction and feature description for various defects, can quickly realize accurate classification of paper defects, and at the same time solves the problem that the classification is affected by uneven illumination of paper defect images The problem of precision has the advantages of low time consumption and high precision.
附图说明Description of drawings
图1(a)是本发明实验中的纸张缺陷图像“黑斑”、“孔洞”、“垫痕”、“折痕”;Fig. 1 (a) is the paper defect image "black spot", "hole", "pad mark", "crease" in the experiment of the present invention;
图1(b)是本发明利用预处理对比方法Canny算子对四类纸张缺陷图像的图像增强结果;Fig. 1 (b) is the image enhancement result of the present invention utilizing the preprocessing comparison method Canny operator to four types of paper defect images;
图1(c)是本发明利用预处理对比方法Sobel算子对四类纸张缺陷图像的图像增强结果;Fig. 1 (c) is the image enhancement result of the present invention utilizing the preprocessing comparison method Sobel operator to four types of paper defect images;
图1(d)是本发明利用预处理对比方法Prewitt算子对四类纸张缺陷图像的图像增强结果;Fig. 1 (d) is the image enhancement result of the present invention utilizing the preprocessing contrast method Prewitt operator to four types of paper defect images;
图1(e)是本发明利用本发明方法对四类纸张缺陷图像的图像增强结果。Fig. 1(e) is the result of image enhancement of four types of paper defect images using the method of the present invention.
图2(a)是本发明利用纸张缺陷“孔洞”图像在卷积神经网络各卷积层的可视化特征图;Fig. 2 (a) is the visualization feature map of each convolutional layer of the convolutional neural network using the paper defect "hole" image in the present invention;
图2(b)是本发明利用本发明方法进行梯度增强的纸张缺陷“孔洞”图像在卷积神经网络各卷积层的可视化特征图。Fig. 2(b) is the visualized feature map of each convolutional layer of the convolutional neural network of the "hole" image of the paper defect that is gradient enhanced by the method of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明做进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
用不同尺度的结构元对原始图像进行形态学运算,对不同尺度下的梯度图像加权融合得到多尺度形态学梯度图像。为了增强纸张缺陷对比度,突出缺陷梯度特征和缺陷边缘的信息特征,将多尺度形态学梯度图像与原始缺陷图像进行加权融合,实现缺陷图像增强,输入至卷积神经网络进行特征提取并分类,具体实现步骤如下:The morphological operation is performed on the original image with structural elements of different scales, and the gradient images at different scales are weighted and fused to obtain a multi-scale morphological gradient image. In order to enhance the contrast of paper defects and highlight the defect gradient features and defect edge information features, the multi-scale morphological gradient image is weighted and fused with the original defect image to achieve defect image enhancement, and input to the convolutional neural network for feature extraction and classification. The implementation steps are as follows:
步骤1:准备纸张缺陷图像数据,并随机划分训练集和测试集;Step 1: Prepare paper defect image data, and randomly divide training set and test set;
步骤2:初始化,给定程序的运行参数,sei为第i个尺度对应的结构元,此处取半径大小为1,3,5,7的圆形结构元素,l=0,m=0,k=length(训练集);Step 2: Initialization, given the operating parameters of the program, se i is the structural element corresponding to the i-th scale, where the circular structural element with a radius of 1, 3, 5, 7 is taken, l=0, m=0 ,k=length(training set);
其中,l表示预测标签与实际标签相等的个数,m为常数,k表示测试集图像个数,输入纸张缺陷训练集图像;Among them, l represents the number equal to the predicted label and the actual label, m is a constant, k represents the number of test set images, and the input paper defect training set image;
步骤3:利用数学形态学方法计算纸张缺陷图像f(x,y)的形态学梯度图像G(i):Step 3: Calculate the morphological gradient image G(i) of the paper defect image f(x,y) using mathematical morphology method:
(a)计算f的不同尺度大小的结构元sei对应的梯度图像g(i),公式如下:(a) Calculate the gradient image g(i) corresponding to the structural elements se i of different scales of f, the formula is as follows:
(b)对g(i)与sei-1进行腐蚀运算,得f的形态学梯度图像G(i),公式如下:(b) Corrosion operation is performed on g(i) and se i-1 to obtain the morphological gradient image G(i) of f, the formula is as follows:
G(i)=g(i)!sei-1;G(i)=g(i)! se i-1 ;
步骤4:对不同尺度下的形态学梯度图像加权融合取均值,得最终的多尺度形态学梯度图像MG,公式如下:Step 4: The weighted fusion of the morphological gradient images at different scales is averaged to obtain the final multi-scale morphological gradient image MG. The formula is as follows:
其中,n表示尺度数目;Among them, n represents the number of scales;
步骤5:计算梯度增强图像fMG,公式如下:Step 5: Calculate the gradient enhanced image f MG , the formula is as follows:
fMG=(f+MG);fMG = (f+ MG );
步骤6:将训练集对应的梯度增强图像fMG输入至卷积神经网络训练模型;Step 6: Input the gradient enhanced image f MG corresponding to the training set to the convolutional neural network training model;
步骤7:测试集重复步骤3-5,得测试集梯度增强图像fMG,输入至训练好的模型上进行缺陷特征提取并分类,得训练集数据对应的预测标签prelk;Step 7: Repeat steps 3-5 for the test set to obtain the gradient enhanced image f MG of the test set, input it to the trained model for defect feature extraction and classification, and obtain the prediction label prel k corresponding to the training set data;
步骤8:训练集的预测标签prelk与实际标签lk对比;Step 8: Compare the predicted label prel k of the training set with the actual label l k ;
(a)若prelk=lk,l=l+1,m=m+1;(a) if prel k =l k , l=l+1, m=m+1;
(b)否则,l不变,终止条件为:m=k;(b) Otherwise, l remains unchanged, and the termination condition is: m=k;
(c)计算缺陷分类识别率,公式如下:(c) Calculate the defect classification recognition rate, the formula is as follows:
实施例一:Embodiment one:
为了测试本发明对纸张缺陷图像分类的有效性和优越性,仿真实验是在CPU:Intel(TM)i7-6700U,3.3GHz,内存16GB,NVIDIA Quadro K620显卡的硬件环境和MATLABR2017a的软件环境下进行的。In order to test the effectiveness and superiority of the present invention to paper defect image classification, the simulation experiment is carried out under the hardware environment of CPU: Intel (TM) i7-6700U, 3.3GHz, memory 16GB, NVIDIA Quadro K620 graphics card and the software environment of MATLABR2017a of.
利用三种对比方法:传统方法提取纸张缺陷HOG特征进行分类,得到分类结果(HOG+SVM),提取LBP特征进行分类得到分类结果(LBP+SVM),预处理方法Canny算子对四类纸张缺陷图像增强后输入至CNN模型得到的分类结果(Canny+CNN),Sobel算子对四类纸张缺陷图像增强后输入至CNN模型得到的分类结果(Sobel+CNN),Prewitt算子对四类纸张缺陷图像增强后输入至CNN模型得到的分类结果(Prewitt+CNN)和本发明方法对四类纸张缺陷图像增强后进行特征提取并分类的结果,实验结果参照表1。Three comparison methods are used: the traditional method extracts the HOG features of paper defects to classify, and obtains the classification results (HOG+SVM), extracts the LBP features and classifies to obtain the classification results (LBP+SVM), and the preprocessing method Canny operator to classify the four types of paper defects The classification results (Canny+CNN) obtained by inputting the image to the CNN model after image enhancement, the classification results (Sobel+CNN) obtained by the Sobel operator for the four types of paper defect image enhancement and input to the CNN model, the Prewitt operator for the four types of paper defects After the image is enhanced, the classification result (Prewitt+CNN) obtained by inputting to the CNN model and the result of feature extraction and classification of the four types of paper defect images by the method of the present invention are shown in Table 1 for the experimental results.
表1为利用表中各方法对本发明中所用纸张缺陷图像进行分类和所用时间对比结果。Table 1 shows the results of classifying paper defect images used in the present invention and comparing the time used by each method in the table.
表1Table 1
由表1可以看出,采用本发明方法得到的纸张缺陷图像分类正确率均高于其他几种传统方法,优势明显;分类所用时间虽然不是最短,但是已经明显低于其他大多数传统方法,处于优势状态,因此,能够表明本发明方法是一种良好的纸张缺陷分类方法。As can be seen from Table 1, the correct rate of paper defect image classification obtained by the method of the present invention is higher than that of several other traditional methods, and the advantages are obvious; although the time used for classification is not the shortest, it is already significantly lower than most other traditional methods. The superiority status, therefore, can show that the method of the present invention is a good paper defect classification method.
表2为本发明中为了证明本发明的可行性和实用性,利用表中各方法对Caltech101图像物体识别数据集和KTH-TIPS纹理图像数据集进行分类和所用时间对比结果。Table 2 is the result of classifying and comparing the time spent on the Caltech101 image object recognition data set and the KTH-TIPS texture image data set using the methods in the table to prove the feasibility and practicability of the present invention.
表2Table 2
表2显示各算子对纸张缺陷图像进行梯度增强后的结果,边缘轮廓对比度相对原图有所提升,但其对缺陷边缘方向性依赖比较大。Canny算子和Prewitt算子比Sobel算子的去噪能力强,容易平滑掉一些边缘信息,Sobel算子对图像边缘有增强作用,但所用算子为固定尺寸的结构元素,不适合存在弱边界的纸张缺陷图像进行梯度增强。而本发明能增强纸张缺陷图像中边缘轮廓信息和梯度特征,同时保留原图的背景信息和缺陷目标周边信息,兼顾形态学中小尺度结构元素有利于梯度细节的检测,大尺度结构元素有利于抑制噪声的优点,有效突出缺陷梯度特征和边缘信息特征,解决了纸张缺陷分类依赖于特征描述子和分类器选择,特征计算复杂等问题。Table 2 shows the results of gradient enhancement of each operator on the paper defect image. The contrast of the edge contour is improved compared with the original image, but it is more dependent on the directionality of the defect edge. Canny operator and Prewitt operator have stronger denoising ability than Sobel operator, and it is easy to smooth out some edge information. Sobel operator can enhance the edge of the image, but the operator used is a fixed-size structural element, which is not suitable for weak boundaries. Gradient enhancement of paper defect images. However, the present invention can enhance the edge contour information and gradient features in the paper defect image, while retaining the background information of the original image and the surrounding information of the defect target, taking into account that the small-scale structural elements in the morphology are beneficial to the detection of gradient details, and the large-scale structural elements are beneficial to suppress The advantages of noise can effectively highlight the defect gradient features and edge information features, and solve the problem that the classification of paper defects depends on the selection of feature descriptors and classifiers, and the feature calculation is complicated.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810260457.4A CN108427969A (en) | 2018-03-27 | 2018-03-27 | A kind of paper sheet defect sorting technique of Multiscale Morphological combination convolutional neural networks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810260457.4A CN108427969A (en) | 2018-03-27 | 2018-03-27 | A kind of paper sheet defect sorting technique of Multiscale Morphological combination convolutional neural networks |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108427969A true CN108427969A (en) | 2018-08-21 |
Family
ID=63159286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810260457.4A Pending CN108427969A (en) | 2018-03-27 | 2018-03-27 | A kind of paper sheet defect sorting technique of Multiscale Morphological combination convolutional neural networks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108427969A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109389110A (en) * | 2018-10-11 | 2019-02-26 | 北京奇艺世纪科技有限公司 | A kind of area determination method and device |
CN109447080A (en) * | 2018-11-12 | 2019-03-08 | 北京奇艺世纪科技有限公司 | A kind of character identifying method and device |
CN110473178A (en) * | 2019-07-30 | 2019-11-19 | 上海深视信息科技有限公司 | A kind of open defect detection method and system based on multiple light courcess fusion |
CN110648322A (en) * | 2019-09-25 | 2020-01-03 | 杭州智团信息技术有限公司 | Method and system for detecting abnormal cervical cells |
CN110738609A (en) * | 2019-09-11 | 2020-01-31 | 北京大学 | method and device for removing image moire |
CN111444866A (en) * | 2020-03-31 | 2020-07-24 | 武汉科技大学 | A deep learning-based method for inspection and identification of the causes of paper making |
CN112557406A (en) * | 2021-02-19 | 2021-03-26 | 浙江大胜达包装股份有限公司 | Intelligent inspection method and system for paper product production quality |
CN114120453A (en) * | 2021-11-29 | 2022-03-01 | 北京百度网讯科技有限公司 | Living body detection method and device, electronic equipment and storage medium |
CN118014989A (en) * | 2024-04-02 | 2024-05-10 | 东莞市时实电子有限公司 | Intelligent detection method for surface defects of power adapter |
CN119151904A (en) * | 2024-11-11 | 2024-12-17 | 诸暨市众鑫化纤有限公司 | Method and system for detecting surface defects of covered yarn |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101900673A (en) * | 2010-06-02 | 2010-12-01 | 北京林业大学 | A method for on-line non-destructive testing of paper properties |
CN102095731A (en) * | 2010-12-02 | 2011-06-15 | 山东轻工业学院 | System and method for recognizing different defect types in paper defect visual detection |
CN102542288A (en) * | 2011-11-28 | 2012-07-04 | 北京航空航天大学 | Construction and merging classification method for high spectrum data multi-characteristic space |
CN103530621A (en) * | 2013-11-04 | 2014-01-22 | 中国矿业大学(北京) | Coal and rock image identification method based on back propagation (BP) neural network |
US20160187199A1 (en) * | 2014-08-26 | 2016-06-30 | Digimarc Corporation | Sensor-synchronized spectrally-structured-light imaging |
CN106355579A (en) * | 2016-09-14 | 2017-01-25 | 南京理工大学 | Defect detecting method of cigarette carton surface wrinkles |
CN107239775A (en) * | 2017-07-28 | 2017-10-10 | 湖南大学 | Terrain classification method and device |
-
2018
- 2018-03-27 CN CN201810260457.4A patent/CN108427969A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101900673A (en) * | 2010-06-02 | 2010-12-01 | 北京林业大学 | A method for on-line non-destructive testing of paper properties |
CN102095731A (en) * | 2010-12-02 | 2011-06-15 | 山东轻工业学院 | System and method for recognizing different defect types in paper defect visual detection |
CN102542288A (en) * | 2011-11-28 | 2012-07-04 | 北京航空航天大学 | Construction and merging classification method for high spectrum data multi-characteristic space |
CN103530621A (en) * | 2013-11-04 | 2014-01-22 | 中国矿业大学(北京) | Coal and rock image identification method based on back propagation (BP) neural network |
US20160187199A1 (en) * | 2014-08-26 | 2016-06-30 | Digimarc Corporation | Sensor-synchronized spectrally-structured-light imaging |
CN106355579A (en) * | 2016-09-14 | 2017-01-25 | 南京理工大学 | Defect detecting method of cigarette carton surface wrinkles |
CN107239775A (en) * | 2017-07-28 | 2017-10-10 | 湖南大学 | Terrain classification method and device |
Non-Patent Citations (5)
Title |
---|
DEMIN WANG: "A multiscale gradient algorithm for image segmentation using watershelds", 《PATTERN RECOGNITION》 * |
JESLY JAMES等: "Automated Acute Myelogenous Lukemia Detection in Blood Microscopic Image", 《INTERNATIONAL JOURNAL OF SCIENCE AND RESEARCH (IJSR)》 * |
梁英波 等: "基于多尺度数学形态学梯度的图像检测", 《周口师范学院学报》 * |
罗磊 等: "基于图像分析的纸张表面缺陷检测系统的研究与实现", 《西安理工大学学报》 * |
金艳 等: "基于神经网络和形态学的钢表面缺陷识别", 《机床与液压》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109389110B (en) * | 2018-10-11 | 2021-03-19 | 北京奇艺世纪科技有限公司 | Region determination method and device |
CN109389110A (en) * | 2018-10-11 | 2019-02-26 | 北京奇艺世纪科技有限公司 | A kind of area determination method and device |
CN109447080A (en) * | 2018-11-12 | 2019-03-08 | 北京奇艺世纪科技有限公司 | A kind of character identifying method and device |
CN109447080B (en) * | 2018-11-12 | 2020-04-17 | 北京奇艺世纪科技有限公司 | Character recognition method and device |
CN110473178A (en) * | 2019-07-30 | 2019-11-19 | 上海深视信息科技有限公司 | A kind of open defect detection method and system based on multiple light courcess fusion |
CN110738609B (en) * | 2019-09-11 | 2022-05-06 | 北京大学 | Method and device for removing image moire |
CN110738609A (en) * | 2019-09-11 | 2020-01-31 | 北京大学 | method and device for removing image moire |
CN110648322A (en) * | 2019-09-25 | 2020-01-03 | 杭州智团信息技术有限公司 | Method and system for detecting abnormal cervical cells |
CN110648322B (en) * | 2019-09-25 | 2023-08-15 | 杭州智团信息技术有限公司 | Cervical abnormal cell detection method and system |
CN111444866B (en) * | 2020-03-31 | 2023-05-30 | 武汉科技大学 | A method for inspection and identification of paper production causes based on deep learning |
CN111444866A (en) * | 2020-03-31 | 2020-07-24 | 武汉科技大学 | A deep learning-based method for inspection and identification of the causes of paper making |
CN112557406B (en) * | 2021-02-19 | 2021-06-29 | 浙江大胜达包装股份有限公司 | Intelligent inspection method and system for paper product production quality |
CN112557406A (en) * | 2021-02-19 | 2021-03-26 | 浙江大胜达包装股份有限公司 | Intelligent inspection method and system for paper product production quality |
CN114120453A (en) * | 2021-11-29 | 2022-03-01 | 北京百度网讯科技有限公司 | Living body detection method and device, electronic equipment and storage medium |
CN118014989A (en) * | 2024-04-02 | 2024-05-10 | 东莞市时实电子有限公司 | Intelligent detection method for surface defects of power adapter |
CN118014989B (en) * | 2024-04-02 | 2024-06-28 | 东莞市时实电子有限公司 | Intelligent detection method for surface defects of power adapter |
CN119151904A (en) * | 2024-11-11 | 2024-12-17 | 诸暨市众鑫化纤有限公司 | Method and system for detecting surface defects of covered yarn |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108427969A (en) | A kind of paper sheet defect sorting technique of Multiscale Morphological combination convolutional neural networks | |
CN113592845B (en) | Battery coating defect detection method and device and storage medium | |
CN109522908B (en) | Image Saliency Detection Method Based on Region Label Fusion | |
CN106022375B (en) | A kind of clothes fashion recognition methods based on HU not bending moment and support vector machines | |
CN106803247B (en) | A method for image recognition of microaneurysm based on multi-level screening convolutional neural network | |
Plissiti et al. | Combining shape, texture and intensity features for cell nuclei extraction in Pap smear images | |
Waheed et al. | Exploiting human pose and scene information for interaction detection | |
TW201732651A (en) | Word segmentation method and apparatus | |
CN106022343A (en) | A Garment Style Recognition Method Based on Fourier Descriptor and BP Neural Network | |
CN107016409A (en) | A kind of image classification method and system based on salient region of image | |
CN107203606A (en) | Text detection and recognition methods under natural scene based on convolutional neural networks | |
CN104992179A (en) | Fine-grained convolutional neural network-based clothes recommendation method | |
CN107480585B (en) | Target detection method based on DPM algorithm | |
CN106056132B (en) | A Garment Style Recognition Method Based on Fourier Descriptor and Support Vector Machine | |
CN108537168A (en) | Human facial expression recognition method based on transfer learning technology | |
CN110826408A (en) | A face recognition method for regional feature extraction | |
CN108427919A (en) | A kind of unsupervised oil tank object detection method guiding conspicuousness model based on shape | |
Liang et al. | Genetic programming for evolving figure-ground segmentors from multiple features | |
CN108288265A (en) | A kind of segmentation and sorting technique towards HCC pathological image nucleus | |
Dai et al. | An improved orb feature extraction algorithm based on enhanced image and truncated adaptive threshold | |
CN112200789B (en) | Image recognition method and device, electronic equipment and storage medium | |
Pham et al. | CNN-based character recognition for license plate recognition system | |
CN110008920A (en) | Research on facial expression recognition method | |
CN109902692A (en) | An Image Classification Method Based on Local Region Depth Feature Coding | |
CN103902965B (en) | Spatial domain symbiosis image representing method and its application in image classification, identification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180821 |