question about dicomwrite function
Ältere Kommentare anzeigen
Hi all, I use dicomwrite function to write a three dimensional matrix to a dicom file with MR image storage,but I get a error "Cannot determine photometric interpretation."
example:
x=100*rand(63,53,46);
dicomwrite(x,'x.dcm','ObjectType','MR Image Storage');
??? Error using ==> dicom_prep_ImagePixel>getPhotometricInterp at 90
Cannot determine photometric interpretation.
Thank you
Antworten (1)
Walter Roberson
am 31 Dez. 2012
1 Stimme
2 Kommentare
Hassan Saadatmand
am 27 Nov. 2020
Hi. it is the simple and correct answer. Thank you.
Kategorien
Mehr zu Read and Write Image Data from Files finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!