Skip to content
/ ransac Public

An implementation of the RANSAC algorithm

Notifications You must be signed in to change notification settings

cyd3r/ransac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An implementation of the RANSAC algorithm on the GPU using NVIDIA CUDA.

Requirements

  • python3
    • numpy
    • matplotlib
    • sklearn

Steps

# generate random data points
python3 util/generate.py 1000000

# compile the RANSAC implementation
make

# and run it!
# with CUDA
./gpu.out
# without CUDA
./host.out

# run a fit on the extracted inliers
# creates a fit.jpg image that shows the result
python3 src/fit.py

# visualisation of the RANSAC step (no fit)
# creates a vis.jpg image
python3 util/vis.py

The programs accept only hard-coded file paths, therefore the generated files must not be renamed or moved.

About

An implementation of the RANSAC algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published