RGB color space
Primatte works in 3D RGB color space. Here is a visual representation of the Primatte algorithm after an image has been processed.