CN102663708A - 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
CN102663708A
CN102663708A CN2012101283193A CN201210128319A CN102663708A CN 102663708 A CN102663708 A CN 102663708A CN 2012101283193 A CN2012101283193 A CN 2012101283193A CN 201210128319 A CN201210128319 A CN 201210128319A CN 102663708 A CN102663708 A CN 102663708A
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.)
Granted
Application number
CN2012101283193A
Other languages
Chinese (zh)
Other versions
CN102663708B (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

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)

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

Ultrasonoscopy disposal route based on the weighted direction medium filtering
Technical field
The present invention relates to the Data Post technology in the ultrasonic imaging, particularly improve the image processing techniques of ultrasonograph quality, more particularly, relate to a kind of weighted direction median filter method that is used for ultrasonoscopy denoising and enhancing.
Background technology
In the ultrasonoscopy forming process, when ultrasonic wavelength is suitable with the irradiating object surfaceness, will produce speckle noise, this phenomenon can be explained with the random scatter model.The existence of these noises makes that the sharpness of ultrasonoscopy is not high, and this also is one of major defect of ultrasonic imaging.The distinctive speckle noise of ultrasonoscopy not only makes the second-rate of ultrasonoscopy, especially covers and has reduced some detailed information of image, also makes to the identification of image detail and the analysis difficulty more that becomes.Be later state of an illness diagnosis and quantitative test, image characteristics extraction and identification cause adverse influence.Therefore, suppress these speckle noises, improving picture quality is the important preprocessing link of ultrasonoscopy analysis and identification.
It is one of important topic of domestic and international ultrasonic imaging technique that the speckle noise of ultrasonoscopy is removed problem always.The general effectively inhibition speckle noise that requires of ultrasonoscopy denoising will keep the image detail information useful with diagnosis to post analysis simultaneously.The main difficult point of ultrasonoscopy denoising is: 1) speckle noise can roughly be seen a kind of multiplicative noise as; 2) the random nature more complicated of noise; 3) noise is prone to mix mutually with image detail, and image detail is complicated and various.
At present, to suppressing the ultrasonoscopy speckle noise, improve picture quality, people have proposed many methods.1) image averaging method is utilized in a series of images that different time, different frequency or different scanning direction obtain same target, with their average signal to noise ratio (snr)s that forms a width of cloth combination picture with the raising image.Although this method is simple, quick, yet it receives some restrictions: need the formation of strict control image series, and need the registration of image; Because image blurring influence, some little details (for example little blood vessel, texture etc.) can be lost, and have therefore reduced spatial resolving power.2) adaptive weighted median filter method is to the value of each pixel in the image, with the weighted median replacement of its local neighborhood window.Setting window center point is (i n, i n), window size is (2w+1) * (2w+1), then the each point weighting coefficient is calculated as in the window: weight (i, j)=[w (i o, i o)-a*d* σ 2/ m]
Wherein, [] is rounding operation, and a is a coefficient, and d is that (i is j) to central point (i for point n, i n) distance, σ 2 and m are respectively variance and average in the local neighborhood window.Get the pixel value of the weighted median replacement central point in the neighborhood window.Wherein, the weights of each point can come according to the partial statistics characteristic of image to choose automatically in the neighborhood window, and the size of neighborhood window also can be regulated according to its local signal to noise ratio (S/N ratio) automatically.With respect to simple medium filtering, this adaptive weighted processing is obtaining certain effect aspect the reservation details.But the selection to window is very sensitive, has limited treatment effect, when removing noise, also can cause the loss of some small details.3) the wavelet threshold contraction is the method for one type of important removal speckle noise; This method is mainly shunk denoising based on the small echo soft-threshold (soft-thresholding) that Donoho proposes: at first image wavelet is decomposed; Set a threshold value, replace with zero, replace and deduct threshold value with it for wavelet coefficient greater than threshold value for wavelet coefficient less than threshold value; Wavelet coefficient after being processed is made inverse wavelet transform, just can obtain reconstructed image.Simultaneously, also have many improvement algorithms for wavelet threshold.Yet said method mainly is the noise to Gaussian distribution, and when solving the noise of other distribution, effect is not satisfactory; Simultaneously, choosing of wavelet threshold also is the problem that needs solve emphatically, and that can not select loses some edges and local detail too greatly, and that can not select is too little and insufficient to Noise Suppression.How to select the yardstick and the threshold value of wavelet transformation still not to have definite method.4) based on the denoising method of anisotropy diffusion model.Anisotropy diffusion is actually nonlinear PDE, decides rate of propagation by the gradient of image, can take into account two aspects of noise removing and characteristic maintenance simultaneously.At present, be that (Anisotropic Diffusion AD) has obtained widely using for the anisotropic diffusion equation of representative with Perona-Malik (PM) model.Yu etc. are applied to anisotropic diffusion equation during speckle suppresses, proposed to remove speckle noise the anisotropy diffusion model (Speckle Reducing Anisotropic Diffusion, SRAD).Yu etc. have revised coefficient of diffusion, make diffusion equation adjust coefficient of diffusion according to the situation of picture noise, and can be responsive more to the detailed information of image.But also there is obvious defects in the SRAD model: model mesoscale function is to be calculated by homogeneous area big as far as possible in the initial pictures; The key of model be how to choose in the image one big as far as possible; Suitable homogeneous area; Choosing of this zone often affects the diffusion result to a great extent, brings bigger contingency to experimental result.In addition, the employed local statistic information of SRAD model is actually isotropic, and this has also deviated from the essence of anisotropy broadcast algorithm.And the anisotropy diffusion needs repeatedly that iterative processing just can obtain reasonable effect, and iteration is again very consuming time, so this algorithm is difficult to satisfy the demand of ultrasonic real-time processing.
Sum up; The method of existing removal ultrasonoscopy speckle noise has two relatively more crucial deficiencies to need to improve: the one, when image smoothing is removed noise; Fuzzy more serious to details and edge caused the loss of some edge details, influenced the diagnosis and the analysis in later stage; The 2nd, the time complexity of handling is difficult to satisfy the demand of the real-time processes and displays image of ultrasonic image-forming system than higher.
Summary of the invention
The purpose of this invention is to provide ultrasonoscopy disposal route based on the weighted direction medium filtering; This disposal route has been protected the edge details information of ultrasonoscopy effectively in denoising; And the basic algorithm that this disposal route adopts is medium filtering, and algorithm is simple, and time complexity is low.
For achieving the above object, the present invention has adopted following technical scheme: the ultrasonoscopy disposal route based on the weighted direction medium filtering may further comprise the steps:
(1) edge amplitude and the edge direction of each pixel in the said ultrasonoscopy of calculating;
(2) get a pixel in the said image as current point;
(3) judge according to the edge amplitude or the edge direction of said current point whether this current point is marginal point,, then this current point is carried out adaptive weighted medium filtering and handle if not marginal point; If marginal point then carries out the processing of following step (4) (5) (6) to this current point;
(4) get the M*N neighborhood of this current point, select point relevant in this M*N neighborhood as process points with the edge direction of this current point;
(5) get the pixel value and the edge amplitude value of said process points, the pixel value of said process points with the weighting of respective edges range value, is sorted to the value after the weighting, find out intermediate value;
(6) with the pixel value of this current point of said intermediate value corresponding pixel value replacement;
(7) get next pixel and carry out the processing of step (3), all pixels in handling said image, the image after output is handled at last as current point.
A kind of embodiment of step (1), the edge amplitude of said pixel and the computing method of edge direction comprise:
(1a) calculate the horizontal direction of this pixel and the gradient of vertical direction, the position of setting this pixel for (i, j); The pixel value of this pixel be I (i, j), the gradient G x (i of the horizontal direction of this pixel then; J), the gradient G y of vertical direction (i, account form j) is following:
Gx(i,j)=I(i,j+1)-I(i,j-1) Gy(i,j)=I(i+1,j)-I(i-1,j);
(1b) calculate the gradient amplitude GradientAm and the gradient direction GradientAn of this pixel, account form is following:
Figure BDA0000158188030000031
GradientAn=atan(Gy/Gx)
Whether the gradient amplitude GradientAm that (1c) judges this pixel is greater than pre-set threshold; If this gradient amplitude GradientAm is more than or equal to said threshold value; Then get this gradient amplitude GradientAm, this gradient direction GradientAn edge amplitude and edge direction, represent that this pixel is a marginal point for this pixel; If this gradient amplitude GradientAm is less than said threshold value, edge amplitude and the edge direction of then setting this pixel are negative value, represent that this pixel is not a marginal point.
The another kind of embodiment of step (1), the edge amplitude of said pixel and the computing method of edge direction comprise:
(1a) choose the edge detection operator of different directions;
(1b), take absolute value after the summation as output valve with multiply each other back summation of the respective pixel value in the numerical value in the edge detection operator of each direction and this pixel neighborhood of a point;
(1c) in the output valve of different directions; Maximal value is deducted minimum value get difference; If this difference is more than or equal to pre-set threshold; The maximal value of then getting in the output valve of said different directions is the edge amplitude value of this pixel, gets the edge direction of the direction of the corresponding edge detection operator of this maximal value for this pixel, representes that this pixel is a marginal point; If this difference, is then set the edge amplitude and the edge direction of this pixel less than said threshold value and is negative value, represent that this pixel is not a marginal point.
First kind of embodiment of step (4), from said M*N neighborhood, select the point relevant to comprise as the method for process points with the edge direction of said current point:
(4a) choose the point template of getting of different directions;
(4b), get the get point template corresponding with the immediate direction of the edge direction of said current point from the getting the point template of said different directions;
(4c) in said M*N neighborhood, get by corresponding the getting of the said immediate direction point that point template hits as process points.
Second kind of embodiment of step (4), from said M*N neighborhood, the difference of edge direction of selecting edge direction and said current point less than the point of pre-set threshold as process points.
During step (5) practical implementation, the pixel value of said process points carries out weighted with the respective edges range value and refers to such an extent that be the processing of multiplying each other of this pixel value and respective edges range value.
Because the utilization of technique scheme; The present invention compared with prior art has advantage: the ultrasonoscopy disposal route based on the weighted direction medium filtering of the present invention; On the basis of medium filtering; Considered edge of image direction and edge amplitude information,, only chosen point close in the neighborhood window and do medium filtering with the current point edge direction to certain concrete current pixel point; And the ordering of intermediate value to choose be on the pixel value after the edge amplitude weighting, to carry out; Method of the present invention can be good at distinguishing the noise and the marginal information of ultrasonoscopy, makes the edge details information of in denoising, having protected ultrasonoscopy effectively to help the diagnosis and the analysis in later stage more.And the basic algorithm that the present invention adopts is medium filtering, and algorithm is simple, and time complexity is low, handles consuming time fewly, meets the requirement of the real-time processes and displays image of ultrasonic image-forming system more.
Description of drawings
Accompanying drawing 1 is a schematic flow sheet of the present invention;
Accompanying drawing 2 is for passing through the edge amplitude of gradient calculation image slices vegetarian refreshments and the schematic flow sheet of edge direction among the present invention;
Accompanying drawing 3 is for passing through the edge amplitude of edge detection operator computed image pixel and the schematic flow sheet of edge direction among the present invention;
Accompanying drawing 4 shown the edge detection operator effect the 2*2 neighborhood follow the example of synoptic diagram;
Accompanying drawing 5 has shown the edge detection operator of four different directions;
Accompanying drawing 6 is selected the schematic flow sheet of process points for the edge direction of passing through current point among the present invention;
Accompanying drawing 7 has shown the point template of getting of four different directions;
Accompanying drawing 8 is for selecting the schematic flow sheet of process points through the edge direction difference of the point in current point and the neighborhood among the present invention.
Embodiment
Come further to set forth the present invention below in conjunction with accompanying drawing.
The present invention proposes a kind of weighted direction median filtering algorithm; The basic ideas of this algorithm are as shown in Figure 1, are background with the ultrasonoscopy, on the basis of medium filtering; Edge of image direction and edge amplitude information have been considered; To certain concrete current point, only choose point close in the filter window and do medium filtering with the current point edge direction, and the ordering of intermediate value to choose be on the pixel value after the edge amplitude weighting, to carry out.The weighted direction median filtering algorithm considers that the edge is different from background, and there is evident difference in its intensity profile, and this species diversity has directivity, the method that therefore adopts edge amplitude and edge direction to combine.
Based on the weighted direction median filtering algorithm, be used for the denoising and the enhancing of ultrasonoscopy.The process flow diagram of this algorithm is referring to Fig. 1, at first the edge amplitude and the edge direction of each pixel among the computed image I; Then on this basis, pointwise is handled, and to each pixel, the point of selecting directional correlation in its M*N neighborhood according to edge direction is as process points; At last, to the process points of selecting in the neighborhood, carry out the weighted median Filtering Processing with edge amplitude.After importing ultrasound image data, mainly may further comprise the steps:
(1) the edge amplitude EdgeAm and the edge direction EdgeAn of each pixel in the calculating ultrasonoscopy;
(2) get a pixel in the image as current point;
(3) judge according to the edge amplitude or the edge direction of current point whether this current point is marginal point; If not marginal point; Then this current point being carried out adaptive weighted medium filtering handles; What the method that this adaptive weighted medium filtering is handled adopted is prior art, specifically referring to " background technology "; If marginal point then carries out the processing of following step (4) (5) (6) to this current point;
(4) get the M*N neighborhood of this current point, select point relevant in this M*N neighborhood as process points with the edge direction of this current point;
(5) get the pixel value and the edge amplitude value of above-mentioned process points, the pixel value of process points with the weighting of respective edges range value, is sorted to the value after the weighting, find out intermediate value;
(6) with the pixel value of above-mentioned intermediate value corresponding pixel value replacement current point;
(7) get next pixel and carry out the processing of step (3), all pixels in handling image, the image after output is handled at last as current point.
In this algorithm, through edge amplitude control minimizing influence of noise to medium filtering, the adding of edge directional information makes this algorithm responsive especially to edge direction again, and it is strong to keep the details ability, has reduced ill-defined degree.Therefore, this improved median filtering algorithm is being removed the speckle noise ability, is being kept all having obtained reasonable effect on the indexs such as edge ability and processing speed.
In the above-mentioned algorithm, every edge amplitude and direction have a variety of methods to realize among step (1) the computed image I.Here provide two kinds of concrete implementation methods: 1. gradient amplitude and the direction through image obtains edge of image amplitude and direction; 2. the edge detection operator with different directions obtains edge of image amplitude and direction.But be not limited only to this two kinds of methods.
Method 1: the method that gradient amplitude and the direction through image obtains edge of image amplitude and direction, its process flow diagram is referring to Fig. 2.At first, according to the gradient G x of horizontal direction (i, j) with the gradient G y of vertical direction (account form is following for i, j) the gradient amplitude GradientAm of computed image and gradient direction GraditenAn:
The position of setting the image slices vegetarian refreshments be (i, j), the pixel value of this pixel be I (i, j), then the Gx of this pixel (i, j), Gy (i, j):
Gx(i,j)=I(i,j+1)-I(i,j-1) Gy(i,j)=I(i+1,j)-I(i-1,j)
Then the gradient amplitude GradientAm of this pixel and gradient direction GraditenAn:
GradientAn=atan(Gy/Gx)
Secondly, whether the gradient amplitude value of judging this pixel is greater than pre-set threshold GradientAmThresh.If more than or equal to threshold value, represent that then this pixel is a marginal point, regard gradient amplitude as edge amplitude, gradient direction is regarded edge direction as; If less than threshold value, then think non-flanged (representing that this pixel is not a marginal point) all to be set as negative value (such as-1) to edge amplitude and direction, so that whether distinguishing pixel point is marginal point in handling in the back.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 processing is carried out in all pixel pointwises to image I, then obtains the edge amplitude EdgeAm and the edge direction EdgeAn of each pixel.
Method 2: obtain the method for image border amplitude and direction through the edge detection operator of different directions,, at first choose one group of edge detection operator that different directions is arranged referring to Fig. 3; Secondly act on this group operator respectively on the pixel neighborhood of a point on the image, obtain the output of operator on each direction; The relatively output on all directions if difference is bigger, is chosen the edge amplitude of maximum output as current pixel point, and the direction of the operator that maximum output is corresponding is an edge direction; If difference is little, think that then current pixel point is not a marginal point.
Illustrate, choose four direction as shown in Figure 5 (90 degree, 0 degree; 45 degree, 135 degree) edge detection operator on uses on this group edge detection operator computed image edge amplitude and direction at every; Referring to Fig. 3, at first, to the pixel (i in the image; J), get point on the 2*2 neighborhood as shown in Figure 4; Then, act on the 2*2 neighborhood of Fig. 4 to the edge detection operator of four direction shown in Figure 5 respectively, get the multiply each other absolute value of back summation of each operator template and corresponding numerical value in the neighborhood template; As output valve 0peratorAm=[am90, am0, am45; Am135], corresponding direction 0peratorAn=[90,0; 45,135]; Then, compare the output valve on the four direction, if difference is bigger; The difference that just maximal value deducts minimum value in the output valve of four direction representes that then this pixel is a marginal point, current pixel point (i more than or equal to pre-set threshold 0peratorAmThresh; J) edge amplitude is the direction of the corresponding edge detection operator of maximal value for the maximal value of output, edge direction, supposes that the maximal value of output is am45; Then edge amplitude is am45, and edge direction is 45.If the output difference is very little, just maximal value deduct minimum value difference less than threshold value, then think non-flanged (expression current pixel point be not marginal point), the edge amplitude of current pixel point and direction all are 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 max (OperatorAm) corresponding sequence number.
All pixels to image are all handled according to above-mentioned steps, just can obtain the edge amplitude EdgeAm and the direction EdgeAn of each pixel.
In the above-mentioned step (4) based on the weighted direction median filtering algorithm; How to select in the M*N neighborhood and current point (i; J) point that edge direction is correlated with is as process points; Here also provided two kinds of concrete implementation methods: 1. the edge direction with current point is as the criterion, and the point in the selection neighborhood on this direction is a process points; 2. the edge direction difference of selection and current point is a process points less than the point of predetermined threshold value.But be not limited only to this two kinds of methods.
Method 1: the edge direction with current point is as the criterion, and the point in the selection neighborhood on this direction is a process points, and the process flow diagram of method 1 is as shown in Figure 6.At first choose the point template of getting of different directions, like Fig. 7, Fig. 7 has shown the point template of getting of four direction (90 degree, 0 degree, 45 degree, 135 degree); The judgement current point (i, and edge direction EdgeAn j) (i, j) the most approaching with which direction (45 spend for 90 degree, 0 degree, and 135 spend); That is to say that (i j) drops on following which angular interval the inside: [67.5,112.5], [0,22.5] U [157.5 to EdgeAn; 180], [22.5,67.5], [112.5,157.5]; Then, choose in the neighborhood point on this direction according to following rule:
If the most approaching, just drop in the angular interval [67.5,112.5], select template 2a among Fig. 7 with 90 degree) or the point that 2b) hits as process points;
If the most approaching, just drop among interval [0, the 22.5] U [157.5,180], select template 3a among Fig. 7 with 0 degree) or the point that 3b) hits as process points;
If the most approaching, just drop in the interval [22.5,67.5], select template 4a among Fig. 7 with 45 degree) or the point that 4b) hits as process points;
If the most approaching, just drop in the interval [112.5,157.5], select template 5a among Fig. 7 with 135 degree) or the point that 5b) hits as process points.
The number of the process points of supposing to select is k, and the edge amplitude does
LocalEdgeAm=[ea1, ea2, ea3 ..., eak], pixel value does
LocalPixel=[p1,p2,p3,…,pk]。
Need to prove that for the purpose of directly perceived, what only provided the 5*5 size among Fig. 7 gets point template 2a)-5a) or 2b)-5b), the template size in fact here should be the M*N size.Wherein, 2a)-5a) be the point template of getting that is directed against under the situation that border width is a single-point, 2b)-5b) be than the point template of getting under the situation of broad to border width.If select template 2a)-5a), occur mistake easily and strengthen noise spot, if select template 2b)-5b), erase some tiny edges easily, so will select the suitable point template of getting according to the edge width situation of concrete internal organs.
Method 2: selection and current point (i, the difference of edge direction j) is a process points less than the point of predetermined threshold value, the process flow diagram of method 2 is as shown in Figure 8.(i, in the N*M in neighborhood j) the point, (i, j) (i, difference j) is a process points less than the point of preset threshold EdgeAnThresh to edge direction EdgeAn to select edge direction EdgeAn and current point in current point.Suppose the process points of choosing have k, their edge amplitude value be LocalEdgeAm=[ea1, ea2, ea3 ..., eak], pixel value be LocalPixel=[p1, p2, p3 ..., pk].
Above-mentioned based in the weighted direction median filtering algorithm, relate in the step (5) (6), after having selected process points and having taken their edge amplitude value and pixel value; Carry out the weighted median Filtering Processing, at first, with edge amplitude to the pixel value weighting; That is: LEAP=[ea1*p1, ea2*p2, ea3*p3;, eak*pk]; Secondly, the ordering of the value LEAP after the weighting, (i, the pixel value of j) locating if intermediate value is ea2*p2, then replace point (i, pixel value j) with p2 to get the pairing pixel value px replacement of intermediate value median (LEPA) current point.
Ultrasonoscopy disposal route based on the weighted direction medium filtering of the present invention; Can be good at distinguishing the noise and the marginal information of ultrasonoscopy; Make and the edge details information of in denoising, having protected ultrasonoscopy effectively help the diagnosis and the analysis in later stage more.And the basic algorithm that the present invention adopts is medium filtering, and algorithm is simple, and time complexity is low, handles consuming time fewly, meets the requirement of the real-time processes and displays image of ultrasonic image-forming system more.

Claims (6)

1. based on the ultrasonoscopy disposal route of weighted direction medium filtering, it is characterized in that: may further comprise the steps:
(1) edge amplitude and the edge direction of each pixel in the said ultrasonoscopy of calculating;
(2) get a pixel in the said image as current point;
(3) judge according to the edge amplitude or the edge direction of said current point whether this current point is marginal point,, then this current point is carried out adaptive weighted medium filtering and handle if not marginal point; If marginal point then carries out the processing of following step (4) (5) (6) to this current point;
(4) get the M*N neighborhood of this current point, select point relevant in this M*N neighborhood as process points with the edge direction of this current point;
(5) get the pixel value and the edge amplitude value of said process points, the pixel value of said process points with the weighting of respective edges range value, is sorted to the value after the weighting, find out intermediate value;
(6) with the pixel value of this current point of said intermediate value corresponding pixel value replacement;
(7) get next pixel and carry out the processing of step (3), all pixels in handling said image, the image after output is handled at last as current point.
2. the ultrasonoscopy disposal route based on the weighted direction medium filtering according to claim 1 is characterized in that: in step (1), the edge amplitude of said pixel and the computing method of edge direction comprise:
(1a) calculate the horizontal direction of this pixel and the gradient of vertical direction, the position of setting this pixel for (i, j); The pixel value of this pixel be I (i, j), the gradient G x (i of the horizontal direction of this pixel then; J), the gradient G y of vertical direction (i, account form j) is following:
Gx(i,j)=I(i,j+1)-I(i,j-1) Gy(i,j)=I(i+1,j)-I(i-1,j);
(1b) calculate the gradient amplitude GradientAm and the gradient direction GradientAn of this pixel, account form is following:
Figure FDA0000158188020000011
GradientAn=atan(Gy/Gx)
Whether the gradient amplitude GradientAm that (1c) judges this pixel is greater than pre-set threshold; If this gradient amplitude GradientAm is more than or equal to said threshold value; Then get this gradient amplitude GradientAm, this gradient direction GradientAn edge amplitude and edge direction, represent that this pixel is a marginal point for this pixel; If this gradient amplitude GradientAm is less than said threshold value, edge amplitude and the edge direction of then setting this pixel are negative value, represent that this pixel is not a marginal point.
3. the ultrasonoscopy disposal route based on the weighted direction medium filtering according to claim 1 is characterized in that: in step (1), the edge amplitude of said pixel and the computing method of edge direction comprise:
(1a) choose the edge detection operator of different directions;
(1b), take absolute value after the summation as output valve with multiply each other back summation of the respective pixel value in the numerical value in the edge detection operator of each direction and this pixel neighborhood of a point;
(1c) in the output valve of different directions; Maximal value is deducted minimum value get difference; If this difference is more than or equal to pre-set threshold; The maximal value of then getting in the output valve of said different directions is the edge amplitude value of this pixel, gets the edge direction of the direction of the corresponding edge detection operator of this maximal value for this pixel, representes that this pixel is a marginal point; If this difference, is then set the edge amplitude and the edge direction of this pixel less than said threshold value and is negative value, represent that this pixel is not a marginal point.
4. the ultrasonoscopy disposal route based on the weighted direction medium filtering according to claim 1 is characterized in that: in step (4), from said M*N neighborhood, select the point relevant with the edge direction of said current point to comprise as the method for process points:
(4a) choose the point template of getting of different directions;
(4b), get the get point template corresponding with the immediate direction of the edge direction of said current point from the getting the point template of said different directions;
(4c) in said M*N neighborhood, get by corresponding the getting of the said immediate direction point that point template hits as process points.
5. the ultrasonoscopy disposal route based on the weighted direction medium filtering according to claim 1; It is characterized in that: in step (4); From said M*N neighborhood, the difference of edge direction of selecting edge direction and said current point less than the point of pre-set threshold as process points.
6. the ultrasonoscopy disposal route based on the weighted direction medium filtering according to claim 1; It is characterized in that: in step (5), the pixel value of said process points carries out weighted with the respective edges range value and refers to such an extent that be the processing of multiplying each other of this pixel value and respective edges range value.
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 true CN102663708A (en) 2012-09-12
CN102663708B 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)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761683A (en) * 2011-04-28 2012-10-31 华晶科技股份有限公司 Multi-picture image noise reduction method
CN103778611A (en) * 2014-01-26 2014-05-07 天津大学 Switch weighting vector median filter method utilizing edge detection
CN104299191A (en) * 2014-09-28 2015-01-21 南通大学 Ultrasonic image denoising method and median filtering method
CN104463799A (en) * 2014-12-04 2015-03-25 无锡日联科技有限公司 Image boundary enhancing method
CN104517266A (en) * 2014-12-22 2015-04-15 南京信息工程大学 Hybrid-adaptive image denoising 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
CN106875354A (en) * 2017-01-20 2017-06-20 北京东软医疗设备有限公司 Image de-noising method, device and equipment
CN109285123A (en) * 2017-07-20 2019-01-29 展讯通信(上海)有限公司 Image smoothing method and device, computer readable storage medium, terminal
CN110431443A (en) * 2017-03-13 2019-11-08 皇家飞利浦有限公司 Method and system for being filtered to ultrasound image clutter
WO2020103033A1 (en) * 2018-11-21 2020-05-28 Qualcomm Incorporated Low frequency chroma noise reduction
WO2020132920A1 (en) * 2018-12-26 2020-07-02 Zhejiang Dahua Technology Co., Ltd. Systems and methods for object recognition
CN112308806A (en) * 2020-11-11 2021-02-02 海宁奕斯伟集成电路设计有限公司 Image processing method, image processing device, electronic equipment and readable storage medium
CN112967331A (en) * 2021-03-25 2021-06-15 北京的卢深视科技有限公司 Image processing method, electronic equipment and storage medium
CN113143322A (en) * 2020-12-30 2021-07-23 深圳市联影高端医疗装备创新研究院 Ultrasonic imaging method, device, equipment and 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 (3)

* Cited by examiner, † Cited by third party
Title
卢桂馥: "一种新的图像椒盐噪声的非线性滤波算法", 《计算机技术与发展》, vol. 18, no. 1, 31 January 2008 (2008-01-31), pages 90 - 92 *
尹清雅: "边缘提取的梯度幅值阈值的动态获取方法", 《软件导刊》, vol. 8, no. 1, 31 January 2009 (2009-01-31), pages 16 - 17 *
张旭明: "用于图像处理的自适应中值滤波", 《计算机辅助设计与图形学学报》, vol. 17, no. 2, 28 February 2005 (2005-02-28), pages 295 - 299 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761683B (en) * 2011-04-28 2014-12-10 华晶科技股份有限公司 Multi-picture image noise reduction method
US8953903B2 (en) 2011-04-28 2015-02-10 Altek Corporation Method of multi-frame image noise reduction
CN102761683A (en) * 2011-04-28 2012-10-31 华晶科技股份有限公司 Multi-picture image noise reduction method
CN103778611A (en) * 2014-01-26 2014-05-07 天津大学 Switch weighting vector median filter method utilizing edge detection
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
CN104463799A (en) * 2014-12-04 2015-03-25 无锡日联科技有限公司 Image boundary enhancing method
CN104517266A (en) * 2014-12-22 2015-04-15 南京信息工程大学 Hybrid-adaptive image denoising method based on edge detection operator
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
CN106875354A (en) * 2017-01-20 2017-06-20 北京东软医疗设备有限公司 Image de-noising method, device and equipment
CN110431443B (en) * 2017-03-13 2023-08-15 皇家飞利浦有限公司 Method and system for filtering ultrasound image clutter
CN110431443A (en) * 2017-03-13 2019-11-08 皇家飞利浦有限公司 Method and system for being filtered to ultrasound image clutter
CN109285123A (en) * 2017-07-20 2019-01-29 展讯通信(上海)有限公司 Image smoothing method and device, computer readable storage medium, terminal
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
WO2020132920A1 (en) * 2018-12-26 2020-07-02 Zhejiang Dahua Technology Co., Ltd. Systems and methods for object recognition
CN113228035A (en) * 2018-12-26 2021-08-06 浙江大华技术股份有限公司 System and method for object recognition
US11657592B2 (en) 2018-12-26 2023-05-23 Zhejiang Dahua Technology Co., Ltd. Systems and methods for object recognition
CN112308806A (en) * 2020-11-11 2021-02-02 海宁奕斯伟集成电路设计有限公司 Image processing method, image processing device, electronic equipment and readable storage medium
CN113143322A (en) * 2020-12-30 2021-07-23 深圳市联影高端医疗装备创新研究院 Ultrasonic imaging method, device, equipment and medium
CN112967331A (en) * 2021-03-25 2021-06-15 北京的卢深视科技有限公司 Image processing method, electronic equipment and storage medium
CN112967331B (en) * 2021-03-25 2021-12-17 北京的卢深视科技有限公司 Image processing method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102663708B (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN102663708A (en) Ultrasonic image processing method based on directional weighted median filter
CN102306377B (en) Method and device for reducing noise in ultrasound image
CN103369209B (en) Vedio noise reduction device and method
CN105913396A (en) Noise estimation-based image edge preservation mixed de-noising method
CN101489034B (en) Method for video image noise estimation and elimination
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
CN104978715A (en) Non-local mean image denoising method based on filtering window and parameter self-adaption
CN102256048B (en) Density-adaptive image salt-pepper noise switching filtering method
CN108827181B (en) Vision-based plate surface detection method
CN105913393A (en) Self-adaptive wavelet threshold image de-noising algorithm and device
CN104103041B (en) Ultrasonoscopy mixed noise Adaptive Suppression method
CN101901476A (en) SAR image de-noising method based on NSCT domain edge detection and Bishrink model
CN101661611A (en) Realization method based on bayesian non-local mean filter
CN104021553B (en) A kind of sonar image object detection method based on pixel layering
CN101685158B (en) Hidden Markov tree model based method for de-noising SAR image
CN101877124A (en) Method and system for filtering medical image
CN103337053A (en) Switching non-local total variation based filtering method for image polluted by salt and pepper noise
CN110070539A (en) Image quality evaluating method based on comentropy
CN102670251B (en) Numerical sorting weighted average-based ultrasonic image spatial filter method
CN104331863A (en) Image filtering and denoising method
Roomi et al. Speckle noise removal in ultrasound images using particle swarm optimization technique
CN102663706A (en) Adaptive weighted mean value filtering method based on diamond template
CN102789634B (en) A kind of method obtaining illumination homogenization image
CN101504769B (en) Self-adaptive noise intensity estimation method based on encoder frame work

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

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.

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

CP03 Change of name, title or address