摘要 |
According to an embodiment, an image processing device includes a generator, a determinator, and a processor. The generator is configured to generate a refocused image focused at a predetermined distance from a plurality of unit images for which points on an object are imaged at different positions according to distances between an imaging unit and the positions of the points on the object by the imaging unit. The determinator is configured to determine sampling information including pairs of positions of pixels of the plurality of unit images in the refocused image and pixel values of the pixels. The processor is configured to perform resolution enhancement on a predetermined region including a first position indicated by the sampling information of the refocused image according to an intensity corresponding to a focusing degree of a pixel corresponding to the first position. |