This adds some new functions to libimage for computing distance fields and coordinate fields. This runs on the CPU but uses an efficient algorithm. This will initially be leveraged by the baking pipeline to dilate charts, but could be useful in other applications.