R/image_registration.R
calculateAffineMatrixFromLandmarks.Rd
calculate a affine transformation matrix from two set of landmarks
calculateAffineMatrixFromLandmarks(source_df, target_df)
source landmarks, two columns, first column represent x coordinate and second column represent y coordinate.
target landmarks, two columns, first column represent x coordinate and second column represent y coordinate.
a 3 by 3 matrix with the third row close to (0,0,1)