-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* intiail sphinx setup * docs structure setup * installation docs * quickstart docs * fix highlights * Localization and autodocs * minor * fix a cross-ref link in docstring * update setup. * now it works!!! as far as I know * minor update. * Support google style docstring * docs for Line2d and Line3d * A helper script to help build the doc of C++ part * Change to google style docstrings * refactor localization tutorial * minor * Finish documenting lines, and some formatting * reformat types * Fix property stack on same line * Documenting estimators, rename ExtendedHybridLORansacOptions -> HybridLORansacOptions (python only) * Finish doc for limap.base * Minor fix for the merge * update torch version. * minor. * update. * add docs for evaluation package. remove line2d + point2d from the docs. * fix. * Minor fix to solve sphinx warnings * update. change undistortion interface. add docs for visualization and undistortion. * minor. * minor. * To make sphinx and Shaohui happy * docs for line2d, vp, triangulation and undistortion. * restructure tests folder * adapt to new hloc convention. support features other than superpoint. * docs for limap/runners/functions * docs for main runners. * minor. * update. * update tutorials. * update readme. * update. * update teaser and main descriptions in docs. * remove indexes. * minor update. * minor fix. * Create .readthedocs.yaml * minor fix. * fix the last commit. --------- Co-authored-by: Yifan Yu <[email protected]>
- Loading branch information
Showing
82 changed files
with
2,552 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,4 @@ results | |
outputs | ||
tmp | ||
|
||
docs/_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
# You can also specify other tool versions: | ||
# nodejs: "19" | ||
# rust: "1.64" | ||
# golang: "1.19" | ||
|
||
# Build documentation in the "docs/" directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
# formats: | ||
# - epub | ||
|
||
# Optional but recommended, declare the Python requirements required | ||
# to build your documentation | ||
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||
# python: | ||
# install: | ||
# - requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# fitting config | ||
fitting: | ||
var2d: 4.0 # This is for DeepLSD. This hyperparameter should depend on the detector | ||
ransac_th: 0.75 | ||
min_percentage_inliers: 0.9 | ||
n_jobs: 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# global config | ||
dir_save: "tmp" | ||
|
||
# loading config | ||
load_det: False | ||
dir_load: null | ||
skip_exists: False | ||
|
||
# line detection and description config | ||
line2d: | ||
max_num_2d_segs: 3000 | ||
do_merge_lines: False | ||
visualize: False | ||
save_l3dpp: False | ||
compute_descinfo: False | ||
detector: | ||
method: "deeplsd" # ["lsd", "sold2", "hawpv3", "tp_lsd", "deeplsd"] | ||
skip_exists: False | ||
extractor: | ||
method: "wireframe" # ["sold2", "lbd", "l2d2", "linetr", "superpoint_endpoints", "wireframe"] | ||
skip_exists: False | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# global config | ||
dir_save: "tmp" | ||
|
||
# loading config | ||
load_match: False | ||
dir_load: null | ||
skip_exists: False | ||
|
||
# line matching config | ||
line2d: | ||
detector: | ||
method: "deeplsd" # ["lsd", "sold2", "hawpv3", "tp_lsd", "deeplsd"] | ||
extractor: | ||
method: "wireframe" # ["sold2", "lbd", "l2d2", "linetr", "superpoint_endpoints", "wireframe"] | ||
matcher: | ||
method: "gluestick" # ["sold2", "lbd", "l2d2", "linetr", "nn_endpoints", "superglue_endpoints", "gluestick"] | ||
n_jobs: 1 | ||
topk: 10 | ||
skip_exists: False | ||
superglue: | ||
weights: "outdoor" # ["indoor", "outdoor"] for selecting superglue models | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# global config | ||
dir_save: "tmp" | ||
n_neighbors: 20 | ||
|
||
# loading config | ||
load_meta: False | ||
dir_load: null | ||
skip_exists: False | ||
|
||
# sfm config | ||
sfm: | ||
colmap_output_path: "colmap_outputs" | ||
reuse: False | ||
min_triangulation_angle: 1.0 | ||
neighbor_type: "dice" # ["overlap", "iou", "dice"] | ||
ranges: | ||
range_robust: [0.05, 0.95] | ||
k_stretch: 1.25 | ||
hloc: | ||
descriptor: "superpoint_aachen" | ||
matcher: "NN-superpoint" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dl.py.property { | ||
display: block !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Cameras, poses, and images | ||
============================== | ||
|
||
.. autoclass:: limap.base.Camera | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
.. autoclass:: limap.base.CameraImage | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
.. autoclass:: limap.base.CameraPose | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
.. autoclass:: limap.base.CameraView | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
.. autoclass:: limap.base.ImageCollection | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Line distance | ||
================ | ||
|
||
.. autoclass:: limap.base.LineDistType | ||
.. autofunction:: limap.base.compute_distance_2d | ||
.. autofunction:: limap.base.compute_distance_3d | ||
.. autofunction:: limap.base.compute_pairwise_distance_2d | ||
.. autofunction:: limap.base.compute_pairwise_distance_3d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Lines | ||
=========== | ||
|
||
.. autoclass:: limap.base.Line2d | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
|
||
.. autoclass:: limap.base.Line3d | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
|
||
.. autoclass:: limap.base.InfiniteLine2d | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
|
||
.. autoclass:: limap.base.InfiniteLine3d | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Line track | ||
================ | ||
|
||
.. autoclass:: limap.base.LineTrack | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Readers for depths and point clouds | ||
=============================================== | ||
|
||
limap.base.depth\_reader\_base module | ||
------------------------------------- | ||
|
||
.. automodule:: limap.base.depth_reader_base | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
limap.base.p3d\_reader\_base module | ||
----------------------------------- | ||
|
||
.. automodule:: limap.base.p3d_reader_base | ||
:members: | ||
:undoc-members: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
limap.base package | ||
================== | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Module Contents: | ||
|
||
limap.base.camera | ||
limap.base.lines | ||
limap.base.line_dists | ||
limap.base.linetrack | ||
limap.base.reader | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Submodules: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Estimate absolute pose | ||
======================================= | ||
|
||
.. automodule:: limap.estimators.absolute_pose | ||
:members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
RANSAC options and statistics | ||
============================== | ||
|
||
.. autoclass:: limap.estimators.RansacStatistics | ||
:members: | ||
:undoc-members: | ||
.. autoclass:: limap.estimators.RansacOptions | ||
:members: | ||
:undoc-members: | ||
.. autoclass:: limap.estimators.LORansacOptions | ||
:members: | ||
:undoc-members: | ||
.. autoclass:: limap.estimators.HybridRansacStatistics | ||
:members: | ||
:undoc-members: | ||
.. autoclass:: limap.estimators.HybridLORansacOptions | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
limap.estimators package | ||
======================== | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Subpackages: | ||
|
||
limap.estimators.absolute_pose | ||
|
||
.. .. automodule:: limap.estimators | ||
.. :members: | ||
.. :undoc-members: | ||
.. :show-inheritance: | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Module Contents: | ||
|
||
limap.estimators.ransac | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Evaluate w.r.t. a Mesh | ||
============================== | ||
|
||
.. autoclass:: limap.evaluation.MeshEvaluator | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Evaluate w.r.t. a Point Cloud | ||
============================== | ||
|
||
.. autoclass:: limap.evaluation.PointCloudEvaluator | ||
:members: | ||
:undoc-members: | ||
:special-members: __init__ | ||
:member-order: groupwise | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
limap.evaluation package | ||
======================== | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Module Contents: | ||
|
||
limap.evaluation.mesh_evaluator | ||
limap.evaluation.point_cloud_evaluator | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Base line detector/descriptor | ||
---------------------------------- | ||
|
||
.. automodule:: limap.line2d.base_detector | ||
:members: | ||
:show-inheritance: | ||
:member-order: groupwise | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Base line matcher | ||
--------------------------------- | ||
|
||
.. automodule:: limap.line2d.base_matcher | ||
:members: | ||
:show-inheritance: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Instantiate a line detector/descriptor | ||
------------------------------------------------------------- | ||
|
||
.. automodule:: limap.line2d.register_detector | ||
:members: | ||
:show-inheritance: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Instantiate a line matcher | ||
------------------------------------- | ||
|
||
.. automodule:: limap.line2d.register_matcher | ||
:members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
limap.line2d package | ||
==================== | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Module Contents: | ||
|
||
limap.line2d.base_detector | ||
limap.line2d.register_detector | ||
limap.line2d.base_matcher | ||
limap.line2d.register_matcher | ||
|
Oops, something went wrong.