CN102663708B - Ultrasonic image processing method based on directional weighted median filter - Google Patents

Ultrasonic image processing method based on directional weighted median filter Download PDF

Info

Publication number
CN102663708B
CN102663708B CN201210128319.3A CN201210128319A CN102663708B CN 102663708 B CN102663708 B CN 102663708B CN 201210128319 A CN201210128319 A CN 201210128319A CN 102663708 B CN102663708 B CN 102663708B
Authority
CN
China
Prior art keywords
pixel
edge
point
value
amplitude
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
Application number
CN201210128319.3A
Other languages
Chinese (zh)
Other versions
CN102663708A (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.)
Feiyinuo Technology Co ltd
Original Assignee
Vinno Technology Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vinno Technology Suzhou Co Ltd filed Critical Vinno Technology Suzhou Co Ltd
Priority to CN201210128319.3A priority Critical patent/CN102663708B/en
Publication of CN102663708A publication Critical patent/CN102663708A/en
Application granted granted Critical
Publication of CN102663708B publication Critical patent/CN102663708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an ultrasonic image processing method based on a directional weighted median filter. According to the method, on the basis of the median filter, edge directions and edge amplitude information of an image are considered, a specific pixel point is selected as a current point, a point which is relevant to the edge direction of the current point is selected in a neighborhood window as a median filter, and the sequencing selection of a median is performed on the basis of pixel values weighted by the edge amplitude. According to the ultrasonic image processing method based on the directional weighted median filter, noises and edge information of ultrasonic images can be distinguished, so that the denoising is achieved, edge detail information of the ultrasonic images can be effectively protected, and later diagnosis and analysis can be facilitated; the basic algorithm applied to the method is the median filter, and the algorithm is simple and low in time complexity and in processing time, and accords with the requirement that an ultrasonic imaging system real-timely processes display images.

Description

