필터 지우기
필터 지우기

tree with white decoration

조회 수: 2 (최근 30일)
oscillator
oscillator 2022년 2월 20일
댓글: Image Analyst 2022년 2월 20일
So, we were given this picture of a tree that had a white line around it . We are asked to isolate the pixels of it in (x,y) cooridinates , then find the Fourier series coefficients based on those coordinates . I explain in the picture, y[n]=y coordinates of the white decoration and x[n]=x coordinates of the white decoratives. So I have found x,y, but I don't know how to find the Fourier Series coefficients and we are also asked to use the first 50 of them to reform the shape only of the white decoratives. I also have to say that when I plotted x,y my shape was not properly oriented (picture2)
Can anyone please give me an example code for those 2 questions , ? We have to use fft() function.
also since my shape is not properly oriented does that mean my y,x are wrong?
Also my deadline is very close ..........
  댓글 수: 8
oscillator
oscillator 2022년 2월 20일
In the next question we are asked to rebuild the original shape using the first M+1 coefficients of the discrete Fourier series and we are ought to use specifically the function imshow().
As for the originall image I'm not sure if I should post it ,since it is our professor's image ( I mean without his permission...)
Image Analyst
Image Analyst 2022년 2월 20일
I see. You could always grab one off the internet, but I don't think your professor would like you using our code. Aren't you supposed to write your own code?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Explore and Edit Images with Image Viewer App에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by