How to calculate the distance between two un-equal vectors in matlab.???

조회 수: 1 (최근 30일)
Mohammad Bhat
Mohammad Bhat 2018년 4월 7일
댓글: Mohammad Bhat 2018년 4월 7일
Consider I have two vectors of different lengths i.e., length(a) is not equal to length (b). How to caluclate the distance between the two vectors???
  댓글 수: 4
Steven Lord
Steven Lord 2018년 4월 7일
That still doesn't tell us what your definition of "distance" is for this application.
  • The difference in the number of points in the vectors
  • The distance between the centroids of your regions
  • The difference in area between your regions
  • The number of people who say "The two regions look different" when you ask them to compare the two images
  • Something completely different
Once you tell us what you want to compute we may be able to help you determine how to compute that quantity.
Mohammad Bhat
Mohammad Bhat 2018년 4월 7일
Any distance between two contour points e.g., Euclidean distance..from which we could quantify how much one contour points differ from one another.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by