-
Notifications
You must be signed in to change notification settings - Fork 16
Discrete Histogram Entropy
Volker edited this page Oct 11, 2019
·
2 revisions
Calculates the discrete histogram entropy for the result of the Directionality plugin.
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.
Open the macro discrete_histogram_entropy_.ijm with ImageJ and run it from the macro-editor.
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.
You find the source code in git-hub here.