unaugment_tiles_ND#

omnipose.utils.unaugment_tiles_ND(y, inds, unet=False)[source]#

reverse test-time augmentations for averaging

Parameters
  • y (float32) -- array of shape (ntiles, nchan, *DIMS) where nchan = (*DP,distance) (and boundary if nlasses=3)

  • unet (bool (optional, False)) -- whether or not unet output or cellpose output

Returns

y

Return type

float32