Skip to content

New features and bug fixes

Choose a tag to compare

@jgostick jgostick released this 26 Apr 00:59

🚀 New features

New visualization functions

  • Added show_3D to visualization module. This function rotates the image along two axes and returns a 2D view from an angle for simple viewing with matplotlib's imshow.

New filters

  • Added trim_small_clusters. This function allows the removal of all features small than a threshold size.
  • Added hold_peaks function: This function finds the highest greyscale value along in each slice along a given axis.
  • Added the prune_branches function. Given an image skeleton, this removes all dangling branches.

Improved generators

  • Loosened tolerance for polydisperse generator test
  • Switched default solver in sphere generator to bisection method
  • Enhanced cylinders function to accept length argument

Minor changes

  • Changed trim_disconnected_blobs to make a copy of input image
  • Allowed get_border to optionally return indices as well as mask
  • Cleaned many docstrings throughout package (need to install a spell checker on IDE!)

🐛 Bugfixes

  • Fixed bug in snow_extraction that resulted in some negative throat lengths
  • Fixed bug in trim_disconnected_blobs. Note this bug was also impacting porosimetry when an inlet mask was provided.