SubpixelEstimation in opencv almost works, 0 div errors