medfilt2(img)
doesn't take a map
as parameter,
so I don't think it can work well with indexed image,
how do I impelemnt an median filter that can be used to process indexed images?
medfilt2(img)
doesn't take a map
as parameter,
so I don't think it can work well with indexed image,
how do I impelemnt an median filter that can be used to process indexed images?
From http://www.mathworks.com/access/helpdesk/help/toolbox/images/medfilt2.html
B = medfilt2(A, 'indexed', ...)
processes A as an indexed image, padding with 0s if the class of A is uint8, or 1s if the class of A is double.