You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bsize (int, optional): Size of tiles to use in pixels [bsize x bsize]. Defaults to 224.
213
212
214
213
Returns:
215
-
y (np.ndarray): output of network, if tiled it is averaged in tile overlaps. Size of [Ly x Lx x 3] or [Lz x Ly x Lx x 3].
216
-
y[...,0] is Y flow; y[...,1] is X flow; y[...,2] is cell probability.
217
-
style (np.ndarray): 1D array of size 256 summarizing the style of the image, if tiled it is averaged over tiles.
214
+
Tuple[numpy.ndarray, numpy.ndarray]: outputs of network y and style. If tiled `y` is averaged in tile overlaps. Size of [Ly x Lx x 3] or [Lz x Ly x Lx x 3].
215
+
y[...,0] is Y flow; y[...,1] is X flow; y[...,2] is cell probability.
216
+
style is a 1D array of size 256 summarizing the style of the image, if tiled `style` is averaged over tiles.
progress (QProgressBar, optional): pyqt progress bar. Defaults to None.
301
300
302
301
Returns:
303
-
y (np.ndarray): output of network, if tiled it is averaged in tile overlaps. Size of [Ly x Lx x 3] or [Lz x Ly x Lx x 3].
304
-
y[...,0] is Y flow; y[...,1] is X flow; y[...,2] is cell probability.
305
-
style (np.ndarray): 1D array of size 256 summarizing the style of the image, if tiled it is averaged over tiles.
302
+
Tuple[numpy.ndarray, numpy.ndarray]: outputs of network y and style. If tiled `y` is averaged in tile overlaps. Size of [Ly x Lx x 3] or [Lz x Ly x Lx x 3].
303
+
y[...,0] is Z flow; y[...,1] is Y flow; y[...,2] is X flow; y[...,3] is cell probability.
304
+
style is a 1D array of size 256 summarizing the style of the image, if tiled `style` is averaged over tiles.
interp (bool, optional): interpolate during 2D dynamics (not available in 3D) . Defaults to True.
555
555
556
556
Returns:
557
-
masks (list, np.ndarray): labelled image(s), where 0=no masks; 1,2,...=mask labels
558
-
flows (list): list of lists: flows[k][0] = XY flow in HSV 0-255; flows[k][1] = XY(Z) flows at each pixel; flows[k][2] = cell probability (if > cellprob_threshold, pixel used for dynamics); flows[k][3] = final pixel locations after Euler integration
559
-
styles (list, np.ndarray): style vector summarizing each image of size 256.
560
-
imgs (list of 2D/3D arrays): Restored images
557
+
A tuple containing (masks, flows, styles, imgs); masks: labelled image(s), where 0=no masks; 1,2,...=mask labels;
558
+
flows: list of lists: flows[k][0] = XY flow in HSV 0-255; flows[k][1] = XY(Z) flows at each pixel; flows[k][2] = cell probability (if > cellprob_threshold, pixel used for dynamics); flows[k][3] = final pixel locations after Euler integration;
559
+
styles: style vector summarizing each image of size 256;
- flows (list): list of lists: flows[k][0] = XY flow in HSV 0-255; flows[k][1] = XY(Z) flows at each pixel; flows[k][2] = cell probability (if > cellprob_threshold, pixel used for dynamics); flows[k][3] = final pixel locations after Euler integration
441
-
- styles (list, np.ndarray): style vector summarizing each image of size 256.
435
+
masks (list of 2D arrays or single 3D array): Labelled image, where 0=no masks; 1,2,...=mask labels;
436
+
flows (list of lists 2D arrays or list of 3D arrays): flows[k][0] = XY flow in HSV 0-255; flows[k][1] = XY flows at each pixel;
437
+
flows[k][2] = cell probability (if > cellprob_threshold, pixel used for dynamics);
438
+
flows[k][3] = final pixel locations after Euler integration;
439
+
styles (list of 1D arrays of length 256 or single 1D array): Style vector summarizing each image, also used to estimate size of objects in image.
0 commit comments