magnitude in images

조회 수: 5 (최근 30일)
munch kitty
munch kitty 2012년 2월 27일
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
munch kitty
munch kitty 2012년 2월 28일
color images sir.no formulas sir.simply we calculate abs for given image sir.how to get a single mag for a whole image?
Walter Roberson
Walter Roberson 2012년 2월 28일
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.

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

답변 (2개)

Walter Roberson
Walter Roberson 2012년 2월 27일
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
Rajesh Kumar 2012년 2월 27일
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
munch kitty
munch kitty 2012년 2월 28일
i know this. i jst ask whether its correct or not for magnitude calculation us my question?

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

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by