OPT: added interpolation to resample. Fixed #378
OPT: added interpolation to resample. Fixed #378

Former-commit-id: 7b815ecc5be7757d74993cdb7a7234ef58671e64 [formerly 260951f9c0dce438b72fdc7fa7ca8b28f80c7f6b]
Former-commit-id: 7ff82537ca749d408dce3d3d70d2a2ed42c124b1
Former-commit-id: e6177afbbdf61eef0848e9fe73d55a689aa30a3b
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox