multidimensional scaling, Euclidean distance

1 次查看(过去 30 天)
hi, if i have an image how can i calculate the euclidean distance matrix for the image, it's the second step for multidimensional scaling algorithm.

采纳的回答

Matt J
Matt J 2018-3-4
Use bwdist().
  1 个评论
mohammed abdul wadood
thank you man, but In fact I have some doubt in multidimensional scaling algorithm, is it like these: step 1: inter the image. step 2: calculate the Euclidian distance matrix (D). step 3: calculate the matrix (B); B=-1/2(JDJ) where (J=I-1/n-11'). step 4: calculate the eigvalues & eigvectors for B. step 5: construction the (E) & (A) matrices. step 6: calculate Y; Y=E*A^1/2.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by