CN106373097A - Image processing method - Google Patents
Image processing method Download PDFInfo
- Publication number
- CN106373097A CN106373097A CN201610763695.8A CN201610763695A CN106373097A CN 106373097 A CN106373097 A CN 106373097A CN 201610763695 A CN201610763695 A CN 201610763695A CN 106373097 A CN106373097 A CN 106373097A
- Authority
- CN
- China
- Prior art keywords
- image
- phi
- processing method
- function
- image processing
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 230000003044 adaptive effect Effects 0.000 claims abstract description 14
- 238000001914 filtration Methods 0.000 claims abstract description 13
- 238000001228 spectrum Methods 0.000 claims abstract description 4
- 230000008859 change Effects 0.000 claims description 18
- 238000000034 method Methods 0.000 claims description 11
- 239000000654 additive Substances 0.000 claims description 6
- 230000000996 additive effect Effects 0.000 claims description 6
- 230000015556 catabolic process Effects 0.000 claims description 6
- 238000006731 degradation reaction Methods 0.000 claims description 6
- 238000012935 Averaging Methods 0.000 claims description 3
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 238000002945 steepest descent method Methods 0.000 claims description 3
- 238000003786 synthesis reaction Methods 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 3
- 238000003709 image segmentation Methods 0.000 abstract description 8
- 230000011218 segmentation Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 abstract description 2
- 238000009499 grossing Methods 0.000 abstract 1
- 230000006978 adaptation Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
-
- 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/20—Special algorithmic details
- G06T2207/20024—Filtering details
- G06T2207/20032—Median filtering
-
- 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/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
- G06T2207/20056—Discrete and fast Fourier transform, [DFT, FFT]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention provides an image processing method, which comprises the following steps: S1) carrying out smoothing and sharpening processing on an image and emphasizing the relation between a pixel and adjacent pixels around; S2) carrying out Fourier transform on the image processed in the S1), then, carrying out filtering on frequency spectrum in a frequency domain image obtained after transform, and determining a filtering mode according to image data requirements; S3) defining image global information comprising a target image and a background region, wherein the target image and the background region are divided through a closed curve, determining a mean grey value of the target image and the background region, and separating boundary between the target image and the background region through the mean grey value of the target image and the background region. The image processing method can realize adaptive stop of image segmentation, and realize level set model evolution and carry out segmentation on gray uneven images and noise images.
Description
Technical field
The invention belongs to technical field of image processing, particularly to a kind of image processing method.
Background technology
At present, the development calculating with scientific information, occurs big in each field of engineering technology (as medical science, military affairs etc.)
The digital picture (including contrastographic picture, infrared image etc.) of amount, it is desirable to have effect, the useful letter quickly extracting in digital picture
Breath, therefore image segmentation, target's feature-extraction become highly important research topic.Image segmentation side based on partial differential equation
Method (geometric active contour model) is a kind of effective image partition method.Its basic thought is: level set function is in partial differential
Developed under the control of equation, the zero level collection of Numerical Solution of Partial Differential Equation is exactly the segmentation result of image object.If drilled
The method changing the energy functional that partial differential equation are by minimizing level set function obtains, and this method is referred to as variation level
Diversity method.
But, current image procossing change level diversity method, it is difficult to the self adaptation realizing image segmentation stops, leading to figure
As the skeleton pattern of segmentation is not enough.
Therefore, need now a kind of image processing method badly, the self adaptation being capable of image segmentation stops, and effectively will
Level set movements model is split to gray scale inequality image and noise image.
Content of the invention
The present invention proposes a kind of image processing method, solves change level diversity method in prior art it is difficult to realization figure
Self adaptation as segmentation stops, and leads to the not enough problem of the skeleton pattern of image segmentation.
The technical scheme is that and be achieved in that: image processing method, comprise the steps:
S1: image is carried out with smooth and Edge contrast, emphasizes the relation of pixel and surrounding neighbor;
S2: the image after s1 is processed carries out Fourier transformation, then the frequency spectrum in the frequency area image after conversion is carried out
Filtering, requires according to view data, determines filtering mode;
S3: definition includes the image global information of target image and background area is logical between target image and background area
Cross closed curve to divide, determine the average gray of target image and background area, average by target image and background area
Gray scale, isolates the border between target image and background area.
As one kind preferred embodiment, filtering mode is medium filtering, by each pixel several pixels of surrounding
Averaging operation.
As one kind preferred embodiment, defining closed curve is c, and the average gray of target image and background area is
C1 and c2,
Wherein, μ is more than or equal to 0, ν and is more than or equal to 0, λ1More than or equal to 0, λ2It is one respectively more than or equal to 0, φ () and h ()
Dimension dirac delta function and heaviside function, φ (x, y, t) is symbolic measurement.
As one kind preferred embodiment, according to closed curve define closed curve sequence, determine parameter of curve and when
Between parameter, EVOLUTION EQUATION is determined according to parameter of curve and time parameter, unit tangent vector and law vector is determined according to EVOLUTION EQUATION,
So that it is determined that tangential velocity and normal direction speed, thus determine the concrete position of each point movement according to tangential velocity and normal direction speed
Put.
As one kind preferred embodiment, determine image degradation model, using setting up degenrate function and additive noise term
Synthesis, processes input picture f (x, y), produces degraded image g (x, y), given g (x, y) and with regard to degenrate function and additive noise
Item η (x, y), h is linear system, and degraded image meets: g (x, y)=h (x, y) * f (x, y)+η (x, y), wherein h (x, y) are to move back
Change the spatial description of function, * represents convolution.
As one kind preferred embodiment, frequency domain of equal value is described as g (u, v)=h (u, v) * f (u, v)+n (u, v).
As one kind preferred embodiment, according to image degradation model and frequency domain characteristic, carry out image restoration.
As one kind preferred embodiment, the concrete position of each point movement is determined according to tangential velocity and normal direction speed
Put, based on normal direction speed and tangential velocity, introduce and meet distance holding item, using steepest descent method, obtain energy functional number pair
The gradient flow equation answered, so that it is determined that Edge-stopping function.
As one kind preferred embodiment, the corresponding gradient flow equation of described energy functional number is:
Wherein, μ is direction and the speed parameter of curve evolvement more than 0, v more than 0, λ, and φ (z) and h (z) are dirac respectively
Delta function and the positive regularization function of heaviside function.
As one kind preferred embodiment, adaptive change coefficient, l are introducedβ=((i-c1)2+1)/((i-c2)2+ 1),
Should determine that grey scale change and gradient inside and outside image according to the evolution of image information and level set is adaptive, set up adaptive change and stop
Only function g (i, lβ):
Function is stopped according to adaptive change and determines that image stops border.
After employing technique scheme, the invention has the beneficial effects as follows: can parameter of curve and time parameter, according to song
Line parameter and time parameter determine EVOLUTION EQUATION, determine unit tangent vector and law vector according to EVOLUTION EQUATION, so that it is determined that tangentially
Speed and normal direction speed, thus determine the particular location of each point movement, last self adaptation according to tangential velocity and normal direction speed
Change stops function, and the self adaptation being capable of image segmentation stops, and effectively that level set movements model is uneven to gray scale
Image and noise image are split.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, also may be used
So that other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
As shown in figure 1, this image processing method, comprise the steps:
S1: image is carried out with smooth and Edge contrast, emphasizes the relation of pixel and surrounding neighbor;
S2: the image after s1 is processed carries out Fourier transformation, then the frequency spectrum in the frequency area image after conversion is carried out
Filtering, requires according to view data, determines filtering mode;
S3: definition includes the image global information of target image and background area is logical between target image and background area
Cross closed curve to divide, determine the average gray of target image and background area, average by target image and background area
Gray scale, isolates the border between target image and background area.
Filtering mode is medium filtering, by each pixel averaging operation of several pixels of surrounding.
Definition closed curve is c, and the average gray of target image and background area is c1 and c2,
Wherein, μ is more than or equal to 0, ν and is more than or equal to 0, λ1More than or equal to 0, λ2It is one respectively more than or equal to 0, φ () and h ()
Dimension dirac delta function and heaviside function, φ (x, y, t) is symbolic measurement.
According to closed curve define closed curve sequence, determine parameter of curve and time parameter, according to parameter of curve and when
Between parameter determination EVOLUTION EQUATION, unit tangent vector and law vector are determined according to EVOLUTION EQUATION, so that it is determined that tangential velocity and normal direction
Speed, thus determine the particular location of each point movement according to tangential velocity and normal direction speed.
Determine image degradation model, using setting up degenrate function and additive noise term synthesis, process input picture f (x, y),
Produce degraded image g (x, y), given g (x, y) and with regard to degenrate function and additive noise term η (x, y), h is linear system, moves back
Change image to meet: g (x, y)=h (x, y) * f (x, y)+η (x, y), wherein h (x, y) are the spatial descriptions of degenrate function, and * represents
Convolution.
Frequency domain of equal value is described as g (u, v)=h (u, v) * f (u, v)+n (u, v).
According to image degradation model and frequency domain characteristic, carry out image restoration.
Determine the particular location of each point movement according to tangential velocity and normal direction speed, based on normal direction speed and tangentially fast
Rate, introduces and meets distance holding item, using steepest descent method, obtain energy functional number corresponding gradient flow equation, so that it is determined that
Edge-stopping function.
The corresponding gradient flow equation of described energy functional number is:
Wherein, μ is direction and the speed parameter of curve evolvement more than 0, v more than 0, λ, and φ (z) and h (z) are dirac respectively
Delta function and the positive regularization function of heaviside function.
Introduce adaptive change coefficient, lβ=((i-c1)2+1)/((i-c2)2+ 1), according to image information and level set
Evolution is adaptive to should determine that grey scale change and gradient inside and outside image, sets up adaptive change and stops function g (i, lβ):
Function is stopped according to adaptive change and determines that image stops border.
The operation principle of this image processing method is: this image processing method, can parameter of curve and time parameter, according to
Parameter of curve and time parameter determine EVOLUTION EQUATION, determine unit tangent vector and law vector according to EVOLUTION EQUATION, so that it is determined that cutting
To speed and normal direction speed, thus determine the particular location of each point movement according to tangential velocity and normal direction speed, finally adaptive
Stopping function should being changed, the self adaptation being capable of image segmentation stops, and effectively by level set movements model to gray scale not
All image and noise image are split.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of image processing method is it is characterised in that comprise the steps:
S1: image is carried out with smooth and Edge contrast, emphasizes the relation of pixel and surrounding neighbor;
S2: the image after s1 is processed carries out Fourier transformation, then the frequency spectrum in the frequency area image after conversion is filtered,
Required according to view data, determine filtering mode;
S3: definition includes the image global information of target image and background area, passes through envelope between target image and background area
Closed curve divides, and determines the average gray of target image and background area, by the average gray of target image and background area,
Isolate the border between target image and background area.
2. image processing method according to claim 1 is it is characterised in that filtering mode is medium filtering, by each picture
The element averaging operation of several pixels of surrounding.
3. image processing method according to claim 2 is it is characterised in that defining closed curve is c, target image and the back of the body
The average gray of scene area is c1 and c2,
Wherein, μ is more than or equal to 0, ν and is more than or equal to 0, λ1More than or equal to 0, λ2It is one-dimensional respectively more than or equal to 0, φ () and h ()
Dirac delta function and heaviside function, φ (x, y, t) is symbolic measurement.
4. image processing method according to claim 3 is it is characterised in that define closed curve sequence according to closed curve
Row, determine parameter of curve and time parameter, determine EVOLUTION EQUATION according to parameter of curve and time parameter, are determined according to EVOLUTION EQUATION
Unit tangent vector and law vector, so that it is determined that tangential velocity and normal direction speed, thus being determined according to tangential velocity and normal direction speed
The particular location of each point movement.
5. image processing method according to claim 4, it is characterised in that determining image degradation model, is moved back using foundation
Change function and additive noise term synthesis, process input picture f (x, y), produce degraded image g (x, y), given g (x, y) and with regard to
Degenrate function and additive noise term η (x, y), h is linear system, and degraded image meets: g (x, y)=h (x, y) * f (x, y)+η
(x, y), wherein h (x, y) are the spatial descriptions of degenrate function, and * represents convolution.
6. image processing method according to claim 5 it is characterised in that the frequency domain of equivalence be described as g (u, v)=h (u,
v)*f(u,v)+n(u,v).
7. image processing method according to claim 6 is it is characterised in that special according to image degradation model and frequency domain
Property, carry out image restoration.
8. image processing method according to claim 6 it is characterised in that determine every according to tangential velocity and normal direction speed
The particular location of individual point movement, based on normal direction speed and tangential velocity, introduces and meets distance holding item, using steepest descent method,
Obtain energy functional number corresponding gradient flow equation, so that it is determined that Edge-stopping function.
9. image processing method according to claim 8 is it is characterised in that the corresponding gradient current side of described energy functional number
Cheng Wei:
Wherein, μ is direction and the speed parameter of curve evolvement more than 0, v more than 0, λ, and φ (z) and h (z) are dirac respectively
Delta function and the positive regularization function of heaviside function.
10. image processing method according to claim 9 is it is characterised in that introduce adaptive change coefficient, lβ=((i-
c1)2+1)/((i-c2)2+ 1), should determine that grey scale change and ladder inside and outside image according to the evolution of image information and level set is adaptive
Degree, sets up adaptive change and stops function g (i, lβ):
Function is stopped according to adaptive change and determines that image stops border.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610763695.8A CN106373097A (en) | 2016-08-29 | 2016-08-29 | Image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610763695.8A CN106373097A (en) | 2016-08-29 | 2016-08-29 | Image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106373097A true CN106373097A (en) | 2017-02-01 |
Family
ID=57901656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610763695.8A Pending CN106373097A (en) | 2016-08-29 | 2016-08-29 | Image processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106373097A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846396A (en) * | 2018-05-25 | 2018-11-20 | 广州杰赛科技股份有限公司 | Picture material dividing method, device and licence plate recognition method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000079481A1 (en) * | 1999-06-23 | 2000-12-28 | Massachusetts Institute Of Technology | Mra segmentation using active contour models |
CN102830121A (en) * | 2012-08-17 | 2012-12-19 | 浙江工业大学 | Real-time detection method of soft abrasive flow abrasive group |
CN103679652A (en) * | 2013-11-29 | 2014-03-26 | 北京空间机电研究所 | Image restoration system capable of improving imaging quality greatly |
CN104616308A (en) * | 2015-02-12 | 2015-05-13 | 大连民族学院 | Multiscale level set image segmenting method based on kernel fuzzy clustering |
-
2016
- 2016-08-29 CN CN201610763695.8A patent/CN106373097A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000079481A1 (en) * | 1999-06-23 | 2000-12-28 | Massachusetts Institute Of Technology | Mra segmentation using active contour models |
CN102830121A (en) * | 2012-08-17 | 2012-12-19 | 浙江工业大学 | Real-time detection method of soft abrasive flow abrasive group |
CN103679652A (en) * | 2013-11-29 | 2014-03-26 | 北京空间机电研究所 | Image restoration system capable of improving imaging quality greatly |
CN104616308A (en) * | 2015-02-12 | 2015-05-13 | 大连民族学院 | Multiscale level set image segmenting method based on kernel fuzzy clustering |
Non-Patent Citations (1)
Title |
---|
周 奔: ""变分水平集图像分割方法研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108846396A (en) * | 2018-05-25 | 2018-11-20 | 广州杰赛科技股份有限公司 | Picture material dividing method, device and licence plate recognition method |
CN108846396B (en) * | 2018-05-25 | 2020-11-13 | 广州杰赛科技股份有限公司 | Image content segmentation method and device and license plate recognition method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107016642B (en) | Method and apparatus for resolution up-scaling of noisy input images | |
Wei et al. | Tensor voting guided mesh denoising | |
Rosenthaler et al. | Detection of general edges and keypoints | |
CN106204447A (en) | The super resolution ratio reconstruction method with convolutional neural networks is divided based on total variance | |
CN105608679B (en) | A kind of image de-noising method of fusion structure tensor and the full variation of non-local | |
CN102393966B (en) | Self-adapting image compressive sampling method based on multi-dimension saliency map | |
CN103839234B (en) | A kind of double geometry non-local mean image de-noising methods based on controlled core | |
CN104599242A (en) | Multi-scale non-local regularization blurring kernel estimation method | |
CN105335972A (en) | Warp knitting fabric defect detection method based on wavelet contourlet transformation and visual saliency | |
CN105741241A (en) | Tumor region image enhancement method and system based on enhanced composite image | |
CN107665494A (en) | A kind of adaptive noisy full variation dividing method of SAR image | |
CN110796616A (en) | Fractional order differential operator based L0Norm constraint and adaptive weighted gradient turbulence degradation image recovery method | |
CN103208104B (en) | A kind of image de-noising method based on nonlocal theory | |
CN102930511B (en) | Method for analyzing velocity vector of flow field of heart based on gray scale ultrasound image | |
CN106169174A (en) | A kind of image magnification method | |
CN105303536A (en) | Median filtering algorithm based on weighted mean filtering | |
He et al. | Remote sensing image super-resolution using deep–shallow cascaded convolutional neural networks | |
CN103559684A (en) | Method for restoring images based on smooth correction | |
CN104574301A (en) | Terahertz image reconstruction method and system | |
CN105869133A (en) | Image sharpening method based on non-causal fractional order subdifferential | |
Narváez et al. | Point cloud denoising using robust principal component analysis | |
CN104299238A (en) | Organ tissue contour extraction method based on medical image | |
CN104050674B (en) | Salient region detection method and device | |
CN100481114C (en) | Scanning image noise-eliminating method based on blind source separation technique | |
CN102063723B (en) | Zebra fish diencephalon and midbrain automatic dividing method under high-throughput imaging system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |
|
RJ01 | Rejection of invention patent application after publication |