1. Homepage
  2. Programming
  3. CMPUT 307 - Lab 8 Clustering of Large Point Cloud Models

CMPUT 307 - Lab 8 Clustering of Large Point Cloud Models

Engage in a Conversation
MatlabPCAClusteringK-MeansCMPUT 3073D Modeling and AnimationCanadaUniversity of Alberta

CMPUT 307 - Lab 8 Clustering of Large Point Cloud Models

In this lab you will be given a number of 3D models on which you are going to apply PCA followed by clustering. The purpose will be to choose the initial cluster centers in a more scientific and systematic manner. The skeleton code for this exercise will not be provided and you need to implement the complete code (in Matlab) satisfying the following requirements: CourseNana.COM

(a) Download Materials.zip file and decompress it in your Matlab directory. Open and run the lab8.m file to read and load the dragon.ply model into your program. The points of the model will be storage in the variable X. After running the code you will see a dragon as shown in Figure 1. (b) Determine N, the number of points in the model in Part (a). (c) Perform a PCA on the N points of the model. Determine the First Eigen Vector. For this step, you can directly call pca() function from the library. You do not need to write the pca algorithm. (d) Transform the points of your model by a rotation, so that the First Eigen Vector becomes the New X-axis. (e) Sort the transformed points following Part (d), based on the new X values. (f) Determine the Minimum X value MinX, and Maximum X value MaxX, following Part (e). (g) Divide the interval (MinX, MaxX) into 100 parts (Xi, Xi+1), i = 0, ..., 100; such that each part contains about the same number of points. (h) For each interval in Part (g) do the following: CourseNana.COM

  1. CreateN/1000clustersfromallthepointsintheinterval.Commentonhowyou chose the initial cluster centers.
  2. Do the clustering. You can directly call the k-means function from the library. You do not need to write the k-means algorithm.
  3. Store the final cluster centers and the distance of each cluster center to a point on the boundary of this cluster. We will call this distance the radius of acluster. (i) Writeanewdatafilecontainingeachclustercenteranditsradius,consideringallthe intervals in Part (h). Figure 1

(j) Display the new data file in Part (i) as a collection of transparent spheres; where each sphere represents a cluster center having a radius equal to the radius of this cluster. Then draw all the points in Part (d) on the same figure. Submit a zip file with all your code used during these exercises, and a pdf file containing all the plots. CourseNana.COM

Get in Touch with Our Experts

Wechat WeChat
Whatsapp Whatsapp
Matlab代写,PCA代写,Clustering代写,K-Means代写,CMPUT 307代写,3D Modeling and Animation代写,Canada代写,University of Alberta代写,Matlab代编,PCA代编,Clustering代编,K-Means代编,CMPUT 307代编,3D Modeling and Animation代编,Canada代编,University of Alberta代编,Matlab代考,PCA代考,Clustering代考,K-Means代考,CMPUT 307代考,3D Modeling and Animation代考,Canada代考,University of Alberta代考,Matlabhelp,PCAhelp,Clusteringhelp,K-Meanshelp,CMPUT 307help,3D Modeling and Animationhelp,Canadahelp,University of Albertahelp,Matlab作业代写,PCA作业代写,Clustering作业代写,K-Means作业代写,CMPUT 307作业代写,3D Modeling and Animation作业代写,Canada作业代写,University of Alberta作业代写,Matlab编程代写,PCA编程代写,Clustering编程代写,K-Means编程代写,CMPUT 307编程代写,3D Modeling and Animation编程代写,Canada编程代写,University of Alberta编程代写,Matlabprogramming help,PCAprogramming help,Clusteringprogramming help,K-Meansprogramming help,CMPUT 307programming help,3D Modeling and Animationprogramming help,Canadaprogramming help,University of Albertaprogramming help,Matlabassignment help,PCAassignment help,Clusteringassignment help,K-Meansassignment help,CMPUT 307assignment help,3D Modeling and Animationassignment help,Canadaassignment help,University of Albertaassignment help,Matlabsolution,PCAsolution,Clusteringsolution,K-Meanssolution,CMPUT 307solution,3D Modeling and Animationsolution,Canadasolution,University of Albertasolution,