1. A method of image processing in a structured light imaging device comprising a camera and a projector, the method comprising: generating a first depth image based on a first at least one image of a scene, wherein the first at least one image is captured by projecting a structured light pattern into the scene by the projector for a first projection time and concurrently capturing the first at least one image by the camera for at least a first exposure time equal to the first projection time; generating a second depth image based on a second at least one image of the scene, wherein the second at least one image is captured by projecting the structured light pattern into the scene by the projector for a second projection time and concurrently capturing the second at least one image by the camera for at least a second exposure time equal to the second projection time, wherein the second projection time is different from the first projection time; and generating a composite depth image by combining the first depth image and the second depth image.