Use the row and column sliders to move a 3×3 filter over a small image. Its score is high only when the window covers the edge between dark and light.
The filter only ever sees a 3×3 window. Move it and the score changes.