I would like to come up with a Macro that reports blob area, height, and width at various thresholds for images in a collection, where the values reported are for the blob with the largest area at each threshold. I have done this previously in a different software, and I would like to do this in ImageJ. So basically, I would apply different thresholds from say 0 to 200 in increments of 10 for 10 different images, and I would like to report the area of the largest blob that is detected in those images in the resultstable. I understand that to set up the results table I can use updateResults(), and I would just like to create a table that has measurements such as Area, darkest pixel, mean pixel, height, and width for the largest blob at each threshold.
Note that a blob in this case would represent a region where all the pixels are touching together. I have attached a screenshot for a better idea for blobs at both a threshold of 120 and at 80.
I have attached an example screenshot that has an example of the output format (I would do it in a resultstable). A200 represents the area of the blob at 200, BDP200 is the darkestpixel at 200, BDP is the meanpixel at 200, H200 is the height of the blob and W200 is the width of the blob at a threshold of 200.
I have played around a little bit with ImageJ and used some Macros with regards to Edge Detection, but I would love some help with summarizing these result parameters in the resultsTable and doing the blob detection in ImageJ.
I would like to run this script for a collection of images, so any help with this problem would be greatly appreciated!