MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Aligning Point Clouds 

I am having trouble aligning two 3d point clouds representing a patella. They are not exactly the same shape or size. One is much smoother and more refined than the other. Each mesh is a 3xN and 3xM matrix, where M and N are different lengths, generally 600020000 points. I have already matched the centroids of the point clouds to get a rough alignment. Now I need to rotate on the xaxis to align them as close as possible. Currently, I am finding an angle on the xaxis that I can rotate one of the meshes to align to the 2nd mesh. I obtain a line from the maximum and minimum z values and that point's corresponding y values on each point cloud to create a line. I then find the angle between these two lines, and rotate one of the meshes about the origin and translate back to match centroids, attempting to match the other point cloud orientation. The goal is to have the point clouds aligned 
"Mark " <mdlambach@gmail.com> wrote in message <i0b55g$6p7$1@fred.mathworks.com>... 
There are lots of methods. Far too many to review here even if I did 
"Alan B" <monguin61REM@OVETHIS.yahoo.com> wrote in message <i0b5tc$o81$1@fred.mathworks.com>... 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.