Filter löschen
Filter löschen

Which image contributes to the maximum intensity projection?

2 Ansichten (letzte 30 Tage)
AAS
AAS am 27 Jul. 2022
Beantwortet: Kevin Holly am 27 Jul. 2022
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

Antworten (1)

Kevin Holly
Kevin Holly am 27 Jul. 2022
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

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by