1. A system comprising: means for generating a disparity map based on a depth map; means for determining accuracy of pixels in the depth map, wherein the determining means identifies the pixels as either accurate or inaccurate based on a confidence map and the disparity map; and means for providing an adjusted depth map, wherein the providing means adjusts inaccurate pixels of the depth map using a cost function associated with the inaccurate pixels.