Description Usage Arguments Value Examples
Compute MAQ_S between three different techniques to compare processing methods
1 | MAQ_S(path_somas_algorithm, path_somas_expert_1, path_somas_expert_2)
|
path_somas_algorithm |
path to the folder where meshes processed with the first technique are placed. They have to be PLY files |
path_somas_expert_1 |
path to the folder where meshes processed with the second technique are placed. They have to be PLY files |
path_somas_expert_2 |
path to the folder where meshes processed with the third technique are placed. They have to be PLY files |
A vector of three values where each value is the MAQ_S between two techniques. Concretely they are MAQ_S_12, MAQ_S_13, MAQ_S_23
1 2 3 4 5 6 7 8 9 10 11 | path_somas_algorithm<- "./temp/final_result"
path_somas_experts<- system.file("test/post_repaired",package="SomaMS")
experts_paths<-list.dirs(path_somas_experts,recursive=F)
path_somas_expert_1<-experts_paths[1]
path_somas_expert_2<-experts_paths[2]
MAQ_S_result <- MAQ_S(path_somas_algorithm,path_somas_expert_1, path_somas_expert_2)
print(paste("MAQ_S_12 is:", MAQ_S_result[1] * 100, "%"))
print(paste("MAQ_S_13 is:", MAQ_S_result[2] * 100, "%"))
print(paste("MAQ_S_23 is:", MAQ_S_result[3] * 100, "%"))
print(paste("Mean MAQ_S between algorithm and experts is:", mean(c(MAQ_S_result[1],MAQ_S_result[2])) * 100, "%"))
print(paste("Difference between experts MAQ_S and mean MAQ_S of algorithm is:", abs(MAQ_S_result[3]-mean(c(MAQ_S_result[1],MAQ_S_result[2])))*100, "%"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.