diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |