This collection of functions perform particle analysis by identifying spatially connected pixels. It is “depth first search” of linked components implementation using DM script. Run dfs() function on an image after thresholding, the function will give out a taggroup containing all particles pixels grouped by the particles. Mathematical calculation of various particle analysis, such as area, diameters, circularity, etc, can be performed with the information supplied by the taggroup. People wants to find alternate method to DigitalMicrography’s Particle Analysis might find this useful.
The script is tested on GMS 1.84. But it should run on all versions.