Short Description

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

Versions

  • Version 1 • Released on: 2013-03-11 11:12:43
    Download
    Description:

    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)
    println(roi)

Leave a Review