dx_to_circ#

cellpose_omni.plot.dx_to_circ(dP, transparency=False, mask=None, sinebow=True, norm=True)[source]#

dP is 2 x Y x X => 'optic' flow representation

Parameters
  • dP (2xLyxLx array) -- Flow field components [dy,dx]

  • transparency (bool, default False) -- magnitude of flow controls opacity, not lightness (clear background)

  • mask (2D array) -- Multiplies each RGB component to suppress noise