CN103390280A - Rapid threshold segmentation method based on gray level-gradient two-dimensional symmetrical Tsallis cross entropy - Google Patents

Rapid threshold segmentation method based on gray level-gradient two-dimensional symmetrical Tsallis cross entropy Download PDF

Info

Publication number
CN103390280A
CN103390280A CN201310322094XA CN201310322094A CN103390280A CN 103390280 A CN103390280 A CN 103390280A CN 201310322094X A CN201310322094X A CN 201310322094XA CN 201310322094 A CN201310322094 A CN 201310322094A CN 103390280 A CN103390280 A CN 103390280A
Authority
CN
China
Prior art keywords
sigma
gray level
gradient
dimensional
cross entropy
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.)
Granted
Application number
CN201310322094XA
Other languages
Chinese (zh)
Other versions
CN103390280B (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.)
XINJE ELECTRONIC CO Ltd
Jiangnan University
Original Assignee
XINJE ELECTRONIC CO Ltd
Jiangnan 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 XINJE ELECTRONIC CO Ltd, Jiangnan University filed Critical XINJE ELECTRONIC CO Ltd
Priority to CN201310322094.XA priority Critical patent/CN103390280B/en
Publication of CN103390280A publication Critical patent/CN103390280A/en
Application granted granted Critical
Publication of CN103390280B publication Critical patent/CN103390280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a rapid threshold segmentation method based on gray level-gradient two-dimensional symmetrical Tsallis cross entropy, aims at the problems that approximate assumption exists in a conventional gray level-average gray level histogram and a whole solution space is required to be searched by calculation, so that segmentation is inaccurate and the efficiency is not high, and provides improved two-dimensional symmetrically Tsallis cross entropy threshold segmentation and a rapid recursive method thereof. The threshold segmentation method is higher in universality and accurate in segmentation; in order to realize accurate segmentation of a gray image, a new gray level-gradient two-dimensional histogram is adopted, and a two-dimensional symmetrical Tsallis cross entropy theory with a superior segmentation effect is combined with the histogram, so that the gray level image segmentation accuracy is effectively improved; the requirement for on-line timeliness of an industrial assembly line is met at the same time, a novel rapid recursive algorithm is adopted, and redundant calculation is reduced; and after a gray level image of the industrial assembly line is processed, the inside of an image zone is uniform, the contour boundary is accurate, the texture detail is clear, and at same time, good universality is provided.

Description

