sksurgeryfredmatplotlib.widgets.registration_game module

The main widget for the interactive registration part of scikit-surgeryFRED

class sksurgeryfredmatplotlib.widgets.registration_game.RegistrationGame(image_file_name, headless=False)[source]

Bases: sksurgeryfredmatplotlib.widgets.fred_common.FredCommon

an interactive window for doing live registration

initialise_registration()[source]

sets up the registration

keypress_event(event)[source]

handle a key press event

class sksurgeryfredmatplotlib.widgets.registration_game.VisibilitySettings(buffer_size)[source]

Bases: object

randomly selects from list of visilities, has five states FLE and no fids Expected FRE Expected TRE Actual FRE

get_vis_state()[source]

returns a random visibility state