Filter löschen
Filter löschen

high pass filter implement on a image

9 Ansichten (letzte 30 Tage)
muhammad
muhammad am 15 Jan. 2012
Kommentiert: Pekko Tuominen am 3 Jul. 2017
hello. i want to apply a high pass filter on a image. i m not understanding how apply a ideal high pass filter on image.please any one guide me.
  1 Kommentar
Pekko Tuominen
Pekko Tuominen am 3 Jul. 2017
Do you mean ideal in the same sense as a rectangular frequency filter is ideal for 1D signals? Or ideal with respect to the end result in some visual sense?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 15 Jan. 2012
There may be no ideal filter. Here's one possibility:
kernel = [-1 -1 -1;-1 8 -1;-1 -1 -1];
filteredImage = imfilter(grayImage, kernel, 'same');
You could also do filtering in the Fourier domain if you want.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by