CN111340823B - Mammary image segmentation method based on fuzzy entropy and differential evolution - Google Patents
Mammary image segmentation method based on fuzzy entropy and differential evolution Download PDFInfo
- Publication number
- CN111340823B CN111340823B CN202010112442.0A CN202010112442A CN111340823B CN 111340823 B CN111340823 B CN 111340823B CN 202010112442 A CN202010112442 A CN 202010112442A CN 111340823 B CN111340823 B CN 111340823B
- Authority
- CN
- China
- Prior art keywords
- representing
- individual
- image
- population
- fuzzy 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30068—Mammography; Breast
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Radiology & Medical Imaging (AREA)
- Quality & Reliability (AREA)
- Life Sciences & Earth Sciences (AREA)
- Medical Informatics (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Apparatus For Radiation Diagnosis (AREA)
- Image Analysis (AREA)
Abstract
The invention provides a mammary gland image segmentation method based on fuzzy entropy and differential evolution in the field of image processing, which comprises the following steps: s1, acquiring a mammary gland image, and setting segmentation parameters of a fuzzy entropy threshold; s2, initializing a population; s3, based on the segmentation parameters, calculating a fuzzy entropy membership function of the individuals in the initialized population, and further solving adaptive values of the individuals to generate an optimized population; s4, carrying out variation, crossing and selection operations on the optimized population; s5, judging whether the current iteration times are larger than the maximum iteration times, if so, outputting the optimal fuzzy entropy membership parameter corresponding to each individual, and entering the step S6; if not, the step S3 is carried out; and S6, segmenting the mammary gland image by using the optimal fuzzy entropy membership parameter and a dual-threshold segmentation method. The invention has the advantages that: the accuracy and the speed of mammary gland image segmentation are greatly improved, and the treatment effect of a patient is further improved.
Description
Technical Field
The invention relates to the field of image processing, in particular to a mammary image segmentation method based on fuzzy entropy and differential evolution.
Background
Breast cancer occurs in renal epithelial tissue, and the accuracy of gland segmentation is crucial for the diagnosis of doctors, so that breast image segmentation becomes one of the most important tasks in tumor detection. With the progress of the technology, breast images obtained by the techniques such as mammography, ultrasound, magnetic Resonance (MR), and Computed Tomography (CT) are widely used in breast lesion detection.
For the segmentation of mammary gland images, there are conventionally a threshold method, a region growing and splitting merging algorithm, a watershed transform method, a fuzzy C-means clustering algorithm, a K-means clustering algorithm, a method based on an active contour model, and the like. However, the conventional method cannot segment the breast image accurately and rapidly, for example, the watershed transform can generate a closed contour of a single pixel when segmenting the breast image, but an over-segmentation phenomenon exists; the extraction of the target contour can be realized based on the active contour model, but the target contour is sensitive to the initial position and is easy to fall into a local extreme value, and the solving speed is reduced.
Therefore, how to provide a mammary gland image segmentation method based on fuzzy entropy and differential evolution to improve the accuracy and speed of mammary gland image segmentation and further improve the treatment effect of patients becomes a problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a mammary gland image segmentation method based on fuzzy entropy and differential evolution, so that the precision and speed of mammary gland image segmentation are improved, and the treatment effect of a patient is further improved.
The invention is realized by the following steps: a mammary gland image segmentation method based on fuzzy entropy and differential evolution comprises the following steps:
s10, obtaining a mammary gland image, wherein the mammary gland image is a gray image; setting segmentation parameters of a fuzzy entropy threshold, wherein the segmentation parameters comprise a population size NP, an individual dimension D, a maximum iteration number FES, a current iteration number FES, an evolution algebra G and an evaluation function f (); wherein NP, D, FES and FES are positive integers, and FES = NP 1000; evaluating the function f (·) as a maximum fuzzy entropy;
step S20, using formulaInitializing the population; wherein x i G Representing the G generation population; i represents the number of the individual; />Representing individuals, each of which consists of B-dimensional fuzzy entropy membership parameters, and the B =6,B-dimensional fuzzy entropy membership parameters comprise a 1 、b 1 、c 1 、a 2 、b 2 、c 2 And are all positive numbers; each individual was randomly selected at [ x ] L ,x U ],x L Representing the lower bound of the pixel value, and taking the value as 0; x is the number of U Represents the upper bound of the pixel value, and takes 255;
s30, based on the segmentation parameters, calculating a fuzzy entropy membership function Q of individuals in the initialized population t Further, the adaptive value of the individual is obtained to generate an optimized population;
step S40, using formulaMutating the optimized population to produce variant individuals; wherein->Represents the G th generation variant individuals; />Representing a population; f represents a scale factor, F ∈ [0,1](ii) a Index r 1 ,r 2 ,r 3 Represents the combination of any three fuzzy entropy membership degree parameters in the population, and each variant individual with different values and randomly generated will generate r once 1 ,r 2 ,r 3 ;
S50, carrying out differential evolution on the current population x i G And variant individuals ofPerforming crossing operation to generate crossing individual>
Wherein j rand Denotes a random integer between 1 and B, rand j Represents a uniformly distributed random number between 0 and 1; CR represents a crossing factor, which is a positive number;
step S60, crossing individuals are subjected to evaluation functionAnd current population x i G The individual(s) of (1) performs a selection operation, and the individual(s) with the better fitness value are retained: />
Step S70, judging whether the current iteration time FES is larger than the maximum iteration time FES, if so, outputting the optimal fuzzy entropy membership parameter corresponding to each individual, and entering step S80; if not, the step S30 is carried out;
and S80, segmenting the mammary gland image by using the optimal fuzzy entropy membership parameter and a dual-threshold segmentation method.
Further, the step S30 specifically includes:
wherein I (x, y) represents the gray scale value of the breast image at coordinate point (x, y); k represents a gray value, H represents a set of gray values, and H = {0,1, ·, l-1},1 ≦ l ≦ 256;
wherein h is k Represents the pixel scale; r represents the number of line pixels of the breast image; c represents the mammary glandThe number of column pixels of the image; h is not less than 0 k ≤1;
Is provided with h k ={h 0 ,h 1 ,...,h l-1 H and k if =1 is the gray level histogram of the breast image, thenRepresenting that the breast image regions of different gray values have no intersection;
step S33, calculating a division threshold t 1 And t 2 :
Wherein x i,1 、x i,2 、x i,3 、x i,4 、x i,5 、x i,6 Respectively represent a 1 、b 1 、c 1 、a 2 、b 2 、c 2 The parameters correspond to 6 dimensions of an individual;
using said segmentation threshold t 1 And t 2 Dividing the gray value of the mammary gland image into bright level regions E b Middle zone E m And dark level region E d ;
Calculating the bright level region E b Middle zone E m And dark level region E d The ratio of the breast images:
wherein p is d Representing the proportion of dark regions in the breast image, p m Representing the proportion of the median region in the mammary image, p b Representing the proportion of the bright level area in the mammary gland image;
Wherein D kd Representing dark regions in the breast image, D km Representing a mid-level region in the breast image, D kb Representing bright level regions in the breast image, p k Representing the probability of the gray value k in the entire breast image, p d|k 、p m|k 、p b|k Respectively representing a pixel with a gray value k belonging to E d 、E m 、E b Conditional probability of, p kd 、p km 、p kb Respectively representing the conditional probability that a region with a gray value k belongs to a dark level region, a middle level region and a bright level region in the mammary gland image;
step S35, making a pixel with k gray value belong to the bright level area E b Middle zone E m And dark level region E d Are respectively equal to p d|k 、p m|k 、p b|k I.e. mu d (k)=p d|k ,μ m (k)=p m|k ,μ b (k)=p b|k Then:
step S36, setting Q d 、Q m And Q b Respectively corresponding dark, medium and bright values of the fuzzy entropy, then:
fuzzy entropy membership function Q t =Q d +Q m +Q b (ii) a Wherein Q t Is given by a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Parameter determination, using maximum entropy to determine a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Obtaining the adaptive value of the individual, and further generating the optimized population.
Further, in the step S40, the F uses cauchy inverse cumulative distribution, and F i,j =Cauchy i,j (Fm j ,0.1);
Wherein F i,j Representing the cross probability of each dimension in an individual; f mj A position parameter representing a Cauchy's inverse cumulative distribution and a scale factor of a current individual; fm j =(1-c)·Fm j +c·mean F (S F,j );S F,j Represents a successful cross-parent scaling factor; c represents a constant between 0 and 1; mean is a measure of F (.) represents the Lehmer averaging operation:F mj is 0.5 and the scale parameter is 0.1.
Further, in the step S50, the CR determines the possibility that the target individual inherits the gene from the variant individualA normal distribution is used; />
CR i,j =randn i,j (CRm j ,0.1);
CRm j =(1-c)·CRm j +c·mean CR (S CR,j );
Wherein CR i,j Representing the cross probability, S, of each individual dimension CR,j Indicating the crossover probability, CRm, of successful crossover parents j Mean, representing the probability of individual cross CR (-) represents an arithmetic mean operation.
Further, the step S80 specifically includes:
utilizing the optimal fuzzy entropy membership parameter a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Get the corresponding x i,1 、x i,2 、x i,3 、x i,4 、x i,5 、x i,6 And then calculating mu d (k)、μ m (k) And mu b (k):
By said μ d (k)、μ m (k) And mu b (k) The breast image is segmented.
The invention has the advantages that:
the mammary gland image is segmented by a double-threshold segmentation method, a low pixel value is weakened, a high pixel value is strengthened to highlight a critical area, burrs and irregular edges of which the pixel values are at critical values are highlighted, and the accuracy of the mammary gland image segmentation is greatly improved; through the differential evolution method, the individuals and the variant individuals of the current population are subjected to cross operation, namely, the rapid convergence and the strong robustness of the differential evolution method are utilized, the global optimal solution is rapidly obtained, the situation that the individuals and the variant individuals fall into a local extreme value is avoided, the mammary gland image segmentation speed is greatly improved, the treatment effect of a patient is greatly improved, the optimal parameter combination is obtained through the iterative evolution population, and the principle is simple and easy to achieve.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of a mammary gland image segmentation method based on fuzzy entropy and differential evolution.
FIG. 2 is a diagram of the fuzzy entropy membership function of the present invention.
FIG. 3 is a schematic diagram of the differential evolution method of the present invention for optimizing the segmentation process.
Fig. 4 is a graph of the segmentation effect of the present invention compared to other algorithms.
Detailed Description
The technical scheme in the embodiment of the application has the following general idea: firstly, constructing a maximum fuzzy entropy evaluation function as a population evolution direction by combining the fuzzy entropy of an image; then initializing fuzzy entropy parameters as individuals of population evolution, establishing a variation strategy to enable the population to generate variation, and performing cross operation on the individuals and the variation individuals of the current population by a differential evolution method to avoid falling into local optimal parameter combination; then, according to the evolution mode of the superior and the inferior, the overall parameters of the population are close to the optimal parameter combination; and finally, outputting the optimal parameter combination of the fuzzy entropy and the optimal threshold value of the segmented image when the iteration times are reached.
Referring to fig. 1 to 4, a preferred embodiment of a mammary gland image segmentation method based on fuzzy entropy and differential evolution of the present invention includes the following steps:
s10, acquiring a mammary gland image, wherein the mammary gland image is a gray image and is a two-dimensional matrix formed by pixel value points in a range of 0-255; setting segmentation parameters of a fuzzy entropy threshold value by combining the fuzzy entropy of the mammary gland image, wherein the segmentation parameters comprise population scale NP, individual dimension D, maximum iteration number FES, current iteration number FES, evolution algebra G and an evaluation function f (); wherein NP, D, FES and FES are positive integers, and FES = NP 1000; evaluating the function f (·) as the maximum fuzzy entropy; the population size NP indicates that N kinds (a) are set 1 ,b 1 ,c 1 ,a 2 ,b 2 ,c 2 ) Combining; the evolution algebra G is a population evolution completion algebra; the current iteration time fes is the time for carrying out variation, crossing or selection strategies in a generation of population, and one evolution needs to be carried out for 3 times of iteration (variation, crossing and selection);
step S20, using formulaInitializing the population; wherein x i G Representing the G generation population; i represents the number of the individual; />Representing individuals, each of which consists of B-dimensional fuzzy entropy membership parameters, and the B =6,B-dimensional fuzzy entropy membership parameters comprise a 1 、b 1 、c 1 、a 2 、b 2 、c 2 And are all positive numbers; each individual was randomly selected at [ x ] L ,x U ],x L Representing the lower bound of the pixel value, and taking the value as 0; x is the number of U Represents the upper bound of the pixel value, and takes 255;
s30, based on the segmentation parameters, calculating a fuzzy entropy membership function Q of individuals in the initialized population t Further, the adaptive value of the individual is obtained to generate an optimized population;
step S40, using formulaMutating the optimized population to produce variant individuals; wherein +>Represents G generation variant individuals; />Representing a population; f represents a scale factor, F ∈ [0,1](ii) a Index r 1 ,r 2 ,r 3 Represents the combination of any three fuzzy entropy membership degree parameters in the population, and the values of the fuzzy entropy membership degree parameters are different and are randomly generatedWill all generate r once 1 ,r 2 ,r 3 ;
Step S50, utilizing a Differential Evolution (DE) method to perform comparison on the current population x i G And variant individuals ofPerforming crossing operation to generate crossing individual>/>
Wherein j rand Denotes a random integer between 1 and B, rand j Represents a uniformly distributed random number between 0 and 1; CR represents a crossing factor, which is a positive number;
step S60, crossing individuals are subjected to evaluation functionAnd current population x i G The individual(s) of (1) performs a selection operation, and the individual(s) with the better fitness value are retained: />Namely, a greedy selection mode with the advantages and the disadvantages is adopted, so that the filial generation better individuals replace the parent individuals, and the population is always close to the optimal segmentation threshold;
through three strategies of variation, intersection and selection, the individuals of the population are continuously subjected to iterative evolution;
step S70, judging whether the current iteration time FES is larger than the maximum iteration time FES, if so, outputting the optimal fuzzy entropy membership parameter corresponding to each individual, and entering step S80; if not, the step S30 is carried out;
s80, segmenting the mammary gland image by using the optimal fuzzy entropy membership parameter and a dual-threshold segmentation method; traditionally, the segmentation of the breast image uses a single threshold method, but the breast image is mainly composed of three types of background, fat and gland outside the breast, and has three distinct types of features, and the dual threshold facilitates changing the classification of the image pixel gray level from two types to three types.
The step S30 specifically includes:
wherein I (x, y) represents the gray value of the breast image at coordinate point (x, y); k represents a gray value, H represents a set of gray values, and H = {0,1, ·, l-1},1 ≦ l ≦ 256;
wherein h is k Represents the pixel scale; r represents the number of line pixels of the breast image; c represents the column pixel number of the mammary gland image; h is not less than 0 k Less than or equal to 1; i.e. the size of the breast image is R × C;
is provided with h k ={h 0 ,h 1 ,...,h l-1 H and k if =1 is the gray level histogram of the breast image, thenRepresenting that the breast image regions of different gray values have no intersection;
step S33, calculating a division threshold t 1 And t 2 :
Wherein x i,1 、x i,2 、x i,3 、x i,4 、x i,5 、x i,6 Respectively represent a 1 、b 1 、c 1 、a 2 、b 2 、c 2 The parameters correspond to 6 dimensions of an individual; segmentation threshold t 1 And t 2 The value range of (1) is 0-255;
using said segmentation threshold t 1 And t 2 Dividing gray value of mammary gland image into bright level regions E b Middle zone E m And dark level region E d ;
Calculating the bright level region E b Middle zone E m And dark level region E d The ratio of the breast images:
wherein p is d Representing the proportion of dark regions in the breast image, p m Representing the proportion of the median region in the mammary image, p b Representing the proportion of the bright level area in the mammary gland image;
Wherein D kd Representing dark levels in breast imagesRegion, D km Representing a mid-level region in the breast image, D kb Representing bright level regions in the breast image, p k Representing the probability of the gray value k in the entire breast image, p d|k 、p m|k 、p b|k Respectively representing a pixel with a gray value k belonging to E d 、E m 、E b Conditional probability of (p) kd 、p km 、p kb Respectively representing the conditional probability that a region with a gray value k belongs to a dark level region, a middle level region and a bright level region in the mammary gland image;
step S35, making a pixel with k gray value belong to the bright level area E b Middle zone E m And dark level region E d Are respectively equal to p d|k 、p m|k 、p b|k I.e. mu d (k)=p d|k ,μ m (k)=p m|k ,μ b (k)=p b|k Then:
step S36, setting Q d 、Q m And Q b Respectively corresponding dark, medium and bright values of the fuzzy entropy, then:
fuzzy entropy membership function Q t =Q d +Q m +Q b (ii) a Wherein Q t Is given by a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Parameter determination, using maximum entropy to determine a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Obtaining the adaptive value of the individual by the optimal combination, and further generating an optimized population; i.e. find the minimum Q t Namely to obtain a 1 、b 1 、c 1 、a 2 、b 2 、c 2 The optimum combination of (a).
In the step S40, the F uses a Cauchi-Rev cumulative distribution, and F i,j =Cauchy i,j (Fm j ,0.1);
Wherein F i,j Representing the cross probability of each dimension in an individual; f mj A position parameter representing a Cauchy-Rev cumulative distribution and a scale factor of the current individual; fm j =(1-c)·Fm j +c·mean F (S F,j );S F,j Represents a successful cross-parent scaling factor; c represents a constant between 0 and 1; mean is a measure of F (.) denotes the Lehmer averaging operation:F mj is 0.5 and the scale parameter is 0.1.
In the step S50, the CR determines the possibility that the target individual inherits the gene from the variant individualA normal distribution is used; />
CR i,j =randn i,j (CRm j ,0.1);
CRm j =(1-c)·CRm j +c·mean CR (S CR,j );
Wherein CR i,j Representing the cross probability, S, of each individual dimension CR,j Indicating the crossover probability, CRm, of successful crossover parents j Mean, representing the probability of individual cross CR (-) represents an arithmetic mean operation.
The step S80 specifically includes:
utilizing the optimal fuzzy entropy membership parameter a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Get the corresponding x i,1 、x i,2 、x i,3 、x i,4 、x i,5 、x i,6 And then calculating mu d (k)、μ m (k) And mu b (k):
Using MATLAB compiler, passing said μ d (k)、μ m (k) And μ b (k) The breast image is segmented.
FIG. 2 is a diagram of a fuzzy entropy membership function passing through μ in step S80 d (k)、μ m (k) And mu b (k) To the optimal fuzzy entropy membership parameter a 1 、b 1 、c 1 、a 2 、b 2 、c 2 And (3) segmenting the mammary gland image and extracting a gland region, wherein the mammary gland image consists of three fuzzy entropy membership curves, the x axis is a k value, and the y axis is a membership value under the condition of the k value.
Fig. 4 is a comparison segmentation effect diagram of the invention and other algorithms, through comparison tests, the structural similarity of the invention can reach more than 0.90, the feature similarity is higher than that of other algorithms, and experimental results show that the invention has higher accuracy for segmenting the mammary gland and can meet the clinical requirements of doctors. As can be seen from fig. (b) and (c), the distribution of glands scattered in the fibroglandular type is scattered, but the extraction effect is good, and the structural similarity is 0.94 and 0.93, respectively. From (e) to (g), it can be seen that the extraction effect is significant for the heterogeneous dense type, and the structural similarities are 0.99, 0.92, and 0.93, respectively. Therefore, for gland segmentation results with scattered and uneven distribution, which are significant and close to the expert manual segmentation results, other types of gland segmentation results are closer to the results of manual segmentation than different algorithms. The tumor characteristics in the interior of the gland are more remarkable in the (a) and (e), the structural similarity reaches 0.98 and 0.99, and the structural similarity is higher than that of the segmentation result of other algorithms. In conclusion, the method is superior to other comparison algorithms in two evaluation indexes, and is close to the level of manual segmentation of experts in the contour segmentation of glands.
Table 1 shows the image structure similarity between the fuzzy entropy segmentation result and the manual segmentation result of different optimization algorithms:
Image | PSOFE | BFOFE | ABCFE | BATFE | FireflyFE | DEFE |
(a) | 0.772585 | 0.960233 | 0.951338 | 0.967582 | 0.967761 | 0.983714 |
(b) | 0.767622 | 0.908242 | 0.922446 | 0.931719 | 0.934276 | 0.940575 |
(c) | 0.727953 | 0.872984 | 0.857899 | 0.924748 | 0.924985 | 0.930942 |
(d) | 0.80175 | 0.818965 | 0.823363 | 0.899649 | 0.872728 | 0.900564 |
(e) | 0.711131 | 0.862833 | 0.953069 | 0.968934 | 0.979494 | 0.99412 |
(f) | 0.736424 | 0.928552 | 0.909655 | 0.921997 | 0.925404 | 0.928391 |
(g) | 0.767985 | 0.887575 | 0.938516 | 0.912257 | 0.931238 | 0.93803 |
(h) | 0.695158 | 0.894295 | 0.851698 | 0.90098 | 0.937426 | 0.953872 |
in conclusion, the invention has the advantages that:
the mammary gland image is segmented by a double-threshold segmentation method, a low pixel value is weakened, a high pixel value is strengthened to highlight a critical area, burrs and irregular edges of which the pixel values are at critical values are highlighted, and the accuracy of the mammary gland image segmentation is greatly improved; through the differential evolution method, the individuals and the variant individuals of the current population are subjected to cross operation, namely, the rapid convergence and the strong robustness of the differential evolution method are utilized, the global optimal solution is rapidly obtained, the situation that the individuals and the variant individuals fall into a local extreme value is avoided, the mammary gland image segmentation speed is greatly improved, the treatment effect of a patient is greatly improved, the optimal parameter combination is obtained through the iterative evolution population, and the principle is simple and easy to achieve.
While specific embodiments of the invention have been described, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, as equivalent modifications and variations as will be made by those skilled in the art in light of the spirit of the invention are intended to be included within the scope of the appended claims.
Claims (1)
1. A mammary gland image segmentation method based on fuzzy entropy and differential evolution is characterized in that: the method comprises the following steps:
s10, acquiring a mammary gland image, wherein the mammary gland image is a gray level image; setting segmentation parameters of a fuzzy entropy threshold, wherein the segmentation parameters comprise a population size NP, an individual dimension D, a maximum iteration number FES, a current iteration number FES, an evolution algebra G and an evaluation function f (); wherein NP, D, FES and FES are positive integers, and FES = NP 1000; evaluating the function f (·) as the maximum fuzzy entropy;
step S20, using formulaInitializing the population; wherein x i G Representing the G generation population; i represents the number of the individual; />Representing individuals, each of which consists of B-dimensional fuzzy entropy membership parameters, and the B =6,B-dimensional fuzzy entropy membership parameters comprise a 1 、b 1 、c 1 、a 2 、b 2 、c 2 And are all positive numbers; each individual was randomly selected at [ x ] L ,x U ],x L Representing the lower bound of the pixel value, and taking the value as 0; x is the number of U Represents the upper bound of the pixel value, and takes 255;
s30, based on the segmentation parameters, calculating a fuzzy entropy membership function Q of individuals in the initialized population t Further, the adaptive value of the individual is obtained to generate an optimized population;
step S40, using formulaMutating the optimized population to produce variant individuals; wherein->Represents G generation variant individuals; />Representing a population; f represents a scale factor, F ∈ [0,1](ii) a Index r 1 ,r 2 ,r 3 Represents the combination of any three fuzzy entropy membership grade parameters in the population, and all variant individuals with different values and generated randomly can generate r once 1 ,r 2 ,r 3 ;
S50, carrying out differential evolution on the current population x i G And variant individuals ofPerforming crossing operation to generate crossing individual>
Wherein j rand Denotes a random integer between 1 and B, rand j Represents a uniformly distributed random number between 0 and 1; CR represents a crossing factor, which is a positive number;
step S60, crossing individuals are paired based on the evaluation functionAnd current population x i G The individual(s) of (1) performs a selection operation, and the individual(s) with the better fitness value are retained: />
Step S70, judging whether the current iteration time FES is larger than the maximum iteration time FES, if so, outputting the optimal fuzzy entropy membership parameter corresponding to each individual, and entering step S80; if not, the step S30 is carried out;
s80, segmenting the mammary gland image by using the optimal fuzzy entropy membership parameter and a dual-threshold segmentation method;
the step S30 specifically includes:
wherein I (x, y) represents the gray value of the breast image at coordinate point (x, y); k represents a gray value, H represents a set of gray values, and H = {0,1, ·, l-1},1 ≦ l ≦ 256;
wherein h is k Represents the pixel scale; r represents the number of line pixels of the breast image; c represents the column pixel number of the mammary gland image; h is not less than 0 k ≤1;
Is provided with h k ={h 0 ,h 1 ,...,h l-1 H and k if =1 is the gray level histogram of the breast image, thenRepresenting that the breast image regions of different gray values have no intersection;
step S33, calculating a division threshold t 1 And t 2 :
Wherein x i,1 、x i,2 、x i,3 、x i,4 、x i,5 、x i,6 Respectively represent a 1 、b 1 、c 1 、a 2 、b 2 、c 2 The parameters correspond to 6 dimensions of an individual;
using said segmentation threshold t 1 And t 2 Dividing the gray value of the mammary gland image into bright level regions E b Middle zone E m And dark level region E d ;
Calculating the bright level region E b Middle zone E m And dark level region E d The ratio of each in the mammary gland image:
wherein p is d Representing the proportion of dark regions in the breast image, p m Representing the proportion of the median region in the mammary image, p b Representing the proportion of the bright level area in the mammary gland image;
step S34, settingThen->Wherein D kd Representing dark regions in the breast image, D km Representing a mid-level region in the breast image, D kb Representing bright level regions in the breast image, p k Representing the probability of the gray value k in the entire breast image, p d|k 、p m|k 、p b|k Respectively representing a pixel with a gray value k belonging to E d 、E m 、E b Conditional probability of (p) kd 、p km 、p kb Respectively representing the conditional probability that a region with a gray value k belongs to a dark level region, a middle level region and a bright level region in the mammary gland image;
step S35, making a pixel with k gray value belong to the bright level area E b Middle zone E m And dark level region E d Are respectively equal to p d|k 、p m|k 、p b|k I.e. mu d (k)=p d|k ,μ m (k)=p m|k ,μ b (k)=p b|k And then:
step S36, setting Q d 、Q m And Q b Respectively corresponding dark, medium and bright values of the fuzzy entropy, then:
fuzzy entropy membership function Q t =Q d +Q m +Q b (ii) a Wherein Q t Is given by a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Parameter determination, using maximum entropy to determine a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Obtaining the adaptive value of the individual by the optimal combination, and further generating an optimized population;
in the step S40, the F uses a Cauchi-Rev cumulative distribution, and F i,j =Cauchy i,j (Fm j ,0.1);
Wherein F i,j Representing the cross probability of each dimension in an individual; f mj A position parameter representing a Cauchy-Rev cumulative distribution and a scale factor of the current individual; fm j =(1-c)·Fm j +c·mean F (S F,j );S F,j Represents a successful cross-parent scaling factor; c represents a constant between 0 and 1; mean is a measure of F (.) denotes the Lehmer averaging operation:F mj 0.5, and the scale parameter 0.1;
in the step S50, the CR determines the possibility that the target individual inherits the gene from the variant individualA normal distribution is used;
CR i,j =randn i,j (CRm j ,0.1);
CRm j =(1-c)·CRm j +c·mean CR (S CR,j );
wherein CR i,j Representing the cross probability, S, of each individual dimension CR,j Indicating the crossover probability, CRm, of successful crossover parents j Mean, representing the probability of individual cross CR (-) represents an arithmetic mean operation;
the step S80 specifically includes:
utilizing the optimal fuzzy entropy membership parameter a 1 、b 1 、c 1 、a 2 、b 2 、c 2 Get the corresponding x i,1 、x i,2 、x i,3 、x i,4 、x i,5 、x i,6 And then calculating mu d (k)、μ m (k) And mu b (k):
By said μ d (k)、μ m (k) And mu b (k) The breast image is segmented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010112442.0A CN111340823B (en) | 2020-02-24 | 2020-02-24 | Mammary image segmentation method based on fuzzy entropy and differential evolution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010112442.0A CN111340823B (en) | 2020-02-24 | 2020-02-24 | Mammary image segmentation method based on fuzzy entropy and differential evolution |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111340823A CN111340823A (en) | 2020-06-26 |
CN111340823B true CN111340823B (en) | 2023-04-07 |
Family
ID=71183627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010112442.0A Active CN111340823B (en) | 2020-02-24 | 2020-02-24 | Mammary image segmentation method based on fuzzy entropy and differential evolution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111340823B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108564592A (en) * | 2018-03-05 | 2018-09-21 | 华侨大学 | Based on a variety of image partition methods for being clustered to differential evolution algorithm of dynamic |
CN109544570A (en) * | 2018-11-30 | 2019-03-29 | 南京邮电大学 | A kind of Typical AVM image partition method based on fuzzy multi-threshold and area information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100124364A1 (en) * | 2008-11-19 | 2010-05-20 | Zhimin Huo | Assessment of breast density and related cancer risk |
-
2020
- 2020-02-24 CN CN202010112442.0A patent/CN111340823B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108564592A (en) * | 2018-03-05 | 2018-09-21 | 华侨大学 | Based on a variety of image partition methods for being clustered to differential evolution algorithm of dynamic |
CN109544570A (en) * | 2018-11-30 | 2019-03-29 | 南京邮电大学 | A kind of Typical AVM image partition method based on fuzzy multi-threshold and area information |
Non-Patent Citations (1)
Title |
---|
基于遗传算法和模糊熵的前视红外图像分割;陶文兵等;《红外与毫米波学报》(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111340823A (en) | 2020-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xian et al. | Automatic breast ultrasound image segmentation: A survey | |
Shahangian et al. | Automatic brain hemorrhage segmentation and classification algorithm based on weighted grayscale histogram feature in a hierarchical classification structure | |
US10096108B2 (en) | Medical image segmentation method and apparatus | |
Kumar et al. | Texture Pattern Based Lung Nodule Detection (TPLND) Technique in CT Images | |
US20080118136A1 (en) | Propagating Shell for Segmenting Objects with Fuzzy Boundaries, Automatic Volume Determination and Tumor Detection Using Computer Tomography | |
CN109753997B (en) | Automatic accurate robust segmentation method for liver tumor in CT image | |
Jebarani et al. | A novel hybrid K-means and GMM machine learning model for breast cancer detection | |
Lal et al. | Automatic segmentation of tumors in B-Mode breast ultrasound images using information gain based neutrosophic clustering | |
CN109146864A (en) | The method that galactophore image is split based on the differential evolution algorithm of fuzzy entropy | |
Shelke et al. | Automated segmentation and detection of brain tumor from MRI | |
CN109544570B (en) | Brain MRI image segmentation method based on fuzzy multi-threshold and regional information | |
Liu et al. | Segmenting lung parenchyma from CT images with gray correlation‐based clustering | |
Al-Faris et al. | Breast MRI tumour segmentation using modified automatic seeded region growing based on particle swarm optimization image clustering | |
Mastouri et al. | A morphological operation-based approach for Sub-pleural lung nodule detection from CT images | |
Santos et al. | Detection of pathologic liver using ultrasound images | |
CN111340823B (en) | Mammary image segmentation method based on fuzzy entropy and differential evolution | |
Vijila Rani et al. | Automatic segmentation and classification of lung tumour using advance sequential minimal optimisation techniques | |
Shah et al. | Kidney tumor segmentation and classification on abdominal CT scans | |
Xu et al. | Left ventricle segmentation based on a dilated dense convolutional networks | |
Chong et al. | Segmenting nodules of lung tomography image with level set algorithm and neural network | |
Hu et al. | Image manifold revealing for breast lesion segmentation in DCE-MRI | |
Singh et al. | A fuzzy-entropy and image fusion based multiple thresholding method for the brain tumor segmentation | |
Saleck et al. | Breast mass segmentation using a semi-automatic procedure based on fuzzy c-means clustering | |
CN103886580A (en) | Tumor image processing method | |
Dawod et al. | Adaptive Slices in Brain Haemorrhage Segmentation Based on the SLIC Algorithm. |
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 |