Apply a threshold to resampled binary segmentations in QC report (#3437)
Apply a threshold to resampled binary segmentations in QC report (#3437)

Resampling may introduce nonbinary values, even if the segmentation was originally binary, so we need to re-binarize it.
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox