Contents
interactive_location_picker_pyqtgraph¶
This module contains two classes which allow for interactive selection of images. PyQtGraph is used to create the GUI.
class ImageLocationPicker(object)¶
-
class
microscope_automation.samples.interactive_location_picker_pyqtgraph.
ImageLocationPicker
(image=None, location_list=[], app=None, spot_size=10, spot_brush='r', spot_symbol='+', spot_pen='r')[source]¶ -
flip_coordinates
(location_list)[source]¶ ZEN has the image origin in the upper left corner, QTgraph in the lower left corner. This methods transforms coordinates between the two systems.
- Input:
location_list: List of tuples (or single tuple) in the form of (x,y) coordinates to be transformed
- Output:
flipped_location_list: list with (x, y) tuples after transformation
-