My question seems similar to one asked ~2 years ago (Nov '15) by emartini and answered by Jan Eglinger, but JE’s answer doesn’t quite apply. I’m trying to select a subset of ROIs in an ROI manager by specifying their index number. I suppose I should use the Built In macro “roiManager(“select”, indexes)”. The ImageJ documentation states “… indexes is an array of integers”. How does one enter this array? For instance, if I want to select ROIs #7, 12, 43, and 61, how do I enter these numbers in the macro? If I enter
this selects ROI #7. But if I enter
roiManager("select", 7, 12, 43, 61)
I get an error. What is the proper syntax for entering an array such as 7, 12, 43, 61?
As a followup, is there a good tutorial or website that explains ImageJ macros and how to use Built-in Macros, other than the official ImageJ Documentation site?