Isolating a Specific Color and Separating the Rest in TouchDesigner

Folks,

I’m working on a project where I need to isolate a specific color (e.g., red or a particular shade) from an image and then separate the rest of the colors. My goal is to split the image into two parts:

  1. One containing only the specified color.
  2. Another containing all the other colors except the specified one.

My current guess is to use the Reorder TOP for HSV conversion and possibly the Threshold TOP to isolate the specific hue, but I’m unclear about the exact workflow or any intermediate nodes required.

Could someone guide me on the best approach to achieve this in TouchDesigner? Any insights or node setups would be greatly appreciated. Thanks in advance!

Use the rgb key TOP or the chroma key TOP

There is also a chroma keyer component in the palette

@Achim thx much. Used the rgbkey to get image with specific color. Then used Subtract top (input 1: Org image, input 2: image with specific color) to get the other channel. Obvious, but was not thinking right. thx