Search
Code Directory
ASP
ASP.NET
C/C++
CFML
CGI/PERL
Delphi
Development
Flash
HTML
Java
JavaScript
Pascal
PHP
Python
SQL
Tools
Visual Basic & VB.NET
XML
New Code
 Rapid PHP 2018 15.5 IBDAC 6.4 Online Course Booking Script 1.3.3 Database Workbench Pro 5.6.4 Job Portal Script 1.3.2 The C# PDF Library 5.2 PostgreSQL Data Access Components 6.0 Virtual Data Access Components 11.0 HTMLPad 2018 15.5 WeBuilder 2018 15.5 SentiMask SDK Trial 2.0.0 Track Order For Magento 2 1.0.0 Calendar 365 For Dynamics CRM 4.0 Scimbo 1.2 Odoo Furnito Theme 1.0
Top Code
 PostgreSQL Data Access Components 4.4 Database Workbench Pro 5.6.4 Availability Booking Calendar PHP 1.0 Online Course Booking Script 3.04 ATN Site Builder 3.0 ATN Resume Finder 2.0 PHP Review Script 1.0 IBDAC 6.4 Invoice Manager by PHPJabbers 3.0 The C# PDF Library 1.0 ICPennyBid Penny Auction Script 4.0 Azizi search engine script PHP 4.1.10 HTMLPad 2018 15.5 Classified Ad Lister 1.0 Rapid PHP 2018 15.5
Top Rated
 VisualNEO Web 2018.12.15 Azizi search engine script PHP 4.1.10 Paste phpSoftPro 1.4.1 Extreme Injector 3.7 Deals and Discounts Website Script 1.0.2 ADO.NET Provider for ExactTarget 1.0 Solid File System OS edition 5.1 Classified Ad Lister 1.0 Aglowsoft SQL Query Tools 8.2 Invoice Manager by PHPJabbers 3.0 ICPennyBid Penny Auction Script 4.0 PHP Review Script 1.0 ATN Resume Finder 2.0 ATN Site Builder 3.0 Availability Booking Calendar PHP 1.0
estimateRigidTransform 1.0
File ID: 82220

estimateRigidTransform 1.0
File Size: 20.5 KB
 Submit Rating:
estimateRigidTransform 1.0 Description
Description: This is a simple utility for estimating the rigid transformation that aligns two sets of 3D point clouds, given 3 (or more) point matches.

Input: two sets of 3D point clouds (P1 and P2)
Output: homogeneous transformation that aligns the two clouds
Assumptions:
1- point i in the first point cloud corresponds to point i in the second cloud
2- the transformation is rigid (i.e. only a rotation and a translation)
3- you need at least 3 (non-degenerate) point matches (i.e. they don't lie on a straight line)

The math is basic and well-known. The point of this upload is just to save the little bit of time it would've taken you to code it yourself.

Reference: "Computer Vision, a modern approach" by Forsyth and Ponce

Related:
1- Click3dPoint (on the File Exchange) to manually find a few point correspondences
2- ICP (e.g. Matlat implementation by A. Mian)