MatlabBridge generated module without data volume format conversion

Hi Guys,

We used matlabbridge to develop our own module. The method we have developed using matlab and only support .nii file. However, with the module generated by matlabbridge according to the tutorial, it seems that the module convert the data volume to “.nrrd” format first and then set the nrrd volume to the function. If so, is there any way to skip the conversion.
Thanks!

Slicer can write the image in .nii format as well, just change the file extension in the module .xml file from nrrd to nii.

Hi Lasso,

It works! Thanks!

1 Like