Evaluate
- class celltk.evaluate.Evaluate(output='evaluate', **kwargs)
- Parameters
output (
str
, default:'evaluate'
) –
- make_single_cell_stack(image, array, cell_id, position_id=None, window_size=(40, 40), region=None, channel=None)
Crops a window around the coordinates of a single cell in array.
- Parameters
image (
Image
) –array (
Array
) –cell_id (
int
) –position_id (
Optional
[int
], default:None
) –window_size (
Tuple
[int
], default:(40, 40)
) –region (
Optional
[str
], default:None
) –channel (
Optional
[str
], default:None
) –
- Return type
Image
- overlay_tracks(image, track, boundaries=False, mode='inner')
Overlays the labels of objects over the reference image.
- Parameters
image (
Image
) –track (
Mask
) –boundaries (
bool
, default:False
) –mode (
str
, default:'inner'
) –
- Return type
Image
- save_kept_cells(track, array)
Creates a mask from the input track that only includes the cells that are present in array.
- Parameters
track (
Mask
) –array (
Array
) – ConditionArray containing lineage information
- Return type
Mask