Medical image segmentation and tracking through the maximisation or the minimisation of divergence between PDFs