aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index c77d7f5..c2fdbab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -184,14 +184,15 @@ int main(int argc, char** argv)
#endif
free_avl_tree_nodes(root);
+ uint16_t *new_labels;
TIME(ts_start);
- uint16_t *new_labels = closeup(masks, width, height, N_DILATIONS);
+ new_labels = closeup(masks, width, height, N_DILATIONS);
if (new_labels != NULL) {
free(masks);
masks = new_labels;
}
TIME(ts_end);
- printf("Dilation took %f ms\n", 1000*diff_time(&ts_end, &ts_start));
+ printf("Closing up took %f ms\n", 1000*diff_time(&ts_end, &ts_start));
//-----------------------------------------------
#ifdef VISUAL