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

Image Analyst
Image Analyst 2014년 3월 13일
What is your definition of "union"? Do you mean the average? A bitwise OR operation?
Image Analyst
Image Analyst 2014년 3월 13일
편집: Image Analyst 2014년 3월 13일
The link says "elysicoc's images are not publicly available.".
Elysi Cochin
Elysi Cochin 2014년 3월 13일
편집: Elysi Cochin 2014년 3월 14일
Walter Roberson
Walter Roberson 2014년 3월 14일
Still how do you define "union" for this purpose?

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

 채택된 답변

Youssef  Khmou
Youssef Khmou 2014년 3월 14일
편집: Youssef Khmou 2014년 3월 14일

1 개 추천

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.....

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

질문:

2014년 3월 13일

편집:

2014년 3월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by