A light-source integrated processor (3) according to the present invention for processing an imaging signal transmitted from an endoscope (2A) provided with an imaging element, the signal processor being configured such that the endoscope (2A) provided with an imaging element is removably mounted on the signal processor, and also being communicably connected to a standalone processor (4), wherein the signal processor is provided with: a light-adjusting control unit (35) for generating a first light-adjustment control signal on the basis of the imaging signal inputted from the endoscope (2A); an endoscope connection detection unit (36a) for detecting whether the endoscope (2A) is electrically connected thereto; and a mode selection unit (36b) for selecting, on the basis of the detection result from the endoscope connection detection unit (36a), one of the first light-adjustment control signal and a second light-adjustment control signal inputted from the standalone processor (4), and causing a switching unit (37) to output the selected light-adjustment control signal to a light source unit (38).L'invention concerne un processeur à source de lumière intégrée (3) pour le traitement d'un signal d'imagerie transmis depuis un endoscope (2A) pourvu d'un élément d'imagerie, le processeur de signal étant configuré de telle sorte que l'endoscope (2A) pourvu d'un élément d'imagerie soit monté amovible sur le processeur de signal et étant également connecté de manière communicante à un processeur autonome (4), le processeur de signal étant pourvu de : une unité de commande de réglage de lumière (35) pour générer un premier signal de commande de réglage de lumière sur la base du signal d'imagerie entré à partir de l'endoscope (2A) ; une unité de détection de connexion d'endoscope (36a) pour détecter si l'endoscope (2A) est connecté électriquement à celui-ci ; et une unité de sélection de mode (36b) pour sélectionner, sur la base du résultat de la détection provenant de l'unité d