This paper presents a new method, randomizing the modulation function of indirect time-of-flight(ToF) camera, to improve its robustness to high frequency noise from the interference of other ToF devices. It has been verified by experiment that the proposed method shows better robustness under high-frequency noise.