In the present invention, in order to generate motion detection images for detecting motion between images picked up at different times, this image processing device is provided with the following: a motion detection image generation processing unit (411) that sets, when using the illumination light of a white illumination light observation method, the pixel-value weighting of pixels having a filter that transmits the light of luminance-components in the white illumination light observation method to be at least the pixel-value weighting of pixels having a different type of filter, that sets, when using a narrow band observation method, the pixel-value weighting of pixels having a filter that transmits the light of luminance-components in the narrow band observation method to be at least the pixel-value weighting of pixels having a different type of filter, and that thereby carries out arithmetic mean processing on the pixel values of pixels included in a group of a plurality of pixels having different color filters, and generates motion detection images on the basis of a motion detection image generation-use signal value obtained by the arithmetic mean processing and a motion detection processing unit (412) that, on the basis of the motion detection images, detects motion between two motion detection images generated on the basis of the images picked up at different times.Dans la présente invention, afin de générer des images de détection de mouvement pour détecter un mouvement entre des images capturées à des moments différents, le présent dispositif de traitement dimage est doté des éléments suivants : une unité de traitement de génération dimage de détection de mouvement (411) qui définit, quand on utilise la lumière déclairage dun procédé dobservation à lumière déclairage blanche, la pondération de valeurs de pixels des pixels ayant un filtre qui transmet la lumière de composantes de luminance dans un procédé dobservation à lumière déclairage blanche pour être