Cubic interpolation problem [message #2095] |
Sat, 14 May 1994 02:25 |
rfulton
Messages: 5 Registered: November 1993
|
Junior Member |
|
|
Problem with image rotation using cubic interpolation:
Has anyone had problems with the new cubic interpolation in IDL ?
I find that if I rotate an image (2D) with cubic interpolation,
the pixel values of the rotated image are vastly different to those
prior to rotation. For example, an image with values ranging from
0 to 2000 is returned with values between 2451 and -461.
Visually, the interpolation is superior to bilinear, but where did
my data go ? If I use bilinear interpolation instead, the resulting
image is returned with values ranging (correctly) between 0 and 2000.
If anyone could cast any light on this I'd be very grateful.
Roger Fulton
===========================================================
Roger Fulton
Nuclear Medicine
Royal Prince Alfred Hospital
Sydney
Australia.
email: rfulton@atom.ansto.gov.au
tel: 61-2-516 8011
fax: 61-2-550 5172
===========================================================
|
|
|