フィルターのクリア

For a color image, how can we reduce noise using a median filter?

2 ビュー (過去 30 日間)
kiruthika r
kiruthika r 2015 年 8 月 25 日
回答済み: Image Analyst 2015 年 8 月 25 日
For a color image, how can we reduce noise using a median filter?

回答 (1 件)

Image Analyst
Image Analyst 2015 年 8 月 25 日
One way is to just run medfilt2() on each color channel, red, green, and blue. Another way is to convert to HSV color space and run it on the V channel, and possibly on the S and H channels if you want. If you have salt and pepper noise, you can use a modified median filter where you replace only the noise pixels with median values and leave the rest of the image intact. I've attached a demo for that.

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by