Bilinear interpolation: Difference between revisions
Content added Content deleted
Line 682: | Line 682: | ||
-- which is handy since I am no longer certain which of those |
-- which is handy since I am no longer certain which of those |
||
-- the following actually does, especially since we got the |
-- the following actually does, especially since we got the |
||
-- pixels from original[y,x] rather than original[x,y] |
-- pixels from original[y,x] rather than original[x,y], and |
||
-- imImage and IupImage have {0,0} in different corners - but |
|||
-- the output looks pretty good, and I think you would easily |
|||
-- notice were this even slightly wrong. |
|||
-- |
-- |
||
atom left = interpolate(c00,c10,fx), |
atom left = interpolate(c00,c10,fx), |