Track4World icon indicating copy to clipboard operation
Track4World copied to clipboard

Does the flow3d output have metric (physical) scale?

Open SummerWXK opened this issue 7 months ago • 4 comments

Hi, thanks for the great work!

I noticed that Track4World uses monocular depth estimators (DepthAnythingV3 / MoGe / Pi3) as its geometry backbone. Since monocular depth estimation is inherently scale-ambiguous, I'm wondering:

Does the output flow3d carry metric (physically meaningful) scale, or is it up-to-scale only?

Specifically:

  • Is the unit of the 3D coordinates (e.g., meters) meaningful across different videos?

SummerWXK avatar Apr 20 '26 06:04 SummerWXK

Thank you for your interest! In principle, when using Depth Anything V3 as the backbone, our method has the capacity to produce metrically scaled 3D flow. However, the current implementation has not yet been adapted to preserve or calibrate metric scale in practice. If you’re interested, you’re very welcome to explore and implement this aspect. We also plan to look into adding proper metric-scale calibration in future updates. Image Image

jiah-cloud avatar Apr 26 '26 06:04 jiah-cloud

Hi @SummerWXK, We've recently added a --metric_scale option that recovers physical (meter-level) scale when using the DA3 backbone:

python demo.py --use_model depthanythingv3 --metric_scale ...

This leverages the DA3 Nested backbone's metric depth capability to restore all geometric outputs (points, flow3d, world_points, camera_poses) to meter-level coordinates.

Note: metric scale recovery is currently only supported with the DA3 backbone. MoGe and Pi3 backbones remain in relative scale.

jiah-cloud avatar Apr 27 '26 15:04 jiah-cloud

I am testing Track4World using the infer_pair mode, but I noticed a potential issue in the predicted Scene Flow. In some examples, the static background appears to be assigned noticeable motion, even though it should ideally remain close to zero flow after accounting for camera/object motion.

I attached a visualization video for reference. As shown in the video, the foreground/object motion seems partially reasonable, but the background regions, which are visually static, are still estimated with relatively large Scene Flow. This makes the final visualization look as if the whole scene is moving.

I would like to ask:

Is this behavior expected for infer_pair mode? Does infer_pair assume anything specific about camera motion, depth scale, or frame normalization? Are there recommended post-processing steps to suppress erroneous Scene Flow on static background regions? Would using another inference mode, longer temporal context, or additional camera/depth information improve this issue? Are there any parameters or thresholds that you recommend tuning for this kind of case?

My current understanding is that this may be related to pairwise inference being less constrained temporally, or to the ambiguity between camera motion and object/background motion. However, I am not sure whether this is an expected limitation or a possible implementation/configuration issue on my side.

Any suggestions would be very helpful. Thanks!

https://github.com/user-attachments/assets/1967fb27-a903-4400-8ee5-0ffedb7a7af7

SummerWXK avatar May 26 '26 14:05 SummerWXK

Sorry for the late reply.

Would it be possible for you to share the raw video with me? I'd like to run some tests on my side and see whether I can reproduce the issue.

Also, have you checked the actual scene flow values predicted by the network (rather than only the visualization)? In some cases, the visualization may exaggerate small background motions due to scaling or rendering settings. It would be helpful to know whether the background regions indeed have large predicted flow magnitudes in the raw outputs.

jiah-cloud avatar Jun 07 '26 05:06 jiah-cloud