This allows important regions of a scene to be given better stereoscopic representation while less important regions are assigned less of the depth budget.
When viewed through the color-coded anaglyph glasses, each of the two images reaches the eye it's intended for, revealing an integrated stereoscopic image.