Precision error while calculating Dice coefficient #1098 (#1398)
Precision error while calculating Dice coefficient #1098 (#1398)

* - Create a tmp_dir
- Allow to deal with a path in -o flag
- If slight difference between the origin of two images --> register_multimodal -identity 1 + copy header

* Use the absolute path when defining the temporary path

* i1098: copy header of im_1 to im_2


Former-commit-id: cbd2b8316a850dab90d7fdfa520e6771cf4a5cec
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox