diff options
Diffstat (limited to 'include/lib/seg/util.h')
-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); |