Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
javixw authored Jun 2, 2020
1 parent a4d608b commit 2cbf4e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
dir_ima_post = ('./imgs/Location/post/M=DRIVING_S=600x300-jpegs');
dir_semantic_mask = ('./imgs/Location/res');
dirGT_location = ('./imgs/Location/GT/PixelLabelData_1/Label_3.png');
dir_target_ima = ('./imgs/Location/post/M=DRIVING_S=600x300-jpegs/labelmaps/00005.csv');
dir_deeplab = ('./imgs/Location/deeplab');
imagestructure = jsondecode(fileread(jsonpath));
nlabels = 182;
Expand All @@ -28,4 +29,4 @@
matrix_label_end_agregation_3(matrix_label_end_agregation_3 == -1) = 182;
imwrite(uint8(matrix_label_end_agregation_3'),strcat(dir_semantic_mask,'/mask_agregation3.png'))
print_mask(matrix_fin_print_1, matrix_fin_print_2, matrix_fin_print_3,nlabels, target_ima_pos, interesting_imagefiles);
[metrics_deeplab_vs_GT_location, metrics_agregacion_1_vs_GT_location, metrics_agregacion_2_vs_GT_location, metrics_agregacion_3_vs_GT_location] = metrics(dir_ima_post, dir_semantic_mask, dirGT_location, dir_deeplab);
[metrics_deeplab_vs_GT_location, metrics_agregacion_1_vs_GT_location, metrics_agregacion_2_vs_GT_location, metrics_agregacion_3_vs_GT_location] = metrics(dir_ima_post, dir_semantic_mask, dirGT_location, dir_deeplab);

0 comments on commit 2cbf4e2

Please sign in to comment.