can you write some python code using the NAME_1 and numpy libraries to compare two images and generate a LUT using the RGB difference between the two images, using linear interpolation to interpolate values in the LUT and using the following format for a .cube file:
LUT_3D_SIZE 33
LUT_3D_INPUT_RANGE 0.0 1.0
0.000000 0.000000 0.000000
0.047059 0.000000 0.000000
0.101961 0.000000 0.000000
...