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