Effacer les filtres
Effacer les filtres

how to take union of images?

4 vues (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 13 Mar 2014
Modifié(e) : Youssef Khmou le 14 Mar 2014
i rotate an image a of size 150*150 from 0 to 90 degrees. I wanted to take the union of all images rotated and then calculate mean and max of the union images... how to do that.... please do reply...
for j = 0:90
rROI = imresize(ROI, [150 150]);
a = imrotate(rROI,j);
end
is it possible to display mean and max of that image also....
  4 commentaires
Elysi Cochin
Elysi Cochin le 13 Mar 2014
Modifié(e) : Elysi Cochin le 14 Mar 2014
Walter Roberson
Walter Roberson le 14 Mar 2014
Still how do you define "union" for this purpose?

Connectez-vous pour commenter.

Réponse acceptée

Youssef  Khmou
Youssef Khmou le 14 Mar 2014
Modifié(e) : Youssef Khmou le 14 Mar 2014
union is not clear yet, but try this way :
a Sample :
X=imread('circuit.tif');
ROI=X(1:100,1:100);
F1=rot90(ROI,1);
F2=rot90(ROI,2);
F3=rot90(ROI,3);
You have the rotated parts, for easy calculus ROI is considered square, you can now compte the mean (F1+F2+F3)/3 or the variance or the std.....

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by