aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-03-23 15:43:59 -0700
committerChristian C <cc@localhost>2025-03-23 15:43:59 -0700
commit3cfdec959d9ae00d6b44391cc8daec5ded831295 (patch)
tree32839f739b9fa8c268c3a339fe79e88f8e50a1f7 /src
parent22c32ae8649e8540198942b33d4bab72c4ea7238 (diff)
Refactor mask field
Diffstat (limited to 'src')
-rw-r--r--src/prog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prog.c b/src/prog.c
index e7f16ab..46e3eef 100644
--- a/src/prog.c
+++ b/src/prog.c
@@ -119,7 +119,7 @@ int main(int argc, char** argv)
//-PROCESS-TIFF-TO-LABELS------------------------
//-----------------------------------------------
ImageMask *file_im = tif_to_labels(fpath, &width, &height, &starting_label);
- ImageMaskData_t *file_labels = file_im->mask[0];
+ ImageMaskData_t *file_labels = file_im->image[0];
if (file_labels == NULL) {
free(fpath);
free(file_list[index]);
@@ -137,7 +137,7 @@ int main(int argc, char** argv)
}
}
}
- masks = masks_im->mask[0];
+ masks = masks_im->image[0];
if (masks == NULL) {
fprintf(stderr, "No masks found!\n");
return 1;