removed a function that depends on image_registration