Need help or advice ? Come to the Icy club ! - Every other Thursday morning from 9h30 to 12h30 - Francois Jacob Building - Main hall - Pasteur

Get ROI At Index

by tprovoost / Thomas Provoost

On a sequence with multiple ROIs, get the ROI of a specified index.

version 1 (last version):

download to use and modify in Icy. How do I use scripts ? A Problem ? ask the community.
Changelog for this version: initial version
seq = getSequence()
if (seq == null) throw "Please open a sequence first"

rois = seq.getROI2Ds()
if (rois.isEmpty()) throw "No ROI on the sequence"

roi = rois.get(0)

This script has no documentation. A Problem ? ask the community.

Icy script publication Id : Q4C2K5