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!