Re: Fwd: Inverse of QUAD transform?
Boris Borcic <[email protected]>
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <[email protected]> |
Well, obviously it should be possible to pick some minimal target rectangle containing the target quad, and then the problem reduces to that of finding a source quad around the source rectangle in such a way that mapping it to the target rectangle will also map the source rectangle to the target quad :) Laura & Edward Cannon wrote: > ---------- Forwarded message ---------- > From: Laura& Edward Cannon<[email protected]> > > [...] There is not an anti-quad however. > > On Fri, Nov 27, 2009 at 9:50 AM, Mark Wendell<[email protected]> wrote: >> The docs say that the QUAD image transform takes a quadrilateral >> defined by an 8-tuple, and transforms it to a rectangle of the >> provided 'size'. >> >> I need the inverse of that: I need to take a rectangular region, and >> warp it to an arbitrary quad. Is there a way to do that? >> >> thanks >> Mark >> -- >> -- >> Mark Wendell >> _______________________________________________ >> Image-SIG maillist - [email protected] >> http://mail.python.org/mailman/listinfo/image-sig >> > _______________________________________________ > Image-SIG maillist - [email protected] > http://mail.python.org/mailman/listinfo/image-sig > _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig