CPC G06T 5/00 (2013.01) [G06T 5/10 (2013.01); H04N 25/48 (2023.01); H04N 25/615 (2023.01)] | 17 Claims |
1. An image processing apparatus comprising at least one processor or circuit configured to execute a plurality of tasks including:
an image acquiring task configured to acquire a first image and a second image that have been obtained by imaging at imaging positions different from each other;
an image restoration processing task configured to acquire a first restored image and a second restored image by performing image restoration processing for the first image and the second image, respectively;
a pixel increasing processing task configured to acquire a pixel increased image using the first restored image and the second restored image; and
a processing determining task configured to determine whether to perform first processing or second processing,
wherein in a case where the processing determining task determines that the first processing is to be performed, the image restoration processing task performs the image restoration processing for the first image and the second image, and acquires the first restored image and the second restored image, and the pixel increasing processing task acquires the pixel increased image using the first restored image and the second restored image,
wherein in a case where the processing determining task determines that the second processing is to be performed, the pixel increasing processing task acquires the pixel increased image using the first image and the second image, and the image restoration processing task performs the image restoration processing for the pixel increased image and acquires a restored pixel increased image, and
wherein the processing determining task determines whether to perform the first processing or the second processing based on a point spread function or an optical transfer function of an imaging optical system.
|