From b12c8440da356cbf4deb91f9598d84852e9d8dce Mon Sep 17 00:00:00 2001 From: Christian C Date: Sat, 22 Mar 2025 23:03:04 -0700 Subject: Partial Conversion #1 --- include/lib/seg/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/lib/seg/util.h b/include/lib/seg/util.h index ef85c2c..395c5cd 100644 --- a/include/lib/seg/util.h +++ b/include/lib/seg/util.h @@ -25,12 +25,12 @@ void closeup(ImageMaskData_t** mask, uint32_t width, uint32_t height, size_t cou // Combine Label Masks // For all empty spaces in the destination, put the extra label if it exists // Allocates an array if destination is unallocated -ImageMaskData_t* combine_masks(ImageMaskData_t *destination, ImageMaskData_t *extra_labels, uint32_t width, uint32_t height); +struct ImageMask* combine_masks(struct ImageMask *destination, struct 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 -ImageMaskData_t* tif_to_labels(char* tif_file_name, uint32_t *width, uint32_t *height, ImageMaskData_t *starting_label_p); +struct ImageMask* tif_to_labels(char* tif_file_name, uint32_t *width, uint32_t *height, ImageMaskData_t *starting_label_p); // Convert mask to bitmap struct bitmap_t* image_mask_data_to_bitmap(ImageMaskData_t* buffer, uint32_t width, uint32_t height); -- cgit v1.2.1