Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
snavely committed Mar 10, 2013
1 parent 0d60ac1 commit 3421341
Show file tree
Hide file tree
Showing 962 changed files with 281,319 additions and 3 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
2010-04-03 Noah Snavely <[email protected]>
* Upgrade to v0.4
* Removed reference implementations of LAPACK and BLAS due to
bugs in 64-bit version
* Updated Bundle2PMVS to work with new version of PMVS
* Updated RadialUndistort (note that you now must specify an
* output directory)
* Added Bundle2Vis tool

2009-05-04 Noah Snavely <[email protected]>

* Upgrade to v0.3
* Added Visual Studio project files
* Added reference implementations of required libs: LAPACK, BLAS,
MINPACK, CBLAS, f2c, etc.
* Several bug fixes
* Added Bundle2PMVS utility program
* Cleaner Makefiles and scripts (thanks to Bart van Andel)


2008-10-08 Noah Snavely <[email protected]>

* Upgrade to v0.2
* Mainly code refactoring
66 changes: 66 additions & 0 deletions INSTALL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
--------------------------------------------------------------------------
Bundler v0.4 Installation Guide
copyright 2009 Noah Snavely ([email protected])

based on the Photo Tourism work of Noah Snavely, Steven M. Seitz,
(University of Washington) and Richard Szeliski (Microsoft Research)

For more technical information, visit http://phototour.cs.washington.edu

The source provided in this distribution can be accessed at
http://phototour.cs.washington.edu/bundler/
--------------------------------------------------------------------------

This distribution contains source code for Bundler as well as several
libraries and utility programs. Note that you'll need several other
libraries installed on your system in order to successfully compile
and link Bundler. Note that the binary distribution is *highly
recommended*, as compiling from source is currently much less
user-friendly than using the pre-compiled binaries. Compilation has
been tested on Linux, but has also worked under Windows using Cygwin
and Visual Studio 2005.

Bundler relies on several libraries. Reference implementations from
netlib are included with this distribution (and available from
www.netlib.org, but you may want to install and link to optimized
versions (e.g., GotoBLAS, or the Intel MKL)). In Ubuntu, LAPACK,
BLAS, and MINPACK and their dependencies can all be installed as
standard packages. The required libraries are:

- LAPACK (the Linear Algebra PACKage)
- BLAS (Basic Linear Algebra Subprograms)
- CBLAS (C interface to BLAS)

(Note that LAPACK, BLAS, and CBLAS implementations are also
provided as part of Intel's Math Kernel Library -- these
implementations can be significantly faster than the ones linked
to here.)

- MINPACK (non-linear minimization library)
- f2c (fortran to C library)

If you install alternate versions of these libraries, you may need to
edit the Bundler Makefile (src/Makefile) to make sure that these
libraries are all visible at link-time (or just copy the compiled
libraries to the $(BASE_PATH)/lib directory). In addition to these
libraries, the standard libjpeg and libz libraries must be installed
on your system.

This distribution also contains a modified version of the Approximate
Nearest Neighbors (ANN) v1.1 library of David M. Mount and Sunil Arya
(http://www.cs.umd.edu/~mount/ANN/), and the Sparse Bundle Adjustment
(SBA) v.1.2.1 package of Manolis Lourakis and Antonis Argyros
(http://www.ics.forth.gr/~lourakis/sba/).

On a Linux (or cygwin) system, typing "make" in the base directory
will compile Bundler and its dependencies (assuming all goes well).
Upon successful compilation, an executable called 'bundler' will be
copied to the bin directory, along with an executable called
'KeyMatchAll'.

For Windows systems, see the vc++ directory for a Visual Studio 2005
solution file (vc++/Bundler.sln). Note that you will still need
cygwin (or at least have bash and perl installed) in order to run the
RunBundler.sh script.

See the README.txt file for more information on running Bundler.
47 changes: 47 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#-----------------------------------------------------------------------------
# Top level makefile for Bundler
#
# Bundler: Structure from Motion for Unordered Photo Collections
# Version: 0.4 04/03/2010
# http://phototour.cs.washington.edu/bundler/
#-----------------------------------------------------------------------------
# Copyright (c) 2008-2010 University of Washington and Noah Snavely
# All Rights Reserved.
#-----------------------------------------------------------------------------

ANN_TARGET = linux-g++-shared

OS = $(shell uname -o)
ifeq ($(OS), Cygwin)
ANN_TARGET = win32-g++-shared
endif

default:
# Make libraries
cd lib/5point; $(MAKE)
cd lib/ann_1.1_char; $(MAKE) $(ANN_TARGET)
cd lib/imagelib; $(MAKE)
cd lib/matrix; $(MAKE)
cd lib/sba-1.5; $(MAKE)
cd lib/sfm-driver; $(MAKE)
# Auxiliary libraries
cd lib/minpack; $(MAKE)
cd lib/cblas; $(MAKE)
cd lib/f2c; $(MAKE)
# Main program
cd src; $(MAKE)


clean:
cd lib/5point; $(MAKE) clean
cd lib/ann_1.1_char; $(MAKE) clean
cd lib/imagelib; $(MAKE) clean
cd lib/matrix; $(MAKE) clean
cd lib/sba-1.5; $(MAKE) clean
cd lib/sfm-driver; $(MAKE) clean
cd lib/minpack; $(MAKE) clean
cd lib/cblas; $(MAKE) clean
cd lib/f2c; $(MAKE) clean
cd src; $(MAKE) clean
rm -f bin/bundler bin/KeyMatchFull bin/Bundle2PMVS bin/Bundle2Vis bin/RadialUndistort
rm -f lib/*.a
Loading

0 comments on commit 3421341

Please sign in to comment.