摘要 |
PROBLEM TO BE SOLVED: To accurately generate a pixel of a desired color component, using the pixel value of a sampled color component pixel.SOLUTION: From image data including first color component pixels and second color component pixels, a local area extraction unit 231 extracts a local area that includes a first color component pixel and a second color component pixel. Next, a determination processing unit 232 determines whether or not the pixel value of the first color component of a pixel of interest in the local area contributes to a dynamic range DR of the pixel value of the first color component pixel in the local area. According to the determination result of the determination processing unit 232, a generation formula to calculate the interpolation pixel value of the second color component pixel to be interpolated at the pixel position of the first color component in the pixel of interest is switched. |