필터 지우기
필터 지우기

Obtaining image filter from original and filtered image with FFT

조회 수: 3 (최근 30일)
Cristina
Cristina 2017년 3월 19일
댓글: Star Strider 2017년 3월 19일
Hi,
I have a grayscale original image, and an image obtained by filtering the original with a certain filter. I need to obtain the image of the filter that has been used.
I tried calculating the fft of the two images I have, then inverse fft for the filter:
filter = ifft2 ( fft2(filteredImg)./fft2(OriginalImg));
This does not work, as it gives me something looking like noise:
What is the problem?
  댓글 수: 1
Star Strider
Star Strider 2017년 3월 19일
First, don’t use filter as a variable name. It is the name of a MATLAB function that you may need, and then won’t be able to use.
Second, if you use imfilter on your original image with your identified filter, does it return your original filtered image? If it does, your identified filter is correct.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Frequency Transformations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by