就像opencv里的GetPerspectiveTransform那样?
http://book.openmv.cc/example/04-Image-Filters/rotation-correction.html