The distance image processing device, distance image processing image, and distance image processing program according to the present invention acquire on the basis of a plurality of transmission waves and a plurality of reflection waves a distance image having a plurality of pixels corresponding respectively to the plurality of mutually differing directions and, when a predetermined region in the distance image is designated as a region of interest, determine the region of interest to be noise when the gradient of a distance value between the region of interest and a peripheral region to the region of interest is within a predetermined range and the pulse width of the reflected waves relating to the region of interest is greater than the pulse width of the reflection waves relating to the peripheral region. The recording medium records such a distance image processing program.