new tool to re sample a volume

It needs some edits of the DGtal PR #882