A device includes an illumination unit that casts light of a prescribed polarization direction on a scattering body, a camera that picks up images of the scattering body at a plurality of different polarization angles, and a processing device that executes a process of generating and outputting an inner layer image, of an inner layer of an inside of the scattering body, in response to a depth from a surface of the scattering body on the basis of the images of the scattering body picked up at the plurality of different polarization angles.