Yes it does work.

Well, maybe after everything else is done I will tinker with the LUT and see how much it does. But I doubt it will be noticable. Compared to the 300k times 1 ms for each pixel of the heat map, reducing 300k linear interpolations to 10k look ups is most likely less than 0.1 percent of the total runtime.

Thanks for the help mate! We put this thing together in less than two hours.