How do I apply the matrix VNHomographicImageRegistrationRequest gives me?

VNHomographicImageRegistrationRequest
gives me a 3x3 homography matrix, but how do I apply it to actually perform the alignment? Core Image doesn't have a solution, either.
Post not yet marked as solved Up vote post of kart Down vote post of kart
517 views