Looking to build an equiluminance demo, isolating color info only
Hi there, I'm trying to build a patch that will remove luminance info from an incoming video stream, leaving only color data.
What I've done is take the incoming video stream, convert it to black & white (jit.rgb2luma), invert it, and then add it back to the original stream.
Adjusting brightness/saturation/contrast gets something close to what I'm looking for, but not quite there yet.
Max Patch
Copy patch and select New From Clipboard in Max.
Any suggestions on a better way to do this?
How about using:
jit.rgb2hsl @lscale 0. @loffset 0.5
Max Patch
Copy patch and select New From Clipboard in Max.
and then converting back to argb with jit.hsl2rgb: