Skip to content

This repository contains a custom implementation of the Random Sample Consensus (RANSAC) algorithm for fitting a plane on 3D point clouds. The provided code snippet utilizes Open3D to load and visualize a demo point cloud, showcasing the application of the implemented algorithm.

License

Notifications You must be signed in to change notification settings

anujsainarain/Point-cloud-plane-fitting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Point-cloud-plane-fitting

License: MIT Version

This repository contains a custom implementation of the Random Sample Consensus (RANSAC) algorithm for fitting a plane on 3D point clouds. The provided code snippet utilizes Open3D to load and visualize a demo point cloud, showcasing the application of the implemented algorithm.

Prerequisites

Before running the script, make sure you have the following dependencies installed:

You can install them using:

pip install open3d numpy

Implementation

The code provides an implementation of the Random Sample Consensus (RANSAC) algorithm for fitting a plane on 3D point clouds. The demo point cloud used in the code is from Open3D, serving as an example that can be easily replaced with your own point cloud data depending on your needs.

Original Data

The original 3D point cloud data on which a plane is to be fitted. Outliers are present, and the goal is to identify the best-fit plane using RANSAC.

Plane Fitted with RANSAC

The result after fitting a plane using the RANSAC algorithm. Outliers have been eliminated, and the best-fit plane is highlighted in the point cloud data.

Contributions

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository contains a custom implementation of the Random Sample Consensus (RANSAC) algorithm for fitting a plane on 3D point clouds. The provided code snippet utilizes Open3D to load and visualize a demo point cloud, showcasing the application of the implemented algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages