Giter Club home page Giter Club logo

gransac's People

Contributors

drsrinathsridhar avatar norrius avatar srinath1905 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

gransac's Issues

The result of each run is random

Thanks for your contribution, I pulled down your code and tested it on my data;
The slope and intercept of RANSAC implemented by Pytorch are stable at
'coef': [[-4.90434043]]
intercept: [323.05705421]

The slope and intercept obtained by your code are random each time
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 29.7956 ms.
1: Pt1:(59,16), Pt2:(53,38)
slope: -3.666667, intercept: 232.333333
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 25.977 ms.
1: Pt1:(52,90), Pt2:(61,36)
slope: -6.000000, intercept: 402.000000
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 26.7776 ms.
1: Pt1:(53,69), Pt2:(62,17)
slope: -5.777778, intercept: 375.222222
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 23.9506 ms.
1: Pt1:(42,112), Pt2:(56,50)
slope: -4.428571, intercept: 298.000000
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 27.3859 ms.
1: Pt1:(49,79), Pt2:(51,62)
slope: -8.500000, intercept: 495.500000
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 29.1753 ms.
1: Pt1:(46,94), Pt2:(53,36)
slope: -8.285714, intercept: 475.142857
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 23.9844 ms.
1: Pt1:(54,56), Pt2:(61,6)
slope: -7.142857, intercept: 441.714286

Point cloud registration?

Hi, and thank you for making this code available. I am looking for a very fast way to match points between two point clouds, would this lib be suitable?

Is there any example code around for this kind of task?

Thanks again

Inliners, outliners

2018-04-12 12 20 03

On your screenshot the black dot also visible near line below green one. Maybe there some error in code.

In my opinion simple example without generic types may have more profit for understanding and usage. There much more code in model, that in GRANSAC.h. It's not bad, but start thinking do we really need this abstraction with templates.

Inliners, outliners

2018-04-12 12 20 03

On your screenshot the black dot also visible near line below green one. Maybe there some error in code. In my opinion simple example without generic types may have more profit for understanding and usage. There much more code in model, that in `GRANSAC.h`. It's not bad, but start thinking do we really need this abstraction with templates.

Is there an example for plane fitting?

Thanks for your line fitting example, and it works well.

I tried to write a plane fitting program in 3d just like line fitting in 2d.
Unfortunately, I could not do that successfully till now.

If you have ever tried this before, could please show the example to do this?
Thanks.

GRANSAC detail

Hi,
Thank you for GRANSAC. It is running successfully on my system.

I want to study GRANSAC in more detail. Could you please give me a link or document to study mainly about GRANSAC.
Thank you

Is it possible to do cylinder surface fitting?

Hi, thanks for your plane fitting code several years ago. : )
And I wonder if we could use GRANSAC for cylinder surface fitting?
Location-of-coordinate-system-of-turntable
As far as I know, cylinder surface equation at least will need 1. direction vector / axis, 2. point that direction vector / axis pass through, 3. radius, at least 7 parameters?
But I dont know how to write the model.

pyRANSAC-3D has an implementation, but result is not good.
https://github.com/leomariga/pyRANSAC-3D/blob/master/pyransac3d/cylinder.py

Thank you.

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.