Quote:
Originally Posted by IanB
PointResize implements the nearest neighbour algorithm
|
Something I've been meaning to point out for some time is that PointResize isn't strictly 'nearest' neigbour, as it is biased to one side.
A nearest neighbour kernel would look like this:
Code:
--------
| |
| |
| |
-0.5 0 0.5
PointResize effectively has this:
Code:
--------
| |
| |
| |
-1 0
Essentially, this is the root of the different behaviour between RGB and YUV with vertical PointResize.
Interestingly, in light of your other comment,
Quote:
GaussResize at it's sharpest P setting is a PointResize.
|
GaussResize(P=100) does provide a true nearest neighbour.