Cooperation between Level Set Techniques and Dense 3D Registration for the Segmentation of Brain Structures