question about dicomwrite function
显示 更早的评论
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
回答(1 个)
Walter Roberson
2012-12-31
1 个投票
2 个评论
Hassan Saadatmand
2020-11-27
Hi. it is the simple and correct answer. Thank you.
类别
在 帮助中心 和 File Exchange 中查找有关 Read and Write Image Data from Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!