Git Product home page Git Product logo

Comments (4)

BAILOOL avatar BAILOOL commented on July 18, 2024

Hi @JeffR1992. Thank you very much for pointing it out. The observation is correct and the solution you proposed is theoretically sound. In fact, the exact same bug was reported in #4 and was actually fixed in #5. Though it was fixed in CmakeProject and I guess you use QtProject. I would recommend to use the proposed fix.

Meanwhile, I will aim at unifying those folders this weekend in order to avoid this situation again.

from anms-codes.

JeffR1992 avatar JeffR1992 commented on July 18, 2024

Aha thanks @BAILOOL, for some reason I didn't see that issue posted. Another issue I noticed that also occurs is when width=0, in which case ssc() crashes again with an std::bad_alloc error. Has this also been fixed in the CmakeProject version, or is that still an open issue? Thanks!

from anms-codes.

BAILOOL avatar BAILOOL commented on July 18, 2024

@JeffR1992 The width=0 doesn't make any sense as it is smaller than a pixel. I don't recall seeing this bug before. Could you please point out the line where this error happen?

from anms-codes.

JeffR1992 avatar JeffR1992 commented on July 18, 2024

This seems to take place in situations when low=0 and high=1. The situation where this occurred is the following:

keyPoints.size() = 435
numRetPoints = 500
tolerance = 0.1
cols = 848
rows = 480

Looking at the values defined in the ssc() function I get:

exp1 = 2328
exp2 = 815180816
exp3 = 28551.4
exp4 = 499
sol1 = -62
sol2 = 53

And low and high are initially set to:

low = 0
high = 53

from anms-codes.

Related Issues (11)

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.