image_based_registration_hcs_init
Initializes the parallelization list for registration in HCS plates.
image_based_registration_hcs_init(*, zarr_urls, zarr_dir, reference_acquisition=0)
¶
Initialized calculate registration task
This task prepares a parallelization list of all zarr_urls that need to be used to calculate the registration between acquisitions (all zarr_urls except the reference acquisition vs. the reference acquisition). This task only works for HCS OME-Zarrs for 2 reasons: Only HCS OME-Zarrs currently have defined acquisition metadata to determine reference acquisitions. And we have only implemented the grouping of images for HCS OME-Zarrs by well (with the assumption that every well just has 1 image per acqusition).
PARAMETER | DESCRIPTION |
---|---|
zarr_urls |
List of paths or urls to the individual OME-Zarr image to be processed. (standard argument for Fractal tasks, managed by Fractal server). |
zarr_dir |
path of the directory where the new OME-Zarrs will be created. Not used by this task. (standard argument for Fractal tasks, managed by Fractal server).
TYPE:
|
reference_acquisition |
Which acquisition to register against. Needs to match the acquisition metadata in the OME-Zarr image.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
task_output
|
Dictionary for Fractal server that contains a parallelization list. |
Source code in fractal_tasks_core/tasks/image_based_registration_hcs_init.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
|