From: ImageAnalyst on 21 Apr 2010 06:40 Then write it yourself using for loops and adding and dividing (for the mean), or sorting and selecting (for the median). It's a simple set of four nested for loops - intuitively obvious.
From: Salim Azak on 21 Apr 2010 06:52 try a mean filter. If you don't want to use ready-function, you can create it easily. scan the image with a 3x3 or 5x5 mask. sum and average of 9 pixels in each mask. I do not know that noise is what kind of.
From: PinkLab on 21 Apr 2010 07:42 "Salim Azak" <salimazak(a)metu.edu.tr> wrote in message <hqmlcm$7ji$1(a)fred.mathworks.com>... > try a mean filter. If you don't want to use ready-function, you can create it easily. > scan the image with a 3x3 or 5x5 mask. sum and average of 9 pixels in each mask. > I do not know that noise is what kind of. it is salt & pepper noise on image, could you please help me on how to do the filter for mean and median please? thanks
From: Salim Azak on 21 Apr 2010 08:06 İf you will use it only for salt & pepper noise you can do so that; salt & pepper noise means that small white or black points involving only one pixel. Firstly you will find black or white pixels in an image. (0 or 255) After you find a B/W value you will look around it. Assume it's in the middle of a 3x3 mask. Average of sum of all (eight) pixels out of middle. And change it's value to average.
From: PinkLab on 21 Apr 2010 09:00 Is this mean or median filter? Thanks a lot
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Trying to speed up a script - any tips ? Next: Memory problems with large sparse matrices |