From 2fe858c22d27722130339c0d26de00aa78ef1f4d Mon Sep 17 00:00:00 2001 From: Christian C Date: Sun, 23 Mar 2025 15:50:03 -0700 Subject: Shorter type names --- lib/seg/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/seg/util.c') diff --git a/lib/seg/util.c b/lib/seg/util.c index a3b3eb6..844d4a1 100644 --- a/lib/seg/util.c +++ b/lib/seg/util.c @@ -202,7 +202,7 @@ void closeup(MaskData_t** mask, uint32_t width, uint32_t height, size_t num_pixe // Combine Label Masks // For all empty spaces in the destination, put the extra label if it exists // Allocates an array if destination is unallocated -ImageMask* combine_masks(ImageMask *destination, ImageMask *extra_labels) +Mask* combine_masks(Mask *destination, Mask *extra_labels) { if (destination == NULL) { destination = create_image_mask(extra_labels->width, extra_labels->height); @@ -220,7 +220,7 @@ ImageMask* combine_masks(ImageMask *destination, ImageMask *extra_labels) // Process Tif File to Labels // width, height will be overwritten with image dimensions // starting_label_p will be incremented for each label found in the image -ImageMask* tif_to_labels(char* tif_file_name, uint32_t *width, uint32_t *height, MaskData_t *starting_label_p) +Mask* tif_to_labels(char* tif_file_name, uint32_t *width, uint32_t *height, MaskData_t *starting_label_p) { TIFFSetWarningHandler(TiffDummyHandler); //-TIFF-IMAGE-OPEN------------------------------- @@ -268,7 +268,7 @@ ImageMask* tif_to_labels(char* tif_file_name, uint32_t *width, uint32_t *height, //-FLOOD-FILL-SEGMENTATION----------------------- //-CONTIGUOUS-REGION-FINDING--------------------- - ImageMask *im_data = create_image_mask((size_t)*width, (size_t)*height); + Mask *im_data = create_image_mask((size_t)*width, (size_t)*height); if (im_data == NULL) { fprintf(stderr, "Memory allocation error\n"); free(image_data); -- cgit v1.2.1