hoogenboom-group / scripted-render-pipeline

automated pipeline interfacing with render-ws rest api
GNU General Public License v3.0
0 stars 0 forks source link

Add `stitcher` #13

Open arentkievits opened 1 year ago

arentkievits commented 1 year ago

Idea: add automated 2d stitching script for sections, based on interactive-render-workflow / stitch_render_client.ipynb. While stitching remains an interactive process, there should be a way to run it straightforwardly using some default parameters. This process is generally simpler that the 3D alignment, so start with exploring how we can automate this as much as possible. Depending on how good this works, we can optionally extend this to the 3D alignment step.

If stitching fails based on some QC metrics, the interactive notebook can be used to solve the issues. Ideally the problematic sections should be passed on to a file which can be read by the interactive notebook. Then visualize these sections and determine what needs to be done.

https://asap-modules.readthedocs.io/en/latest/readme/montaging.html for general idea of what it should look like

Basic functionality needed

Nice-to-haves (not yet implemented in software)

From the docs: https://asap-modules.readthedocs.io/en/latest/readme/montaging.html

The solver writes the transformations in the tilespecs associated with the serial section in the render stack. Once this is done, the QC module can be run to gather statistics about the quality of the stitching and also visualization plots of the stitched section.

python -m asap.em_montage_qc.detect_montage_defects --input_json --output_json <output

arentkievits commented 12 months ago

This issue has high priority, would be an extra software feature that we would like to have as first in line. I'll look into the QC metrics on wednesday.