Contour interpolaton

14 vues (au cours des 30 derniers jours)
Andrius
Andrius le 14 Juil 2011
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!!!

Réponses (1)

the cyclist
the cyclist le 14 Juil 2011
Have you tried the interp1() function?
  1 commentaire
Andrius
Andrius le 14 Juil 2011
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by