├── .github └── workflows │ └── format.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── examples ├── calibrated.py ├── image_pairs │ ├── 0_scannet │ │ ├── image0.png │ │ ├── image1.png │ │ ├── info.json │ │ ├── marigold_depth_0.npy │ │ ├── marigold_depth_1.npy │ │ ├── superglue_matches_0.npy │ │ └── superglue_matches_1.npy │ ├── 1_eth3d │ │ ├── da-met_depth_0.npy │ │ ├── da-met_depth_1.npy │ │ ├── image0.png │ │ ├── image1.png │ │ ├── info.json │ │ ├── lightglue_matches_0.npy │ │ └── lightglue_matches_1.npy │ └── 2_2d3ds │ │ ├── image0.png │ │ ├── image1.png │ │ ├── info.json │ │ ├── mast3r_depth_0.npy │ │ ├── mast3r_depth_1.npy │ │ ├── mast3r_matches_0.npy │ │ ├── mast3r_matches_1.npy │ │ └── mast3r_pose.json ├── shared_focal.py └── two_focal.py ├── madpose ├── __init__.py └── utils.py ├── resources └── pipeline.png ├── ruff.toml ├── scripts └── format │ ├── clang_format.sh │ └── python.sh ├── setup.py ├── solver_py ├── scale_and_shift.py ├── scale_and_shift_shared_focal.py └── scale_and_shift_two_focal.py └── src ├── .clang-format ├── CMakeLists.txt ├── bindings.cpp ├── cost_functions.h ├── estimator_config.h ├── hybrid_pose_estimator.cpp ├── hybrid_pose_estimator.h ├── hybrid_pose_shared_focal_estimator.cpp ├── hybrid_pose_shared_focal_estimator.h ├── hybrid_pose_two_focal_estimator.cpp ├── hybrid_pose_two_focal_estimator.h ├── hybrid_ransac.h ├── optimizer.h ├── optimizer_config.h ├── pose.h ├── pose_scale_shift_estimator.h ├── ransac.h ├── solver.cpp ├── solver.h └── utils.h /.github/workflows/format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/.github/workflows/format.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | .vscode/ 3 | *.so 4 | *.egg-info/ 5 | 6 | __pycache__/ -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/README.md -------------------------------------------------------------------------------- /examples/calibrated.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/calibrated.py -------------------------------------------------------------------------------- /examples/image_pairs/0_scannet/image0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/0_scannet/image0.png -------------------------------------------------------------------------------- /examples/image_pairs/0_scannet/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/0_scannet/image1.png -------------------------------------------------------------------------------- /examples/image_pairs/0_scannet/info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/0_scannet/info.json -------------------------------------------------------------------------------- /examples/image_pairs/0_scannet/marigold_depth_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/0_scannet/marigold_depth_0.npy -------------------------------------------------------------------------------- /examples/image_pairs/0_scannet/marigold_depth_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/0_scannet/marigold_depth_1.npy -------------------------------------------------------------------------------- /examples/image_pairs/0_scannet/superglue_matches_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/0_scannet/superglue_matches_0.npy -------------------------------------------------------------------------------- /examples/image_pairs/0_scannet/superglue_matches_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/0_scannet/superglue_matches_1.npy -------------------------------------------------------------------------------- /examples/image_pairs/1_eth3d/da-met_depth_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/1_eth3d/da-met_depth_0.npy -------------------------------------------------------------------------------- /examples/image_pairs/1_eth3d/da-met_depth_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/1_eth3d/da-met_depth_1.npy -------------------------------------------------------------------------------- /examples/image_pairs/1_eth3d/image0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/1_eth3d/image0.png -------------------------------------------------------------------------------- /examples/image_pairs/1_eth3d/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/1_eth3d/image1.png -------------------------------------------------------------------------------- /examples/image_pairs/1_eth3d/info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/1_eth3d/info.json -------------------------------------------------------------------------------- /examples/image_pairs/1_eth3d/lightglue_matches_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/1_eth3d/lightglue_matches_0.npy -------------------------------------------------------------------------------- /examples/image_pairs/1_eth3d/lightglue_matches_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/1_eth3d/lightglue_matches_1.npy -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/image0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/image0.png -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/image1.png -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/info.json -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/mast3r_depth_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/mast3r_depth_0.npy -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/mast3r_depth_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/mast3r_depth_1.npy -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/mast3r_matches_0.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/mast3r_matches_0.npy -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/mast3r_matches_1.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/mast3r_matches_1.npy -------------------------------------------------------------------------------- /examples/image_pairs/2_2d3ds/mast3r_pose.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/image_pairs/2_2d3ds/mast3r_pose.json -------------------------------------------------------------------------------- /examples/shared_focal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/shared_focal.py -------------------------------------------------------------------------------- /examples/two_focal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/examples/two_focal.py -------------------------------------------------------------------------------- /madpose/__init__.py: -------------------------------------------------------------------------------- 1 | from .madpose import * # noqa 2 | -------------------------------------------------------------------------------- /madpose/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/madpose/utils.py -------------------------------------------------------------------------------- /resources/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/resources/pipeline.png -------------------------------------------------------------------------------- /ruff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/ruff.toml -------------------------------------------------------------------------------- /scripts/format/clang_format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/scripts/format/clang_format.sh -------------------------------------------------------------------------------- /scripts/format/python.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/scripts/format/python.sh -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/setup.py -------------------------------------------------------------------------------- /solver_py/scale_and_shift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/solver_py/scale_and_shift.py -------------------------------------------------------------------------------- /solver_py/scale_and_shift_shared_focal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/solver_py/scale_and_shift_shared_focal.py -------------------------------------------------------------------------------- /solver_py/scale_and_shift_two_focal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/solver_py/scale_and_shift_two_focal.py -------------------------------------------------------------------------------- /src/.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/.clang-format -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/bindings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/bindings.cpp -------------------------------------------------------------------------------- /src/cost_functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/cost_functions.h -------------------------------------------------------------------------------- /src/estimator_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/estimator_config.h -------------------------------------------------------------------------------- /src/hybrid_pose_estimator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/hybrid_pose_estimator.cpp -------------------------------------------------------------------------------- /src/hybrid_pose_estimator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/hybrid_pose_estimator.h -------------------------------------------------------------------------------- /src/hybrid_pose_shared_focal_estimator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/hybrid_pose_shared_focal_estimator.cpp -------------------------------------------------------------------------------- /src/hybrid_pose_shared_focal_estimator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/hybrid_pose_shared_focal_estimator.h -------------------------------------------------------------------------------- /src/hybrid_pose_two_focal_estimator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/hybrid_pose_two_focal_estimator.cpp -------------------------------------------------------------------------------- /src/hybrid_pose_two_focal_estimator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/hybrid_pose_two_focal_estimator.h -------------------------------------------------------------------------------- /src/hybrid_ransac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/hybrid_ransac.h -------------------------------------------------------------------------------- /src/optimizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/optimizer.h -------------------------------------------------------------------------------- /src/optimizer_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/optimizer_config.h -------------------------------------------------------------------------------- /src/pose.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/pose.h -------------------------------------------------------------------------------- /src/pose_scale_shift_estimator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/pose_scale_shift_estimator.h -------------------------------------------------------------------------------- /src/ransac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/ransac.h -------------------------------------------------------------------------------- /src/solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/solver.cpp -------------------------------------------------------------------------------- /src/solver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/solver.h -------------------------------------------------------------------------------- /src/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarkYu98/madpose/HEAD/src/utils.h --------------------------------------------------------------------------------