MATLAB: Gray Image enhancement problem

image analysisimage processingImage Processing Toolbox

Hi all I am doing an image enhancement for gray level image using the harmony search algorithm (edge preserving) I got the result but now it has many noises like this image: http://imageshack.us/photo/my-images/5/ladyk.jpg/
So please can anyone help me or give me any advice to remove this noise

Best Answer

It looks like most of the "noise" areas are bright specks and patches. If that is the case, I'd get a binary image (mask) of those (say, by thresholding), then "inpaint" them using roifill(). This will smear the gray level just outside the white blobs, into the white blobs. So essentially the white blobs get painted over with the surrounding gray level, which it seems can be anywhere from really dark or black, to gray in your sample image.