Based on the ultrasonoscopy disposal route of weighted direction medium filtering
Technical field
The present invention relates to the Data Post technology in ultrasonic imaging, particularly improve the image processing techniques of ultrasonograph quality, more particularly, relate to a kind of weighted direction median filter method for Ultrasonic Image Denoising and enhancing.
Background technology
In ultrasonoscopy forming process, when ultrasonic wavelength is suitable with irradiating object surfaceness, will produce speckle noise, this phenomenon can be explained with random scatter model.The existence of these noises, makes the sharpness of ultrasonoscopy not high, and this is also one of major defect of ultrasonic imaging.The distinctive speckle noise of ultrasonoscopy not only makes the second-rate of ultrasonoscopy, especially covers and reduce some detailed information of image, also makes to become more difficult to the identification of image detail and analysis.For later condition-inference and quantitative test, image characteristics extraction and identification cause adverse influence.Therefore, suppress these speckle noises, improve the important preprocessing link that picture quality is Ultrasonographic Analysis and identification.
The speckle noise reduction problem of ultrasonoscopy is one of important topic of domestic and international ultrasonic imaging technique always.Ultrasonic Image Denoising General Requirements effectively suppresses speckle noise, will retain post analysis simultaneously and diagnose useful image detail information.The Major Difficulties of Ultrasonic Image Denoising is: 1) speckle noise can roughly see a kind of multiplicative noise as; 2) the random nature more complicated of noise; 3) noise easily mixes mutually with image detail, and image detail is complicated and various.
At present, for suppression ultrasonoscopy speckle noise, improve picture quality, have already been proposed many methods.1) image averaging method utilizes a series of images obtaining same target in different time, different frequency or different scanning direction, they is on average formed a width combination picture to improve the signal to noise ratio (S/N ratio) (SNR) of image.Although this method is simple, quick, but it is subject to some restrictions: need the strict formation controlling image series, and need the registration of image; Due to image blurring impact, some little details (such as little blood vessel, texture etc.) can be lost, because this reducing spatial resolving power.2) adaptive weighted averaging filter method is to the value of each pixel in image, replaces with the weighted median of its local neighborhood window.Set window center point as (i n, i n), window size is (2w+1) × (2w+1), then in window, each point weighting coefficient is calculated as: weight (i, j)=[w (i o, i o)-a*d* σ 2/ m]
Wherein, [] is rounding operation, and a is coefficient, and d is that point (i, j) is to central point (i n, i n) distance, σ 2 and m is respectively variance in local neighborhood window and average.The weighted median got in neighborhood window replaces the pixel value of central point.Wherein, in neighborhood window, the weights of each point can be chosen automatically according to the partial statistics characteristic of image, and the size of neighborhood window also can regulate according to its local SNR automatically.Relative to simple medium filtering, this adaptive weighted process achieves certain effect in reservation details.But very sensitive to the selection of window, limit treatment effect, while removal noise, also can cause the loss of some small details.3) wavelet threshold shrinks is the method for the important removal speckle noise of a class, the wavelet soft-threshold (soft-thresholding) that this method mainly proposes based on Donoho shrinks denoising: first decomposed by image wavelet, set a threshold value, for the wavelet coefficient being less than threshold value zero replacement, and with it, threshold value replacement is deducted for the wavelet coefficient being greater than threshold value, wavelet coefficient after processed makes inverse wavelet transform, just can obtain rebuilding image.Meanwhile, many innovatory algorithm for wavelet threshold are also had.But said method is mainly for the noise of Gaussian distribution, and when solving the noise of other distribution, effect is not satisfactory; Meanwhile, choosing of wavelet threshold is also a problem needing to solve emphatically, can not select too large and lose some edges and local detail, can not select too little and insufficient to the suppression of noise.The yardstick of wavelet transformation and threshold value is how selected to there is no defining method.4) based on the denoising method of Anisotropic Diffusion Model.Anisotropy parameter is actually a nonlinear partial differential equation, decides rate of propagation by the gradient of image, can take into account simultaneously noise eliminate and feature keep two aspects.At present, the anisotropic diffusion equation (Anisotropic Diffusion, AD) being representative with Perona-Malik (PM) model is widely used.Anisotropic diffusion equation is applied in speckle suppression by Yu etc., proposes the Anisotropic Diffusion Model (Speckle Reducing Anisotropic Diffusion, SRAD) removing speckle noise.Yu etc. have modified coefficient of diffusion, enable diffusion equation adjust coefficient of diffusion according to the situation of picture noise, and can be more responsive to the detailed information of image.But also there is obvious defect in SRAD model: model mesoscale function is calculated by homogeneous area large as far as possible in initial pictures, the key of model be how to choose in image one large as far as possible, suitable homogeneous area, choosing of this region often affects diffusion result to a great extent, brings larger contingency to experimental result.In addition, the local statistic information that SRAD model uses is actually isotropic, and this has also deviated from the essence of anisotropy parameter algorithm.And anisotropy parameter needs successive ignition process just can obtain reasonable effect, iteration is again very consuming time, so this algorithm is difficult to the demand meeting ultrasonic real-time process.
Sum up, the method of existing removal ultrasonoscopy speckle noise has two more crucial deficiencies to need to improve: one is removing noise to image smoothing while, serious to the Fuzzy comparisons at details and edge, result in the loss of some edge details, have impact on diagnosis and the analysis in later stage; Two be process time complexity higher, be difficult to the demand meeting the real-time processes and displays image of ultrasonic image-forming system.
Summary of the invention
The object of this invention is to provide the ultrasonoscopy disposal route based on weighted direction medium filtering; this disposal route effectively protects the edge detail information of ultrasonoscopy while denoising; and the basic algorithm that treatment method adopts is medium filtering, algorithm is simple, and time complexity is low.
For achieving the above object, present invention employs following technical scheme: based on the ultrasonoscopy disposal route of weighted direction medium filtering, comprise the following steps:
(1) edge amplitude and the edge direction of each pixel in described ultrasonoscopy is calculated;
(2) pixel in described image is got as current point;
(3) judge whether this current point is marginal point according to the edge amplitude of described current point or edge direction, if not marginal point, then adaptive weighted averaging filter process is carried out to this current point; If marginal point, then this current point is carried out to the process of step (4) (5) (6) below;
(4) get the M*N neighborhood of this current point, select point relevant to the edge direction of this current point in this M*N neighborhood as process points;
(5) get pixel value and the edge magnitude value of described process points, to the corresponding edge magnitude value weighting of pixel value of described process points, the value after weighting is sorted, finds out intermediate value;
(6) pixel value of this current point is replaced with the pixel value that described intermediate value is corresponding;
(7) next pixel carries out step (3) process as current point is got, until process all pixels in described image, the image after last output processing.
A kind of embodiment of step (1), the edge amplitude of described pixel and the computing method of edge direction comprise:
(1a) horizontal direction of this pixel and the gradient of vertical direction is calculated, set the position of this pixel as (i, j), the pixel value of this pixel is I (i, j), then the account form of the gradient G x (i, j) of the horizontal direction of this pixel, the gradient G y (i, j) of vertical direction is as follows:
Gx(i,j)=I(i,j+1)-I(i,j-1) Gy(i,j)=I(i+1,j)-I(i-1,j);
(1b) calculate gradient amplitude GradientAm and the gradient direction GradientAn of this pixel, account form is as follows:
GradientAn=atan(Gy/Gx)
(1c) judge whether the gradient amplitude GradientAm of this pixel is greater than the threshold value preset, if this gradient amplitude GradientAm is more than or equal to described threshold value, then get this gradient amplitude GradientAm, edge amplitude and edge direction that this gradient direction GradientAn is this pixel, represent that this pixel is marginal point; If this gradient amplitude GradientAm is less than described threshold value, then the edge amplitude and the edge direction that set this pixel are negative value, represent that this pixel is not marginal point.
The another kind of embodiment of step (1), the edge amplitude of described pixel and the computing method of edge direction comprise:
(1a) edge detection operator of different directions is chosen;
(1b) sue for peace after the numerical value in the edge detection operator in each direction being multiplied with the respective pixel value in this pixel neighborhood of a point, take absolute value as output valve after summation;
(1c) in the output valve of different directions, maximal value is deducted minimum value and obtains difference, if this difference is more than or equal to the threshold value preset, the maximal value of then getting in the output valve of described different directions is the edge magnitude value of this pixel, the direction of getting edge detection operator corresponding to this maximal value is the edge direction of this pixel, represents that this pixel is marginal point; If this difference is less than described threshold value, then the edge amplitude and the edge direction that set this pixel are negative value, represent that this pixel is not marginal point.
The first embodiment of step (4), from described M*N neighborhood, select the point relevant to the edge direction of described current point to comprise as the method for process points:
(4a) that chooses different directions gets point template;
(4b) get point template from described different directions, get and corresponding with the immediate direction of the edge direction of described current point get point template;
(4c) in described M*N neighborhood, get by described immediate direction corresponding get point that point template hits as process points.
The second embodiment of step (4), from described M*N neighborhood, selects the difference of the edge direction of edge direction and described current point to be less than the point of the threshold value preset as process points.
When step (5) is specifically implemented, the pixel value of described process points is weighted process with corresponding edge magnitude value and refers to be that this pixel value carries out being multiplied with corresponding edge magnitude value and processes.
Due to the utilization of technique scheme, the present invention compared with prior art has following advantages: the ultrasonoscopy disposal route based on weighted direction medium filtering of the present invention, on the basis of medium filtering, consider edge direction and the edge amplitude information of image, for the current pixel point that certain is concrete, only choose point close with current point edge direction in neighborhood window and do medium filtering, and the sequence of intermediate value to choose be carrying out with on the pixel value after edge amplitude weighting, method of the present invention can be good at noise and the marginal information of distinguishing ultrasonoscopy, make the edge detail information effectively protecting ultrasonoscopy while denoising, advantageously in diagnosis and the analysis in later stage.And the basic algorithm that the present invention adopts is medium filtering, algorithm is simple, and time complexity is low, processes consuming time few, more meets the requirement of the real-time processes and displays image of ultrasonic image-forming system.
Accompanying drawing explanation
Accompanying drawing 1 is schematic flow sheet of the present invention;
Accompanying drawing 2 is by the edge amplitude of gradient calculation image slices vegetarian refreshments and the schematic flow sheet of edge direction in the present invention;
Accompanying drawing 3 is by the edge amplitude of edge detection operator computed image pixel and the schematic flow sheet of edge direction in the present invention;
What figure 4 shows the 2*2 neighborhood of edge detection operator effect follows the example of schematic diagram;
Figure 5 shows the edge detection operator of four different directions;
Accompanying drawing 6 is the schematic flow sheet being selected process points in the present invention by the edge direction of current point;
What fig. 7 shows four different directions gets point template;
Accompanying drawing 8 is the schematic flow sheet being selected process points in the present invention by the edge direction difference of the point in current point and neighborhood.
Embodiment
The present invention is set forth further below in conjunction with accompanying drawing.
The present invention proposes a kind of weighted direction median filtering algorithm, the basic ideas of this algorithm as shown in Figure 1, take ultrasonoscopy as background, on the basis of medium filtering, consider edge direction and the edge amplitude information of image, for the current point that certain is concrete, only choose point close with current point edge direction in filter window and do medium filtering, and the sequence of intermediate value to choose be carrying out with on the pixel value after edge amplitude weighting.Weighted direction median filtering algorithm considers that edge is different from background, and its intensity profile exists obvious difference, and this species diversity has directivity, therefore adopts the method that edge amplitude and edge direction combine.
Based on weighted direction median filtering algorithm, for denoising and the enhancing of ultrasonoscopy.The process flow diagram of this algorithm see Fig. 1, the first edge amplitude of each pixel and edge direction in computed image I; Then on this basis, pointwise process, for each pixel, selects the point of directional correlation in its M*N neighborhood as process points according to edge direction; Finally, for the process points selected in neighborhood, be weighted medium filtering process with edge amplitude.After importing ultrasound image data, mainly comprise the following steps:
(1) edge amplitude EdgeAm and the edge direction EdgeAn of each pixel in ultrasonoscopy is calculated;
(2) pixel in image is got as current point;
(3) judge whether this current point is marginal point according to the edge amplitude of current point or edge direction, if not marginal point, then adaptive weighted averaging filter process is carried out to this current point, what the method for this adaptive weighted averaging filter process adopted is prior art, specifically see " background technology "; If marginal point, then this current point is carried out to the process of step (4) (5) (6) below;
(4) get the M*N neighborhood of this current point, select point relevant to the edge direction of this current point in this M*N neighborhood as process points;
(5) get pixel value and the edge magnitude value of above-mentioned process points, to the corresponding edge magnitude value weighting of pixel value of process points, the value after weighting is sorted, finds out intermediate value;
(6) pixel value of current point is replaced with the pixel value that above-mentioned intermediate value is corresponding;
(7) next pixel carries out step (3) process as current point is got, until process all pixels in image, the image after last output processing.
In this algorithm, control to decrease the impact of noise on medium filtering by edge amplitude, adding and making this algorithm edge direction responsive especially of edge directional information, retains details ability strong, decreases ill-defined degree.Therefore, the median filtering algorithm of this improvement, in removal speckle noise ability, keeps the index such as edge ability and processing speed all achieves reasonable effect.
In above-mentioned algorithm, in step (1) computed image I, the edge amplitude of often and direction, have a variety of method to realize.Here two kinds of concrete implementation methods are provided: 1. the edge amplitude and the direction that are obtained image by the gradient amplitude of image and direction; 2. edge amplitude and the direction of image is obtained with the edge detection operator of different directions.But be not limited only to this two kinds of methods.
Method 1: obtain the edge amplitude of image and the method in direction by the gradient amplitude of image and direction, its process flow diagram is see Fig. 2.First, according to gradient amplitude GradientAm and the gradient direction GraditenAn of the gradient G x (i, j) of horizontal direction and gradient G y (i, the j) computed image of vertical direction, account form is as follows:
Set the position of image slices vegetarian refreshments as (i, j), the pixel value of this pixel is I (i, j), then Gx (i, j), the Gy (i, j) of this pixel:
Gx(i,j)=I(i,j+1)-I(i,j-1) Gy(i,j)=I(i+1,j)-I(i-1,j)
The then gradient amplitude GradientAm of this pixel and gradient direction GraditenAn:
GradientAn=atan(Gy/Gx)
Secondly, judge whether the gradient magnitude of this pixel is greater than the threshold value GradientAmThresh preset.If be more than or equal to threshold value, then represent that this pixel is marginal point, gradient amplitude is regarded as edge amplitude, and gradient direction regards edge direction as; If be less than threshold value, then think and non-flanged (representing that this pixel is not marginal point) edge amplitude and direction are all set as negative value (such as-1), so that whether distinguish pixel below in process is marginal point.That is:
EdgeAm ( i , j ) = GradientAm ( i , j ) EdgeAn ( i , j ) = GranientAn ( i , j ) GradientAm ( i , j ) &GreaterEqual; GradientAmThresh EdgeAm ( i , j ) = - 1 EdgeAn ( i , j ) = - 1 GradientAm ( i , j ) < GradientAmThresh
Above-mentioned process is carried out to all pixel pointwises of image I, then obtains edge amplitude EdgeAm and the edge direction EdgeAn of each pixel.
Method 2: the method being obtained image border amplitude and direction by the edge detection operator of different directions, see Fig. 3, first chooses the edge detection operator that a group has different directions; Secondly this group operator is acted on the pixel neighborhood of a point on image respectively, obtain the output of operator on each direction; Output relatively in all directions, if difference is larger, choose the edge amplitude of maximum output as current pixel point, the direction of the operator of maximum output correspondence is edge direction; If difference is little, then think that current pixel point is not marginal point.
Illustrate, choose four direction (90 degree as shown in Figure 5,0 degree, 45 degree, 135 degree) on edge detection operator, use edge amplitude and the direction of in this group edge detection operator computed image often, see Fig. 3, first, for the pixel (i in image, j), the point on 2*2 neighborhood is as shown in Figure 4 got; Then, the edge detection operator of the four direction shown in Fig. 5 is acted on respectively the 2*2 neighborhood of Fig. 4, get the absolute value of suing for peace after each operator template is multiplied with the corresponding numerical value in neighborhood template, as output valve 0peratorAm=[am90, am0, am45, am135], corresponding direction 0peratorAn=[90,0,45,135]; Then, output valve relatively on four direction, if difference is larger, the difference that in the output valve of namely four direction, maximal value deducts minimum value is more than or equal to the threshold value 0peratorAmThresh preset, then represent that this pixel is marginal point, current pixel point (i, j) edge amplitude is the maximal value exported, and edge direction is the direction of edge detection operator corresponding to maximal value, suppose that the maximal value of output is am45, then edge amplitude is am45, and edge direction is 45.If it is very little to export difference, the difference that namely maximal value deducts minimum value is less than threshold value, then think non-flanged (representing that current pixel point is not marginal point), and the edge amplitude of current pixel point and direction are all set as negative value (such as-1).Be formulated as follows:
EdgeAm ( i , j ) = max ( OperatorAm ) max ( OperatorAm ) - min ( OperatorAm ) EngeAn ( i , j ) = OperatorAn ( index ) &GreaterEqual; OperatorAmThresh EdgeAm ( i , j ) = - 1 max ( OperatorAm ) - min ( OperatorAm ) EdgeAn ( i , j ) = - 1 < OperatorAmThresh
Wherein, index is the sequence number that max (OperatorAm) is corresponding.
To all pixels of image all according to above-mentioned steps process, edge amplitude EdgeAm and the direction EdgeAn of each pixel just can be obtained.
In the above-mentioned step based on weighted direction median filtering algorithm (4), how to select in M*N neighborhood with current point (i, j) point that edge direction is correlated with is as process points, here give also two kinds of concrete methods of realizings: be 1. as the criterion with the edge direction of current point, select the point in neighborhood on this direction to be process points; 2. select the point being less than predetermined threshold value with the edge direction difference of current point to be process points.But be not limited only to this two kinds of methods.
Method 1: be as the criterion with the edge direction of current point, select the point in neighborhood on this direction to be process points, the process flow diagram of method 1 as shown in Figure 6.That first chooses different directions gets point template, as Fig. 7, Fig. 7 show four direction (90 degree, 0 degree, 45 degree, 135 degree) get point template, judge current point (i, edge direction EdgeAn (i, j) j) and which direction (90 degree, 0 degree, 45 degree, 135 degree) closest, that is EdgeAn (i, j) drops on inside which angular interval following: [67.5,112.5], [0,22.5] U [157.5,180], [22.5,67.5], [112.5,157.5]; Then, according in following rule interestingness neighborhood along the point on this direction:
If closest with 90 degree, namely drop in angular interval [67.5,112.5], select template 2a in Fig. 7) or 2b) point that hits as process points;
If closest with 0 degree, namely drop in interval [0,22.5] U [157.5,180], select template 3a in Fig. 7) or 3b) point that hits as process points;
If closest with 45 degree, namely drop in interval [22.5,67.5], select template 4a in Fig. 7) or 4b) point that hits as process points;
If closest with 135 degree, namely drop in interval [112.5,157.5], select template 5a in Fig. 7) or 5b) point that hits as process points.
Suppose that the number of the process points selected is k, edge amplitude is
LocalEdgeAm=[ea1, ea2, ea3 ..., eak], pixel value is
LocalPixel=[p1,p2,p3,…,pk]。
It should be noted that, for the purpose of directly perceived, what only give 5*5 size in Fig. 7 gets point template 2a)-5a) or 2b)-5b), template size in fact here should be M*N size.Wherein, 2a)-5a) be get point template, 2b when being single-point for border width)-5b) get point template when being wider for border width.If select template 2a)-5a), easily occur noise spot being strengthened, if select template 2b by mistake) and-5b), easily erased in some tiny edges, so will according to the edge width situation of concrete internal organs, select suitable to get point template.
Method 2: select the point being less than predetermined threshold value with the difference of the edge direction of current point (i, j) to be process points, the process flow diagram of method 2 as shown in Figure 8.In N*M point in the neighborhood of current point (i, j), the point selecting the difference of edge direction EdgeAn and current point (i, j) edge direction EdgeAn (i, j) to be less than the threshold value EdgeAnThresh of setting is process points.Suppose that the process points chosen has k, their edge magnitude value be LocalEdgeAm=[ea1, ea2, ea3 ..., eak], pixel value be LocalPixel=[p1, p2, p3 ..., pk].
Above-mentioned based in weighted direction median filtering algorithm, relate in step (5) (6), have selected process points and after the edge magnitude value having taken them and pixel value, be weighted medium filtering process, first, with edge amplitude to pixel value weighting, that is: LEAP=[ea1*p1, ea2*p2, ea3*p3,, eak*pk]; Secondly, the value LEAP sequence after weighting, the pixel value px got corresponding to intermediate value median (LEPA) replaces current point (i, j) pixel value at place, if intermediate value is ea2*p2, then replace the pixel value of point (i, j) with p2.
Ultrasonoscopy disposal route based on weighted direction medium filtering of the present invention; can be good at noise and the marginal information of distinguishing ultrasonoscopy; make the edge detail information effectively protecting ultrasonoscopy while denoising, advantageously in diagnosis and the analysis in later stage.And the basic algorithm that the present invention adopts is medium filtering, algorithm is simple, and time complexity is low, processes consuming time few, more meets the requirement of the real-time processes and displays image of ultrasonic image-forming system.

