I have never used quaternions, so before trying on my problem I would like to know whether this is a good idea:
I want to interpolate an affine transformation: I have a set of points in a first 2D image I1 that are transformed by an affine transformation T into points in image I3. I want to introduce an intermediate image I2 between I1 and I3 and I would like to find out the transformation T' such that we should apply T' to the points of I1 to get to I2. Intuitively, T' should be "half" of the transformation T.
I read on a forum: 1-Transform the affine transformation matrix into quaternions 2- Use the Slerp interpolation on these quaternions 3- Convert them back to a matrix
Would that work on my 2D setting?