-
ParticlesToArrays(info_list, column_sorted)
-
Returns a list of 6 arrays of real corresponding respectively to x, y (position of the center of the particle), area, minor and major axes and perimeter. The arrays of real are sorted according to the column index specified by column_sorted.
info_list: a list of records such as returned by AnalyzeParticles or by the Smile's command particles
column_sorted: the index of the sorting column, an integer in [1 ... 6]
-
ParticlesToText(info_list, column_sorted)
-
Same as ParticlesToArrays, but returns the results as a string (rather than an AppleScript list). The string is a tabulated array with 6 columns: x, y (position of the center of the particle), area, minor and major axes and perimeter.
-
ParticlesStats(info_list, total_area)
-
Same as ParticlesToText, but returns statistics rather than the whole array of values. ParticlesStats provides the number of particles, their total area (as a percentage of total_area if you provide a valid number), and the mean value and standard deviation for each of: x, y (position of the center of the particle), area, minor and major axes and perimeter.
total_area: the area of the original image in pixels
|