DensityCount

public class DensityCount implements PlugInFilter

Computes a density map estimate for counting objects within an image.

Author:Baptiste Ottino

Methods

run

public void run(ImageProcessor ip)

Computes a density map from the selected image stack. A results table that indicates the count is displayed in addition to the density map image.

Parameters:
  • ip – The input image processor.

setup

public int setup(String pathToModel, ImagePlus imp)

Sets up the PlugInFilter.

Parameters:
  • pathToModel – The path to a saved TensorFlow model bundle.
  • imp – The currently active image.
Returns:

A flag indicating which types of images this plugin handles.

See also: PlugInFilter