Open MiaoJieF opened 11 months ago
Hey @MiaoJieF, thanks for the question! It seems that in your code, you didn't map the optical flow range correctly. In the Carla simulator, the optical flow range is in [-2, 2] (you cloud check its official document https://carla.readthedocs.io/en/latest/ref_sensors/#optical-flow-camera). Also, the codes in https://github.com/carla-simulator/carla/issues/4795 might be helpful. Please come back to me if the problem persists!
Hey @MiaoJieF, thanks for the question! It seems that in your code, you didn't map the optical flow range correctly. In the Carla simulator, the optical flow range is in [-2, 2] (you cloud check its official document https://carla.readthedocs.io/en/latest/ref_sensors/#optical-flow-camera). Also, the codes in carla-simulator/carla#4795 might be helpful. Please come back to me if the problem persists!
Thank you for your reply. I still have a little doubt, is the optical flow provided in SHIFT from t->t-1
or t->t+1
?
Here's my code. I am trying to read the optical flow to warp frame 2 back to frame 1. But the results appear to be wrong.