sarcgraph.sg.SarcGraph._filter_frames

SarcGraph._filter_frames(frames, sigma=1.0)[source]

Convolves all frames with laplacian and gaussian filters.

Parameters:
  • frames (np.ndarray) –

  • sigma (float) – Standard deviation for Gaussian kernel

Return type:

np.ndarray, shape=(frames, dim_1, dim_2)