2D FFT implementation in Simulink

Hey guys,
I'm fairly new into the Simulink world, and I've run into a problem that googling has just not helped. I can't figure out how to use the 2D fft block. My goal is to take this model and create a low pass filter for the input images.
I have an image that I input, convert from RGB to Intensity. 2D fft requires images to be the power of two, so I'm using embedded matlab function to separate the image into two different images. Then I feed it into a 2D fft block, but then I'm just lost. How exactly do I remove the low frequency noise? I couldn't even figure out how to visualize the data in some form that I may just be able to create a embedded matlab function to do what I want it to do.
Thanks in advance

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 9월 9일

0 개 추천

Why use Simulink? I would think it's easier doing it in MATLAB. The function is fft2(), fft(),filter(),filter2().

댓글 수: 2

Sharan
Sharan 2011년 9월 9일
Well...two reasons...I'm trying to learn more about the image processing toolbox, and two, this is part of a much bigger project. We're trying to create a star tracking algorithm in Simlink and I've used other filters for noise reduction in the image, but I wanted to try using fft.
Fangjun Jiang
Fangjun Jiang 2011년 9월 9일
Simulink is best for solving differential equations. Every input is supposed to have a time stamp on it. For that reason, I am not sure how to input an image to a Simulink model. If you put in a 2-D matrix, it is interpreted differently.

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

카테고리

도움말 센터File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

질문:

2011년 9월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by