Touchups

- renamed edge_weights to weights
- Add thresholds to canny edge