Mode & median filters for color image
10 ビュー (過去 30 日間)
古いコメントを表示
Can you please send the syntax for mode and median filters for image restoration of color images.It would be very helpful
0 件のコメント
採用された回答
Sean de Wolski
2011 年 5 月 6 日
%Median:
Irgb = your_rgb_image;
for ii = 1:3
Irgb(:,:,ii) = medfilt2(Irgb(:,:,ii),ones(3)); %3x3 median
end
0 件のコメント
その他の回答 (1 件)
Darshan A
2011 年 5 月 6 日
4 件のコメント
Sean de Wolski
2011 年 5 月 7 日
No it's mine.
medfilt2(Irgb,[3 3]);
I was confusing it with conv2. (what you would use for mean or std)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!