aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-03-05 22:05:03 -0800
committerChristian C <cc@localhost>2025-03-05 22:05:03 -0800
commit1de83eafadc5ee99c35f769b71fea14812569bce (patch)
treececd8ec79e73655eaa4d571b491704f2aa83019b
parent22db7ab4cb3b2928095bd9775fb015a5e28487f6 (diff)
Minor semantic change
-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