After obtaining the CT image of the coconut, the next goal was to convert them into a point cloud model [15 ]. In MATLAB (MATLAB version: R2020b), the program first calls the ID of the target coconut, which is compressed and reconstructed into an array of 512 512 6. According to the Definition 1, the 6 columns are x,y,z,r,g,b . The converted data of each image are stacked, the points are drawn according to the corresponding coordinate information values, and the 3D point cloud is displayed (Fig. 2c).
Free full text: Click here