フィルターのクリア

How can I convert a tiff image into DCOM?

23 ビュー (過去 30 日間)
César Paltán
César Paltán 2020 年 6 月 24 日
コメント済み: Walter Roberson 2020 年 6 月 24 日
I need to perform a 3D reconstruction, but I have a database with a .tif extension, I must change it to DCOM, how can I do it?

採用された回答

Kanika Gupta
Kanika Gupta 2020 年 6 月 24 日
編集済み: Kanika Gupta 2020 年 6 月 24 日
You can do that using dicomwrite :
dicomwrite( imread('image.tif'), 'output.dcm')
  1 件のコメント
Walter Roberson
Walter Roberson 2020 年 6 月 24 日
Well, sort of.
If you are running a program that demands DICOM input, then chances are high that it looks for specific modalities and specific metadata. For example for 3D reconstruction, it is almost certain to be looking for information about the distance between slices.
In order to insert this information into the .dcm you are writing, by far the easiest way is to use dicominfo() to read the information from a .dcm that has the same kind of set-up that you are creating, and then pass that information structure to dicomwrite() to write out.
Also, some DICOM reconstruction programs will work with sequences of DICOM images, but some of them expect a single .dcm that has multiple slices represented in it. It might be necessary to read a series of .tif images and write them all out to the .dcm at the same time, or it might be necessary to read multiple images from the same .tif and combine them and write that out to the .dcm .

サインインしてコメントする。

その他の回答 (1 件)

César Paltán
César Paltán 2020 年 6 月 24 日
ok, thanks

カテゴリ

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