diff options
author | Christian C <cc@localhost> | 2025-03-22 23:03:04 -0700 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-22 23:03:04 -0700 |
commit | b12c8440da356cbf4deb91f9598d84852e9d8dce (patch) | |
tree | 8bb8abe01244d5ef2afefc7485c1157acd14c277 /include | |
parent | ca1d8c3194f679d1901ea83ff954c82114d5559b (diff) |
Partial Conversion #1
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/seg/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |