unaugment_tiles#
- cellpose_omni.transforms.unaugment_tiles(y, unet=False)[source]#
reverse test-time augmentations for averaging
- Parameters
y (float32) -- array that's ntiles_y x ntiles_x x chan x Ly x Lx where chan = (dY, dX, cell prob)
unet (bool (optional, False)) -- whether or not unet output or cellpose output
- Returns
y
- Return type
float32