Back to Blog
Download meshlab6/1/2023 Pre_repaired_RMSE <- RMSE_mesh_distance(path_somas_algorithm, experts_paths, experts_paths, TRUE) Path_somas_experts <- system.file(“test/pre_repaired”, package = “SomaMS”)Įxperts_paths <- list.dirs(path_somas_experts, recursive = F) Path_somas_algorithm <- file.path(tempdir(), “final_result”) If you want to compute the interexpert RMSE, run: Compute the measures after running the algorithm as it was explained previously. ![]() In the paper we applied two measures to validate the somas. An example of opening a mesh in MeshLab is provided in the user’s guide. If you do that, you can open the segmented somas with MeshLab. To save it in other folder you only have to change file.path(tempdir(), “final_result”) in segment_somas specifying other path. Results are saved in a temporal directory. Segment_somas(file.path(tempdir(), “poisson_reconstruction_ao”), file.path(tempdir(), “sdf”), file.path(tempdir(), “broken_mesh_sdf”), file.path(tempdir(), “poisson_reconstruction_sdf”), file.path(tempdir(), “final_result”)) Repair_somas(file.path(tempdir(), “PLYs”), file.path(tempdir(), “ambient_occlusion”), file.path(tempdir(), “broken_mesh_ao”), file.path(tempdir(), “poisson_reconstruction_ao”)) Running the algorithmįirst, you should load the library running the next line in the R console:Īfter that, to reproduce the experiments in the article you must run the next lines:Ĭonvert_somas_to_PLY(read_directory = system.file(“test/VRMLs”, package = “SomaMS”), write_directory = file.path(tempdir(), “PLYs”), parallel = TRUE) SetRepositories(addURLs = c(cigrepo = “”)) install.packages(“SomaMS”)Ĭonfirm all the alert messages and wait it installs dependencies. To install 3DSomaMS package you must run the next lines in the R console: A graphical explanation about how to do that is included in the user’s guide placed at the end of this page. Īfter R and MeshLab installation, MeshLab path must be included in the PATH enviroment of the OS. Latest version of MeshLab software can be downloaded from. The latest version of MeshLab is only available for Microsoft Window 64-bits, therefore this package only runs in this OS. ![]() ![]() To process the meshes our package uses MeshLab. This software has been developed as an R package so is needed an R environment.
0 Comments
Read More
Leave a Reply. |