Short Description

Usable on global view of a 96-Well Plates. It creates a grid of oval ROIs on the sequence and computes the mean intensity.

Versions

  • Version 1 • Released on: 2013-03-13 16:16:39
    Download
    Description:

    initial version

    importClass(Packages.icy.roi.ROIUtil)
    importClass(Packages.icy.roi.ROI2D)
    importClass(Packages.icy.sequence.Sequence)
    importClass(Packages.icy.roi.ROI2DEllipse)
    importClass(Packages.java.awt.geom.Point2D)
    
    seq = getSequence()
    size = 34
    space = 56
    xa = 191 - 34 / 2
    ya = 180 - 34 / 2
    xb = 191 + 34 / 2
    yb = 180 + 34 / 2
    
    for (i = 0; i < 12; i = i + 1) {
    	for (j = 0; j < 8; j = j + 1) {
    		xai = xa + space * i
    		yai = ya + space * j
    
    		xbi = xb + space * i
    		ybi = yb + space * j
    
    		topLeft = new Point2D.Double(xai, yai)
    		bottomRight = new Point2D.Double(xbi, ybi)
    		roi = new ROI2DEllipse(topLeft, bottomRight)
    		intensity = ROIUtil.getMeanIntensity(seq, roi)
    
    		println("" + (j + 1) + "t" + (i + 1) + "t" +  intensity)
    	}
    }

Leave a Review