Sir..can i use norm 2 function for image matching based on the image features ??

 채택된 답변

Walter Roberson
Walter Roberson 2014년 4월 20일

0 개 추천

n = norm(X) returns the 2-norm of input X and is equivalent to norm(X,2). If X is a vector, this is equal to the Euclidean distance. If X is a matrix, this is equal to the largest singular value of X.

추가 답변 (1개)

Youssef  Khmou
Youssef Khmou 2014년 4월 20일

0 개 추천

norm(X,2) returns the largest singular value, in your case , i propose that you test with the three existing norms : Forbenius, Inf, 2 and the norm 1 which is the largest column sum.

댓글 수: 3

ANJU
ANJU 2014년 4월 21일
Thank you sir...
Walter Roberson
Walter Roberson 2014년 4월 21일
norm(X,2) would only return largest singular value if X was a matrix. If X is a vector it returns the Euclidean length of the vector.
Youssef  Khmou
Youssef Khmou 2014년 4월 21일
thnks for the detail.

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

카테고리

도움말 센터 및 File Exchange에서 Images에 대해 자세히 알아보기

태그

질문:

2014년 4월 20일

댓글:

2014년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by