R 10=(1/2)(R 00 +R 20) B 21=(1/2)(B 11 +B 31) Furthermore, if a pixel that outputs no R or B signal exists in a row or column including pixels that output no R or B signals, interpolation of an R signal or B signal (for example, R11 or B22) is performed for the pixel that outputs no R or B signal using one of the following equations.