map_coordinates#

cellpose_omni.dynamics.map_coordinates(I, yc, xc, Y)[source]#

bilinear interpolation of image 'I' in-place with ycoordinates yc and xcoordinates xc to Y

Parameters
  • I (C x Ly x Lx) --

  • yc (ni) -- new y coordinates

  • xc (ni) -- new x coordinates

  • Y (C x ni) -- I sampled at (yc,xc)