Low-pass filter

4 views (last 30 days)
Denis Rahim
Denis Rahim on 24 Nov 2019
Answered: KALYAN ACHARJYA on 24 Nov 2019
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');

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!