From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7adec4067480d065f73e0b67fd5ebc70@plan9.bell-labs.com> To: rog@vitanuova.com, 9fans@cse.psu.edu Subject: Re: [9fans] image resampling; enjoy From: "Russ Cox" MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 12 Apr 2002 13:17:11 -0400 Topicbox-Message-UUID: 76c04cd6-eaca-11e9-9e20-41e7f4b1d025 here's a copy of the kaiser function without greek letters, in case your mailer destroys them. double kaiser(double x, double tao, double alpha) { if(fabs(x) > tao) return 0.; return i0(alpha*sqrt(1-(x*x/(tao*tao))))/i0(alpha); }