フィルターのクリア

Convert tiff to dicom using a metadata file

11 ビュー (過去 30 日間)
Amine Adjoud
Amine Adjoud 2022 年 11 月 17 日
回答済み: Gowthami 2022 年 11 月 21 日
Hi,
I'm trying to convert a tif image to DICOM, but I encouter several problems (see the screenshot). Has anyone managed to do this?

回答 (1 件)

Gowthami
Gowthami 2022 年 11 月 21 日
Hi Amine,
It is my understanding that you are getting an error while converting a "TIF" image to "DICOM".
Please refer to the below pointers to resolve the issue:
  • Matlab stores "DICOM" data in a 4D array - the first two dimensions are rows and columns, the third dimension is color, and the fourth dimension represents slices.
  • If your 3D data is of the form [rows columns slices], you can convert it to the 4D matrix expected as input by the following,
>> reshape(X,[numberofrows numberofcolumns 1 numberofslices]);

カテゴリ

Help Center および File ExchangeDICOM Format についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by