actually OpenCV can do whatever we want, however it is a fundamental library with merely low-level APIs.
my question is how to calculate transform matrices for multip