Which image contributes to the maximum intensity projection?

조회 수: 3 (최근 30일)
AAS
AAS 2022년 7월 27일
답변: Kevin Holly 2022년 7월 27일
I have 3 images and am doing a maximum intensity projection for these 3 images. I want an image which shows the image number that contributed to this maximum intensity projection. How do I do that? Thanks

답변 (1개)

Kevin Holly
Kevin Holly 2022년 7월 27일
Images=rand(3,10,10);
[maxImage index] = max(Images);
size(maxImage)
ans = 1×3
1 10 10
imshow(squeeze(maxImage))
index
index =
index(:,:,1) = 2 1 2 3 3 1 2 2 2 1 index(:,:,2) = 3 1 3 1 2 2 3 1 3 2 index(:,:,3) = 2 3 3 2 2 2 1 2 3 1 index(:,:,4) = 3 3 2 1 1 2 1 2 2 2 index(:,:,5) = 1 3 3 2 3 2 1 3 2 3 index(:,:,6) = 2 3 2 2 3 2 1 2 1 3 index(:,:,7) = 2 1 3 3 3 2 2 3 3 3 index(:,:,8) = 3 3 3 2 2 2 1 3 3 1 index(:,:,9) = 1 3 3 1 2 3 3 3 2 3 index(:,:,10) = 1 1 1 3 2 3 3 1 3 3

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by