AllenInstitute / segmentation-labeling-app

Data pipeline and UI for human labeling of putative ROIs from 2p cell segmentations
Other
0 stars 0 forks source link

Visualization evaluation #31

Closed kschelonka closed 4 years ago

kschelonka commented 4 years ago

Create simple jupyter notebook with widget for visualizing ROIs from the database. Meant to view and select based on size and shape, i.e. for good examples for training. The notebook has to be run somewhere with connection to the database to work.

Added methods to generate a "postage stamp" of the ROI. Can specify a canvas size. If it's larger than the ROI, will pad the canvas size with the ROI centered. Note that this is a "naive" center -- the center of the minimal rectangle that contains all the coordinates.

Screenshot of the notebook:

Screen Shot 2020-04-16 at 2 30 44 PM