Dense Inverse Search (DIS) Optical Flow outputs incorrect flow(?)

Sad bump.

Still need help to figure this out. I have tried to tweak some of the parameters of DISOpticalFlow despite them being the same as in python. However by tweaking them (primarily VariationalRefinementIterations) I could achieve a more reliable result.

But tweaking the parameters seems kind of random to me and as long as I get a different result from python I am not really satisfied. I would really like to achieve the same result or at least be able to understand why I can’t.