[scikit-image] How to see full image after transformation not the cropped one
Stefan van der Walt
stefanv at berkeley.edu
Tue Apr 4 18:35:33 EDT 2017
Hi Serge
There is no inverse defined for the piecewise affine, hence the
change I made.
Stéfan
On Tue, Apr 4, 2017, at 15:28, Serge Shakhov wrote:
> Hi Stefan.
>
> Noticed that you changed my PiecewiseAffineTransform to
> AffineTransform.
> Is it applicable to PiecewiseAffineTransform?
> When I tried to revert it back to PiecewiseAffineTransform
> Got error:
> Traceback (most recent call last):
> File "C:/Users/Serge/Downloads/warp_to_extents.py", line 45, in
> <module>
> shifted_transform = (affine + offset).inverse
> File "C:\Users\Serge\Software\lib\site-
> packages\skimage\transform\_geometric.py", line 208, in __add__
> raise NotImplementedError()
> NotImplementedError
>
>
> Thanks
>
> Best regards,
> Serge Shakhov.
>
> On Tuesday, 4 April 2017, 18:58, Stefan van der Walt
> <stefanv at berkeley.edu> wrote:
>
>
> Hi Serge
>
> Have a look at the attached version.
>
>
> Stéfan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170404/1f0a433d/attachment.html>
More information about the scikit-image
mailing list