microcorrelate.callbacks#

Registration callbacks taken from InsightSoftwareConsortium/SimpleITK-Notebooks

Functions#

metric_end_plot()

Clean up metric plot state and close the figure at the end of a registration run.

metric_plot_values(registration_method)

Update and display the metric plot at each optimiser iteration.

metric_start_plot()

Initialise metric plot state at the start of a registration run.

Module Contents#

microcorrelate.callbacks.metric_end_plot()#

Clean up metric plot state and close the figure at the end of a registration run.

microcorrelate.callbacks.metric_plot_values(registration_method)#

Update and display the metric plot at each optimiser iteration.

Parameters:

registration_method (sitk.ImageRegistrationMethod) – The active SimpleITK registration method.

microcorrelate.callbacks.metric_start_plot()#

Initialise metric plot state at the start of a registration run.