LUT1D transforms color correctly in all cases

input lower/upper are now taken into account
transfer input lower/upper metadata when extracting color