Coder Social home page Coder Social logo

run error about niswgsp HOT 6 OPEN

nothinglo avatar nothinglo commented on July 3, 2024
run error

from niswgsp.

Comments (6)

zyf12389 avatar zyf12389 commented on July 3, 2024 4

sorry, I was wrong yesterday, I mean there missing copy constructor function in ImageData.h, and what the error is map/set iterator not dereferencable, and this error happens in the fuction named getInitialFeaturePairs() which in MultiImages.cpp. I made a little change to the following code snippet.
if(ratio_test) {
const set::const_iterator it2 = std::next(it, 1);
if(it2!=feature_distance_set.end()&&nearest_k == nearest_size &&//(whether the //iterator has reached its end)
it2->distance * FEATURE_RATIO_TEST_THRESHOLD > it->distance) {
continue;
}
it = it2;
}

from niswgsp.

nothinglo avatar nothinglo commented on July 3, 2024

Hi, It has the constructor function in ImageData.cpp (line 39). Could you tell me more details about the error? Thanks.

from niswgsp.

zyf12389 avatar zyf12389 commented on July 3, 2024

But there also exists a problem in the function getImageVerticesBySolving() in MeshOptimization.cpp, I found the error is in "x=lscg.solve(b)", because I have printed x, and the values are all -1.#IND, and the results of rect are [0*0 from(0,0)], but solve is a function of eigen3, I don't know how to solve it. I hope you can help me to fix it. Thank you very much!

from niswgsp.

nothinglo avatar nothinglo commented on July 3, 2024

Hi,

Sorry for the late reply because I am still thinking. If you use debug mode you will see some debug images in the [1_debugs] folder. Could you tell me whether the feature points are alright or not?
(something like https://github.com/nothinglo/NISwGSP#debug-mode)

Thanks.

from niswgsp.

Millione avatar Millione commented on July 3, 2024

hey, guys. I want to know when I execute the .exe and it goes wrong. How can I call stack to find where the error is specifically located ??? Appreciate.

from niswgsp.

Millione avatar Millione commented on July 3, 2024

But there also exists a problem in the function getImageVerticesBySolving() in MeshOptimization.cpp, I found the error is in "x=lscg.solve(b)", because I have printed x, and the values are all -1.#IND, and the results of rect are [0*0 from(0,0)], but solve is a function of eigen3, I don't know how to solve it. I hope you can help me to fix it. Thank you very much!

have you solved this problem?? Thanks.

from niswgsp.

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.