System for forming nighttime images for a motor vehicle provided with headlights, a camera, a device for displaying the images formed and at least two driver assistance systems capable of transmitting an area of interest, as a function of at least one image acquired by the camera, one of these at least two driver assistance systems being a system for the automatic switching of headlights, the area of interest comprising the coordinates of the area of interest in the at least one acquired image, associated with an identifier of the image upon which the detection was carried out, characterized in that the system comprises: a mapping of the acquisition parameters of each of said at least two driver assistance systems connected to the camera and to a switch, the switch being capable of storing the images acquired by the camera and of transmitting these images to each of said at least two driver assistance systems as a function of the mapping so that each of said at least two systems receives the acquired images with the acquisition parameters corresponding to it, a system for controlling headlights capable of commanding the switching off or on of the headlights in a way that is synchronized with the acquisition of an image by the camera, said switching system being capable of transmitting at its output an area of interest comprising the illumination pattern of the headlights in an image acquired by the camera accompanied by the identifier of the image having allowed the determination, the switching system also being capable of determining the area of interest as a function of the difference between an image acquired by the camera whilst the headlights are on and an image acquired by the camera whilst the headlights are off, the headlights being light emitting diode headlights, a calculation means capable of determining a current area of interest from the combination of the areas of interest of at least two driver assistance systems, an image processing means capable of determining at least one image in which the intensity of each pixel is equal to the intensity of the corresponding pixel in the image designated by the image identifier in the current area of interest. a mapping of the acquisition parameters of each of said at least two driver assistance systems connected to the camera and to a switch, the switch being capable of storing the images acquired by the camera and of transmitting these images to each of said at least two driver assistance systems as a function of the mapping so that each of said at least two systems receives the acquired images with the acquisition parameters corresponding to it, a system for controlling headlights capable of commanding the switching off or on of the headlights in a way that is synchronized with the acquisition of an image by the camera, said switching system being capable of transmitting at its output an area of interest comprising the illumination pattern of the headlights in an image acquired by the camera accompanied by the identifier of the image having allowed the determination, the switching system also being capable of determining the area of interest as a function of the difference between an image acquired by the camera whilst the headlights are on and an image acquired by the camera whilst the headlights are off, the headlights being light emitting diode headlights, a calculation means capable of determining a current area of interest from the combination of the areas of interest of at least two driver assistance systems, an image processing means capable of determining at least one image in which the intensity of each pixel is equal to the intensity of the corresponding pixel in the image designated by the image identifier in the current area of interest.