refactor edge detection
OpenCV Unit tests working
fix edge point detect