Giter Site home page Giter Site logo

Comments (2)

SU1997 avatar SU1997 commented on August 16, 2024

i have update the file 'data.yml' correctly

from dpptam.

mississippia avatar mississippia commented on August 16, 2024

I got the same problem and I fixed it.
change around line 285 in file /src/SemiDenseMapping.cpp
semidense_mapper->points_ref_im_sd = points_ref_im_sd_init.clone();
semidense_mapper-> image_points_byFocal_sd = image_points_byFocal_sd_init.clone();
semidense_mapper->do_init_semi=0;
cv::Mat& dm = semidense_mapper->depth_map;
dm = cv::Mat::zeros(dm.rows,dm.cols,dm.type());

             //       semidense_mapper->depth_map = semidense_mapper->depth_map*0;
                    
                    cv::Mat inv_depths_borrar = semidense_mapper-> inv_depths.clone();
                    cv::Mat depth_map_points_tracked = cv::Mat::zeros(dm.rows,dm.cols,dm.type());
                    cv::Mat variance_points_tracked = cv::Mat::zeros(dm.rows,dm.cols,dm.type());
                    cv::Mat points3D_tracked = semidense_mapper->points3D_tracked.clone();
                    cv::Mat points_aux(0,points3D_tracked.cols,CV_32FC1);

problem comes from "= semidense_mapper->depth_map*0;"
there are a lot of places(more than the place i just typed) that has "cv::Mat/*0", all considered wrong.
replace them with cv::Mat::zeros() function, then the project will work.
2022-11-01_11-03
that's my testing scene.

from dpptam.

Related Issues (20)

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.