For Planar Objects
The first two columns on right are orthonormal.  Scale is irrelevant.  So there are 6 degrees of freedom.
We ignore constraints to get 8.  This is called a projective transformation.