Tree-Structured Models for Efficient Multi-Cue Scene Labeling