CN103559716A - Method for automatic segmentation of defective image - Google Patents

Method for automatic segmentation of defective image Download PDF

Info

Publication number
CN103559716A
CN103559716A CN201310556840.1A CN201310556840A CN103559716A CN 103559716 A CN103559716 A CN 103559716A CN 201310556840 A CN201310556840 A CN 201310556840A CN 103559716 A CN103559716 A CN 103559716A
Authority
CN
China
Prior art keywords
image
sigma
value
utilize
steps
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
Application number
CN201310556840.1A
Other languages
Chinese (zh)
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.)
GUANGZHOU TEPPER INFORMATION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU TEPPER INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU TEPPER INFORMATION TECHNOLOGY Co Ltd filed Critical GUANGZHOU TEPPER INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310556840.1A priority Critical patent/CN103559716A/en
Publication of CN103559716A publication Critical patent/CN103559716A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for automatic segmentation of a defective image. The method comprises the steps that A, image data are clustered through two-layer subtraction clustering; B, arrangement is conducted on center sets from big to small; C, a central point set V is initialized through first c elements; D, an efficiency analysis index of clustering is calculated; E, c=c+1 and an iterative computation is conducted until c>cmax; F, the value of V is determined when FXB (U,V,c) is the least value; G, U is calculated again through the value of V and image segmentation is conducted according to the formula that uik=max{u1k, u2k,...,uck} and xi belongs to the ith type. The method can overcome the shortages of the prior art, automatic segmentation in random walking mode is achieved, the image processing quality is improved, operation time is shortened, and the work efficiency is improved.

Description

