Provided is a
refractive index distribution generation device capable of improving the accuracy of a
refractive index distribution of even a thick sample. This
refractive index distribution generation device comprises a processor and a memory. The processor executes refractive index distribution generation
processing of generating a refractive index distribution for a
processing target image. The refractive index distribution generation
processing includes: input processing of inputting, from a memory, the processing target image, first refractive index information indicating the refractive index of a first structure, and second refractive index information indicating the refractive index of a second structure different from the first structure; and setting processing of setting each refractive index constituting the refractive index distribution. The setting processing includes: first setting processing of setting a refractive index, which is based on the first refractive index information, at a position corresponding to a first image region of the processing target image on the basis of a
signal strength; and second setting processing of setting a refractive index, which is based on the second refractive index information, at a position corresponding to an image region different from the first image region of the processing target image. The first image region is an image region corresponding to the first structure.