How to implement RanSac Algorithm using OpenCV to remove outliers?

asked 2015-01-14 15:30:10 -0600

updated 2015-01-15 00:49:39 -0600

AlexanderShishkov gravatar image

For example, we have 6 points with x and y coordinates. Two of them are outliers. We want to join remaining points using RanSac. Thanks in advance.

edit retag flag offensive close merge delete

Comments

1

In what way points should be joined? What is the model for your task?

AlexanderShishkov gravatar imageAlexanderShishkov ( 2015-01-15 00:50:17 -0600 )edit

The function findHomography() uses the RANSAC algorithm for classification and have an optional output showing which of the input data is an outlier. For now I use this as a hack to eliminate outliers...

Doombot gravatar imageDoombot ( 2015-01-15 20:56:51 -0600 )edit