A kind of automatic division method of defect image
Technical field
The present invention relates to graph and image processing, pattern-recognition and machine vision technique field, especially a kind of automatic division method of defect image.
Background technology
Along with widespread use and the fast development of computer technology, graph and image processing, pattern-recognition and machine vision progressively develop into popular research topic.Up to the present, researchist has proposed thousands of kinds of image partition methods, these methods are all obtaining certain achievement in varying degrees, but most achievement in research all designs for a certain types of image or for a certain concrete application background, there is no unified solution, want make concrete analyses of concrete problems, conventionally need to combine and could more effectively solve such image segmentation problem with association area knowledge, owing to lacking a unified technological means, know how according to image, to carry out design and the selection of appropriate method.Therefore, image cut apart remain image process with machine vision in the challenging difficult problem of tool, restricted greatly development and the application of this subject.
Image is cut apart technology and the process that exactly image is divided into the region of each tool characteristic and proposes interesting target.The characteristic here can be gray scale, color, texture of pixel etc., and predefined target can be to single region, also can corresponding a plurality of regions.It is to process by image the committed step that proceeds to graphical analysis that image is cut apart, and occupies critical role in Image Engineering.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of automatic division method of defect image, can solve the deficiencies in the prior art, the segmentation effect that the Seed Points that the method provides carries out is more satisfactory, realized the auto Segmentation of random walk, improve quality of image processing, reduce the running time, improved work efficiency.
For solving the problems of the technologies described above, the technical solution used in the present invention is as follows.
An automatic division method for defect image, comprises the following steps:
A, utilize two layers of subtractive clustering to carry out cluster to view data, obtain a N psubset;
B ,Dui center collection
Figure BSA0000097402700000021
arrange from big to small, and make initial value c=2;
C, with
Figure BSA0000097402700000022
in before c element Initialization Center point set V, utilize center
Figure BSA0000097402700000023
to v idistance
Figure BSA0000097402700000024
degree of membership matrix u ik, a c cluster centre v iand objective function J m(U, V) carries out cluster, wherein,
d il 2 ( x l , v i ) ≈ d il 2 ( x k c , v i ) = | | x k c - v i | | A 2 , u ik = [ Σ j = 1 c [ d ik ( x k , v i ) d jk ( x k , v j ) ] 2 / ( m - 1 ) ] - 1 ,
v i = Σ k = 1 N p ( u ik ) m x k c D c ( x k c ) Σ k = 1 N p ( u ik ) m D c ( x k c ) , J m ( U , V ) = Σ k = 1 N p Σ i = 1 c ( u ik ) m d ik 2 ( x k c , v i ) D c ( x k c ) ,
k=1,2,...,n;
D, calculating Clustering Validity Analysis index:
F XB ( U , V , c ) = J m ( U , V ) n ( min | | v i - v j | | ) i , j = 1,2 , . . . , c ;
E, make c=c+1, if c > is c max, turn to step F; Otherwise, turn to step C;
F, definite inf V { V = arg min i , j = 1,2 , . . . , c J m ( U , V ) n ( min | | v i - v j | | ) } , Be F xBv value when (U, V, c) gets minimum value;
G, utilize V to recalculate U and according to u ik=max{u 1k, u 2k..., u ckx i∈ i class is carried out image and is cut apart.
As preferably, in steps A, image is removed to noise processed.
As preferably, in steps A, using the pixel of image as sample point.
The present invention combines fast fuzzy C-means clustering with traditional random walk method, utilize quick FCM to cut apart Seed Points number and position that obtained cluster numbers C and corresponding cluster centre are determined random walk, the random walk method of the Automatic Logos based on fast fuzzy C-means clustering has been proposed, the method of proposition is applied to cutting apart of road defect image, experimental result shows, the segmentation effect that the Seed Points that the method provides carries out is more satisfactory, realized the auto Segmentation of random walk, reduce the running time, improved work efficiency.
First utilize quick FCM to Image Segmentation Using, obtain cluster numbers and cluster centre point coordinate; Then take this information chooses priori (being selected seed point) is provided as the Seed Points of random walk method; Finally, quick FCM is fused in random walk dividing method, makes random walk can realize auto Segmentation.
Fast fuzzy C-means clustering carries out image to be cut apart, and is to using the pixel of image as sample point, degree of membership u ikthat the possibility that belongs to a certain kinds to pixel is directly proportional, and this possibility only depends on the distance at pixel and each class center, when near the pixel corresponding class center is assigned to compared with high degree of membership value and while being assigned to lower degree of membership value away from the pixel at class center, in class, error sum of squares reaches global minimum.
Random walk method, first carries out pre-service to image, removes noise; Then image is regarded as to figure, and calculate the weights between each point according to weight function, according to quick FCM, cut apart and obtain the Seed Points that cluster numbers and cluster centre coordinate are determined target and background, random walk on figure, until all points are all absorbed, according to each point, arrive the probability of Seed Points to the some classification on figure, and Output rusults.
Adopt the beneficial effect that technique scheme is brought to be: the present invention to be cut apart and the image pre-service such as medical image for road defect image, there is good recognition efficiency and accuracy, and can improve image processing speed.
Accompanying drawing explanation
Fig. 1 is the entire flow figure that defect image is processed.
Fig. 2 is the process flow diagram of quick FCM dividing processing.
Fig. 3 is the process flow diagram that random walk is processed.
Fig. 4 is the original image of ship image in embodiment.
Fig. 5 is the image of ship image after existing dividing method is processed in embodiment.
Fig. 6 is the image of ship image after dividing method provided by the invention is processed in embodiment.
Fig. 7 is the original image of road transverse crack image in embodiment.
Fig. 8 is the image of road transverse crack image after existing dividing method is processed in embodiment.
Fig. 9 is the image of road transverse crack image after dividing method provided by the invention is processed in embodiment.
Embodiment
An automatic division method for defect image, comprises the following steps:
A, utilize two layers of subtractive clustering to carry out cluster to view data, obtain a N psubset;
B ,Dui center collection
Figure BSA0000097402700000041
arrange from big to small, and make initial value c=2;
C, with
Figure BSA0000097402700000042
in before c element Initialization Center point set V, utilize center
Figure BSA0000097402700000043
to v idistance
Figure BSA0000097402700000044
degree of membership matrix u ik, a c cluster centre v iand objective function J m(U, V) carries out cluster, wherein,
d il 2 ( x l , v i ) ≈ d il 2 ( x k c , v i ) = | | x k c - v i | | A 2 , u ik = [ Σ j = 1 c [ d ik ( x k , v i ) d jk ( x k , v j ) ] 2 / ( m - 1 ) ] - 1 ,
v i = Σ k = 1 N p ( u ik ) m x k c D c ( x k c ) Σ k = 1 N p ( u ik ) m D c ( x k c ) , J m ( U , V ) = Σ k = 1 N p Σ i = 1 c ( u ik ) m d ik 2 ( x k c , v i ) D c ( x k c ) ,
k=1,2,...,n;
D, calculating Clustering Validity Analysis index:
F XB ( U , V , c ) = J m ( U , V ) n ( min | | v i - v j | | ) i , j = 1,2 , . . . , c ;
E, make c=c+1, if c > is c max, turn to step F; Otherwise, turn to step C;
F, definite inf V { V = arg min i , j = 1,2 , . . . , c J m ( U , V ) n ( min | | v i - v j | | ) } , Be F xBv value when (U, V, c) gets minimum value;
G, utilize V to recalculate U and according to u ik=max{u 1k, u 2k..., u ckx i∈ i class is carried out image and is cut apart.
It should be noted that in steps A, with two layers of subtractive clustering, determine N pthe sample set that individual image color is close.In ground floor, by data set C xbe equally divided into the subset that t number is b (n=bt), be designated as
Figure BSA0000097402700000051
data point x idensity function be defined as the data point number in this vertex neighborhood, x ineighborhood be defined as with x icentered by, the suprasphere that r is radius, r must get a suitable numerical value.Defined function
u ( x ) = 1 x &GreaterEqual; 0 0 x < 0
?
Figure BSA0000097402700000053
data point density in neighborhood is
D i l ( x i l ) = &Sigma; j = 1 b u ( r - | | x i l - x j l | | )
If data point
Figure BSA0000097402700000055
there is maximum distribution density,
Figure BSA0000097402700000056
subset so
Figure BSA0000097402700000057
the 1st cluster centre be
c c 1 l = &Sigma; x j l &Element; C c 1 l x j l D j l ( x j l ) &Sigma; x j l &Element; C c 1 l D j l ( x j l )
Wherein, for
Figure BSA00000974027000000510
data point set in neighborhood.Find out after the 1st class cluster centre, then in set search the data point with maximal density functional value
Figure BSA00000974027000000512
and the barycenter of the data point in its neighborhood is as the 2nd cluster centre
Figure BSA00000974027000000513
repeat said process, until
Figure BSA00000974027000000514
the Center Number of k for obtaining.Profit uses the same method the data set upgrading is carried out to second layer subtractive clustering, and density function is D i = &Sigma; j = 1 N c u ( r - | | x i l - x j l | | ) D 1 ( x j ) , N wherein cand D 1(x j) be Center Number and the center density of ground floor, therefore, can obtain cluster centre c cj, j=1,2 ..., N p, N pcenter Number for second layer acquisition.。
It should be noted that in step C, utilize hierarchical subtractive clustering method, according to similarity criterion, image point set S is divided into N pindividual subset S k(k=1,2 ..., N p), consider each subset S kthe color of interior pixel is more approaching,
Figure BSA00000974027000000519
to central point v idistance can use approx S kcenter to v idistance
Figure BSA00000974027000000517
represent, d il 2 ( x l , v i ) &ap; d il 2 ( x k c , v i ) = | | x k c - v i | | A 2 ;
Membership function u ik(represent k sample x kwith i cluster centre v imembership, i.e. x kbelong to v idegree) be: u ik = [ &Sigma; j = 1 c [ d ik ( x k , v i ) d jk ( x k , v j ) ] 2 / ( m - 1 ) ] - 1
The size of fuzzy matrix U becomes N from original n * c p* c, c cluster centre v iand objective function J m(U, V) is respectively
v i = &Sigma; k = 1 N p ( u ik ) m x k c D c ( x k c ) &Sigma; k = 1 N p ( u ik ) m D c ( x k c ) , J m ( U , V ) = &Sigma; k = 1 N p &Sigma; i = 1 c ( u ik ) m d ik 2 ( x k c , v i ) D c ( x k c ) ,
k=1,2,...,n。
The Matrix dividing of fuzzy clustering all belongs to following division space:
M fc = { U &Element; R cn | u ik &Element; [ 0,1 ] , &ForAll; i , k ; &Sigma; i = 1 c u ik = 1 , &ForAll; k ; 0 < &Sigma; k = 1 n u ik < n , &ForAll; i }
M ∈ [1, ∞) be FUZZY WEIGHTED index, be called again smoothing factor, on the one hand, it affects the concavity and convexity of objective function, controls again on the other hand the ambiguity of cluster, is controlling sample and share degree between fuzzy class.
As preferably, in steps A, image is removed to noise processed.
As preferably, in steps A, using the pixel of image as sample point.
By method of the present invention, random walk can be realized defect image auto Segmentation.
As shown in Fig. 6 and Fig. 9, by using the method providing in this embodiment to process the image of ship and crack on road, can find out in image that ship and crack are successfully split.
Take MatlabR2013a as experiment porch, and the Data Comparison in processing time is as follows:
Figure BSA0000097402700000064
More than show and described ultimate principle of the present invention and principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; that in above-described embodiment and instructions, describes just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (3)

1. an automatic division method for defect image, is characterized in that comprising the following steps:
A, utilize two layers of subtractive clustering to carry out cluster to view data, obtain a N psubset;
B ,Dui center collection
Figure FSA0000097402690000011
arrange from big to small, and make initial value c=2;
C, with
Figure FSA0000097402690000012
in before c element Initialization Center point set V, utilize center
Figure FSA0000097402690000013
to v idistance
Figure FSA0000097402690000014
degree of membership matrix u ik, a c cluster centre v iand objective function J m(U, V) carries out cluster, wherein,
d il 2 ( x l , v i ) &ap; d il 2 ( x k c , v i ) = | | x k c - v i | | A 2 , u ik = [ &Sigma; j = 1 c [ d ik ( x k , v i ) d jk ( x k , v j ) ] 2 / ( m - 1 ) ] - 1 ,
v i = &Sigma; k = 1 N p ( u ik ) m x k c D c ( x k c ) &Sigma; k = 1 N p ( u ik ) m D c ( x k c ) , J m ( U , V ) = &Sigma; k = 1 N p &Sigma; i = 1 c ( u ik ) m d ik 2 ( x k c , v i ) D c ( x k c ) ,
k=1,2,...,n;
D, calculating Clustering Validity Analysis index:
F XB ( U , V , c ) = J m ( U , V ) n ( min | | v i - v j | | ) i , j = 1,2 , . . . , c ;
E, make c=c+1, if c > is c max, turn to step F; Otherwise, turn to step C;
F, definite inf V { V = arg min i , j = 1,2 , . . . , c J m ( U , V ) n ( min | | v i - v j | | ) } , Be F xBv value when (U, V, c) gets minimum value;
G, utilize V to recalculate U and according to u ik=max{u 1k, u 2k..., u ckx i∈ i class is carried out image and is cut apart.
2. the automatic division method of defect image according to claim 1, is characterized in that: in steps A, image is removed to noise processed.
3. the automatic division method of defect image according to claim 2, is characterized in that: in steps A, using the pixel of image as sample point.
CN201310556840.1A 2013-11-12 2013-11-12 Method for automatic segmentation of defective image Pending CN103559716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310556840.1A CN103559716A (en) 2013-11-12 2013-11-12 Method for automatic segmentation of defective image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310556840.1A CN103559716A (en) 2013-11-12 2013-11-12 Method for automatic segmentation of defective image

Publications (1)

Publication Number Publication Date
CN103559716A true CN103559716A (en) 2014-02-05

Family

ID=50013955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310556840.1A Pending CN103559716A (en) 2013-11-12 2013-11-12 Method for automatic segmentation of defective image

Country Status (1)

Country Link
CN (1) CN103559716A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608711A (en) * 2016-01-18 2016-05-25 华东理工大学 Local-sensitive-histogram-based dynamic target tracking and extracting method of video
CN108537779A (en) * 2018-03-27 2018-09-14 哈尔滨理工大学 The method of vertebra segmentation and centroid detection based on cluster
CN112348827A (en) * 2020-10-26 2021-02-09 罗子尧 VR game system and method based on clustering algorithm
CN115424178A (en) * 2022-09-05 2022-12-02 兰州大学 Enhancement method for improving pavement crack data identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009470A1 (en) * 2001-04-25 2003-01-09 Leary James F. Subtractive clustering for use in analysis of data
CN101551905A (en) * 2009-05-08 2009-10-07 西安电子科技大学 Method for segmenting multi-dimensional texture image on basis of fuzzy C-means clustering and spatial information
CN102881019A (en) * 2012-10-08 2013-01-16 江南大学 Fuzzy clustering image segmenting method with transfer learning function
CN102903104A (en) * 2012-09-13 2013-01-30 杭州电子科技大学 Subtractive clustering based rapid image segmentation method
CN103366367A (en) * 2013-06-19 2013-10-23 西安电子科技大学 Pixel number clustering-based fuzzy C-average value gray level image splitting method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009470A1 (en) * 2001-04-25 2003-01-09 Leary James F. Subtractive clustering for use in analysis of data
CN101551905A (en) * 2009-05-08 2009-10-07 西安电子科技大学 Method for segmenting multi-dimensional texture image on basis of fuzzy C-means clustering and spatial information
CN102903104A (en) * 2012-09-13 2013-01-30 杭州电子科技大学 Subtractive clustering based rapid image segmentation method
CN102881019A (en) * 2012-10-08 2013-01-16 江南大学 Fuzzy clustering image segmenting method with transfer learning function
CN103366367A (en) * 2013-06-19 2013-10-23 西安电子科技大学 Pixel number clustering-based fuzzy C-average value gray level image splitting method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱小雨: ""基于 FCM 聚类的彩色图像分割算法研究"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608711A (en) * 2016-01-18 2016-05-25 华东理工大学 Local-sensitive-histogram-based dynamic target tracking and extracting method of video
CN108537779A (en) * 2018-03-27 2018-09-14 哈尔滨理工大学 The method of vertebra segmentation and centroid detection based on cluster
CN112348827A (en) * 2020-10-26 2021-02-09 罗子尧 VR game system and method based on clustering algorithm
CN115424178A (en) * 2022-09-05 2022-12-02 兰州大学 Enhancement method for improving pavement crack data identification

Similar Documents

Publication Publication Date Title
CN109685776B (en) Pulmonary nodule detection method and system based on CT image
CN111299815B (en) Visual detection and laser cutting trajectory planning method for low-gray rubber pad
CN112418117B (en) Small target detection method based on unmanned aerial vehicle image
CN111914795B (en) Method for detecting rotating target in aerial image
CN109932730B (en) Laser radar target detection method based on multi-scale monopole three-dimensional detection network
CN111340828A (en) Brain glioma segmentation based on cascaded convolutional neural networks
CN110674866A (en) Method for detecting X-ray breast lesion images by using transfer learning characteristic pyramid network
CN112001218B (en) Three-dimensional particle class detection method and system based on convolutional neural network
CN103886619B (en) A kind of method for tracking target merging multiple dimensioned super-pixel
CN105574859A (en) Liver tumor segmentation method and device based on CT (Computed Tomography) image
CN110322453A (en) 3D point cloud semantic segmentation method based on position attention and auxiliary network
CN102881019B (en) Fuzzy clustering image segmenting method with transfer learning function
CN109671102A (en) A kind of composite type method for tracking target based on depth characteristic fusion convolutional neural networks
CN110222767B (en) Three-dimensional point cloud classification method based on nested neural network and grid map
CN110969191B (en) Glaucoma prevalence probability prediction method based on similarity maintenance metric learning method
CN112418330A (en) Improved SSD (solid State drive) -based high-precision detection method for small target object
CN104933709A (en) Automatic random-walk CT lung parenchyma image segmentation method based on prior information
CN106934455B (en) Remote sensing image optics adapter structure choosing method and system based on CNN
CN110543906B (en) Automatic skin recognition method based on Mask R-CNN model
CN113160062B (en) Infrared image target detection method, device, equipment and storage medium
CN103559716A (en) Method for automatic segmentation of defective image
CN101908213A (en) SAR image change detection method based on quantum-inspired immune clone
CN110969121A (en) High-resolution radar target recognition algorithm based on deep learning
CN114120125A (en) Farmland identification method and device based on double-current deep network and storage medium
CN115439458A (en) Industrial image defect target detection algorithm based on depth map attention

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 510663 Guangdong city in Guangzhou Province Economic Development Zone Luogang Road No. 232 Ke Xue Cheng Ke Zhu 3 building 501

Applicant after: GUANGZHOU TEPPER INFORMATION TECHNOLOGY CO., LTD.

Address before: Xue Cheng Ke Zhu Road Guangzhou City, Guangdong province 510663 science 232 Building No. 2 room 410 room C

Applicant before: GUANGZHOU TEPPER INFORMATION TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: GUANGZHOU TEPPER INFORMATION TECHNOLOGY CO., LTD.

Document name: Notification of Patent Invention Entering into Substantive Examination Stage

CB02 Change of applicant information

Address after: 510663 Guangdong city of Guangzhou Province Economic and Technological Development Zone No. 232 Ke Xue Cheng Guang Bao Lu 2 building 405B room

Applicant after: GUANGZHOU TEPPER INFORMATION TECHNOLOGY CO., LTD.

Address before: 510663 Guangdong city in Guangzhou Province Economic Development Zone Luogang Road No. 232 Ke Xue Cheng Ke Zhu 3 building 501

Applicant before: GUANGZHOU TEPPER INFORMATION TECHNOLOGY CO., LTD.

COR Change of bibliographic data
DD01 Delivery of document by public notice

Addressee: GUANGZHOU TEPPER INFORMATION TECHNOLOGY CO., LTD.

Document name: the First Notification of an Office Action

DD01 Delivery of document by public notice
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140205