Need to
[ ] . dump metadata to output for completeness. e.g. source file-name, channel origin. infer_subc version, etc.
[ ]. add a top-level summary table when processing image for stats containing metadata
QC logging.
We need to fail nicely when the segmentations fail. We will do this by collecting the regionprops from the segmented objects and comparing with prior expection.
regionprops. this should be straighforward. at first its just "area" and numbers of organelles, and "total" areas.
priors. need a class wrapper or something to contain the priors for the
the paradigm and tooling that aics-segmentation used for managing workflows (specifically in a Napari
** step 1 **
make an example notebook that leverages aicssegmentation.Workflows to define/encapsulate our organelle segmentation, and correctly execute
** step 2 **.
Use it to instantiate a napari plugin to interactively develop single workflows and
** step 3 **
BUild "batch processing" of the developed workflows.
QUESTIONS
Will we need to make our own Workflows tools, as many it contains default workflows and thumbnails specific to aics-segmentation?
Rather, might we subclass and duck our own defaults?
bridge to Dask graph representation (e.g. napari-workflows)
The current workflows need to fail nicely and report metrics.
If any step of the organelle segmentaion workflow fails we need to know and flag it for followup "by hand"
Is your feature request related to a problem? Please describe.
Currently the code can write "ome-tiff"s but they do not include the FULL meta-data including the microscope meta data which is improperly imported from the .czi file.
Describe the solution you'd like
The tiff format should be able to encapsulate ALL the metadata in an OME format... but need to investigate which are the proper fields in the OME schema to do things.
SPECIFICALLY: -> which Z-slice are we setting to "optimal" for downstream... this is crucial