| 1 |
COLMAP |
| 2 |
====== |
| 3 |
|
| 4 |
About |
| 5 |
----- |
| 6 |
|
| 7 |
COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo |
| 8 |
(MVS) pipeline with a graphical and command-line interface. It offers a wide |
| 9 |
range of features for reconstruction of ordered and unordered image collections. |
| 10 |
The software is licensed under the new BSD license. |
| 11 |
|
| 12 |
The latest source code is available at https://github.com/colmap/colmap. COLMAP |
| 13 |
builds on top of existing works and when using specific algorithms within |
| 14 |
COLMAP, please also cite the original authors, as specified in the source code, |
| 15 |
and consider citing relevant third-party dependencies (most notably |
| 16 |
ceres-solver, poselib, sift-gpu, vlfeat). |
| 17 |
|
| 18 |
Download |
| 19 |
-------- |
| 20 |
|
| 21 |
* Binaries for **Windows** and other resources can be downloaded |
| 22 |
from https://github.com/colmap/colmap/releases. |
| 23 |
* Binaries for **Linux/Unix/BSD** are available at |
| 24 |
https://repology.org/metapackage/colmap/versions. |
| 25 |
* Pre-built **Docker** images are available at |
| 26 |
https://hub.docker.com/r/colmap/colmap. |
| 27 |
* Conda packages are available at https://anaconda.org/conda-forge/colmap and |
| 28 |
can be installed with `conda install colmap` |
| 29 |
* **Python bindings** are available at https://pypi.org/project/pycolmap. |
| 30 |
CUDA-enabled wheels are available at https://pypi.org/project/pycolmap-cuda12. |
| 31 |
AMD GPUs are supported via HIP/ROCm when building from source (see |
| 32 |
install docs). |
| 33 |
* To **build from source**, please see https://colmap.github.io/install.html. |
| 34 |
|
| 35 |
Getting Started |
| 36 |
--------------- |
| 37 |
|
| 38 |
1. Download pre-built binaries or build from source. |
| 39 |
2. Download one of the provided [sample datasets](https://demuc.de/colmap/datasets/) |
| 40 |
or use your own images. |
| 41 |
3. Use the **automatic reconstruction** to easily build models |
| 42 |
with a single click or command. |
| 43 |
|
| 44 |
Documentation |
| 45 |
------------- |
| 46 |
|
| 47 |
The documentation is available [here](https://colmap.github.io/). |
| 48 |
|
| 49 |
To build and update the documentation at the documentation website, |
| 50 |
follow [these steps](https://colmap.github.io/install.html#documentation). |
| 51 |
|
| 52 |
Support |
| 53 |
------- |
| 54 |
|
| 55 |
Please, use [GitHub Discussions](https://github.com/colmap/colmap/discussions) |
| 56 |
for questions and the [GitHub issue tracker](https://github.com/colmap/colmap) |
| 57 |
for bug reports, feature requests/additions, etc. |
| 58 |
|
| 59 |
Acknowledgments |
| 60 |
--------------- |
| 61 |
|
| 62 |
COLMAP was originally written by [Johannes Schönberger](https://demuc.de/) with |
| 63 |
funding provided by his PhD advisors Jan-Michael Frahm and Marc Pollefeys. |
| 64 |
The team of core project maintainers currently includes |
| 65 |
[Johannes Schönberger](https://github.com/ahojnnes), |
| 66 |
[Paul-Edouard Sarlin](https://github.com/sarlinpe), |
| 67 |
[Shaohui Liu](https://github.com/B1ueber2y), and |
| 68 |
[Linfei Pan](https://lpanaf.github.io/). |
| 69 |
|
| 70 |
The Python bindings in PyCOLMAP were originally added by |
| 71 |
[Mihai Dusmanu](https://github.com/mihaidusmanu), |
| 72 |
[Philipp Lindenberger](https://github.com/Phil26AT), and |
| 73 |
[Paul-Edouard Sarlin](https://github.com/sarlinpe). |
| 74 |
|
| 75 |
The project has also benefitted from countless community contributions, including |
| 76 |
bug fixes, improvements, new features, third-party tooling, and community |
| 77 |
support (special credits to [Torsten Sattler](https://tsattler.github.io)). |
| 78 |
|
| 79 |
Citation |
| 80 |
-------- |
| 81 |
|
| 82 |
If you use this project for your research, please cite: |
| 83 |
|
| 84 |
@inproceedings{schoenberger2016sfm, |
| 85 |
author={Sch\"{o}nberger, Johannes Lutz and Frahm, Jan-Michael}, |
| 86 |
title={Structure-from-Motion Revisited}, |
| 87 |
booktitle={Conference on Computer Vision and Pattern Recognition (CVPR)}, |
| 88 |
year={2016}, |
| 89 |
} |
| 90 |
|
| 91 |
@inproceedings{schoenberger2016mvs, |
| 92 |
author={Sch\"{o}nberger, Johannes Lutz and Zheng, Enliang and Pollefeys, Marc and Frahm, Jan-Michael}, |
| 93 |
title={Pixelwise View Selection for Unstructured Multi-View Stereo}, |
| 94 |
booktitle={European Conference on Computer Vision (ECCV)}, |
| 95 |
year={2016}, |
| 96 |
} |
| 97 |
|
| 98 |
If you use the global SfM pipeline (GLOMAP), please cite: |
| 99 |
|
| 100 |
@inproceedings{pan2024glomap, |
| 101 |
author={Pan, Linfei and Barath, Daniel and Pollefeys, Marc and Sch\"{o}nberger, Johannes Lutz}, |
| 102 |
title={{Global Structure-from-Motion Revisited}}, |
| 103 |
booktitle={European Conference on Computer Vision (ECCV)}, |
| 104 |
year={2024}, |
| 105 |
} |
| 106 |
|
| 107 |
If you use the image retrieval / vocabulary tree engine, please cite: |
| 108 |
|
| 109 |
@inproceedings{schoenberger2016vote, |
| 110 |
author={Sch\"{o}nberger, Johannes Lutz and Price, True and Sattler, Torsten and Frahm, Jan-Michael and Pollefeys, Marc}, |
| 111 |
title={A Vote-and-Verify Strategy for Fast Spatial Verification in Image Retrieval}, |
| 112 |
booktitle={Asian Conference on Computer Vision (ACCV)}, |
| 113 |
year={2016}, |
| 114 |
} |
| 115 |
|
| 116 |
Contribution |
| 117 |
------------ |
| 118 |
|
| 119 |
Contributions (bug reports, bug fixes, improvements, etc.) are very welcome and |
| 120 |
should be submitted in the form of new issues and/or pull requests on GitHub. |
| 121 |
|
| 122 |
License |
| 123 |
------- |
| 124 |
|
| 125 |
The COLMAP library is licensed under the new BSD license. Note that this text |
| 126 |
refers only to the license for COLMAP itself, independent of its thirdparty |
| 127 |
dependencies, which are separately licensed. Building COLMAP with these |
| 128 |
dependencies may affect the resulting COLMAP license. |
| 129 |
|
| 130 |
Copyright (c), ETH Zurich and UNC Chapel Hill. |
| 131 |
All rights reserved. |
| 132 |
|
| 133 |
Redistribution and use in source and binary forms, with or without |
| 134 |
modification, are permitted provided that the following conditions are met: |
| 135 |
|
| 136 |
* Redistributions of source code must retain the above copyright |
| 137 |
notice, this list of conditions and the following disclaimer. |
| 138 |
|
| 139 |
* Redistributions in binary form must reproduce the above copyright |
| 140 |
notice, this list of conditions and the following disclaimer in the |
| 141 |
documentation and/or other materials provided with the distribution. |
| 142 |
|
| 143 |
* Neither the name of ETH Zurich and UNC Chapel Hill nor the names of |
| 144 |
its contributors may be used to endorse or promote products derived |
| 145 |
from this software without specific prior written permission. |
| 146 |
|
| 147 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 148 |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 149 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 150 |
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE |
| 151 |
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 152 |
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 153 |
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 154 |
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 155 |
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 156 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 157 |
POSSIBILITY OF SUCH DAMAGE. |