Effacer les filtres
Effacer les filtres

Which image contributes to the maximum intensity projection?

2 vues (au cours des 30 derniers jours)
AAS
AAS le 27 Juil 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

Réponses (1)

Kevin Holly
Kevin Holly le 27 Juil 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

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by