CN109785313B - Tire qualification detection method based on LBP - Google Patents

Tire qualification detection method based on LBP Download PDF

Info

Publication number
CN109785313B
CN109785313B CN201910054426.8A CN201910054426A CN109785313B CN 109785313 B CN109785313 B CN 109785313B CN 201910054426 A CN201910054426 A CN 201910054426A CN 109785313 B CN109785313 B CN 109785313B
Authority
CN
China
Prior art keywords
tire
lbp
ray film
detection
qualification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910054426.8A
Other languages
Chinese (zh)
Other versions
CN109785313A (en
Inventor
郭延辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Shanke Sensing Intelligent Technology Co ltd
Original Assignee
Shandong Womens University
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 Shandong Womens University filed Critical Shandong Womens University
Priority to CN201910054426.8A priority Critical patent/CN109785313B/en
Publication of CN109785313A publication Critical patent/CN109785313A/en
Application granted granted Critical
Publication of CN109785313B publication Critical patent/CN109785313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a tire qualification detection method based on LBP, which comprises the following specific steps: s1: reading a tire X-ray film, and determining the tire model according to the size of the tire X-ray film; s2: cutting the tire X-ray film according to the tire model determined in the S1; s3: and (5) classifying the cut tire X-ray films according to the S2, and returning a tire qualification detection result. The invention discloses a tire qualification detection method based on LBP, which adopts an artificial intelligence method to realize tire detection, and because a tire X-ray film comprises the texture characteristics such as the outline of a reinforcing steel bar, tire patterns and the like, and the LBP characteristic extraction technology has many advantages in the aspect of texture characteristic extraction, the LBP is adopted to extract the texture characteristics, and the tire qualification detection is realized, thereby not only reducing the influence of artificial subjective factors on the detection result, but also greatly improving the detection efficiency.

Description

Tire qualification detection method based on LBP
Technical Field
The invention relates to the technical field of tire detection, in particular to a tire qualification detection method based on LBP.
Background
A qualified tire requires a plurality of processes, wherein tire damage, air bubbles, steel bar breakage, uneven arrangement of steel bars, and the like are important defects affecting the quality of the tire. In the conventional tire manufacturing process, the damage condition of the tire and the breakage condition of the reinforcing steel bar are mostly detected by manual observation. The staff judges whether the tire is qualified or not through manual experience according to the X-ray film of the tire. The following problems exist in the artificial tire detection: firstly, manpower is consumed, and detection workers need to rotate every 20 minutes due to long-term detection errors facing the screen; secondly, human factors can be generated by manual detection, and some subjective factors are in the human factors.
Therefore, how to provide a tire inspection method with high inspection efficiency and reduced subjective factor influence is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
In view of this, the invention provides a tire qualification testing method based on LBP, which adopts an artificial intelligence method to realize tire testing, and because the tire X-ray film includes the texture features such as the outline of the steel bar, the tire pattern, and the like, and the LBP feature extraction technology has many advantages in the aspect of texture feature extraction, the LBP is adopted to extract the texture features, and the tire qualification testing is realized, thereby not only reducing the influence of artificial subjective factors on the testing result, but also greatly improving the testing efficiency.
In order to achieve the above purpose, the invention provides the following technical scheme:
a tire qualification detection method based on LBP comprises the following specific steps:
s1: reading and detecting a tire X-ray film, and determining the tire model according to the size of the tire X-ray film;
s2: cutting the tire X-ray film according to the tire model determined in the S1;
s3: and (5) classifying the cut tire X-ray films according to the S2, and returning a tire qualification detection result.
Preferably, in the above-mentioned method for testing tire qualification based on LBP, the method for determining the tire model number in S1 includes:
s11: setting the size s of a tire X-ray film as M X N, wherein M is the width pixel value of the X-ray film, and N is the height pixel value of the X-ray film;
s12: and comparing the similarity of the sizes of the M and the N and the X-ray film of the known tire to determine the type class of the s. ( It is to be understood that: currently, tire manufacturers produce a total of four models of tires 1500 x 6100,3000 x 9000, 1500 x 5100, 1600 x 4500 )
Preferably, in the above mentioned method for inspecting tire qualification based on LBP, the X-ray film of the tire is cut into four parts in S2: left edge, shoulder, tread, right edge.
Preferably, in the above method for inspecting the tire qualification based on LBP, the method for inspecting the qualification of the cut tire X-ray film in S3 includes:
s31: constructing a training set and a test set according to different parts;
s32: separately training samples of different portions of a tire X-ray film using the LBP method;
s33: and (4) performing qualification detection on each part of the X-ray film of the tire in a sliding window mode.
Preferably, in the tire qualification testing method based on LBP described above, in S31, the four portions of the tire X-ray film are divided by using a sliding window, where the divided blocks are squares with a size of w × w pixels, and w has a value range of [200,300], where the step length of sliding the sliding window is S pixels, and the value range of S is [180,280]; a training set and a test set are constructed.
Preferably, in the above method for testing tire qualification based on LBP, the sample method of training X-ray film of tire by LBP method in S32 includes:
s321: (1) Inputting training sample images in a training set, and extracting texture features of the training sample images by using sampled-LBP;
s322: calculating an image characteristic value by the texture characteristic through a kernel calculation formula; the training sample comprises m pictures, wherein m is a finite integer larger than 1000, and the distance between the m pictures is calculated through a nuclear calculation formula; by Chi 2 As a distance to measure two feature vectors, i.e. two images, F and F', n is the dimension 255 of the texture feature:
Figure BDA0001951936810000031
m by m distance matrix, each row element of the distance matrix represents the characteristic vector of the ith image;
s323: and classifying the training sample images by using a support vector machine to obtain the classification result of the training sample images.
Preferably, in the above method for detecting tire acceptability based on LBP, the method for extracting texture features of an image using sampled-LBP in S321 includes:
s3211: let a pixel point of the image be (x) c ,y c ) The binary description of the LBP characteristic value is defined as:
Figure BDA0001951936810000032
wherein, g p Is the gray value of the adjacent pixel, g c Is the central pixel grey value and p is the number of adjacent pixels.
S3212: by pixel point (x) c ,y c ) Taking the values of P =8 adjacent pixels in a circle with the radius of R =1 as the center of the circle, arranging the values into eight-bit binary data in the clockwise direction, and representing the eight-bit binary data as integer data.
S3213: and obtaining the texture characteristics after obtaining the LBP value of the training sample image.
Preferably, in the above method for detecting tire qualification based on LBP, the step S33 of detecting qualification using a sliding window includes:
s331: the horizontal direction step length of the sliding window is width = Xpx, the vertical direction step length is height = Xpx, and the detection sequence formed after the sliding window is { P1, P2, \8230;, pn }.
S332: the extraction detects the textural features of each sequence Pi.
S333: and calculating the distances between the Pi and the m training samples to serve as an m-dimensional feature vector of the Pi, and judging whether the Pi is qualified by using the SVM.
S334: if the Pi detection is unqualified, stopping continuously judging the picture and determining that the picture is unqualified; otherwise, the subsequent sequence is continuously detected until the detection is finished.
According to the technical scheme, compared with the prior art, the tire qualification detection method based on the LBP is provided, the tire detection is realized by adopting an artificial intelligence method, the tire X-ray film comprises the texture characteristics such as the outline of a steel bar and tire patterns, the LBP characteristic extraction technology has many advantages in the aspect of texture characteristic extraction, the texture characteristics are extracted by adopting the LBP, the tire qualification detection is realized, the influence of artificial subjective factors on the detection result is reduced, and the detection efficiency is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a schematic diagram of the sliding window segmentation of the present invention;
FIG. 3 is a schematic view of a tire inspection X-ray film of the present invention;
FIG. 4 is a schematic diagram of the tire of the present invention after detecting X-ray cutting.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a tire qualification detection method based on LBP, which adopts an artificial intelligence method to realize tire detection, and adopts LBP to extract texture characteristics and realize tire qualification detection, thereby reducing the influence of artificial subjective factors on detection results and greatly improving the detection efficiency.
As shown in fig. 1, a tire qualification testing method based on LBP is characterized by comprising the following specific steps:
s1: reading and detecting a tire X-ray film, and determining the tire model according to the size of the tire X-ray film;
the method for determining the model number of the tire comprises the following steps:
s11: setting the size s of a tire X-ray film as M X N, wherein M is the width pixel value of the X-ray film, and N is the height pixel value of the X-ray film;
s12: comparing the similarity of the sizes of the M and the N with the sizes of the X-ray films of the known tires, and determining the type class of the s; s2: cutting the tire X-ray film according to the tire model determined in the S1; the tire X-ray film was cut into four sections: left edge, shoulder, tread, right edge.
S3: classifying the cut tire X-ray films according to the S2, and returning a tire qualification detection result;
the method for detecting the qualification of the cut tire X-ray film comprises the following steps:
s31: constructing a training set and a test set according to different parts; dividing four parts of the tire X-ray film by a sliding window mode, wherein the divided square blocks are w pixels by w, and the value range of w is [200,300], the sliding step length of the sliding window is s pixels, and the value range of s is [180,280]; a training set and a test set are constructed.
S32: respectively training samples of different parts of the X-ray film of the tire by using an LBP method; the sample method for training each tire X-ray film by using the LBP method comprises the following steps:
s321: (1) Inputting training sample images in a training set, and extracting texture features of the training sample images by using sampled-LBP; the method for extracting the texture features of the training sample image by using sampled-LBP comprises the following steps:
s3211: let a pixel point of the image be (x) c ,y c ) The binary description of the LBP characteristic value is defined as:
Figure BDA0001951936810000061
wherein, g p Is the gray value of the adjacent pixel, g c Is the central pixel gray scale value, and p is the number of adjacent pixels.
S3212: by pixel point (x) c ,y c ) Taking the values of P =8 adjacent pixels in a circle with the radius of R =1 as the center of the circle, arranging the values into eight-bit binary data in the clockwise direction, and representing the eight-bit binary data as integer data.
S3213: and obtaining the texture characteristics after obtaining the LBP value of the training sample image.
S322: calculating an image characteristic value by the texture characteristic through a kernel calculation formula; the training sample comprises m pictures, wherein m is a finite integer larger than 1000, and the distance between the m pictures is calculated through a nuclear calculation formula; by Chi 2 As a distance measuring two feature vectors, i.e., two images, F and F', n is the dimension 255 of the texture feature:
Figure BDA0001951936810000062
m by m distance matrix, each row element of the distance matrix represents the characteristic vector of the ith image;
s323: and classifying the training sample images by using a support vector machine to obtain the classification result of the training sample images.
S33: and (4) performing qualification detection on each part of the X-ray film of the tire in a sliding window mode.
The qualification testing by using the sliding window comprises the following steps:
s331: the step length of the sliding window in the horizontal direction is width = Xpx, the step length of the sliding window in the vertical direction is height = Xpx, and a detection sequence formed after the sliding window is { P1, P2, \8230;, pn };
s332: the texture features of each test sequence Pi are extracted.
S333: and calculating the distances between the Pi and the m training sample sets to serve as m-dimensional feature vectors of the Pi, and judging whether the Pi is qualified by using the SVM.
S334: if the Pi detection is unqualified, the continuous judgment of the picture is stopped, and the picture is determined to be unqualified; otherwise, the subsequent sequence is continuously detected until the detection is finished.
As shown in fig. 2, assuming a 10 × 10 square grid, if the grid is divided into 3 × 3 small square grids, the step size is 2, a is the first cut and B is the second cut during the sliding process; the same operational sliding is also in the vertical direction.
FIG. 3 is an X-ray film for inspecting a tire, and FIG. 4 is a left edge A and a left edge B of a tire tread of each of four parts after cutting; c, shoulder part; d right edge.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A tire qualification testing method based on LBP is characterized by comprising the following specific steps:
s1: reading and detecting a tire X-ray film, and determining the tire model according to the size of the tire X-ray film;
s2: cutting the tire X-ray film according to the tire model determined in the S1;
s3: classifying the cut tire X-ray films according to the S2, and returning a tire qualification detection result;
in the step S2, the X-ray film of the tire is cut into four parts;
the method for detecting the qualification of the cut tire X-ray film in the S3 comprises the following steps:
s31: constructing a training set and a test set according to different parts;
s32: respectively training samples of different parts of the X-ray film of the tire by using an LBP method;
s33: all parts of the X-ray film of the tire are subjected to qualification detection in a sliding window mode;
the step of performing qualification testing by using a sliding window in S33 includes:
s331: the step length of the sliding window in the horizontal direction is width = Xpx, the step length of the sliding window in the vertical direction is height = Xpx, and a detection sequence formed after the sliding window is { P1, P2, \8230;, pn };
s332: extracting texture features of each detection sequence Pi;
s333: calculating the distance between the Pi and the m training sample images to serve as an m-dimensional feature vector of the Pi, and judging whether the Pi is qualified or not by using an SVM (support vector machine);
s334: if the Pi detection is unqualified, the continuous judgment of the picture is stopped, and the picture is determined to be unqualified; otherwise, the subsequent sequence is continuously detected until the detection is finished.
2. The LBP-based tire qualification testing method of claim 1, wherein the method of determining the tire model number in S1 comprises:
s11: setting the size S of a tire X-ray film as M X N, wherein M is the width pixel value of the X-ray film, and N is the height pixel value of the X-ray film;
s12: and comparing the similarity of the sizes of the M and the N with the sizes of the X-ray films of the known tires, and determining the type class of the S.
3. The LBP-based tire qualification testing method of claim 1, wherein in S2, the tire X-ray film is cut into four parts: left edge, shoulder, tread, right edge.
4. The method as claimed in claim 1, wherein the step S31 is performed by dividing four portions of the tire X-ray film into blocks of w × w pixels by using a sliding window, wherein w is in a range of [200,300], wherein the sliding window is slid in steps of S pixels, and S is in a range of [180,280]; a training set and a test set are constructed.
5. The method as claimed in claim 1, wherein the step of S32 of using the LBP method to train the sample of X-ray images of the tire respectively comprises:
s321: inputting training sample images in a training set, and extracting texture features of the training sample images by using sampled-LBP;
s322: calculating an image characteristic value by the texture characteristic through a kernel calculation formula;
the training sample comprises m pictures, wherein m is a finite integer larger than 1000, and the distance between the m pictures is calculated through a nuclear calculation formula;
using x 2 As a distance to measure two feature vectors, i.e. two images, F and F', n is the dimension 255 of the texture feature:
Figure FDA0004067569770000031
m by m distance matrix, each row element of the distance matrix represents the characteristic vector of the ith training sample image;
s323: and classifying the training sample images by using a support vector machine to obtain the classification result of the training sample images.
6. The LBP-based tire qualification testing method of claim 5, wherein the step S321 of extracting texture features of the image using sampled-LBP comprises:
s3211: let a pixel point of the image be (x) c ,y c ) And the binary description of the LBP characteristic value is defined as:
Figure FDA0004067569770000032
wherein, g p Is the gray value of the adjacent pixel, g c Is the central pixel gray value, p is the number of adjacent pixels;
s3212: by pixel point (x) c ,y c ) Taking the values of P =8 adjacent pixels from circles with the radius of R =1 as the circle center, arranging the values into eight-bit binary data in the clockwise direction, and representing the eight-bit binary data as integer data;
s3213: and obtaining the texture characteristics after obtaining the LBP value of the training sample image.
CN201910054426.8A 2019-01-21 2019-01-21 Tire qualification detection method based on LBP Active CN109785313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910054426.8A CN109785313B (en) 2019-01-21 2019-01-21 Tire qualification detection method based on LBP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910054426.8A CN109785313B (en) 2019-01-21 2019-01-21 Tire qualification detection method based on LBP

