Patent attributes
In one embodiment, a method includes receiving sensor data of an environment of the vehicle generated by one or more sensors of the vehicle, the sensors comprising a camera, identifying, based on the sensor data, one or more objects in a field of view of the camera and one or more object types that correspond to the one or more objects, determining one or more target histograms that correspond to the object types, generating a processed image based on an image captured by the camera, wherein the processed image has a histogram based on the target histograms, and using the processed image to determine state information associated with the objects. The processed image may be generated by processing the image captured by the camera using a histogram matching algorithm to generate the histogram of the processed image based on the target histograms.