A system and methods are described for calibrating one sensor with respect to another. A method includes: determining a depth-motion vector using a first sensor; determining an optical-motion vector using a second sensor; and calibrating the first sensor with respect to the second sensor by minimizing a cost function that evaluates a distance between the depth-motion and optical-motion vectors.