Claims (4)

1., based on the ultrasonoscopy disposal route of weighted direction medium filtering, it is characterized in that: comprise the following steps:
(1) edge amplitude and the edge direction of each pixel in described ultrasonoscopy is calculated;
(2) pixel in described image is got as current point;
(3) judge whether this current point is marginal point according to the edge amplitude of described current point or edge direction, if not marginal point, then adaptive weighted averaging filter process is carried out to this current point; If marginal point, then this current point is carried out to the process of step (4) (5) (6) below;
(4) get the M*N neighborhood of this current point, select point close with the edge direction of this current point in this M*N neighborhood as process points;
(5) get pixel value and the edge magnitude value of described process points, to the corresponding edge magnitude value weighting of pixel value of described process points, the value after weighting is sorted, finds out intermediate value;
(6) pixel value of this current point is replaced with the pixel value that described intermediate value is corresponding;
(7) next pixel carries out step (3) process as current point is got, until process all pixels in described image, the image after last output processing;
In step (4), from described M*N neighborhood, the point close with the edge direction of described current point is selected to comprise as the method for process points:
That chooses different directions gets point template, get point template from described different directions, get and corresponding with the immediate direction of the edge direction of described current point get point template, in described M*N neighborhood, get by described immediate direction corresponding get point that point template hits as process points;
Or,
From described M*N neighborhood, the difference of the edge direction of edge direction and described current point is selected to be less than the point of the threshold value preset as process points.
2. the ultrasonoscopy disposal route based on weighted direction medium filtering according to claim 1, it is characterized in that: in step (1), the edge amplitude of described pixel and the computing method of edge direction comprise:
(la) horizontal direction of this pixel and the gradient of vertical direction is calculated, set the position of this pixel as (i, j), the pixel value of this pixel is I (i, j), then the account form of the gradient G x (i, j) of the horizontal direction of this pixel, the gradient G y (i, j) of vertical direction is as follows:
Gx(i,j)=I(i,j+l)-I(i,j-l) Gy(i,j)=I(i+1,j)-I(i-l,j);
(lb) calculate gradient amplitude GradientAm and the gradient direction GradientAn of this pixel, account form is as follows:
GradtentAm = G x 2 + G y 2 GradientAn = a tan ( Gy / Gx ) ;
(lc) judge whether the gradient amplitude GradientAm of this pixel is greater than the threshold value preset, if this gradient amplitude GradientAm is more than or equal to described threshold value, then get this gradient amplitude GradientAm, edge amplitude and edge direction that this gradient direction GradientAn is this pixel, represent that this pixel is marginal point; If this gradient amplitude GradientAm is less than described threshold value, then the edge amplitude and the edge direction that set this pixel are negative value, represent that this pixel is not marginal point.
3. the ultrasonoscopy disposal route based on weighted direction medium filtering according to claim 1, it is characterized in that: in step (1), the edge amplitude of described pixel and the computing method of edge direction comprise:
(la) edge detection operator of different directions is chosen;
(lb) sue for peace after the numerical value in the edge detection operator in each direction being multiplied with the respective pixel value in this pixel neighborhood of a point, take absolute value as output valve after summation;
(lc) in the output valve of different directions, maximal value is deducted minimum value and obtains difference, if this difference is more than or equal to the threshold value preset, the maximal value of then getting in the output valve of described different directions is the edge magnitude value of this pixel, the direction of getting edge detection operator corresponding to this maximal value is the edge direction of this pixel, represents that this pixel is marginal point; If this difference is less than described threshold value, then the edge amplitude and the edge direction that set this pixel are negative value, represent that this pixel is not marginal point.
4. the ultrasonoscopy disposal route based on weighted direction medium filtering according to claim 1, it is characterized in that: in step (5), the pixel value of described process points is weighted process with corresponding edge magnitude value and refers to be that this pixel value carries out being multiplied with corresponding edge magnitude value and processes.
CN201210128319.3A 2012-04-27 2012-04-27 Ultrasonic image processing method based on directional weighted median filter Active CN102663708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210128319.3A CN102663708B (en) 2012-04-27 2012-04-27 Ultrasonic image processing method based on directional weighted median filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210128319.3A CN102663708B (en) 2012-04-27 2012-04-27 Ultrasonic image processing method based on directional weighted median filter

