expand the ICP (Iterative Closest Point) code

1 vue (au cours des 30 derniers jours)
Alberto Acri
Alberto Acri le 15 Sep 2022
Hi. I would like to plot the 3D overlay graphs for this code: https://it.mathworks.com/matlabcentral/fileexchange/81273-simpleicp?s_tid=srchtitle
How can they be created?
Is it also possible to import own 3D images (.stl format)?
Thanks

Réponses (1)

Vidip Jain
Vidip Jain le 27 Sep 2023
I understand you want to plot 3D overlay graphs for the SimpleICP code and want to know that is it possible to import 3D images of .stl format.
You can follow the following steps to plot 3D overlay graphs:
  1. Load the data: The SimpleICP code returns two-point clouds, source and target. These point clouds contain the 3D coordinates of the points in the source and target images, respectively.
  2. Create a figure: Create a new figure in MATLAB.
  3. Plot the source point cloud: Plot the source point cloud using the ‘plot3()’ function.
  4. Plot the target point cloud: Plot the target point cloud using the ‘plot3()’ function.
  5. Plot the overlay graph: To plot the overlay graph, simply plot both the source and target point clouds in the same figure by using ‘hold on’.
You can also import 3D images of .stl format into MATLAB and plot them using the ‘stlread()’.
For further information, refer to the documentation links below:

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by