deepcell_types.PreprocessedFov#
- class deepcell_types.PreprocessedFov(raw: ndarray, mask: ndarray, centroids: Dict[str, List[float]], channel_names: List[str], target_mpp: float = 0.5, native_mpp: float = 0.0, scale_factor: float = 1.0)#
Result of
preprocess_fov.All arrays are at
target_mpp(0.5 µm/pixel). Therawfield is pre-multiplication-by-self-mask (the dataloader’sextract_patch_from_zarrdoes that during patch extraction).- __init__(raw: ndarray, mask: ndarray, centroids: Dict[str, List[float]], channel_names: List[str], target_mpp: float = 0.5, native_mpp: float = 0.0, scale_factor: float = 1.0) None#
Methods
__init__(raw, mask, centroids, channel_names)Attributes
native_mppscale_factortarget_mpprawmaskcentroidschannel_names