display mean and max of images....

4 visualizzazioni (ultimi 30 giorni)
Elysi Cochin
Elysi Cochin il 18 Mar 2014
Commentato: Image Analyst il 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?

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 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()?

Categorie

Scopri di più su Image Data Workflows in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by