Publications (2)

Publication Number Publication Date
CN109785313A CN109785313A (en) 2019-05-21
CN109785313B true CN109785313B (en) 2023-03-14

Family

ID=66501044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910054426.8A Active CN109785313B (en) 2019-01-21 2019-01-21 Tire qualification detection method based on LBP

Country Status (1)

Country Link
CN (1) CN109785313B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127439A (en) * 2019-12-22 2020-05-08 上海眼控科技股份有限公司 Method and device for detecting tire tread of vehicle tire, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021379A (en) * 2014-06-09 2014-09-03 北京航空航天大学 Method for calculating interval between vehicles during aided vehicle driving
CN105488454A (en) * 2015-11-17 2016-04-13 天津工业大学 Monocular vision based front vehicle detection and ranging method
CN106250936A (en) * 2016-08-16 2016-12-21 广州麦仑信息科技有限公司 Multiple features multithreading safety check contraband automatic identifying method based on machine learning
CN107437243A (en) * 2017-06-19 2017-12-05 中国科学院自动化研究所 Tire method for detecting impurities and device based on x-ray image

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6188400B2 (en) * 2013-04-26 2017-08-30 オリンパス株式会社 Image processing apparatus, program, and image processing method
CN107092920A (en) * 2016-02-17 2017-08-25 福特全球技术公司 Assessing traveling thereon has the method and apparatus on road surface of vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021379A (en) * 2014-06-09 2014-09-03 北京航空航天大学 Method for calculating interval between vehicles during aided vehicle driving
CN105488454A (en) * 2015-11-17 2016-04-13 天津工业大学 Monocular vision based front vehicle detection and ranging method
CN106250936A (en) * 2016-08-16 2016-12-21 广州麦仑信息科技有限公司 Multiple features multithreading safety check contraband automatic identifying method based on machine learning
CN107437243A (en) * 2017-06-19 2017-12-05 中国科学院自动化研究所 Tire method for detecting impurities and device based on x-ray image

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"一种用于图像分类的局部二值改进算法";郭延辉等;《轻工学报》;20170515;第73-77页 *
"基于深度学习的轮胎缺陷无损检测与分类技术研究";崔雪红;《中国博士学位论文全文数据库 工程科技Ⅱ辑》;20181015;第C035-4页 *
"子午轮胎缺陷检测方法与系统设计研究";张茂强;《中国优秀硕士学位论文全文数据库 信息科技辑》;20141015;第II,8,10,23页 *
张茂强."子午轮胎缺陷检测方法与系统设计研究".《中国优秀硕士学位论文全文数据库 信息科技辑》.2014, *

