Using a multifunction camera that detects light sources from oncoming vehicles, the Matrix function of the TOP LED headlights masks out the light distribution around other vehicles or traffic signs in real time with individually switchable LED chips in each headlight. This results in a perfectly illuminated road ahead and greater safety.