Skip to main content

preprocess_subcell

Function preprocess_subcell 

Source
pub fn preprocess_subcell(
    image: &PineappleImage,
    device: &Device,
) -> Result<Tensor>
Expand description

Perform subcell standardization on an input PineappleImage

Note that subcell used min-max normalization for some reason https://github.com/CellProfiling/SubCellPortable/blob/main/inference.py#L76C1-L81C14