display mean and max of images....

2 views (last 30 days)
Elysi Cochin
Elysi Cochin on 18 Mar 2014
Commented: Image Analyst on 19 Mar 2014
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?

Accepted Answer

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

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 19 Mar 2014
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()?

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!