ysalaun / mlsd Goto Github PK
View Code? Open in Web Editor NEWLicense: Mozilla Public License 2.0
License: Mozilla Public License 2.0
Great job, I use the MLSD in Windows 10, but I find some bugs and runtime too long !
I would like to use your MLSD line feature to do visual odometry.
So can I do line matching using MLSD line feature and the LBD descriptor?
Thank you!
Hello
Thank you for this algo.
It will be very nice to get a python wrapper.
Computation time too long
Bad results with test images
Hi, ysalau ,
I'm very interested in your research. I try to test your code on picture Office.png as follow :
//-------------------------------------my test code---------------------------------------------------
#include "detection.hpp"
using namespace cv;
int main(void)
{
Mat img = imread("Office.png"); //read the picture
vector ImagePyramid;
ImagePyramid = computeImagePyramid(img, true);
vector Seg;
Seg = lsd_multiscale(ImagePyramid,0.1,true);
Mat showseg(img.rows,img.cols, CV_8UC1, Scalar(0));
for (int i=0;i<Seg.size();i++)
{
Point p1(Seg[i].x1, Seg[i].y1);
Point p2(Seg[i].x2, Seg[i].y2);
line(showseg, p1, p2, Scalar(255));
cout << "x1 = "<<Seg[i].x1<< " y1 = " << Seg[i].y1<< " x2 = " << Seg[i].x2<< " y2 = " << Seg[i].y2 << endl;
}
imwrite("C:/Users/lzlong/Desktop/mlsd_2/test2/showseg.jpg" , showseg);
return 0;
}
//-------------------------------------------------end code---------------------------------------------
I think the Seg is the result of the test. So , I try to output the result on the picture "showseg.jpg" .But I find the picture "showseg.jpg" only horizontal lines. And then ,I check every Seg[i]'s (x1,x2) and (x2,y2),I find that every segment of output is horizontal lines.
Do I use the code correctly? Why the result would be like this?
I upload the test result:
"This code is part of the following publication and was subject to peer review"
lets believe the source code was peer-reviewed. Only the article was. I propose to reformulate:
"This code is linked of the following publication, which was subject to peer review"
Pascal
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.