GithubHelp home page GithubHelp logo

kai-46 / colmapforvissat Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 10.0 10.31 MB

Adapted COLMAP intended to work with satellite images

License: Other

CMake 0.58% C++ 32.62% Cuda 2.01% C 63.77% Makefile 0.01% MATLAB 0.15% Python 0.77% Shell 0.05% Batchfile 0.02% GLSL 0.01%

colmapforvissat's People

Contributors

ahojnnes avatar alexmyczko avatar bjornpiltz avatar cbalint13 avatar cebe avatar fededev avatar fishcu avatar heimsi avatar is03wlei avatar jbeich avatar kai-46 avatar magickenshin avatar omigeot avatar puzzlepaint avatar sbcv avatar shinsumicco avatar soupault avatar tompollok avatar trueprice avatar tsattler avatar veloman-yunkan avatar xiedufang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

colmapforvissat's Issues

GPU version cannot be built succesfully

Describe the bug
I tried to build this software in Windows with Visual Studio 2017 and 2019, and CUDA_TOOLKIT= 9.2,10.2,11.2.
But colmap_cuda cannot be built successfully.

To Reproduce

Expected behavior

Screenshots
image

Desktop (please complete the following information):

  • OS: Window10
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

size of float pose_host_data[...] is non const

Describe the bug
I'm not sure if this is a bug or just a platform dependent behaviour, but the array named pose_host_data[kNumTformParams * problem_.src_image_idxs.size()] defined in patch_match_cuda.cu @ line #1734 results in the follwing error:
this cannot be used in a constant expression.
I was able to mitigate the error and successfully build the project by allocating the array on heap and memset-ing the required umber of bytes as follows:

float* poses_host_data = new float[kNumTformParams * problem_.src_image_idxs.size()];
for (size_t i = 0; i < kNumTformParams * problem_.src_image_idxs.size(); i++) {
    poses_host_data[i] = 0.0;
  }
....
....
delete []poses_host_data;

Requesting your help in verifying the correctness of this patch.

To Reproduce
Steps to reproduce the behavior:
Just followed typical cmake build steps using Visual Studio 2019.

Expected behavior
NA
Screenshots
NA
Desktop (please complete the following information):

  • OS: Windows 10 64bit

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.