question about dicomwrite function
Mostrar comentarios más antiguos
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
Respuestas (1)
Walter Roberson
el 31 de Dic. de 2012
1 voto
2 comentarios
Hassan Saadatmand
el 27 de Nov. de 2020
Hi. it is the simple and correct answer. Thank you.
Categorías
Más información sobre Read and Write Image Data from Files en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!