Utility

read_pickle(path)

Loads content in the pickle file from path.

write_pickle(path, variable)

Writes variable to path as a pickle file.

generate_file_paths(img_set_path, filter_info)

Returns paths to contour pickle file and property csv file.

write_clusters_info(img_set_path, …)

Writes cluster id (closest centroid) and distance to closest centroid to property csv file.