Looking to build an equiluminance demo, isolating color info only

Jan 10, 2010 at 8:51pm

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.

Any suggestions on a better way to do this?

– Pasted Max Patch, click to expand. –
#47695
Jan 11, 2010 at 1:35pm

How about using:

jit.rgb2hsl @lscale 0. @loffset 0.5

and then converting back to argb with jit.hsl2rgb:

– Pasted Max Patch, click to expand. –
#171519

You must be logged in to reply to this topic.