[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
poly_2d
- Subject: poly_2d
- From: pfis(at)mytec.com
- Date: 3 Apr 2001 14:25:37 GMT
- Followup-To: comp.lang.idl-pvwave
- Newsgroups: comp.lang.idl-pvwave
- Organization: NewsOne.Net - Free Usenet News via the Web - http://newsone.net/
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:24328
I am using poly_2d to warp an image. I am using 3 parameters for each
coordinate (e.g. xnew=a+bx+cy and similar for ynew). My problem is I am
having trouble choosing 'a' such that the center of the image (actually pixel
[64,64] of a 128x128 image) does not move. Using a=fix(-64.*(b+c-1.)) keeps
the center stationary to about 1 pixel which is not good enough. I wrote my
own version of the warping program which does what I want but is slower than
poly_2d. Any help would be appreciated.
Regards,
Phil
----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net