Skimage - Getting the transformation from Geometric transformation object
Dear Skimage users/developers, I am trying to retrieve and store transformation parameters as a matrix after estimating them using the "skimage.transform.estimate_transform('Affine',src,dst)" method. I understand that the output of "skimage.transform.estimate_transform('Affine',src,dst)" is not a transformation matrix by itself (I do not know what the properties of such a transform object are and I would like to know more) and I would like to calculate the matrix from such an object. I would greatly appreciate your help on this issue. Thank you. Best, Shrawan -- Shrawan Kumar Mageswaran Post-doc Jensen Lab California Institute of Technology
Hi Shrawan On Fri, 27 May 2016 at 12:33 Shrawan Kumar Mageswaran < m.shrawankumar@gmail.com> wrote:
I am trying to retrieve and store transformation parameters as a matrix after estimating them using the "skimage.transform.estimate_transform('Affine',src,dst)" method. I understand that the output of "skimage.transform.estimate_transform('Affine',src,dst)" is not a transformation matrix by itself (I do not know what the properties of such a transform object are and I would like to know more) and I would like to calculate the matrix from such an object. I would greatly appreciate your help on this issue. Thank you.
Take a look at the source here: https://github.com/scikit-image/scikit-image/blob/master/skimage/transform/_... You are looking for the `params` attribute. Stéfan
participants (2)
-
Shrawan Kumar Mageswaran
-
Stéfan van der Walt