Atlas-based segmentation has become a standard paradigm for exploiting prior knowledge in medical image segmentation. In this paper, we propose a method to exploit both the robustness of global registration techniques and the accuracy of a local registration based on level set tracking. First, the atlas is globally put in correspondence with the patient image by an affine and an intensity-based non rigid registration. Based on this rough initialisation, the level set functions corresponding to particular objects of interest of the deformed atlas are used to segment the corresponding objects in the patient image. We propose a technique to derive a dense deformation field from the motion of these level set functions. This is particularly important when we want to infer the position of invisible structures like the brain sub-thalamic nuclei from the position of visible surrounding structures. This can also be advantageously exploited to register an atlas following a hierarchical approac...