What is norm 2 function ?

19 Ansichten (letzte 30 Tage)
ANJU
ANJU am 20 Apr. 2014
Kommentiert: Youssef Khmou am 21 Apr. 2014
Sir..can i use norm 2 function for image matching based on the image features ??

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 20 Apr. 2014
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.

Weitere Antworten (1)

Youssef  Khmou
Youssef Khmou am 20 Apr. 2014
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 Kommentare
Walter Roberson
Walter Roberson am 21 Apr. 2014
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 am 21 Apr. 2014
thnks for the detail.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by