Patent Document ID: 9654764
Application ID: 14421530
Patent Status: 1

Claim One:
1. A stereoscopic image processing device, comprising: a depth map generation unit that acquires depth values from a first viewpoint image and a second viewpoint image to generate a depth map, each of said depth values being assigned to respective blocks that each comprise a plurality of pixels, the depth values each representing how an image is shifted between the first viewpoint image and the second viewpoint image; and a depth map correction unit that determines whether or not an edge of an object is included in a block based upon the depth values of blocks adjacent thereto, said depth map correction unit correcting the depth value originally assigned to the block containing said edge in units of correction regions that are smaller than said block, thereby finely defining depth values within the block, wherein the depth map correction unit corrects the depth value in said block containing the edge such that: (1) when the depth value in a top adjacent block and the depth value in a left adjacent block are both greater than a first prescribed threshold in magnitude and the depth value in a bottom adjacent block and the depth value in a right adjacent block are both less than a second prescribed threshold in magnitude, the depth value in the block containing said edge is corrected using the depth value in the top adjacent block and the depth value in the bottom adjacent block; (2) when the depth value in the top adjacent block and the depth value in the right adjacent block are both greater than a first prescribed threshold in magnitude and the depth value in the left adjacent block and depth value in the bottom adjacent block are both less than a second prescribed threshold in magnitude, the depth value in the block containing said edge is corrected using the depth value in the left adjacent block and the depth value in the right adjacent block; (3) when the depth value in the bottom adjacent block and the depth value in the right adjacent block are both greater than a first prescribed threshold in magnitude and the depth value in the left adjacent block and depth value in the top adjacent block are both less than a second prescribed threshold in magnitude, the depth value in the block containing said edge is corrected using the depth value in the top adjacent block and the depth value in the bottom adjacent block; and (4) when the depth value in the left adjacent block and the depth value in the bottom adjacent block are both greater than a first prescribed threshold in magnitude and the depth value in the top adjacent block and depth value in the right adjacent block are both less than a second prescribed threshold in magnitude, the depth value in the block containing said edge is corrected using the depth value in the left adjacent block and the depth value in the right adjacent block.