/** Get channels that at least are partially selected */ public Set<String> getChannels(Imageset rec) { TreeSet<String> c = new TreeSet<String>(); for (ROI roi : getSubRoi()) c.addAll(roi.getChannels(rec)); return c; }