Automatic image-based localization and modelling for laparoscopy door