tree with white decoration
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
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 Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!