Fixed slow creation of mask through coordinate points
Fixed slow creation of mask through coordinate points


Former-commit-id: ba5f11c9e87b1988b04f38bbe4f5155ba9dd1043 [formerly 45e03fb680aff95f44eac4a3ec9db3b5a41a96e2]
Former-commit-id: ab99379de9815e3fd52b50f700dd4141ffdb28d5
Former-commit-id: 3332a25091ec98d9200bd79ccb81f7f5f5c32798
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox