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?
There was an excellent answer to your previous question, where "John" showed you how to decompose your transformation into rotate, shear, and scale pieces. To get the "half-way" transformation, just take the values in the rotation, shear, and scale matrices and divide them by two.
By the way, what you're doing has a name -- it's called "tweening". If you look up this term, you'll find a huge amount of literature.
You don't need to use quaternions for 2D transformations, and you don't need to know anything about vector bundles or homotopy groups, either.