From: Salim Azak on 21 Apr 2010 09:16 no, this is not a median or mean filter. İndividual method for eleminating salt & papers
From: PinkLab on 21 Apr 2010 09:23 ok this program works but it add more noise to the image with yellow and red color on the white background. do you know how to modify this code for mean or median filter please?
From: Salim Azak on 21 Apr 2010 09:29 could you send your image to me? salim(a)metu.edu.tr
From: Steven Lord on 21 Apr 2010 09:36 "PinkLab " <pinklab(a)pinklab.com> wrote in message news:hqmq2m$ni6$1(a)fred.mathworks.com... > "Salim Azak" <salimazak(a)metu.edu.tr> wrote in message > <hqmpnv$ij7$1(a)fred.mathworks.com>... >> İ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. > > Yes, you are right it is black and white dots but I am a newbie and would > like some help on how to do it please? "Give a man a fish and you feed him for a day. Teach a man how to fish and you feed him for a lifetime." Why don't you try implementing this filter yourself? I find personally that the best way to prove to myself that I know how to do something is to try to teach it to someone else, and who better than a computer that does exactly what you tell it to do (which is not necessarily what you intended it to do?) If you run into trouble, post what you've got here and I'm sure you'll get some help.. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
First
|
Prev
|
Pages: 1 2 3 Prev: Trying to speed up a script - any tips ? Next: Memory problems with large sparse matrices |