Home | Trees | Indices | Help |
---|
|
The AffineTransform class is used to transform images and points_b back and and forth between different coordinate systems.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Constructor for the AffineTransform. See also the affine transform factories.
|
This is a simple interface to transform images or points_b. Simply call the affine transform like a function and it will try to automatically transform the argument.
|
This is a simple interface to transform images or points_b. Simply call invert with the points_b or list of points_b and it will automatically call the correct function.
|
Transforms an image into the new coordinate system. If this image was produced via an affine transform of another image, this method will attempt to trace weak references to the original image and directly compute the new image from that image to improve accuracy. To accomplish this a weak reference to the original source image and the affine matrix used for the transform are added to any image produced by this method. This can be disabled using the use_orig parameter.
|
Transform a point from the old image to the new image.
|
Transform a set of points_b from the old image to the new image.
|
Transforms a Point from the new coordinate system to the old coordinate system.
|
Transforms a list of oints from the new coordinate system to the old coordinate system.
|
|
Used to concatenate transforms. For example: # This code first scales and then translates S = AffineScale(2.0) T = AffineTranslate(4,5) A = T*S new_im = A.transformImage(old_im)
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Apr 21 14:31:59 2015 | http://epydoc.sourceforge.net |