Giter Site home page Giter Site logo

mlsd's People

Contributors

autosquid avatar ysalaun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mlsd's Issues

windows issue

Great job, I use the MLSD in Windows 10, but I find some bugs and runtime too long !

python wrapper

Hello

Thank you for this algo.
It will be very nice to get a python wrapper.

Why my code testing result is incorrect?

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:
showseg

Ambiguity in README

"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

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.