1 / 6

Parallel implementation of RAndom SAmple Consensus (RANSAC)

Parallel implementation of RAndom SAmple Consensus (RANSAC). Adarsh Kowdle. Algorithm description. Iterative method to estimate parameters of a mathematical model from a set of observed data, which contains outliers A simple form of RANSAC considered for the project.

milly
Download Presentation

Parallel implementation of RAndom SAmple Consensus (RANSAC)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Parallel implementation of RAndomSAmple Consensus (RANSAC) Adarsh Kowdle

  2. Algorithm description • Iterative method to estimate parameters of a mathematical model from a set of observed data, which contains outliers • A simple form of RANSAC considered for the project

  3. Algorithm description • Step 1: Randomly sample the data to obtain two points • Step 2: Determine the parameters of the line joining these two points • Step 3: Evaluate the distance of every other points from this line=> serves as error function to be minimized • Step 4: Repeat Step 1 till the required number of iterations have been completed • Step 5: The resulting line parameters represents the best line fit for the given observations of 2D points.

  4. Parallel design proposed - OpenMP Suppose that there are 10000 data points Master randomly samples data points and passes it to the threads Master Thread 2 Thread 1 Thread 3 Thread N Data points in shared memory, instantiate threads to compute error Thread 2 Thread 1 Thread 3 Thread N Different variants of the code tried out

  5. Results and conclusions • Extracted data points offline using Matlab – about 10000 data points • The data points were created by adding noise to it a known line, so, best fit line is known • Implemented the parallel version of RANSAC using OpenMP directives and tested with these data points • Performance • Serial code took 0.24 seconds for 5000 iterations • OpenMP parallel implementation takes 0.05 seconds for 5000 iterations

  6. Results and conclusions • A parallel version of RANSAC has been implemented • With the use of OMP directives, a five-folddecrease in time taken has been achieved which is significant

More Related