Implements #331 adaptive SGM penalties
Allows for adaptive P2 penalties in SGM. Canny edges are used currently to adjust the penalties at boundaries. It may be necessary to try out other approaches and add surface orientation.
Allows for adaptive P2 penalties in SGM. Canny edges are used currently to adjust the penalties at boundaries. It may be necessary to try out other approaches and add surface orientation.