In last results certain subjects (notably sub-brnoUhb*) have disk-labels with non-int values. Example: sub-brnoUhb02_T2w_labels-disc-manual_RPI_r.zip
The function sct_resample uses by default a linear resampling that is not adequate for these labels. A solution is to use an interpolation to nn (nearest neighbour). However, labels seem to be missing on output images.
In last results certain subjects (notably sub-brnoUhb*) have disk-labels with non-int values. Example: sub-brnoUhb02_T2w_labels-disc-manual_RPI_r.zip The function
sct_resample
uses by default a linear resampling that is not adequate for these labels. A solution is to use an interpolation to nn (nearest neighbour). However, labels seem to be missing on output images.test: command:
sct_resample -i sub-brnoUhb02_T2w_labels-disc-manual.nii.gz -mm 0.8x0.8x0.8 -x nn -o test.nii.gz
file: sub-brnoUhb02_T2w_labels-disc-manual.zip result image: test.zip