Low-pass filter

3 Ansichten (letzte 30 Tage)
Denis Rahim
Denis Rahim am 24 Nov. 2019
Beantwortet: KALYAN ACHARJYA am 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');

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by