Could someone please suggest how I can set the FillColor and StrokeColor for ROIs using the ImageJ Macro language?
Specifically, I have written a script that prompts you to select an image file, opens the ROI Manager, sets the ‘Show All with labels’ option, and sets the freehand tool to start drawing your ROIs.
Is there a way to set the FillColor and StrokeColor so that each ROI that is subsequently drawn and added to the ROI Manager (using Add or ‘t’) is automatically filled in with a certain Fill and Stroke colour (e.g. blue)?
(As opposed to drawing the ROI first and then selecting it and setting the Fill and Stroke color.)