RoiManager multiple selection
Posted by Eirinn Mackay on Jun 10, 2009; 11:49pm
URL: http://imagej.273.s1.nabble.com/RoiManager-multiple-selection-tp3692174.html
Hi all,
Is it possible to select multiple ROIs programmatically? I'd like to
select all that match a certain characteristic, draw them to the image
with one foreground color, then select other ROIs and draw them with a
different foreground color.
I am writing a python script so I'm using the API, but I can always
call a macro command if necessary.
The API describes a function - select(int index, boolean shiftKeyDown,
boolean altKeyDown) - but those boolean arguments don't appear to
work. If either of them are true, nothing can be selected.
I've tried selecting each ROI in turn and drawing it, but this is
prohibitively slow.
Any ideas?
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Eirinn Mackay
Research Assistant
Bartlett Group L6
Queensland Brain Institute
Brisbane, Australia
07 334 66381