Parameterization

조회 수: 6 (최근 30일)
Melissa
Melissa 2011년 7월 15일
Good Morning All, I was wondering if there was a way to parameterize the boundary of a shape given x and y cartesian coordinates?
I was thinking of using the matlab interpft function to get x(t) and y(t) not just xt and yt so I can use it when finding the fourier transforms coefficients. Any suggestion are very much appreciated.
Thanks Mel
  댓글 수: 1
Andrew Newell
Andrew Newell 2011년 7월 17일
This is a duplicate of an earlier question (http://www.mathworks.com/matlabcentral/answers/11552-fourier-transform-of-2d).

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

답변 (3개)

the cyclist
the cyclist 2011년 7월 15일
You might be interested in the convhull() function.

Sean de Wolski
Sean de Wolski 2011년 7월 15일
Maybe: FEX:vert2lcon_lcon2vert and the original vert2con and con2vert referenced in that link.
The shape must be convex.
  댓글 수: 1
Melissa
Melissa 2011년 7월 15일
thank you, the shape is distorted representation of a circle so convex is applied. and this will give me an x(t) and y(t) to apply to my fourier transform?

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


Image Analyst
Image Analyst 2011년 7월 17일
You can use bwboundaries. It gives you a parameterized boundary -- (x,y) location is parameterized as a function of array index.

카테고리

Help CenterFile Exchange에서 Bounding Regions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by