[scikit-image] How to see full image after transformation not the cropped one

Stefan van der Walt stefanv at berkeley.edu
Thu Apr 6 12:57:04 EDT 2017


On Wed, Apr 5, 2017, at 19:02, Serge Shakhov wrote:

>  Just want to clarify. Am I right that your solution isn't applicable
>  to PiecewiseAffineTransform at all?
> Do you think it may be possible to find a workaround?



Sorry, I should have been clearer.  With "defined" I meant implemented.


To invert a piecewise affine transform, you'll have to use SciPy KD-tree
to find the nearest quad coordinates, and then invert the matching
affine.  This is not necessarily hard, but it's not trivial to
implement.


Stéfan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170406/84c05d1a/attachment.html>


More information about the scikit-image mailing list