Azzera filtri
Azzera filtri

expand the ICP (Iterative Closest Point) code

6 visualizzazioni (ultimi 30 giorni)
Alberto Acri
Alberto Acri il 15 Set 2022
Risposto: Vidip Jain il 27 Set 2023
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

Risposte (1)

Vidip Jain
Vidip Jain il 27 Set 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:

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by