Problem:
NIfTI format masks with cluster labels (e.g., {0, 1, 2, 3, etc.}) generated from a seed-to-voxel analysis and exported using the "export mask" feature of the CONN MATLAB toolbox.
When opening the NIfTI file in BrainVoyager, an error message was displayed: "data type 768 is currently not supported," which suggested to me that the issue was related to the "variable/data type" that CONN was using to store the data for each voxel.
Although the range of label values was just {0, 1, 2} in this case, CONN was using a datatype with ID 768 (unsigned int 32 bits https://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/datatype.html), as confirmed in the NIfTI file header metadata using software like ITKsnap.
Solution that was tested and worked:
Open the NIfTI file using ITKsnap and save it without making any changes. This approach can probably be applied using other NIfTI reading software as well.
ITKsnap seems to adjust the "variable/data type" with which it saves the NIfTI file based on the range of variable values (in this case {0, 1, 2}) and thus saved it using a data type with ID 4 (DT_INT16), which appears to be compatible with BrainVoyager. Make sure to verify that the newly saved image matches the original one and that no data was lost in the process.
Kindly contributed by Ricardo Martins