Skip to content

Discrete Histogram Entropy

Volker edited this page Oct 11, 2019 · 2 revisions

Calculates the discrete histogram entropy for the result of the Directionality plugin.

USAGE:

Run the Directionality plugin on your image. Select "Display table" in the dialog. Activate the results table containing for each direction the normalized frequency of the data and the fit. Run the macro. The discrete histogram entropy is written to the log window.

INSTALLATION

Open the macro discrete_histogram_entropy_.ijm with ImageJ and run it from the macro-editor.

NOTE

If you use the macro on other histograms, the table must contain the values (used to calculate the bin-width) in the first column and the normalized frequencies in the second column.

SOURCE CODE

You find the source code in git-hub here.

Clone this wiki locally