1. A computer implemented method for generating a dense depth map comprising: applying a joint bilateral filter to a first depth map to generate a second depth map, where at least one filter weight of the bilateral filter is adapted based upon content of an image represented by the first depth map, and the second depth map has a higher resolution than the first depth map.