calculate the V from A = USVt in objective-C with SVD from LAPACK in xcode
My goal is to transfer a coordinate in perspective from a known rectangle (for example a 800 by 600 screen) to a quadrangle that is skewed/rotated. To do so i found this, which was extremely helpful: Transforming captured co-ordinates into screen co-ordinates I guess there are more solutions to the problem. 1 by making triangles out of your quadrangle and apply some mathematical function which i could not solve yet. OR using the H-matrix which comes out of the formula A=USVt. which seemed nice because once you have the correct H-matrix you can transfer any coordinate pretty easy as explained