magnitude in images
Mostrar comentarios más antiguos
i just calculate the magnitude from the abs value of images.but it returns the large matrix having abs values value.but i want the one magnitude value for the whole images?. i used max function.is it correct?
3 comentarios
Image Analyst
el 27 de Feb. de 2012
Are they color or grayscale images? Do you have some formula that defines magnitude for you?
munch kitty
el 28 de Feb. de 2012
Walter Roberson
el 28 de Feb. de 2012
Based upon the information you have provided, the required outcome is undefined, so you might as well use _any_ magnitude between the minimum and maximum value.
Respuestas (2)
Walter Roberson
el 27 de Feb. de 2012
0 votos
There are multiple ways of defining the "magnitude from the abs value of images", and using max() is one of the ways. It does not appear to be a common way, but whether it is right or wrong depends upon your needs.
Rajesh Kumar
el 27 de Feb. de 2012
lets say A is an 2dim matrix.. max(A) gives a row matrix with elements as maximums in each column.
>> A= [1 3 5;2 6 7;9 7 2]
then, max(A)=[9 7 7]
and then max(max(A))=9
1 comentario
munch kitty
el 28 de Feb. de 2012
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!