Publications (2)

Publication Number Publication Date
CN102663708A CN102663708A (en) 2012-09-12
CN102663708B true CN102663708B (en) 2015-06-10

Family

ID=46773187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210128319.3A Active CN102663708B (en) 2012-04-27 2012-04-27 Ultrasonic image processing method based on directional weighted median filter

Country Status (1)

Country Link
CN (1) CN102663708B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI488494B (en) * 2011-04-28 2015-06-11 Altek Corp Method of multi-frame image noise reduction
CN103778611B (en) * 2014-01-26 2016-08-17 天津大学 Utilize the switch weight vectors median filter method of rim detection
CN104299191A (en) * 2014-09-28 2015-01-21 南通大学 Ultrasonic image denoising method and median filtering method
CN104463799B (en) * 2014-12-04 2017-12-19 无锡日联科技股份有限公司 A kind of image boundary Enhancement Method
CN104517266B (en) * 2014-12-22 2017-06-06 南京信息工程大学 Mixed self-adapting image de-noising method based on edge detection operator
CN106874912A (en) * 2016-12-20 2017-06-20 银江股份有限公司 A kind of image object detection method based on improvement LBP operators
CN106875354B (en) * 2017-01-20 2020-04-28 北京东软医疗设备有限公司 Image denoising method, device and equipment
EP3382423A1 (en) * 2017-03-27 2018-10-03 Koninklijke Philips N.V. Methods and systems for filtering ultrasound image clutter
CN109285123B (en) * 2017-07-20 2020-09-11 展讯通信(上海)有限公司 Image smoothing method and device, computer readable storage medium and terminal
WO2020103033A1 (en) * 2018-11-21 2020-05-28 Qualcomm Incorporated Low frequency chroma noise reduction
CN113228035A (en) 2018-12-26 2021-08-06 浙江大华技术股份有限公司 System and method for object recognition
CN112308806A (en) * 2020-11-11 2021-02-02 海宁奕斯伟集成电路设计有限公司 Image processing method, image processing device, electronic equipment and readable storage medium
CN113143322B (en) * 2020-12-30 2022-09-02 深圳市联影高端医疗装备创新研究院 Ultrasonic imaging method, device, equipment and medium
CN112967331B (en) * 2021-03-25 2021-12-17 北京的卢深视科技有限公司 Image processing method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101396278A (en) * 2007-09-29 2009-04-01 深圳市蓝韵实业有限公司 Method of removing real-time ultrasound pattern speckle noise
CN101472055A (en) * 2007-12-24 2009-07-01 深圳迈瑞生物医疗电子股份有限公司 Medium value filtering device and method, and ultrasound imaging system applying the device
CN101753799A (en) * 2008-12-16 2010-06-23 无锡华润矽科微电子有限公司 Median filtering method and median filtering circuit using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101396278A (en) * 2007-09-29 2009-04-01 深圳市蓝韵实业有限公司 Method of removing real-time ultrasound pattern speckle noise
CN101472055A (en) * 2007-12-24 2009-07-01 深圳迈瑞生物医疗电子股份有限公司 Medium value filtering device and method, and ultrasound imaging system applying the device
CN101753799A (en) * 2008-12-16 2010-06-23 无锡华润矽科微电子有限公司 Median filtering method and median filtering circuit using the same

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
用于图像处理的自适应中值滤波;张旭明;《计算机辅助设计与图形学学报》;20050228;第17卷(第2期);295-299 *
边缘提取的梯度幅值阈值的动态获取方法;尹清雅;《软件导刊》;20090131;第8卷(第1期);16-17 *

