A confidence framework for the assessment of optical flow performance