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

Serge Shakhov rideamus at yahoo.com
Tue Apr 4 18:43:14 EDT 2017


okay, but I don't need Affine.Does it mean that there is no solution for my problem? Best regards, 
Serge Shakhov. 

    On Wednesday, 5 April 2017, 10:35, Stefan van der Walt <stefanv at berkeley.edu> wrote:
 

 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/dd4cb1dc/attachment-0001.html>


More information about the scikit-image mailing list