MATLAB: Need code for Median Filtering on Color images

colordigital image processingdoit4mefilterimage processing

Need Code for Median Filtering on Color images
Cheers
Jagadeesh

Best Answer

Either do the median filter on the individual R,G and B planes. Or trasform the RGB image to some other colour format, for example HSV/HSI and do the median filtering on the Hue, Saturaion and Intensity planes and then transfer back to RGB. Matlab has a function for 2-D median filtering:
help medfilt2
HTH