This code is an implementation of Bundle Adjustment on the GPU. It is tested with the Washington BAL dataset and a sample dataset is already provided to run the code and verify its results.
git clone https://github.com/UCR-CSEE217/finalproject-f23-bundle-adjusting.git
mkdir build
# Ensure that the CUDA_ARCHITECTURES (Line 21) on the CMakeLists.txt file is changed to your GPU version
# It is currently set to 89 for a RTX 4090 system
cd build
cmake ..
makeUpon running the above commands correctly, there might be one warning which can safely be ignored. Along with the same a file bundle_adjustment is created in the build folder.
To run the program run the following command from within the build folder.
./bundle_adjustment ../config/init.txt