<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-9182705499898252496.post6569042239704124200..comments</id><updated>2010-10-30T10:40:57.127-04:00</updated><category term='web'/><category term='bugs'/><category term='books'/><category term='interesting'/><category term='dotted-tail'/><category term='fermat'/><category term='pmd'/><category term='practice'/><category term='carroll'/><category term='css'/><category term='perfect numbers'/><category term='probability'/><category term='c++'/><category term='float'/><category term='bias'/><category term='integral'/><category term='simulation'/><category term='scheme'/><category term='halloween'/><category term='table'/><category term='snippets'/><category term='reading'/><category term='visualization'/><category term='big-o'/><category term='threads'/><category term='dvorak'/><category term='java'/><category term='double'/><category term='logic'/><category term='security'/><category term='fractals'/><category term='schneier'/><category term='coin toss'/><category term='links'/><category term='fibonacci'/><category term='misc'/><category term='c'/><category term='geometry'/><category term='pair programming'/><category term='algebra'/><category term='goldbach'/><category term='html'/><category term='vectors'/><category term='puzzles'/><category term='qwerty'/><category term='mersenne'/><category term='statistics'/><category term='testing'/><category term='chess'/><category term='crypto'/><category term='24'/><category term='horner'/><category term='randomness'/><category term='statitstics'/><category term='curiosity'/><category term='answers'/><category term='education'/><category term='technology'/><category term='blog spam'/><category term='benford'/><category term='cout'/><category term='pi'/><category term='lists'/><category term='conway'/><category term='map'/><category term='solutions'/><category term='data visualization'/><category term='unsolved'/><category term='python'/><category term='trees'/><category term='blowfish'/><category term='windows'/><category term='sicp'/><category term='productivity'/><category term='learning'/><category term='usability'/><category term='science'/><category term='gauss'/><category term='golden ratio'/><category term='math'/><category term='dodgson'/><category term='programming'/><category term='experience'/><category term='calculus'/><category term='CSV'/><category term='precision'/><category term='simpson'/><category term='letter frequency'/><category term='hints'/><category term='netbeans'/><category term='proof'/><category term='time'/><category term='sequences'/><category term='pascal'/><category term='primes'/><category term='captcha'/><category term='hello world'/><category term='data structures'/><category term='matrix'/><category term='euler'/><category term='exercises'/><category term='languages'/><category term='miller-rabin'/><category term='quotes'/><category term='gambling'/><category term='chaos'/><category term='numbers'/><category term='equals'/><category term='questions'/><category term='sets'/><title type='text'>Comments on Bill the Lizard: Rotate an image in Java</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.billthelizard.com/feeds/6569042239704124200/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/6569042239704124200/comments/default'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2008/07/rotate-image-in-java.html'/><author><name>Bill the Lizard</name><uri>http://www.blogger.com/profile/09810099093752485841</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_PnLYRqe0k9g/SKywgF43rhI/AAAAAAAAAAQ/0l6VoF8jG0M/S220/lizard-icon.jpeg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9182705499898252496.post-5096112870504936117</id><published>2010-10-30T10:40:57.127-04:00</published><updated>2010-10-30T10:40:57.127-04:00</updated><title type='text'>Hello,

I have a question regarding the affine tra...</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;I have a question regarding the affine transformation with PIL. Since an affine transformation is defined by 6 unknowns I was thinking at defining an initial triangle source and a final one. Basically I&amp;#39;m trying to modify a rectangular shape to fit in a quadrangle, in order to do this I&amp;#39;ve split the initial rectangle in 2 triangles.&lt;br /&gt;&lt;br /&gt;Using the documentation an affine transformation should map a point x,y into xx,yy by:&lt;br /&gt;&lt;br /&gt;xx=a*x+b*y+c&lt;br /&gt;yy=d*x+e*y+f&lt;br /&gt;&lt;br /&gt;Using a triangle I was able to find a,b,c,d,e,f. However it seems the PIL affine transform scales the result. The final image is about 4 times larger then what I&amp;#39;ve imposed when I&amp;#39;ve calculated a,b,c,d,e,f.&lt;br /&gt;&lt;br /&gt;Any help will be appreciated.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Danny</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/6569042239704124200/comments/default/5096112870504936117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9182705499898252496/6569042239704124200/comments/default/5096112870504936117'/><link rel='alternate' type='text/html' href='http://www.billthelizard.com/2008/07/rotate-image-in-java.html?showComment=1288449657127#c5096112870504936117' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.billthelizard.com/2008/07/rotate-image-in-java.html' ref='tag:blogger.com,1999:blog-9182705499898252496.post-6569042239704124200' source='http://www.blogger.com/feeds/9182705499898252496/posts/default/6569042239704124200' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1206813082'/></entry></feed>
