Script to convert a colour image of some data to real values specified (e.g. from colours of depth to actual depths)