Lucas Kanade implementation

Thanks. I just have a follow up question. The function allows points to be provided in floating point coordinates. How does algorithm handle cases when the coordinates do not match the image grid? Is any interpolation performed or does it look at the closest point on the grid?