MATLAB: Inconsistency in the definition of two geometric transformation matrices (tform)

Computer Vision Toolboxgeometric transformation matrixImage Processing Toolboxtform

In image processing, when I looked at the literature, I realized that the geometric transformation matrix (tform) in many resources is defined as follows:
Picture1.png
However, in Matlab, this matrix is defined as follows.
Picture2.png
Which one is true? I can not calculate tx and ty values in combined tform matrices.
Can anyone help me?

Best Answer

The second form is the one expected by maketform. The only difference between the two conventions is that with the first, the transformation matrix transforms a column-vector by left-hand matrix multiplication, while with the second form, points are represented as row vectors and are transformed by right-hand matrix multiplication.
Related Question