ransforms allowed. The ids correspond, to: 1:
 translate-x, 2: translate-y, 3: uniform scale, 4: shear, 5: non-uniform
 scale, 6: rotate-z, 7: rotate-x, 8: rotate-y. For example, to specify
 translation use type=[1,2]. If the transforms don't form a group, the
 returned homography may have more degrees of freedom than expected.

 Parameters (in rough order of importance): [resample] controls image
 downsampling prior to computing H. Runtime is proportional to area, so
 using resample&lt;1 can dramat