摘要 |
The present invention provides an image processing device, an imaging device, an image processing method, and an image processing program such that a split image can be ensured by a simple configuration even when all pixels are phase-difference pixels. Each pixel (10) of an imaging element (20) is provided with photodiodes (PDL, PDR). The imaging element (20) is also provided with a Bayer-arrayed color filter (21). A control unit (50) selects the pixels (10) in the 3n (n = integer of 0 or more) row as a first pixel group that functions as left phase-difference pixels to read a signal charge generated by the photodiode (PDL), selects the pixels (10) in the 3n + 2 row as a second pixel group that functions as right phase-difference pixels to read a signal charge generated by the photodiode (PDR), and selects the pixels (10) in the 3n + 1 row as a third pixel group that functions as normal pixels to read a sum of the signal charges generated by the photodiodes (PDL, PDR). |