fiji / Directionality

A Fiji plugin for inferring the main orientation of structures in an image.
https://imagej.net/plugins/directionality
5 stars 5 forks source link

Extracting counts? #6

Open ghost opened 1 year ago

ghost commented 1 year ago

Is it possible to extract the number of "structures" identified in a slice from the directionality plugin? The histogram table data are reported as "percentage of total identified structures". I'm using directionality on a z-stack to measure the frequency of structures in each angular bin (~2 degrees) for each slice.

My goal is to have a row vector for each slice consisting of a repeated sequence of the bin that angle falls under (or the actual angles themselves ideally...) e.g. {-60, -45.45, -10, 5, 30, 30, 30, 30, 30, 50, 80, 81, 81, 81, 82, 82, 82, 82, 82, 82, 83, 83, 83, 89}. Instead of what I have now which is: for each stack, FIJI gives me a single (exportable as .csv) matrix of angle bins as rows and "percentages of total identified structures" from each slice as columns.

I used this particular example of angles to highlight that my dataset (immunohistochemistry of fiber-like structures) runs into the same problem as described in the "plugin wishlist" section... I am exploring methods in circular statistics [1] to answer the problem.

[1] Fisher, N. I. (1995). Statistical Analysis of Circular Data. Cambridge: Cambridge University Press.

imagesc-bot commented 1 year ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/extracting-structure-counts-from-directionality-fiji-plugin/84585/1