prevampire.get_skel_df#

prevampire.prevampire.get_skel_df(skel_arr, skel_name_list, show=0)[source]#

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

Parameters:
skel_arrlist

A list of skeletonized images or arrays.

skel_name_listlist

A list of names corresponding to the skeletonized images.

showint, optional

The number of images to display branch types. Defaults to 0.

Returns:
pd.DataFrame

A Pandas DataFrame containing skeletonization properties.

Notes

  • The function processes a list of skeletonized images and extracts properties using the skan library.

  • Skeletonization properties are summarized, and a Pandas DataFrame is created.

  • The show parameter determines the number of images for which branch types are displayed.

  • To print out the DataFrame, type the name of the DataFrame you set and press enter.