def _init_custom(self): controller = centerline.CenterlineController(self.image, self.params) controller.reformat_image() controller.mode = 'CUSTOM' return controller
def _init_auto(self): controller = centerline.CenterlineController(self.image, self.params) controller.reformat_image() controller.mode = 'AUTO' return controller