Comments (3)
@liarrn I think the difference between the code and the paper is that in the paper a_l
represents half of the square length, while in the code it corresponds to the full length.
from anms-codes.
@BAILOOL Thank you for the quick reply!
For the calculation of a_h, starting from line 294 of anms.h, it is the same with equation (5) in the paper. The a_l in the code is 2 times larger than the equation (6) in the paper. Would this be a bug in the code?
int exp1 = rows + cols + 2*numRetPoints;
long long exp2 = ((long long) 4*cols + (long long)4*numRetPoints + (long long)4*rows*numRetPoints + (long long)rows*rows + (long long) cols*cols - (long long)2*rows*cols + (long long)4*rows*cols*numRetPoints);
double exp3 = sqrt(exp2);
double exp4 = (2*(numRetPoints - 1));
double sol1 = -round((exp1+exp3)/exp4); // first solution
double sol2 = -round((exp1-exp3)/exp4); // second solution
int high = (sol1>sol2)? sol1 : sol2; //binary search range initialization with positive solution
int low = floor(sqrt((double)keyPoints.size()/numRetPoints));
from anms-codes.
@liarrn You are right. I think I have made a copy-paste mistake when preparing code for this repository since the original version we used for the experiments in the paper was too messy to deal with. Thank you for pointing it out.
from anms-codes.
Related Issues (11)
- "RANDR" missing on display HOT 1
- Python version mistake HOT 1
- Get exact number of points HOT 2
- Error C2334 unexpected token(s) preceding '{'; skipping apparent function body HOT 2
- Is anms rotation and/or scale invariant? HOT 1
- Can I use in ORB Matchs HOT 3
- Getting std::bad_alloc error when using SSC function HOT 4
- std::bad_alloc in anms.h HOT 1
- Effectiveness for monocular SLAM HOT 2
- Response vector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anms-codes.