Contour interpolaton

조회 수: 11 (최근 30일)
Andrius
Andrius 2011년 7월 14일
Hello,
I'm analyzing medical data and I want to compare the contour (segment) of the object, with other contour, but there is mismatch between number of contour poins. How could I interopolate a contour, or in other way to make both contours to be equal in number of points. (contour data is 2 vectors NX2 (x,y vectors)).
P.S. I want to calculate Hausdorff distance
Thank you in advance!!!

답변 (1개)

the cyclist
the cyclist 2011년 7월 14일
Have you tried the interp1() function?
  댓글 수: 1
Andrius
Andrius 2011년 7월 14일
The inperp functions works corectly if the x data are allways increasing. I lied a little bit it is nor a vector I have a scalar data.

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

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by