BUG: fixed a bug when doing segmentation on T2star using a mask
BUG: fixed a bug when doing segmentation on T2star using a mask

Former-commit-id: 132bc4953e2e8d57ccaace65049cc88c1ab64a99 [formerly c6915ec5b345863d0d129924f02783bd8c044d02]
Former-commit-id: ced27730aa37db8cbeb1cef79aea8161543ee4d4
Former-commit-id: 0a5ccd0712e96fb707f759e4bbdca340249bb594
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox