Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/colmap/colmap into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojnnes committed Feb 3, 2019
2 parents 4bc627a + edc814e commit ca0409a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doc/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ of commands as an alternative to the automatic reconstruction command::
--output_path $DATASET_PATH/dense/meshed-poisson.ply

$ colmap delaunay_mesher \
--input_path $DATASET_PATH/dense/fused.ply \
--input_path $DATASET_PATH/dense \
--output_path $DATASET_PATH/dense/meshed-delaunay.ply

If you want to run COLMAP on a computer without an attached display (e.g.,
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

# General information about the project.
project = u'COLMAP'
copyright = u'2018, Johannes L. Schoenberger'
copyright = u'2019, Johannes L. Schoenberger'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
26 changes: 21 additions & 5 deletions doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,29 @@ Reconstruct sparse/dense model from known camera poses

If the camera poses are known and you want to reconstruct a sparse or dense
model of the scene, you must first manually construct a sparse model by creating
a ``cameras.txt`` and ``images.txt`` file. The ``points3D.txt`` file should be
empty while every other line in the ``images.txt`` should also be empty, since
the sparse features are computed, as described below. You can refer to
:ref:`this article <output-format>` for more information about the structure of
a ``cameras.txt``, ``points3D.txt``, and ``images.txt`` under a new folder::

+── path/to/manually/created/sparse/model
│   +── cameras.txt
│   +── images.txt
│   +── points3D.txt

The ``points3D.txt`` file should be empty while every other line in the ``images.txt``
should also be empty, since the sparse features are computed, as described below. You can
refer to :ref:`this article <output-format>` for more information about the structure of
a sparse model.

To reconstruct a sparse model, you first have to recompute features from the
Example of images.txt::

1 0.695104 0.718385 -0.024566 0.012285 -0.046895 0.005253 -0.199664 1 image0001.png
# Make sure every other line is left empty
2 0.696445 0.717090 -0.023185 0.014441 -0.041213 0.001928 -0.134851 2 image0002.png

3 0.697457 0.715925 -0.025383 0.018967 -0.054056 0.008579 -0.378221 1 image0003.png

4 0.698777 0.714625 -0.023996 0.021129 -0.048184 0.004529 -0.313427 2 image0004.png

To reconstruct a sparse map, you first have to recompute features from the
images of the known camera poses as follows::

colmap feature_extractor \
Expand Down

0 comments on commit ca0409a

Please sign in to comment.