imagej_plugin#

imagej_plugin(im, path, plugin_name, args=None)[source]#

Apply ImageJ filters on 3D images.

In This function the plugin_name should have a same format as the plugin_name in the ImageJ. For example, to apply a Gaussian blur on a 3D image, the plugin_name should be ‘Gaussian Blur 3D…’

Parameters:
  • im (ndarray) – The 3D image of the porous material

  • path (str) – Path to the Fiji application in the local directory

  • plugin_name (str) – Name of the applied ImageJ plugin

  • args (dict) – A dictionary that containes the required arguments of the applied plugin. For example, it could be {‘options’: ‘True’}

Returns:

Outputs a ndarray after applying the desired filter on the image.

Return type:

ndarray