Dense structure estimation via regularised optical flow