Functions#

remove_files(file_dir, delete)

Remove specific files from a given file directory.

move_files(file_dir, target_dir, takeout)

Move specific files from one directory to another.

take_channel(img_dir[, print_image])

Process images from a given directory, creating maximum intensity projections.

save_npy(img_arr, img_name_list, save_location)

Save NumPy arrays as .npy files in the specified location.

save_tif(img_arr, img_name_list, save_location)

Save images as .tif files in the specified location.

apply_and_save_all_thresholds(img_arr, ...)

Apply various thresholding methods and save the results as .tif files.

apply_threshold(img_arr, img_name_list[, ...])

Apply a thresholding method to a list of images and return segmented images.

skeletonize_images(thresh_arr, img_name_list)

Skeletonize a list of binary images and return the skeletonized images.

load_npy_imgs(directory)

Load files from a given directory of .npy files.

load_tif_imgs(directory)

Load files from a given directory of .tif files.

get_skel_df(skel_arr, skel_name_list[, show])

Process a list of skeletonized images, extract properties, and display branch types.

display_img_side(array1, array2, index, ...)

Display two images side by side for visual comparison.