nabu.app.shiftviewer
source module nabu.app.shiftviewer
source shift_metric_map(img1, img2, dx_vals, dy_vals, order=1, mode='nearest')
source class ShiftViewer(img1, img2, step=1, initial_shifts=None)
Methods
-
update_step — Update the step value from the text box
-
validate_shifts — Function called when validate button is clicked
source method ShiftViewer.update_display()
source method ShiftViewer.auto_shift(event, axis=1)
Raises
-
ValueError
source method ShiftViewer.on_key(event)
source method ShiftViewer.update_step(text)
Update the step value from the text box
source method ShiftViewer.validate_shifts(event)
Function called when validate button is clicked
source method ShiftViewer.delete_point(event)
source method ShiftViewer.show()
source method ShiftViewer.close()