Implement lookup table undistorted