diff options
author | Christian C <cc@localhost> | 2025-03-23 15:43:59 -0700 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-23 15:43:59 -0700 |
commit | 3cfdec959d9ae00d6b44391cc8daec5ded831295 (patch) | |
tree | 32839f739b9fa8c268c3a339fe79e88f8e50a1f7 /src | |
parent | 22c32ae8649e8540198942b33d4bab72c4ea7238 (diff) |
Refactor mask field
Diffstat (limited to 'src')
-rw-r--r-- | src/prog.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |