1. A method of processing a depth image, the method comprising: receiving a first depth image and a second depth image; determining a number of mods (NoM) of corresponding pixels in the first depth image and the second depth image; and recovering a depth value for at least one of the first depth image and the second depth image based on the determined NoM, wherein the corresponding pixels represent a same three-dimensional (3D) point.