When computing the constrained parametrization, I’m using two types of soft constraints for black pixels.

  1. Alignment – distance of a black pixel from an integer isoline. Here we are using a priori knowledge of the direction (u or v) to which the pixel should be snapped.
  2. Proximity – distance of two black pixels (aligned to the same direction)

Comparison of different weights

car

circles