What is norm 2 function ?

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

 采纳的回答

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 个评论

Thank you sir...
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.
thnks for the detail.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by