CPC G02F 1/133538 (2021.01) [G02B 5/3025 (2013.01); H04N 23/55 (2023.01)] | 12 Claims |
1. An image processing device comprising:
a processor; and
a memory that stores a relationship between polarization directions,
wherein the processor performs image processing, and
performs
an acquisition process of acquiring first image data from an imaging element in which n first-polarizers having different polarization directions are regularly provided in a plurality of pixels consisting of photoelectric conversion elements arranged in a two-dimensional manner, assuming that n is an integer of 4 or more,
a first polarized image data generation process of performing a demosaicing process on the first image data to generate n pieces of first polarized image data according to the different polarization directions, and
a second polarized image data generation process of generating n or less pieces of second polarized image data by using the n pieces of first polarized image data and the relationship between the polarization directions stored in the memory,
wherein in a case where the n is 4,
assuming that four pieces of polarized image data separated from the first image data for each polarization direction are I1, I2, I3, and I4, respectively, the processor performs calculation of the following equation
where a is a parameter,
to generate four pieces of first polarized image data subjected to the demosaicing process.
|