How to calculate the L-infinity norm , or what is L-infinity norm

hello , i want to find the distance between two pixels of same color (here color is quantized color).How do L-infinty help it?

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Oct. de 2013
L-infinity norm is max() -- or more correctly, max(abs())
You need to tell us how you want to measure "distance". taxi-cab ? Euclidean?
L-infinity for color pixels would be more relevant to the case where the pixels might be different colors, in which case for some purposes it is useful to calculate the maximum of the differences between the R, G, and B.

3 comentarios

actually i am implementing an experiment on a paper i.e 'image indexing using color correlogram'.In this paper ,the properties of L-infinty norm used, to calculate the total number of pixels at distance K from any pixel of color c if you interested to read it, i'll send you
What do I do if all elements of the vector are the same when I am taking Infinity Norm? Is it vector length times an element or is it just this same element?
According to the table in the description of the p input argument on the norm function documentation page, for a vector X the Inf norm is max(abs(X)). For a constant vector X, abs(X) will be the same for each element. What's the max of a vector where all the elements are the same?
X = repmat(-2, 1, 10);
N = norm(X, Inf)
N =
2

Iniciar sesión para comentar.

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Oct. de 2013

Comentada:

el 20 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by