The Fast Threshold dividing method of intensity-based-gradient two-dimensional symmetric Tsallis cross entropy
Technical field
The present invention relates to the image segmentation field in machine vision, specifically refer to the quickly and accurately threshold segmentation method of a kind of two-dimensional symmetric Tsallis cross entropy realization of intensity-based-histogram of gradients to the industrial flow-line gray level image.
Background technology
Image segmentation is the treatment technology in early stage of graphical analysis and vision detection system, and Threshold segmentation is that a kind of use is the most general, processing is the most effective, realizes the simplest image partition method.The result of Threshold segmentation directly affects subsequent characteristics and extracts the precision of identifying with target, so Threshold sementation is in occupation of vital status.On industrial flow-line, Threshold sementation has application very widely: as the character recognition on workpiece, bearing dustproof cover surface defects detection, the detection of solar battery panel slight crack, magnetic tile surface defect detection, cereal appearance quality detection etc.The Halcon machine vision software of Germany MVTec company provides numerous cases of Threshold segmentation,, as the detection of zigzag fashion defect, bga chip encapsulation inspection, the detection of mechanograph peak etc., has reached subpixel accuracy.
Under the industrial environment of harshness, be used for the captured image of non-contact detecting and tend to be subject to the interference of the factors such as noise, uneven illumination, therefore how choosing optimal threshold becomes the key of cutting apart.For this problem, Chinese scholars has been carried out broad research, has proposed multiple threshold segmentation method.Traditional classic algorithm one dimension Otsu method is because of the limited requirement that can not meet industrial Accurate Segmentation of applicable situation.In order to strengthen noise immunity and to promote the effect of cutting apart, existing large quantity algorithm considers that not only the half-tone information of pixel also considers other relevant information of pixel, as the average of pixel neighborhood, intermediate value, variance, gradient etc., algorithm can be divided pixel in the higher dimensional space of these variablees.
Threshold segmentation method based on entropy concept (such as Shannon entropy, minimum cross entropy, Tsallis entropy etc.) is the focus of Recent study.Li and Brink have successively introduced minimum cross entropy criterion,, because the targets to different sizes can produce preferably segmentation effect and realize simply, have been subject to extensive concern.Sahoo and Arora have proposed two-dimentional Tsallis entropy Research on threshold selection, although segmentation effect increases, real-time is poor, can't be applied to industry spot.Tang Yinggan etc. combine minimum cross entropy and Tsallis entropy to derive two-dimentional minimum Tsallis cross entropy Research on threshold selection, but do not meet the tolerance symmetry, and real-time is still poor.Wu's one congruence has proposed two-dimentional Tsallis gray scale entropy Research on threshold selection,, although the method has reflected the homogeneity of gray scale in class, do not reflect the difference degree of quantity of information between two probability distribution, so segmentation effect need improve still.Based on two-dimensional symmetric Tsallis cross entropy Research on threshold selection, not only can characterize the difference degree between image before and after cutting apart, meet the symmetric requirement of distance metric, and can make the uniform gray level of cutting apart target and background inside in rear image.In order further to improve the real-time of Threshold Segmentation Algorithm and to cut apart accuracy, the researchist has proposed some methods such as oblique point-score, decomposition method, accurate point-score, straight-line method, polygometry, for the present invention has established theoretical foundation massively.
Summary of the invention
The object of the invention is to that segmentation precision is not high for existing in existing method, universality is strong, real-time high not, in original two dimensional Tsallis entropy method, tiltedly divide on the basis of Tsallis entropy method and contrast original two dimensional Otsu method, two-dimentional Tsallis gray scale entropy method, propose the Threshold sementation of the two-dimensional symmetric Tsallis cross entropy of intensity-based-histogram of gradients, develop that a kind of segmentation performance is superior, universality is strong, be applicable to the threshold segmentation method in the higher industrial flow-line of requirement of real-time.
The inventive method is based on following consideration: intra-zone homogeneity, edge contour and the grain details of image is that the performance of Threshold segmentation embodies, in order fully to highlight these information, on the basis of original gray level-average gray level two-dimensional histogram, new Gray Level-Gradient two-dimensional histogram is proposed.The inventive method combines its two-dimensional histogram and two-dimensional symmetric Tsallis cross entropy theory, and, by novel quick recurrence method, realizes accurate, Fast Segmentation to gray level image.
The technical scheme of Fast Threshold dividing method that the present invention is based on Gray Level-Gradient two-dimensional symmetric Tsallis cross entropy is as follows:
(1) Real-time Obtaining industrial flow-line gray level image p (x, y), process by adopting the stronger intermediate value 4 angular domain templates of adaptability to carry out filtering to gray level image, obtains filtered image g (x, y), and the maximum gray scale H of image after calculation of filtered;
(2) ask for the absolute difference of gray level after pixel grayscale and its filtering, thereby obtain the neighborhood gradient, and calculate maximum neighborhood gradient W;
(3) set up the Gray Level-Gradient two-dimensional histogram, the two-dimensional histogram horizontal ordinate is that mean value, the ordinate of gray level after pixel grayscale and its filtering is the neighborhood gradient of this pixel, note h (i, j) represent the frequency that this two tuple occurs, try to achieve the joint probability p (i, j) of its generation;
(4) passing threshold vector (t, s) is divided into lower-left area 0, lower right area 1, right regions 2,3 four parts of top left region to two-dimensional histogram, and as shown in Figure 1, area 0 is corresponding with impact point; Zone 1 is corresponding with background dot; Marginal point between zone 2 and zone 3 corresponding target and backgrounds and the noise spot in image;
(5) the total two-dimensional symmetric Tsallis cross entropy of target and background two classes, i.e. criterion function:
Φ ( t , s ) = 1 q - 1 { Σ i = 0 t Σ j = 0 s p ( i , j ) [ μ oi 1 - q ( t , s ) i q + μ oi q ( t , s ) i 1 - q + μ oj 1 - q ( t , s ) j q + μ oj q ( t , s ) j q - 1 ] +
Σ i = t + 1 H Σ j = 0 s p ( i , j ) [ μ bi 1 - q ( t , s ) i q + μ bi q ( t , s ) i 1 - q + μ bj 1 - q ( t , s ) j q + μ bj q ( t , s ) j 1 - q ] }
Relevant definition amount is respectively:
α oi ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) i q α oj ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) j q β oi ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) i 1 - q β oj ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) j 1 - q
α bi ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) i q α bj ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) j q β bi ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) i 1 - q β bj ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) j 1 - q
(6) probability of statistics target class and background classes generation is respectively p o(t, s) and p b(t, s), the mean vector of target class and background classes is respectively
Figure BSA0000093138340000033
And μ b(t, s)=[μ bi(t, s), μ bj(t, s)] T.Adopt novel quick recurrence method to calculate target class p o(t, s), α oi(t, s), α oj(t, s), β oi(t, s), β oj(t, s),
Figure BSA0000093138340000038
With
Figure BSA0000093138340000034
Have 7 correlatives altogether.With p o(t, s) is example:
If note
Figure BSA0000093138340000035
There is following recursion formula:
P s ( t ) = Σ j = 0 s - 1 p ( t , j ) + p ( t , s ) = p s - 1 ( t ) + p ( t , s )
p o ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) = Σ i = 0 t - 1 Σ j = 0 s p ( i , j ) + Σ j = 0 s p ( t , j ) = p o ( t - 1 , s ) + p s ( t )
(7) the approximate hypothesis of abandoning tradition two-dimensional histogram, 7 of background classes correlatives, with p b(t, s) is example: p b(t, s)=p o(H, s)-p o(t, s);
(8) adopt the value of the mode comparison two-dimensional symmetric Tsallis cross entropy formula of tabling look-up, corresponding best threshold vector (t when obtaining maximal value *, s *).
Beneficial effect of the present invention: the present invention adopts intermediate value 4 angular domain templates to carry out filtering to gray level image, improve the difference of centre of neighbourhood grey scale pixel value and institute's reference pixel gray-scale value, this template has the effect of mean filter and medium filtering concurrently simultaneously, so this template has stronger adaptability; The present invention adopts the Gray Level-Gradient two-dimensional histogram, and this histogram makes not only that to cut apart the image border profile accurate, and grain details is clear, and has very strong noise immunity, and the target and background intra-zone is more even.Divide in the two-dimensional histogram zone, considered the internal point of target and background comprehensively, the maximal value of neighborhood shade of gray is generally less, needs the solution space of traversal greatly to dwindle, and has improved the real-time of algorithm; The present invention adopts new two-dimensional histogram and through the pervasive two-dimensional symmetric Tsallis cross entropy strong, superior performance of a large amount of tests, combines, further improved the quality that gray level image is cut apart, and, by novel quick recurrence method, further improved real-time.
Description of drawings
Schematic diagram is divided in Fig. 1 Gray Level-Gradient two-dimensional histogram zone.
Fig. 2 overall flow figure of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with instantiation, and with reference to accompanying drawing, the specific embodiment of the present invention is elaborated, the present invention is including but not limited to example.
As shown in Figure 2, be overall flow figure of the present invention, concrete steps are as follows:
The first step:
(1.1) utilize intermediate value 4 angular domain templates to carry out filtering and noise reduction to the industrial flow-line gray level image f (x, y) that collects, this template is as follows:
A = 1 0 1 0 0 0 1 0 1
At first quicksort is carried out in the gray-scale value of the pixel on 4 angles of each pixel in gray level image, then to the mean value of second and the 3rd value after sorting as the output, thereby obtain filtered image g (x, y).The maximum average value H=max[(f (x, y) of gray level+g (x, y) after calculating pixel gray level and its filtering again)/2].
(1.2) ask for the absolute difference of gray level after pixel grayscale and its filtering, use | f (x, y)-g (x, y) | expression, thus obtain the neighborhood gradient, and calculate maximum neighborhood gradient W=max (| f (x, y)-g (x, y) |).
Second step:
(2.1) set up gray level-gradient two-dimensional histogram, the two-dimensional histogram horizontal ordinate is that mean value, the ordinate of gray level after pixel grayscale and its filtering is the neighborhood gradient of this pixel.If with h (i, j) represent this two tuple ([f (x, y)+g (x, y)]/2=i, | f (x, y)-g (x, y) |=frequency that j) occurs, the joint probability of its generation:
p ( i , j ) = h ( i , j ) M × N
Here M * N is total pixel number of image, i=0, and 1 ... H; J=0,1 ..., W, H and W are respectively maximum mean value and maximum shade of gray.
The 3rd step: if (t, s) is the threshold vector of choosing, (t, s) the two-dimensional histogram plane figure is divided into four parts, as shown in Figure 1, after the pixel grayscale of area 0 and its filtering, the mean value of gray level is less, and the neighborhood gradient is also less, and is therefore corresponding with impact point; After the pixel grayscale in zone 1 and its filtering, the mean value of gray level is larger, and the neighborhood gradient is also less, and is therefore corresponding with background dot; Zone 2 and zone 3 have larger neighborhood gradient, therefore the marginal point between corresponding target and background and the noise spot in image.
(3.1) probability of target class and background classes generation is respectively:
P o ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) , p b ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j )
(3.2) mean vector of target class and background classes is respectively:
μ o ( t , s ) = [ μ oi ( t , s ) , μ oi ( t , s ) ] T = [ Σ i = 0 t Σ j = 0 s p ( i , j ) i p o ( t , s ) , Σ i = 0 t Σ j = 0 s p ( i , j ) j p o ( t , s ) ] T
μ b ( t , s ) = [ μ bi ( t , s ) , μ bj ( t , s ) ] T = [ Σ i = t + 1 H Σ j = 0 s p ( i , j ) i p b ( t , s ) , Σ i = t + 1 H Σ j = 0 s p ( i , j ) j p b ( t , s ) ] T
If note μ oi ‾ ( t , s ) = Σ i = 0 t Σ s = 0 s p ( i , j ) i , μ oj ‾ ( t , s ) = Σ i = 0 t Σ s = 0 s p ( i , j ) j , The mean vector of background and target two classes can be calculated as follows:
μ o ( t , s ) = [ μ oi ( t , s ) , μ oj ( t , s ) ] T = [ μ oi ‾ ( t , s ) p o ( t , s ) , μ oj ‾ ( t , s ) p o ( t , s ) ] T
μ b ( t , s ) = [ μ bi ( t , s ) , μ bj ( t , s ) ] T = [ μ oi ‾ ( H , s ) - μ oi ‾ ( H , s ) p o ( H , s ) - p o ( t , s ) , μ oj ‾ ( H , s ) - μ oj ‾ ( t , s ) p o ( H , s ) - p o ( t , s ) ] T
The 4th step:
(4.1) the symmetrical Tsallis cross entropy of objective definition class:
H o q ( t , s ) = [ H oi q ( t , s ) , H oj q ( t , s ) ] T =
[ 1 q - 1 Σ i = 0 t Σ j = 0 s i q p ( i , j ) μ oi 1 - q ( t , s ) + 1 q - 1 Σ i = 0 t Σ j = 0 s i 1 - q p ( i , j ) μ oi q ( t , s ) ,
1 q - 1 Σ i = 0 t Σ j = 0 s j q p ( i , j ) μ oj 1 - q ( t , s ) + 1 q - 1 Σ i = 0 t Σ j = 0 s j 1 - q p ( i , j ) μ oj q ( t , s ) ] T
The symmetrical Tsallis cross entropy of definition background classes:
H b q ( t , s ) = [ H bi q ( t , s ) , H bj q ( t , s ) ] T =
[ 1 q - 1 Σ i = t + 1 H Σ j = 0 s i q p ( i , j ) μ bi 1 - q ( t , s ) + 1 q - 1 Σ i = t + 1 H Σ j = 0 s i 1 - q p ( i , j ) μ bi q ( t , s ) ,
1 q - 1 Σ i = t + 1 H Σ j = 0 s j q p ( i , j ) μ bj 1 - q ( t , s ) + 1 q - 1 Σ i = t + 1 H Σ j = 0 s j 1 - q p ( i , j ) μ bj q ( t , s ) ] T
Order
α oi ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) i q α oj ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) j q β oi ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) i 1 - q β oj ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) j 1 - q
α bi ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) i q α bj ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) j q β bi ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) i 1 - q β bj ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) j 1 - q
(4.2) total two-dimensional symmetric Tsallis cross entropy is
H q ( t , s ) = H o q ( t , s ) + H b q ( t , s )
If Φ (t, s) is considered as the criterion function that two-dimensional symmetric Tsallis cross entropy threshold value is chosen, namely
Φ ( t , s ) = 1 q - 1 [ μ oi 1 - q ( t , s ) α oi ( t , s ) + μ oi q ( t , s ) β oi ( t , s ) + μ oj 1 - q ( t , s ) α oj ( t , s ) + μ oj q ( t , s ) β oj ( t , s ) +
μ bi 1 - q ( t , s ) α bi ( t , s ) + μ bi q ( t , s ) β bi ( t , s ) + μ bj 1 - q ( t , s ) α bj ( t , s ) + μ bj q ( t , s ) β bj ( t , s ) ] = 1 q - 1 Φ ′ ( t , s )
Parameter q usually get 0.8 o'clock best, this moment, q-1<0, hour obtained optimal threshold when Φ (t, s) reaches, obtains optimal threshold in the time of should making Φ ' (t, s) reach maximum, namely
( t * , s * ) = Arg max 0 ≤ t , s ≤ L - 1 { Φ ′ ( t , s ) }
The 5th step: adopt novel quick recurrence method to calculate target class p o(t, s), α oi(t, s), α oj(t, s), β oi(t, s), β oj(t, s),
Figure BSA0000093138340000061
With Have 7 correlatives altogether.
(5.1) existing with p o(t, s) and α oi(t, s) two amount recursion are calculated as example:
If note p s ( t ) = Σ j = 0 s p ( t , j ) , α s ( t ) = Σ j = 0 s p ( t , j ) t q , There is following recursion formula:
p s ( t ) = Σ j = 0 s - 1 p ( t , j ) + p ( t , s ) = p s - 1 ( t ) + p ( t , s )
α s ( t ) = Σ j = 0 s - 1 p ( t , j ) t q + p ( t , s ) t q = α s - 1 ( t ) + p ( t , s ) t q
p o ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) = Σ i = 0 t - 1 Σ j = 0 s p ( i , j ) + Σ j = 0 s p ( t , j ) = p o ( t - 1 , s ) + p s ( t )
α oi ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) i q = Σ i = 0 t - 1 Σ j = 0 s p ( i , j ) i q + Σ j = 0 s p ( t , j ) t q = α oi ( t - 1 , s ) + α s ( t )
For each calculating p o(t, s) and α oi(t, s) is as long as two are measured the p that utilizes front to obtain o(t-1, s) and α oi(t-1, s) and current p s(t) and α sAnd p (t), s(t) and α s(t) be that each train value is cumulative calculates by calculating, H+1 row altogether, need not be at every turn node-by-node algorithm again.In like manner can recursion calculate α oj(t, s), β oj(t, s), β oj(t, s),
Figure BSA0000093138340000068
With
Figure BSA0000093138340000069
(5.2) calculate background classes p b(t, s), α bi(t, s), α bj(t, s), β bi(t, s), β bj(t, s),
Figure BSA00000931383400000610
With
Figure BSA00000931383400000611
Have 7 correlatives altogether.
Existingly according to the histogrammic method of gray level-average gray level, introduced approximate hypothesis, ignored part background dot and the impact point of paying attention in other two zones, therefore to existing wrong minute cutting apart of gray level image.The present invention does not take approximate hypothesis:
Now with p b(t, s), α bi(t, s) and
Figure BSA00000931383400000612
Three amounts are example:
p b(t,s)=p o(H,s)-p o(t,s)
α bi(t,s)=α oi(H,s)-α oi(t,s)
μ bi ‾ ( t , s ) = μ oi ‾ ( H , s ) - μ oi ‾ ( t , s )
For each calculating p b(t, s), α bi(t, s) and
Figure BSA00000931383400000614
As long as measure the value of utilizing last row in the look-up table of front and deduct current p for three o(t, s), namely the correlative of target class and background classes and deduct the target class correlative and just can obtain the background classes correlative.In like manner can calculate α bj(t, s), β bi(t, s), β bj(t, s) and
Figure BSA00000931383400000615
Therefore (5.3), due to the distribution character of Gray Level-Gradient two-dimensional histogram, exist neutral element in area 0 and 1, during with the relevant amount of two-dimensional histogram, certainly existing repetition values in recursion.To this,, as p (i, j)=0, do not carry out double counting in calculating, reduced so invalid computing, accelerated arithmetic speed.
The 6th step: adopt the value of the more symmetrical Tsallis cross entropy of the mode formula of tabling look-up, corresponding best threshold vector (t when obtaining Φ ' (t, s) maximal value *, s *).

Claims (5)

1. the Fast Threshold dividing method of intensity-based-gradient two-dimensional symmetric Tsallis cross entropy, it is characterized in that: it can realize the industrial flow-line image is cut apart accurately and rapidly, makes that image-region after cutting apart is inner evenly, profile boundary accurate, grain details be clear and legible; The method is based on the Threshold sementation of two-dimensional symmetric Tsallis cross entropy; Adopt new Gray Level-Gradient two-dimensional histogram, first use intermediate value 4 neighborhood templates to carry out filtering and noise reduction to gray level image, then ask for its neighborhood gradient, set up two-dimensional histogram; The two-dimensional symmetric Tsallis cross entropy formula that employing is derived, as criterion function, is realized the Threshold segmentation to image; Adopt the correlative in novel FAST RECURSIVE ALGORITHM calculation criterion function, reduce redundant computation, improve the real-time of algorithm; Whole algorithm comprises following step:
(1) Real-time Obtaining industrial flow-line gray level image p (x, y), process by adopting the stronger intermediate value 4 angular domain templates of adaptability to carry out filtering to gray level image, obtains filtered image g (x, y), and the maximum gray scale H of image after calculation of filtered;
(2) ask for the absolute difference of gray level after pixel grayscale and its filtering, thereby obtain the neighborhood gradient, and calculate maximum neighborhood gradient W;
(3) set up the Gray Level-Gradient two-dimensional histogram, the two-dimensional histogram horizontal ordinate is that mean value, the ordinate of gray level after pixel grayscale and its filtering is the neighborhood gradient of this pixel, note h (i, j) represent the frequency that this two tuple occurs, try to achieve the joint probability p (i, j) of its generation;
(4) passing threshold vector (t, s) is divided into lower-left area 0, lower right area 1, right regions 2,3 four parts of top left region to two-dimensional histogram, and area 0 is corresponding with impact point, and zone 1 is corresponding with background dot; Marginal point between zone 2 and zone 3 corresponding target and backgrounds and the noise spot in image;
(5) the total two-dimensional symmetric Tsallis cross entropy of target and background two classes, i.e. criterion function:
Φ ( t , s ) = 1 q - 1 { Σ i = 0 t Σ j = 0 s p ( i , j ) [ μ oi 1 - q ( t , s ) i q + μ oi q ( t , s ) i 1 - q + μ oj 1 - q ( t , s ) j q + μ oj q ( t , s ) j q - 1 ] +
Σ i = t + 1 H Σ j = 0 s p ( i , j ) [ μ bi 1 - q ( t , s ) i q + μ bi q ( t , s ) i 1 - q + μ bj 1 - q ( t , s ) j q + μ bj q ( t , s ) j 1 - q ] }
Relevant definition amount is respectively:
α oi ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) i q α oj ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) j q β oi ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) i 1 - q β oj ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) j 1 - q
α bi ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) i q α bj ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) j q β bi ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) i 1 - q β bj ( t , s ) = Σ i = t + 1 H Σ j = 0 s p ( i , j ) j 1 - q
(6) probability of statistics target class and background classes generation is respectively p o(t, s) and p b(t, s), the mean vector of target class and background classes is respectively And μ b(t, s)=[μ bi(t, s), μ bj(t, s)] T, adopt novel quick recurrence method to calculate target class p o(t, s), α oi(t, s), α oj(t, s), β oi(t, s), β oj(t, s),
Figure FSA0000093138330000021
With
Figure FSA0000093138330000025
Have 7 correlatives altogether, with p o(t, s) is example:
If note
Figure FSA0000093138330000022
There is following recursion formula:
P s ( t ) = Σ j = 0 s - 1 p ( t , j ) + p ( t , s ) = p s - 1 ( t ) + p ( t , s )
p o ( t , s ) = Σ i = 0 t Σ j = 0 s p ( i , j ) = Σ i = 0 t - 1 Σ j = 0 s p ( i , j ) + Σ j = 0 s p ( t , j ) = p o ( t - 1 , s ) + p s ( t )
(7) the approximate hypothesis of abandoning tradition two-dimensional histogram, 7 of background classes correlatives, with p b(t, s) is example: p b(t, s)=p o(H, s)-p o(t, s);
(8) calculate in as p (i, j)=0, do not carry out double counting, reduced so invalid computing, accelerated arithmetic speed;
(9) adopt the value of the more symmetrical Tsallis cross entropy of the mode formula of tabling look-up, corresponding best threshold vector (t when obtaining Φ ' (t, s) maximal value *, s *).
2. the Fast Threshold dividing method of intensity-based-gradient two-dimensional symmetric Tsallis cross entropy according to claim 1, it is characterized in that: described new Gray Level-Gradient two-dimensional histogram, horizontal ordinate is the mean value of gray level after pixel grayscale and its filtering, the neighborhood gray level is that ordinate is the neighborhood gradient of this pixel through the intermediate value 4 filtered gray levels of angular domain template.
3. the Fast Threshold dividing method of intensity-based-gradient two-dimensional symmetric Tsallis cross entropy according to claim 1 is characterized in that: described two-dimensional symmetric Tsallis cross entropy combines and derives criterion function with new Gray Level-Gradient two-dimensional histogram.
4. the Fast Threshold dividing method of intensity-based-gradient two-dimensional symmetric Tsallis cross entropy according to claim 1 is characterized in that: described novel FAST RECURSIVE ALGORITHM, reduced the redundant computation of algorithm, and improved real-time.
5. the Fast Threshold dividing method of intensity-based-gradient two-dimensional symmetric Tsallis cross entropy according to claim 1, it is characterized in that: described accurate Threshold segmentation, abandon the approximate hypothesis in traditional gray level-other two zones of neighborhood averaging gray level, improved the accuracy that gray level image is cut apart.
CN201310322094.XA 2013-07-26 2013-07-26 Based on the Fast Threshold dividing method of Gray Level-Gradient two-dimensional symmetric Tsallis cross entropy Active CN103390280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310322094.XA CN103390280B (en) 2013-07-26 2013-07-26 Based on the Fast Threshold dividing method of Gray Level-Gradient two-dimensional symmetric Tsallis cross entropy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310322094.XA CN103390280B (en) 2013-07-26 2013-07-26 Based on the Fast Threshold dividing method of Gray Level-Gradient two-dimensional symmetric Tsallis cross entropy

Publications (2)

Publication Number Publication Date
CN103390280A true CN103390280A (en) 2013-11-13
CN103390280B CN103390280B (en) 2016-02-24

Family

ID=49534539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310322094.XA Active CN103390280B (en) 2013-07-26 2013-07-26 Based on the Fast Threshold dividing method of Gray Level-Gradient two-dimensional symmetric Tsallis cross entropy

Country Status (1)

Country Link
CN (1) CN103390280B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942419A (en) * 2014-04-04 2014-07-23 南京邮电大学 Hybrid intelligent optimization method
CN104637057A (en) * 2015-02-04 2015-05-20 昆明理工大学 Grayscale-gradient entropy multi-threshold fast division method based on genetic algorithm
CN106127742A (en) * 2016-06-17 2016-11-16 湖南文理学院 Carrying out image threshold segmentation method based on Sharma Mittal entropy
CN106228555A (en) * 2016-07-22 2016-12-14 湖南文理学院 Thresholding Method for Grey Image Segmentation based on Masi entropy measure
CN106296671A (en) * 2016-08-03 2017-01-04 昆明理工大学 A kind of image partition method based on Gabor entropy of histogram
CN106327497A (en) * 2016-08-29 2017-01-11 湖南文理学院 Gray-scale image threshold segmentation method based on super-extensive entropy
CN106408586A (en) * 2016-08-30 2017-02-15 湖南文理学院 Gray scale image segmentation method based on non-extensive Gaussian entropy measure
CN106408576A (en) * 2016-09-08 2017-02-15 飞依诺科技(苏州)有限公司 Automatic region of interest segmentation method and system based on three-dimensional ultrasonic image
CN106778726A (en) * 2016-12-14 2017-05-31 广州视源电子科技股份有限公司 Board localization method and device
CN107369159A (en) * 2017-06-29 2017-11-21 大连理工大学 Threshold segmentation method based on multifactor two-dimensional gray histogram
CN107369136A (en) * 2017-06-22 2017-11-21 福建省万龙新材料科技有限公司 Composite polycrystal-diamond face crack visible detection method
CN107424160A (en) * 2015-11-02 2017-12-01 康耐视公司 The system and method that image center line is searched by vision system
CN108830834A (en) * 2018-05-23 2018-11-16 重庆交通大学 A kind of cable-climbing robot video artefacts information automation extraction method
CN109635723A (en) * 2018-12-11 2019-04-16 讯飞智元信息科技有限公司 A kind of occlusion detection method and device
CN109934784A (en) * 2019-03-12 2019-06-25 中国科学院长春光学精密机械与物理研究所 Image enchancing method, device, equipment and computer readable storage medium
CN111553926A (en) * 2020-04-30 2020-08-18 中国航空无线电电子研究所 Threshold segmentation method based on two-dimensional Tsallis gray scale entropy fast iteration
CN113379781A (en) * 2021-07-29 2021-09-10 浙江大华技术股份有限公司 Image processing method and apparatus, storage medium, and electronic device
CN115170669A (en) * 2022-09-05 2022-10-11 合肥安迅精密技术有限公司 Identification and positioning method and system based on edge feature point set registration and storage medium
CN115222741A (en) * 2022-09-20 2022-10-21 江苏昱恒电气有限公司 Cable surface defect detection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800107A (en) * 2012-07-06 2012-11-28 浙江工业大学 Motion target detection method based on improved minimum cross entropy
US20130018650A1 (en) * 2011-07-11 2013-01-17 Microsoft Corporation Selection of Language Model Training Data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130018650A1 (en) * 2011-07-11 2013-01-17 Microsoft Corporation Selection of Language Model Training Data
CN102800107A (en) * 2012-07-06 2012-11-28 浙江工业大学 Motion target detection method based on improved minimum cross entropy

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴一全 等: "基于二维对称Tsallis 交叉熵的小目标图像阈值分割", 《仪器仪表学报》 *
唐英干 等: "基于二维最小Tsallis交叉熵的图像阈值分割方法", 《物理学报》 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942419B (en) * 2014-04-04 2017-05-03 南京邮电大学 Hybrid intelligent optimization method
CN103942419A (en) * 2014-04-04 2014-07-23 南京邮电大学 Hybrid intelligent optimization method
CN104637057A (en) * 2015-02-04 2015-05-20 昆明理工大学 Grayscale-gradient entropy multi-threshold fast division method based on genetic algorithm
CN107424160A (en) * 2015-11-02 2017-12-01 康耐视公司 The system and method that image center line is searched by vision system
CN106127742A (en) * 2016-06-17 2016-11-16 湖南文理学院 Carrying out image threshold segmentation method based on Sharma Mittal entropy
CN106228555A (en) * 2016-07-22 2016-12-14 湖南文理学院 Thresholding Method for Grey Image Segmentation based on Masi entropy measure
CN106296671A (en) * 2016-08-03 2017-01-04 昆明理工大学 A kind of image partition method based on Gabor entropy of histogram
CN106327497A (en) * 2016-08-29 2017-01-11 湖南文理学院 Gray-scale image threshold segmentation method based on super-extensive entropy
CN106408586A (en) * 2016-08-30 2017-02-15 湖南文理学院 Gray scale image segmentation method based on non-extensive Gaussian entropy measure
CN106408576A (en) * 2016-09-08 2017-02-15 飞依诺科技(苏州)有限公司 Automatic region of interest segmentation method and system based on three-dimensional ultrasonic image
CN106408576B (en) * 2016-09-08 2019-04-16 飞依诺科技(苏州)有限公司 Automatic region of interest segmentation method and system based on three-dimensional ultrasonic image
CN106778726A (en) * 2016-12-14 2017-05-31 广州视源电子科技股份有限公司 Board localization method and device
CN107369136A (en) * 2017-06-22 2017-11-21 福建省万龙新材料科技有限公司 Composite polycrystal-diamond face crack visible detection method
CN107369159B (en) * 2017-06-29 2020-04-24 大连理工大学 Threshold segmentation method based on multi-factor two-dimensional gray level histogram
CN107369159A (en) * 2017-06-29 2017-11-21 大连理工大学 Threshold segmentation method based on multifactor two-dimensional gray histogram
CN108830834A (en) * 2018-05-23 2018-11-16 重庆交通大学 A kind of cable-climbing robot video artefacts information automation extraction method
CN108830834B (en) * 2018-05-23 2022-03-11 重庆交通大学 Automatic extraction method for video defect information of cable climbing robot
CN109635723A (en) * 2018-12-11 2019-04-16 讯飞智元信息科技有限公司 A kind of occlusion detection method and device
CN109934784A (en) * 2019-03-12 2019-06-25 中国科学院长春光学精密机械与物理研究所 Image enchancing method, device, equipment and computer readable storage medium
CN111553926A (en) * 2020-04-30 2020-08-18 中国航空无线电电子研究所 Threshold segmentation method based on two-dimensional Tsallis gray scale entropy fast iteration
CN111553926B (en) * 2020-04-30 2023-03-31 中国航空无线电电子研究所 Threshold segmentation method based on two-dimensional Tsallis gray scale entropy fast iteration
CN113379781A (en) * 2021-07-29 2021-09-10 浙江大华技术股份有限公司 Image processing method and apparatus, storage medium, and electronic device
CN115170669A (en) * 2022-09-05 2022-10-11 合肥安迅精密技术有限公司 Identification and positioning method and system based on edge feature point set registration and storage medium
CN115170669B (en) * 2022-09-05 2022-11-22 合肥安迅精密技术有限公司 Identification and positioning method and system based on edge feature point set registration and storage medium
CN115222741A (en) * 2022-09-20 2022-10-21 江苏昱恒电气有限公司 Cable surface defect detection method
CN115222741B (en) * 2022-09-20 2023-02-28 江苏昱恒电气有限公司 Cable surface defect detection method

Also Published As

Publication number Publication date
CN103390280B (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN103390280A (en) Rapid threshold segmentation method based on gray level-gradient two-dimensional symmetrical Tsallis cross entropy
CN110648342B (en) Foam infrared image segmentation method based on NSST significance detection and image segmentation
CN106251361A (en) A kind of rail surface defects image self-adapting division method
CN104463892B (en) Based on level set and the pinpoint Colony hybridization dividing methods of GVF Snake
CN104156693B (en) A kind of action identification method based on the fusion of multi-modal sequence
CN107590502B (en) Full-field dense point fast matching method
CN107507208A (en) A kind of characteristics of image point extracting method based on Curvature Estimation on profile
CN104103080A (en) Method of small dim target detection under complicated background
CN103870833A (en) Method for extracting and evaluating pavement crack based on concavity measurement
CN104537342B (en) A kind of express lane line detecting method of combination ridge border detection and Hough transformation
CN101777181A (en) Ridgelet bi-frame system-based SAR image airfield runway extraction method
CN103049906A (en) Image depth extraction method
CN104636721A (en) Palm print identification method based on contour and edge texture feature fusion
CN104751474A (en) Cascade quick image defect segmentation method
CN103700117A (en) Robust optical flow field estimating method based on TV-L1 variation model
CN106340010A (en) Corner detection method based on second-order contour difference
CN104966291A (en) Cloud cluster automatic detection method based on foundation cloud atlas
CN102622761B (en) Image segmentation method based on similarity interaction mechanism
CN105469408A (en) Building group segmentation method for SAR image
CN114972397A (en) Infrared image defect contour detection method for wind power blade composite material
CN102740096A (en) Space-time combination based dynamic scene stereo video matching method
CN104251662B (en) Cloud threshold adaptive noise suppression technology is put in order
CN113409267A (en) Pavement crack detection and segmentation method based on deep learning
CN106447662A (en) Combined distance based FCM image segmentation algorithm
CN103093474B (en) Three-dimensional mammary gland ultrasound image partition method based on homoplasmon and partial energy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant