Implement `BackgroundModel.setBgEdges`
Rewording

We don't actually process every frame
Add `MAD_TO_SD` constant