Low-pass filter

4 次查看(过去 30 天)
Denis Rahim
Denis Rahim 2019-11-24
how to add a Low-pass filter the watermarked picture, i.e., replace each pixel by the average of its
NxN pixel neighborhood (for border pixels, you could e.g. extend the picture to the outside
by gray pixels with pixel value 128).
I use my watermarked picture as
wmarked = imread('markedimage.png');

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-11-24
hsize=?? % define
h=fspecial('average',hsize);
filter_wmarked=imfilter(wmarked,h);

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by