Also Published As

Publication number Publication date
CN102663708A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN102663708B (en) Ultrasonic image processing method based on directional weighted median filter
Wang et al. Noise detection and image denoising based on fractional calculus
CN103854264B (en) A kind of Wavelet Transformation of Image Denoising method based on modified threshold function table
CN100474337C (en) Noise-possessing movement fuzzy image restoration method based on radial basis nerve network
CN102324021B (en) Infrared dim-small target detection method based on shear wave conversion
CN105913396A (en) Noise estimation-based image edge preservation mixed de-noising method
CN104978715A (en) Non-local mean value image denoising method based on filter window and parameter adaption
CN105913393A (en) Self-adaptive wavelet threshold image de-noising algorithm and device
CN102256048B (en) Density-adaptive image salt-pepper noise switching filtering method
CN102306377A (en) Method and device for reducing noise in ultrasound image
CN101996406A (en) No-reference structural sharpness image quality evaluation method
CN107220988A (en) Based on the parts image edge extraction method for improving canny operators
CN101901476A (en) SAR image de-noising method based on NSCT domain edge detection and Bishrink model
CN101847257A (en) Image denoising method based on non-local means and multi-level directional images
CN101685158B (en) Hidden Markov tree model based method for de-noising SAR image
CN101877124A (en) Method and system for filtering medical image
CN104299191A (en) Ultrasonic image denoising method and median filtering method
CN103337053A (en) Switching non-local total variation based filtering method for image polluted by salt and pepper noise
CN103400357A (en) Method for removing salt-pepper noises in images
CN103049891A (en) Video image deblurring method based on self-adaption window selection
CN104021536A (en) Self-adaptation SAR image and multispectral image fusion method
CN103971345A (en) Image denoising method based on improved bilateral filtering
CN102903080B (en) The non-supervisory appraisal procedure of diameter radar image Speckle noise removal performance
CN102314675B (en) Wavelet high-frequency-based Bayesian denoising method
CN105354798B (en) SAR image denoising method based on geometry priori and dispersion similarity measure

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 215123 5th floor, building a, 4th floor, building C, No. 27, Xinfa Road, Suzhou Industrial Park, Jiangsu Province

Patentee after: Feiyinuo Technology Co.,Ltd.

Address before: 215123 5th floor, building a, 4th floor, building C, No. 27, Xinfa Road, Suzhou Industrial Park, Jiangsu Province

Patentee before: Feiyinuo Technology (Suzhou) Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 215123 5th floor, building a, 4th floor, building C, No. 27, Xinfa Road, Suzhou Industrial Park, Jiangsu Province

Patentee after: Feiyinuo Technology (Suzhou) Co.,Ltd.

Address before: 215123 floor 5, building C8, No. 218, Xinghu street, Suzhou Industrial Park, Jiangsu Province

Patentee before: VINNO TECHNOLOGY (SUZHOU) Co.,Ltd.