diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/prog.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -88,7 +88,7 @@ int main(int argc, char** argv) uint32_t width, height; ImageMaskData_t starting_label = 1; ImageMaskData_t *masks = NULL; - struct ImageMask *masks_im = NULL; + ImageMask *masks_im = NULL; // Expect a directory to be passed as the first argument if (directory != NULL) { // Ensure the directory exists @@ -118,7 +118,7 @@ int main(int argc, char** argv) //----------------------------------------------- //-PROCESS-TIFF-TO-LABELS------------------------ //----------------------------------------------- - struct ImageMask *file_im = tif_to_labels(fpath, &width, &height, &starting_label); + ImageMask *file_im = tif_to_labels(fpath, &width, &height, &starting_label); ImageMaskData_t *file_labels = file_im->mask[0]; if (file_labels == NULL) { free(fpath); @@ -175,7 +175,7 @@ int main(int argc, char** argv) //-OPTIONAL:------------------------------------- //-GET-MASK-META-INFORMATION--------------------- //----------------------------------------------- - struct AVLNode* root = NULL; + AVLNode* root = NULL; root = get_mask_data(masks, width, height); if (!silent) { printf("Inorder traversal of AVL tree: "); @@ -201,7 +201,7 @@ int main(int argc, char** argv) //-SAVE-MASK-AS-BINARY-AND-PNG------------------- //----------------------------------------------- if (masks != NULL) { - struct bitmap_t* bitmap = image_mask_data_to_bitmap(masks, width, height); + Bitmap* bitmap = image_mask_data_to_bitmap(masks, width, height); if (bitmap != NULL) { save_png(bitmap, png_file); free(bitmap); |