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!