开发者

How to do median filter on an indexed image using MATLAB?

开发者 https://www.devze.com 2022-12-27 03:20 出处:网络
medfilt2(img) doesn\'t take a map as parameter, so I don\'t think it can work well with indexed image,

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 b开发者_如何学Goe used to process indexed images?


From the medfilt2 documentation:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消