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.