compute_image_based_registration
Calculates translation for image-based registration.
compute_image_based_registration(*, zarr_url, init_args, wavelength_id, method=RegistrationMethod.PHASE_CROSS_CORRELATION, lower_rescale_quantile=0.0, upper_rescale_quantile=0.99, input_roi_table='FOV_ROI_table', level_path='2')
¶
Calculate the shift between acquisitions for each field of view.
This task consists of 3 parts:
- Loading the images of a given ROI (=> loop over ROIs)
- Calculating the transformation for that ROI
- Storing the calculated transformation in the ROI table
| PARAMETER | DESCRIPTION |
|---|---|
zarr_url |
Path or url to the individual OME-Zarr image to be processed. (standard argument for Fractal tasks, managed by Fractal server).
TYPE:
|
init_args |
Initialization arguments provided by
TYPE:
|
wavelength_id |
Wavelength that will be used for image-based
registration; e.g.
TYPE:
|
method |
Method to use for image registration. The available methods
are
TYPE:
|
lower_rescale_quantile |
Lower quantile for rescaling the image intensities before applying registration. Can be helpful to deal with image artifacts. Default is 0.
TYPE:
|
upper_rescale_quantile |
Upper quantile for rescaling the image intensities before applying registration. Can be helpful to deal with image artifacts. Default is 0.99.
TYPE:
|
input_roi_table |
Name of the ROI table over which the task loops to
calculate the registration. Examples:
TYPE:
|
level_path |
Resolution level of the image to use for registration.
Lower numbers correspond to higher resolution. Choose
TYPE:
|
Source code in fractal_tasks_core/compute_image_based_registration.py
20 21 22 23 24 25 26 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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |