RegisterBase#

class petpal.preproc.register.RegisterBase(image_loader: petpal.io.image.ImageLoader | None = None)#

Base class for registration API

property default_reg_kwargs: dict#

Default registration arguments passed on to registration().

set_reg_kwargs(**reg_kwargs)#

Modify the registration arguments passed on to registration().

set_input_scan_properties(input_image_path: str)#

Load input image and get half life and scan timing. Set as MotionCorrect attributes.

Parameters:

input_image_path (str) – Path to dynamic PET image.

set_target_img(motion_target_path: str)#

Get the motion target, load it as an image, and set as an attribute.

Parameters:
  • input_image_path (str) – Path to dynamic PET image.

  • motion_target_option (str | tuple) – Option for motion target. See () for details.