Traffic density may be estimated by increasing a value of a parameter if an object enters a predefined zone on a side of the vehicle and decreasing the value of the parameter after an object exits the predefined zone such that the value of the parameter increases as traffic in a vicinity of the vehicle increases and decreases as traffic in the vicinity of the vehicle decreases.