摘要 |
There is provided a stereoscopic image processing apparatus with which a disparity can be correctly estimated , even for an image in which a disparity has a vertical component. A stereoscopic image processing apparatus (10) includes an input unit (11) that receives a plurality of viewpoint images, an evaluation value calculation unit (12) that calculates, for a plurality of viewpoint images that have been received, an evaluation value relating to pixel similarity between viewpoint images and disparity continuity between viewpoint images, and a disparity map creation unit (13) that selects a combination of disparities of each pixel, for which the evaluation value that has been calculated is a minimum evaluation value, as a disparity of the pixel and creates a disparity map having a horizontal component and a vertical component. Here, the disparity continuity is continuity between a disparity of a pixel of interest and a disparity of a pixel horizontally adjacent to the pixel of interest and/or a disparity of a pixel vertically adjacent to the pixel of interest, and the evaluation value that is calculated by the evaluation value calculation unit (12) becomes smaller as the pixel similarity increases and becomes smaller as the disparity continuity increases. |