Git Product home page Git Product logo

lbd_descriptor's Introduction

This library is an implementation of LBD descriptors developed by Lilian Zhang and Reinhard Koch: http://www.sciencedirect.com/science/article/pii/S1047320313000874

The original code was written by Lilian Zhang and can be found here: http://www.mip.informatik.uni-kiel.de/tiki-index.php?page=Lilian+Zhang

To extract edge and lines, this library implements the EDLines Algorithm and the Edge Drawing detector: http://www.sciencedirect.com/science/article/pii/S0167865511001772 http://www.sciencedirect.com/science/article/pii/S1047320312000831

All original dependencies except Opencv have been removed and the code has been optimized for Opencv 2.4.x PairWiseLineMatching has not been touched and it still needs original dependencies, because the aim of this porting was to match descriptors with Opencv matchers.

During the 2014 GSoC a binarized version of these descriptors with a dedicated matcher implementation has been included into opencv_contrib:

References:

LBD Descriptors:

[1] Lilian Zhang and Reinhard Koch. 2013. An efficient and robust line segment matching approach based on LBD descriptor and pairwise geometric consistency. J. Vis. Comun. Image Represent. 24, 7 (October 2013), 794-805. DOI=10.1016/j.jvcir.2013.05.006 http://dx.doi.org/10.1016/j.jvcir.2013.05.006

Edge Drawing (ED):

[1] C. Topal and C. Akinlar, "Edge Drawing: A Combined Real-Time Edge and Segment Detector," Journal of Visual Communication and Image Representation, 23(6), 862-872, DOI: 10.1016/j.jvcir.2012.05.004 (2012).

[2] C. Topal, C. Akinlar, Y. Genc, Edge Drawing: An Heuristic Approach to Robust Real-Time Edge Detection, Int’l Conf. Pattern Recognition (ICPR), Istanbul, TURKEY, 2010.

EDLines:

[3] C. Akinlar and C. Topal, "EDLines: A Real-time Line Segment Detector with a False Detection Control," Pattern Recognition Letters, 32(13), 1633-1642, DOI: 10.1016/j.patrec.2011.06.001 (2011).

[4] C. Akinlar, C. Topal, EDLines: Realtime Line Segment Detection by Edge Drawing (ED), IEEE Int’l Conf. Image Processing (ICIP), Brussels, BELGIUM, 2011.

lbd_descriptor's People

Contributors

mtamburrano 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

lbd_descriptor's Issues

Base/Math/Matrix.hh no such file or directory

n file included from /home/chaiein/VR/LBD_Descriptor/TestLineMatchingAlgorithm.cpp:51:0:
/home/chaiein/VR/LBD_Descriptor/PairwiseLineMatching.hh:11:31:
fatal error: Base/Math/Matrix.hh: No such file or directory
compilation terminated.
CMakeFiles/TestLineMatchingAlgorithm.dir/build.make:62: recipe for target 'CMakeFiles/TestLineMatchingAlgorithm.dir/TestLineMatchingAlgorithm.cpp.o' failed
make[2]: *** [CMakeFiles/TestLineMatchingAlgorithm.dir/TestLineMatchingAlgorithm.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/TestLineMatchingAlgorithm.dir/all' failed
make[1]: *** [CMakeFiles/TestLineMatchingAlgorithm.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

How to solve this issue?

Segmentation fault caused by forggetting to return in non-void return function “LineDescriptor::ComputeLBD_”

function "int LineDescriptor::ComputeLBD_(ScaleLines &keyLines)" in LineDescriptor.cpp should return a int value at the end, that is line 671, while it did not.
This behavior is not recognized as a error if compiling using gcc, and will work fine when compile optimization flag "-o " is not used.
However, it causes Segmentation Fault if "-o" is used.

This is not the only function that forgets to return at the end.

Edge Drawing Implemetation

Dear sir,

Can you please share with me the implementation code (c++) of this paper "Edge Drawing", I found you have employed this method inside the LBD_Descriptor.

Thank you so much.

Build failed due to Undefined reference to cv::imread, cv::imwrite

[ 80%] Linking CXX executable TestLineMatchingAlgorithm
CMakeFiles/TestLineMatchingAlgorithm.dir/TestLineMatchingAlgorithm.cpp.o: In function main': TestLineMatchingAlgorithm.cpp:(.text.startup+0x101): undefined reference to cv::imread(cv::String const&, int)'
TestLineMatchingAlgorithm.cpp:(.text.startup+0x211): undefined reference to cv::imread(cv::String const&, int)' TestLineMatchingAlgorithm.cpp:(.text.startup+0x877): undefined reference to cv::imwrite(cv::String const&, cv::_InputArray const&, std::vector<int, std::allocator > const&)'
TestLineMatchingAlgorithm.cpp:(.text.startup+0x910): undefined reference to `cv::imwrite(cv::String const&, cv::_InputArray const&, std::vector<int, std::allocator > const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/TestLineMatchingAlgorithm.dir/build.make:98: recipe for target 'TestLineMatchingAlgorithm' failed
make[2]: *** [TestLineMatchingAlgorithm] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/TestLineMatchingAlgorithm.dir/all' failed
make[1]: *** [CMakeFiles/TestLineMatchingAlgorithm.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

How to use this code in Windows10?

Could you please tell me in which operating system did you use this code?
Please, provide a readme file with the steps how to use it included the preconfiguration.
Thank you in advance!

Could not run the code

Hello @mtamburrano,
I tried to run this code but got this error;

[ 33%] Building CXX object CMakeFiles/LineMatchingLib.dir/LineDescriptor.cpp.o
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [CMakeFiles/LineMatchingLib.dir/LineDescriptor.cpp.o] Error 1
make[1]: *** [CMakeFiles/LineMatchingLib.dir/all] Error 2
make: *** [all] Error 2

My environment is: Ubuntu 12.04LTS 64bit, OprnCV 2.4.10.
It would help me a lot if you help with the information about the envionment that you used.
Hoping to hear from you soon.
Thank you for your time.

Linking error

[100%] Linking CXX executable TestLineMatchingAlgorithm
CMakeFiles/TestLineMatchingAlgorithm.dir/TestLineMatchingAlgorithm.cpp.o: In function main': TestLineMatchingAlgorithm.cpp:(.text.startup+0x101): undefined reference to cv::imread(cv::String const&, int)'
TestLineMatchingAlgorithm.cpp:(.text.startup+0x211): undefined reference to cv::imread(cv::String const&, int)' TestLineMatchingAlgorithm.cpp:(.text.startup+0x877): undefined reference to cv::imwrite(cv::String const&, cv::_InputArray const&, std::vector<int, std::allocator > const&)'
TestLineMatchingAlgorithm.cpp:(.text.startup+0x910): undefined reference to `cv::imwrite(cv::String const&, cv::_InputArray const&, std::vector<int, std::allocator > const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/TestLineMatchingAlgorithm.dir/build.make:95: recipe for target 'TestLineMatchingAlgorithm' failed
make[2]: *** [TestLineMatchingAlgorithm] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/TestLineMatchingAlgorithm.dir/all' failed
make[1]: *** [CMakeFiles/TestLineMatchingAlgorithm.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

How to solve this problem?

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.