Also Published As

Publication number Publication date
CN109785313A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN114549522B (en) Textile quality detection method based on target detection
CN111402226A (en) Surface defect detection method based on cascade convolution neural network
CN111223093A (en) AOI defect detection method
CN108090894B (en) Fabric defect detection method based on distance matching function and perceptual hash algorithm
CN111383209A (en) Unsupervised flaw detection method based on full convolution self-encoder network
CN109785250B (en) Image restoration method based on Criminisi algorithm
CN113920107A (en) Insulator damage detection method based on improved yolov5 algorithm
CN105654121A (en) Complex jacquard fabric defect detection method based on deep learning
CN107966444B (en) Textile flaw detection method based on template
CN115100206B (en) Printing defect identification method for textile with periodic pattern
CN110781913B (en) Zipper cloth belt defect detection method
CN116758491B (en) Printing monitoring image analysis method and system applied to 3D printing
CN115601332A (en) Embedded fingerprint module appearance detection method based on semantic segmentation
CN109785313B (en) Tire qualification detection method based on LBP
CN115205209A (en) Monochrome cloth flaw detection method based on weak supervised learning
CN110458809B (en) Yarn evenness detection method based on sub-pixel edge detection
CN113936001B (en) Textile surface flaw detection method based on image processing technology
CN116934749A (en) Textile flaw rapid detection method based on image characteristics
CN102750546B (en) Face shielding detection method based on structured error code
CN117218114B (en) Mesh fabric defect rapid detection method based on image data processing
CN113870204A (en) Method and device for detecting abnormality of optical glass
CN112102280B (en) Method for detecting loosening and loss faults of small part bearing key nut of railway wagon
CN112756840A (en) Welding quality detection system
CN116542963A (en) Float glass defect detection system and detection method based on machine learning
CN116309493A (en) Method and system for detecting defects of textile products

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240221

Address after: Room 407, 4th floor, office building, Institute of automation, Shandong Academy of Sciences, 19 Keyuan Road, Lixia District, Jinan City, Shandong Province

Patentee after: Shandong Shanke sensing intelligent technology Co.,Ltd.

Country or region after: China

Address before: 250000 No. 2399, University Road, Changqing University Science Park, Jinan City, Shandong Province

Patentee before: SHANDONG WOMEN'S University

Country or region before: China