Context-based region labeling for event detection in surveillance video