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='')[source]¶
Create and or post review galleries for rapid review.
- Parameters:
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()
url (str) – url of the Digital Slide Archive Instance. For example: http://candygram.neurology.emory.edu:8080/
nameprefix (str) – prefix to prepend to gallery name
- Returns:
each entry is a dict representing the response of the server post request to upload the gallery to DSA.
- Return type: