Has anyone successfully ran this code, if so, please tell me your secret.
There has been a lot of work put into this program, so would love to be able to run it. Tried stereo.fig, I get an error, tried torr_tool.fig after reading the manual, I get an error, then finally tried manually running functions and I got more errors.
One small thing I noticed just more for the aesthetics of the final result where you colour the surface of your 3D model, you need to have an inverse cosine (or acos in Matlab) to compute the angle between the camera view vector and vertex normals when doing the dot product. At the moment the variable 'angles' is actually not the angle but the cosine of the angle between the two vectors. Therefore putting acos in front of the dot product significantly improves the colouring of the surface.
I'm reading the 'bspline_transform_slow_2d.m', and I'm wondering how the look-up tables work? Do you use any parallel computation algorithm? Or what's the trick of it? Is there any paper behind it?
I do wanna learn how it works, so please explain it a bit to me. Thx.