steps3D#
- cellpose_omni.dynamics.steps3D(p, dP, inds, niter)[source]#
run dynamics of pixels to recover masks in 3D
Euler integration of dynamics dP for niter steps
- Parameters
p (float32, 4D array) -- pixel locations [axis x Lz x Ly x Lx] (start at initial meshgrid)
dP (float32, 4D array) -- flows [axis x Lz x Ly x Lx]
inds (int32, 2D array) -- non-zero pixels to run dynamics on [npixels x 3]
niter (int32) -- number of iterations of dynamics to run
- Returns
p -- final locations of each pixel after dynamics
- Return type
float32, 4D array