dicomwrite function help needed
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ramakrishna bathini
le 24 Jan 2011
Réponse apportée : ali jalali
le 6 Juin 2019
I have over 100 ct images. With your help I was able to make a 3d box variable. In my work space it shows a variable imstack of 512*512*143.
m=143;
imstack=zeros(512,512,m);
for z=1:m;
n=dicomread([num2str(z),'.ima']);
imstack(:,:,z)=n;
end
dicomwrite(imstack,'X.ima');
How do I write that imstack into a file, say some 'X.ima'? I am having problem with the dicomwrite function.
??? Error using ==> dicom_prep_ImagePixel>getPhotometricInterp at 98
Cannot determine photometric interpretation.
This error pops up when I try to execute the code.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Read and Write Image Data from Files dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
