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 > <stef...@berkeley.edu> wrote: > > > Hi Serge > > Have a look at the attached version. > > > Stéfan > > >
_______________________________________________ scikit-image mailing list scikit-image@python.org https://mail.python.org/mailman/listinfo/scikit-image