Real-time semantic context labeling for image understanding