diff options
author | Christian C <cc@localhost> | 2025-03-23 15:46:37 -0700 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-23 15:46:37 -0700 |
commit | ddafa2764240436557aa54484e00f64cc11ec001 (patch) | |
tree | e95d8c21c20cdbe7ad5204a73b16246f4f938701 /src | |
parent | 3cfdec959d9ae00d6b44391cc8daec5ded831295 (diff) |
Shorter type name
Diffstat (limited to 'src')
-rw-r--r-- | src/prog.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -86,8 +86,8 @@ int main(int argc, char** argv) //----------------------------------------------- char** file_list = NULL; uint32_t width, height; - ImageMaskData_t starting_label = 1; - ImageMaskData_t *masks = NULL; + MaskData_t starting_label = 1; + MaskData_t *masks = NULL; ImageMask *masks_im = NULL; // Expect a directory to be passed as the first argument if (directory != NULL) { @@ -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->image[0]; + MaskData_t *file_labels = file_im->image[0]; if (file_labels == NULL) { free(fpath); free(file_list[index]); @@ -206,7 +206,7 @@ int main(int argc, char** argv) save_png(bitmap, png_file); free(bitmap); } - write_array(bin_file, masks, width*height*sizeof(ImageMaskData_t)); + write_array(bin_file, masks, width*height*sizeof(MaskData_t)); free(masks); } TIME(ts_g_end); |