image_registration module
- register_image(img, input_center_x, input_center_y)[source]
Outputs a PIL image shifted so that the specified ‘true’ center coordinates can be found in the geometric center of the image frame. The image is cropped to remove trailing regions and resized to the original image size.
Authors: Weiqi Yue, Gabriel Ponon, Zhuldyz Ualikhankyzy, Nathaniel K. Tomczak Version: v0_1 (Jul 23 2022)
- Parameters:
img (PIL.Image) – The input PIL image to center and register.
input_center_x (float) – The ‘true’ center x-coordinate identified for the image.
input_center_y (float) – The ‘true’ center y-coordinate identified for the image.