imregdemon for 3-D images

24 ビュー (過去 30 日間)
Jose
Jose 2022 年 10 月 9 日
回答済み: Prateek 2022 年 10 月 13 日
Hi All,
Has anyone successfully used imregdemon for 3-D images? The Help section in Matlab shows an example for 2-D images only. They show an example of registering 3-D images but using images from the RIRE website. It's not clear how to do it if you have the 3-D images saved in the local drive.
Thanks,
Jose

回答 (1 件)

Prateek
Prateek 2022 年 10 月 13 日
Hi Jose,
Locally stored files can be used in much the same way as the MATLAB example which uses the RIRE database. The only change needed is to make a copy of the “helperReadHeaderRIRE” function and call it with the argument as the ASCII header file of the locally stored data. The resulting header information can then be used with the “multibandread” and “helperVolumeRegistration” exactly as defined in the MATLAB example “Register Multimodal 3-D Medical Images.”
For example, you can download the “training_001.tgz” file from the RIRE website, and then untar the files in the “ct.tgz” archive. You can copy the “helperReadHeaderRIRE” function as “readheader” (see attachement) and run it:
fixedHeader = readheader('header.ascii');
And thereafter, can execute the “multibandread” function as given in the MATLAB example, with the only change being the first input argument – replacing the 'rirePatient007MRT1.bin' with ‘image.bin’, as per the filename in the ‘ct.tgz’ archive.
I hope this answers your question.
Regards,
Prateek

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by