imregdemon for 3-D images
24 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Prateek
on 13 Oct 2022
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
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!