I’m got stuck in my macro-writing. I have a large number of images with similar objects that I sort by size. They have a typical size distribution:
Ideally I would like to sample a few images and look at all the objects found in those. Make an area histogram of all the objects, find the max (most frequent) and use that for automatic area threshold setting in my analysis of all the images.
Problems I have encountered:
- Problem to collect the object numbers from several image analyses in one single results table from which I can do the histogram
- Can’t figure out how to find the max (most frequent) in the histogram within ImageJ (no macro function corresponding to the “list” button in the histogram window)