Hi Kharbat!
Uhm, Thanks for your code Sharing. I would like convert 2D video into 3D video by using optical flow. How can i use those optical flows in order to convert into depth map?
Are you sure that the derivatives in the computeDerivates.m file are correct? Matlab stores images with the y-axis in the first dimension and the x-axis in the second, so I think that fx and fy might be the wrong way around...