libcvd
|
This does not interpolate: it uses the nearest neighbour. More...
#include <image_interpolate.h>
This does not interpolate: it uses the nearest neighbour.
The sub pixel to be accessed is \(p = (x,y)\). The nearest pixel is \(q = ( \operatorname{round}\ x, \operatorname{round}\ y)\) The interpolated value, \(v\), is \(v = I(q)\)