CN111127479A - Level set image segmentation method based on curve area - Google Patents
Level set image segmentation method based on curve area Download PDFInfo
- Publication number
- CN111127479A CN111127479A CN201911301075.2A CN201911301075A CN111127479A CN 111127479 A CN111127479 A CN 111127479A CN 201911301075 A CN201911301075 A CN 201911301075A CN 111127479 A CN111127479 A CN 111127479A
- Authority
- CN
- China
- Prior art keywords
- curve
- area
- image
- term
- energy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000003709 image segmentation Methods 0.000 title claims abstract description 16
- 238000003708 edge detection Methods 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 12
- 230000008571 general function Effects 0.000 description 6
- 238000002591 computed tomography Methods 0.000 description 3
- 210000004072 lung Anatomy 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
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
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10072—Tomographic images
- G06T2207/10081—Computed x-ray tomography [CT]
-
- 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/30061—Lung
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
The invention relates to a level set image segmentation method based on curve area, and belongs to the technical field of image processing. The method avoids the problems of large calculation amount and low efficiency caused by the fact that only gray information of inner and outer areas of a curve is considered and edge information of the curve is not considered in the calculation motion process of a set curve in a gray uniform image due to a traditional level set segmentation model (CV model). According to the improved method provided by the invention, a curve area item which is fitted based on image edge information is added in the CV model, and the image with uniform gray scale is segmented. Experimental results show that the improved method can obviously improve the calculation and the movement speed of the curve in the CV model and improve the image segmentation efficiency.
Description
Technical Field
The invention relates to a level set image segmentation method based on curve area, and belongs to the technical field of image processing.
Background
Image segmentation is to divide an image into meaningful parts according to a certain uniformity (or consistency) principle, so that each part meets a certain consistency requirement. The traditional level set segmentation CV model utilizes global image information to drive the curve evolution. The driving curve motion is mainly the energy difference between the inside and the outside of the curve, when the boundary of the target is detected, the curve only considers the gray information of the inside and the outside of the curve, but does not consider the edge information of the curve, so that the calculation amount is large, and the efficiency is low. In order to improve the accuracy of the CV model for detecting the target edge, the invention adds a curve area item based on edge information in the traditional CV model, can accelerate the motion speed of the curve and improve the calculation efficiency.
Disclosure of Invention
The invention aims to provide a level set image segmentation method based on curve area, which is used for accelerating the movement speed of a set curve in an image, improving the calculation efficiency and acquiring a segmented image of a region of interest.
The technical scheme of the invention is as follows: a level set image segmentation method based on curve area comprises the following specific steps:
step 1: and drawing a closed curve for any image to be segmented to divide the image into an inner area and an outer area.
Step 2: and calculating the area energy of the whole image region and the area energy inside the closed curve, wherein the area energy outside the closed curve is equal to the area energy of the whole image region minus the area energy inside the closed curve.
Step 3: an image curve area energy constraint term is calculated that is equal to the area energy outside the closed curve minus the area energy inside the closed curve.
Step 4: calculating an overall image energy general function which is equal to the sum of 4 terms; the first term is the length term of the closed curve, the second term is the curve area energy constraint term, and the third and fourth terms are the inner area energy term and the outer area energy term, respectively.
Step 5: and when the closed evolution curve is positioned at the boundary of the target to be segmented, the total energy general function of the image is minimum, and the segmented image is obtained.
The Step2 is specifically as follows:
(1): calculating the area energy S of the whole image regionu,Wherein u is0Representing the gray value of any image to be segmented, wherein H (phi) is a Heaviside function, phi is a level set function, and phi is an edge detection function▽ denotes the gradient operator, GσGaussian function representing window size σu is a constant and Ω is the image space u0One set of (a).
(3): calculating the area energy S outside the closed curveoutside(C),
Soutside=Su-Sinside=∫Ωg*u0*H(φ)-g*H(φ)dxdy。
The Step3 is specifically as follows:
The Step4 is specifically as follows:
wherein, the first term of the equation is the length term of the curve C, mu is more than or equal to 0 and is the coefficient of the length term, the second term of the equation is the area term of the curve C with the edge information fused, u is the area term of the curve C0Representing the gray value of any image to be segmented, v is more than or equal to 0 and is the coefficient of area term, lambda1,λ2A coefficient of energy terms in inner and outer regions, c1,c2Respectively representing the mean grey value inside the evolution curve and the mean grey value outside the evolution curve, deltaεAnd (phi) represents the Dirac function.
The invention has the beneficial effects that: the method avoids the situations of large calculation amount and low efficiency caused by the fact that only gray information of inner and outer areas of a curve is considered and edge information of the curve is not considered in the calculation motion process of a set curve in an image due to the traditional level set segmentation CV model. The improved method provided by the invention can obviously improve the calculation and the movement speed of the curve in the CV model and improve the image segmentation efficiency.
Drawings
FIG. 1 is a flow chart of the steps of the present invention;
fig. 2 is a segmented contrast image of a lung CT scan in an embodiment of the present invention, in which (a) is an original image, (b) is an image segmentation of a CV model, and (c) is an image segmentation of an improved CV model.
Detailed Description
The invention is further described with reference to the following drawings and detailed description.
Example 1: as shown in fig. 1, a method for segmenting a level set image based on a curve area includes the following specific steps:
step 1: and drawing a closed curve for any image to be segmented to divide the image into an inner area and an outer area.
Step 2: and calculating the area energy of the whole image region and the area energy inside the closed curve, wherein the area energy outside the closed curve is equal to the area energy of the whole image region minus the area energy inside the closed curve.
Step 3: an image curve area energy constraint term is calculated that is equal to the area energy outside the closed curve minus the area energy inside the closed curve.
Step 4: calculating an overall image energy general function which is equal to the sum of 4 terms; the first term is the length term of the closed curve, the second term is the curve area energy constraint term, and the third and fourth terms are the inner area energy term and the outer area energy term, respectively.
Step 5: and when the closed evolution curve is positioned at the boundary of the target to be segmented, the total energy general function of the image is minimum, and the segmented image is obtained.
In step S2, the process is described by taking the initial calculation parameter Δ t (S) of the lung CT scan image in fig. 2 as 0.1, which is specifically as follows:
(1): calculating the area energy of the whole image region: suArea energy of whole image areaWherein u is0=[0,195]Representing the gray value of any image to be segmented (in this case, the lung CT scan image), H (phi) is the Heaviside function, phi is the level set function, and the value of the Heaviside function is 0.3183 in this case, and the edge detection function▽ denotes the gradient operator, GσGauss function representing window size sigmaThe window size is then 5 x 5, Gσ1.5, the value of the gaussian function is Gσ=[0.0144,0.0853]U is a constant 650.25 and Ω is the image space u0One set of (a).
(3): calculate the area energy outside the closed curve: soutside(C)Is the area energy outside the closed curve,
Soutside=Su-Sinside=∫Ωg*u0*H(φ)-g*H(φ)dxdy=[-0.32,7.78]
the step S3 is specifically as follows:
the step S4 is specifically as follows:
wherein, the first term of the equation is the length term of the curve C, the coefficient of which the length term is mu ≧ 0 is 650.25, the second term of the equation is the area term fused with the edge information curve C, the coefficient of which the area term is v ≧ 0 is 1, λ1,λ2The coefficient of the energy term of the inner area and the outer area is more than or equal to 0 and is respectively equal to 1 and c1,c2Equal to 19.1266 and 39.0575, respectively, representing the mean gray value inside the evolution curve and the mean gray value outside the evolution curve, δε(φ)=[0.0187,0.3183]Representing the Dirac function.
The original image in fig. 2 was iteratively divided by the above method, and the results are shown in table 1:
TABLE 1
Table 1 shows the image segmentation iteration number and the running time experiment result of fig. 2, and it can be concluded that the improved CV model far exceeds the conventional CV model in terms of running efficiency, but after the CV model is sufficiently iterated, the evolution curve fails to reach the outer contour edge of the target.
While the present invention has been described in detail with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, and various changes can be made without departing from the spirit and scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911301075.2A CN111127479A (en) | 2019-12-17 | 2019-12-17 | Level set image segmentation method based on curve area |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911301075.2A CN111127479A (en) | 2019-12-17 | 2019-12-17 | Level set image segmentation method based on curve area |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111127479A true CN111127479A (en) | 2020-05-08 |
Family
ID=70498390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911301075.2A Pending CN111127479A (en) | 2019-12-17 | 2019-12-17 | Level set image segmentation method based on curve area |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111127479A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100322521A1 (en) * | 2009-06-22 | 2010-12-23 | Technion Research & Development Foundation Ltd. | Automated collage formation from photographic images |
CN102354396A (en) * | 2011-09-23 | 2012-02-15 | 清华大学深圳研究生院 | Method for segmenting image with non-uniform gray scale based on level set function |
CN102592287A (en) * | 2011-12-31 | 2012-07-18 | 浙江大学 | Convex optimization method for three-dimensional (3D)-video-based time-space domain motion segmentation and estimation model |
CN103295218A (en) * | 2012-03-02 | 2013-09-11 | 华为技术有限公司 | Image cutting method and device |
CN104574430A (en) * | 2015-02-09 | 2015-04-29 | 重庆大学 | CT image crack segmentation method based on C-V and RSF models |
CN105869178A (en) * | 2016-04-26 | 2016-08-17 | 昆明理工大学 | Method for unsupervised segmentation of complex targets from dynamic scene based on multi-scale combination feature convex optimization |
CN107016683A (en) * | 2017-04-07 | 2017-08-04 | 衢州学院 | The level set hippocampus image partition method initialized based on region growing |
CN107727662A (en) * | 2017-09-28 | 2018-02-23 | 河北工业大学 | A kind of cell piece EL black patch detection methods based on algorithm of region growing |
CN108090909A (en) * | 2017-12-15 | 2018-05-29 | 中国人民解放军陆军军医大学第附属医院 | A kind of ultrasonic contrast image partition method based on statistics Partial Differential Equation Model |
CN109087309A (en) * | 2018-07-19 | 2018-12-25 | 华南理工大学 | A kind of image partition method of amalgamation of global and local information level collection |
CN109598740A (en) * | 2018-12-25 | 2019-04-09 | 辽宁师范大学 | Image partition method based on Dual Action skeleton pattern |
-
2019
- 2019-12-17 CN CN201911301075.2A patent/CN111127479A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100322521A1 (en) * | 2009-06-22 | 2010-12-23 | Technion Research & Development Foundation Ltd. | Automated collage formation from photographic images |
CN102354396A (en) * | 2011-09-23 | 2012-02-15 | 清华大学深圳研究生院 | Method for segmenting image with non-uniform gray scale based on level set function |
CN102592287A (en) * | 2011-12-31 | 2012-07-18 | 浙江大学 | Convex optimization method for three-dimensional (3D)-video-based time-space domain motion segmentation and estimation model |
CN103295218A (en) * | 2012-03-02 | 2013-09-11 | 华为技术有限公司 | Image cutting method and device |
CN104574430A (en) * | 2015-02-09 | 2015-04-29 | 重庆大学 | CT image crack segmentation method based on C-V and RSF models |
CN105869178A (en) * | 2016-04-26 | 2016-08-17 | 昆明理工大学 | Method for unsupervised segmentation of complex targets from dynamic scene based on multi-scale combination feature convex optimization |
CN107016683A (en) * | 2017-04-07 | 2017-08-04 | 衢州学院 | The level set hippocampus image partition method initialized based on region growing |
CN107727662A (en) * | 2017-09-28 | 2018-02-23 | 河北工业大学 | A kind of cell piece EL black patch detection methods based on algorithm of region growing |
CN108090909A (en) * | 2017-12-15 | 2018-05-29 | 中国人民解放军陆军军医大学第附属医院 | A kind of ultrasonic contrast image partition method based on statistics Partial Differential Equation Model |
CN109087309A (en) * | 2018-07-19 | 2018-12-25 | 华南理工大学 | A kind of image partition method of amalgamation of global and local information level collection |
CN109598740A (en) * | 2018-12-25 | 2019-04-09 | 辽宁师范大学 | Image partition method based on Dual Action skeleton pattern |
Non-Patent Citations (1)
Title |
---|
JIANFENG HE. ET AL: "Image segmentation of CV model based on Curve Area Constraint", 《ADVANCES IN INTELLIGENCE SYSTEM AND COMPUTING》, vol. 856, 5 October 2018 (2018-10-05), pages 502 - 509 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110689545B (en) | Automatic Segmentation Method of Fuzzy Boundary Image Based on Active Contour and Deep Learning | |
CN109472792B (en) | An Image Segmentation Method Combining Local Energy Functional with Local Entropy and Non-convex Regular Term | |
CN103390280B (en) | Based on the Fast Threshold dividing method of Gray Level-Gradient two-dimensional symmetric Tsallis cross entropy | |
CN111681249B (en) | Grabcut-based improved segmentation algorithm research of sand particles | |
CN109272521B (en) | A Fast Segmentation Method of Image Features Based on Curvature Analysis | |
CN110363775B (en) | Image segmentation method based on regional variation level set | |
CN106296675A (en) | A kind of dividing method of the uneven image of strong noise gray scale | |
CN108460781B (en) | Active contour image segmentation method and device based on improved SPF | |
CN110853064B (en) | An Image Cooperative Segmentation Method Based on Minimum Fuzzy Divergence | |
CN101964112B (en) | Adaptive prior shape-based image segmentation method | |
CN106462975A (en) | Method and apparatus for object tracking and segmentation via background tracking | |
CN104217422A (en) | Sonar image detection method of self-adaption narrow-band level set | |
CN106056611A (en) | Level set image segmentation method and system thereof based on regional information and edge information | |
CN110176021A (en) | In conjunction with the level set image segmentation method and system of the conspicuousness information of gamma correction | |
CN103236056B (en) | Based on the image partition method of template matches | |
CN111553926A (en) | Threshold segmentation method based on two-dimensional Tsallis gray scale entropy fast iteration | |
CN111127479A (en) | Level set image segmentation method based on curve area | |
CN117593323B (en) | An image segmentation method, system, medium and device based on non-local features | |
CN104376559A (en) | Medical image segmentation method based on improved range adjustment level set algorithm | |
CN107993193A (en) | The tunnel-liner image split-joint method of surf algorithms is equalized and improved based on illumination | |
CN111091569B (en) | Industrial CT image segmentation method with self-adaptive local parameters | |
Bao et al. | Solar panel segmentation under low contrast condition | |
CN111598890B (en) | Level set optimization method for underwater image segmentation | |
CN105631856B (en) | The infrared ship activity of imagination contours segmentation method adaptively adjusted | |
CN115619795A (en) | Brain MR and natural image segmentation method based on skewed distribution |
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 | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20231017 |