delta.data.tracking_weights¶
- delta.data.tracking_weights(track: numpy.ndarray, segall: numpy.ndarray[Any, numpy.dtype[numpy.uint8]], halo_distance: int = 50) numpy.ndarray[Any, numpy.dtype[numpy.float32]]¶
Compute weights for tracking training sets
- Parameters
- track2D array
Tracking output mask.
- segall2D array
Segmentation mask of all cells in current image.
- halo_distanceint, optional
Distance in pixels to emphasize other cells from tracked cell. The default is 50.
- Returns
- weights2D array
Tracking weights map.