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

Pekko Tuominen
Pekko Tuominen 2017년 7월 3일
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?

댓글을 달려면 로그인하십시오.

 채택된 답변

Image Analyst
Image Analyst 2012년 1월 15일

0 개 추천

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.

추가 답변 (0개)

질문:

2012년 1월 15일

댓글:

2017년 7월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by