display mean and max of images....

조회 수: 3 (최근 30일)
Elysi Cochin
Elysi Cochin 2014년 3월 18일
댓글: Image Analyst 2014년 3월 19일
I rotate an image at a particular angle and then find its mean and max value. How do I display the mean and max image as shown in the 2nd and 3rd columns of the link below?
The column 1 - is the rotated image at an angle,
column 2 - mean
column 3 - maximum
Please, can someone help me how to display the mean and max images as in the 2nd and 3rd column of the link?

채택된 답변

Nitin
Nitin 2014년 3월 18일
mean_img = mean(Img(:));
max_img = max(Img(:));
  댓글 수: 3
Nitin
Nitin 2014년 3월 19일
You might need to reassign the columns with the mean and max values you have computed
Elysi Cochin
Elysi Cochin 2014년 3월 19일
how to reassign.... please do reply sir....

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

추가 답변 (1개)

Image Analyst
Image Analyst 2014년 3월 19일
It looks like this came from a paper. Didn't they describe how to get the images in the second and third columns? Is the second image the mean of the image as if you had rotated at a certain number of angles? Like 0 - 90 or something? Can you just use cart2pol(), then get the mean or max along columns, then invert with pol2cart()?
  댓글 수: 2
Elysi Cochin
Elysi Cochin 2014년 3월 19일
can you show me sir, how to do it??

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

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by