Colouring a greyscale video


    May 20 2019 | 9:01 am
    Hi guys, I'm planning to add some colours into a greyscale live video. Is there any way I can do it? Many thanks! John

    • May 20 2019 | 9:27 am
      Hi John, you should illustrate your question a little more to allow others to understand your intention.
    • May 20 2019 | 9:47 am
      Hi, Actually I’m trying to make a patcher which the frequency/pitch of the audio input triggers the display of different colors (e.g. an A note triggers a blue color). I’ve built this part already. Then, I want to add the color into the video output, which is from the live camera, so that the color changing can appear on the live video. My ultimate goal is to change the color only to the face detected in the live video, but that’s a bit beyond my capacity for now. Therefore, I’m trying to add the color into the live video first as a color filter. Does anyone have any idea?
      thanks! John
    • May 20 2019 | 12:34 pm
      this is one way (there's probably simpler ways of doing it):
    • May 20 2019 | 4:49 pm
      here's 2 more ways using vizzie modules, which will be more performant then the matrix solution for larger dimension video input:
    • May 27 2019 | 8:59 am
      Thanks you guys! Your patchers are really awesome! I will try to modify a bit to fit in my current project and perhaps I will show you guys when it's done! Thanks again!
    • May 27 2019 | 4:56 pm
      another technique i just remembered: you can use the colorize cosine function of jit.gl.bfg with the basis set to input.distorted and distortion set to 0:
      this can obviously be further modified via the vizzie patchers in the previous reply.
    • May 27 2019 | 6:42 pm
      Whoa. Now that's a solution I didn't see coming.... You rule, Rob.