fill_edge#

fill_edge(label_arr: ndarray, window: Box, extent: Box, fill_value: int) ndarray[source]#

If window goes over the edge of the extent, buffer with fill_value.

Parameters
  • label_arr (ndarray) –

  • window (Box) –

  • extent (Box) –

  • fill_value (int) –

Return type

ndarray