pyorc.Frames.edge_detect#

Frames.edge_detect(wdw_1=1, wdw_2=2)[source]#

Convert frames in edges, using a band convolution filter. The filter uses two slightly differently convolved images and computes their difference to detect edges.

Parameters:
  • wdw_1 (int, optional) – window size to use for first gaussian blur filter (Default value = 2)

  • wdw_2 (int, optional) – stride to use for second gaussian blur filter (Default value = 4)

Returns:

da – filtered frames (i.e. difference between first and second gaussian convolution)

Return type:

xr.DataArray