Creating mosaic annotation review galleries¶
- histomicstk.annotations_and_masks.review_gallery.create_review_galleries(tilepath_base, upload_results=True, gc=None, gallery_savepath=None, gallery_folderid=None, padding=25, tiles_per_row=2, tiles_per_column=5, annprops=None, url=None, nameprefix='')¶
Create and or post review galleries for rapid review.
tilepath_base (str) – directory where combined visualization.
upload_results (bool) – upload results to DSA?
gc (girder_client.Girder_Client) – authenticated girder client. Only needed upload_results.
gallery_savepath (str) – directory to save gallery. Only if upload_results.
gallery_folderid (str) – girder ID of folder to post galleries. Only if upload_result.
padding (int) – padding in pixels between tiles in same gallery.
tiles_per_row (int) – how many visualization tiles per row in gallery.
tiles_per_column (int) – how many visualization tiles per column in gallery.
annprops (dict) – properties of the annotations to be posted to DSA. Passed directly as annprops to get_annotation_documents_from_contours()
nameprefix (str) – prefix to prepend to gallery name
each entry is a dict representing the response of the server post request to upload the gallery to DSA.
- Return type
- histomicstk.annotations_and_masks.review_gallery.get_all_rois_from_folder_v2(gc, folderid, get_all_rois_kwargs, monitor='')¶
Get all rois in a girder folder using get_all_rois_from_slide_v2().