Resurrecting this old thread with a more precise LUT which limits the conversion to just the brightest colors (those found in the Depthkit hue map), which should leave the RGB side of the combined-per-pixel mostly unaltered.
As with the example LUT above,
- Copy the LUT below into a text editor and save it as a .CUBE file (e.g. “lut.cube”)
- Apply the LUT in the video editor of your choice. I used FFMPEG with the command
ffmpeg -i depthkit_cpp.mp4 -vf lut3d="lut.cube" depthkit_cpp_luma.mp4
TITLE "Hue to Luma 5x5x5"
LUT_3D_SIZE 5
0.0 0.0 0.0 # black
0.25 0.0 0.0
0.5 0.0 0.0
0.75 0.0 0.0
1.0 1.0 1.0 # RED
0.0 0.25 0.0
0.25 0.25 0.0
0.5 0.25 0.0
0.75 0.25 0.0
0.9583 0.9583 0.9583 # RRRRG
0.0 0.5 0.0
0.25 0.5 0.0
0.5 0.5 0.0
0.75 0.5 0.0
0.9166 0.9166 0.9166 # RRG
0.0 0.75 0.0
0.25 0.75 0.0
0.5 0.75 0.0
0.75 0.75 0.0
0.875 0.875 0.875 # RRRRGGG
0.6666 0.6666 0.6666 # GREEN
0.7083 0.7083 0.7083 # RGGGG
0.75 0.75 0.75 # RGG
0.7916 0.7916 0.7916 # RRRGGGG
0.8333 0.8333 0.8333 # YELLOW
0.0 0.0 0.25
0.25 0.0 0.25
0.5 0.0 0.25
0.75 0.0 0.25
0.0416 0.0416 0.0416 # RRRRB
0.0 0.25 0.25
0.25 0.25 0.25
0.5 0.25 0.25
0.75 0.25 0.25
1.0 0.25 0.25
0.0 0.5 0.25
0.25 0.5 0.25
0.5 0.5 0.25
0.75 0.5 0.25
1.0 0.5 0.25
0.0 0.75 0.25
0.25 0.75 0.25
0.5 0.75 0.25
0.75 0.75 0.25
1.0 0.75 0.25
0.625 0.625 0.625 # GGGGB
0.25 1.0 0.25
0.5 1.0 0.25
0.75 1.0 0.25
1.0 1.0 0.25
0.0 0.0 0.5
0.25 0.0 0.5
0.5 0.0 0.5
0.75 0.0 0.5
0.0833 0.0833 0.0833 # RRB
0.0 0.25 0.5
0.25 0.25 0.5
0.5 0.25 0.5
0.75 0.25 0.5
1.0 0.25 0.5
0.0 0.5 0.5
0.25 0.5 0.5
0.5 0.5 0.5
0.75 0.5 0.5
1.0 0.5 0.5
0.0 0.75 0.5
0.25 0.75 0.5
0.5 0.75 0.5
0.75 0.75 0.5
1.0 0.75 0.5
0.5833 0.5833 0.5833 # GGB
0.25 1.0 0.5
0.5 1.0 0.5
0.75 1.0 0.5
1.0 1.0 0.5
0.0 0.0 0.75
0.25 0.0 0.75
0.5 0.0 0.75
0.75 0.0 0.75
0.125 0.125 0.125 # RRRRBBB
0.0 0.25 0.75
0.25 0.25 0.75
0.5 0.25 0.75
0.75 0.25 0.75
1.0 0.25 0.75
0.0 0.5 0.75
0.25 0.5 0.75
0.5 0.5 0.75
0.75 0.5 0.75
1.0 0.5 0.75
0.0 0.75 0.75
0.25 0.75 0.75
0.5 0.75 0.75
0.75 0.75 0.75
1.0 0.75 0.75
0.5416 0.5416 0.5416 # GGGGBBB
0.25 1.0 0.75
0.5 1.0 0.75
0.75 1.0 0.75
1.0 1.0 0.75
0.3333 0.3333 0.3333 # BLUE
0.2916 0.2916 0.2916 # RBBBB
0.25 0.25 0.25 # RBB
0.2083 0.2083 0.2083 # RRRBBBB
0.1666 0.1666 0.1666 # MAGENTA
0.375 0.375 0.375 # GBBBB
0.25 0.25 1.0
0.5 0.25 1.0
0.75 0.25 1.0
1.0 0.25 1.0
0.4166 0.4166 0.4166 #GBB
0.25 0.5 1.0
0.5 0.5 1.0
0.75 0.5 1.0
1.0 0.5 1.0
0.4583 0.4583 0.4583 # GGGBBBB
0.25 0.75 1.0
0.5 0.75 1.0
0.75 0.75 1.0
1.0 0.75 1.0
0.5 0.5 0.5 # CYAN
0.25 1.0 1.0
0.5 1.0 1.0
0.75 1.0 1.0
1.0 1.0 1.0 # White