SelectImagePoints

When run, instantiates SelectImagePoints class and prompts user to select image and find key points.

‘escape’ key closes window. ‘s’ key saves data.

class opencsp.app.select_image_points.SelectImagePoints.SelectImagePoints(root: Tk, file_name: str)

Bases: object

Class to handle displaying images and recording user inputs

click(event) None

Called when image is clicked

click_fine(event)

Called when fine res image is clicked

click_rough(event)

Called when full res image is clicked

close() None

Closes window

load_image_from_array(image: ndarray) None

Loads image into class from ndarray

load_image_from_file(file: str) None

Loads image into class given filename

revert_main_image()

Reverts the displayed image to the current main image

run() None

Runs window

save() None

Saves corner data then closes

update_image() None

Updates the current displayed image to current loaded image