Login  Register

Re: Gel analyzer - lane profiles

Posted by Rasband, Wayne (NIH/NIMH) [E] on May 29, 2014; 6:08pm
URL: http://imagej.273.s1.nabble.com/Gel-analyzer-lane-profiles-tp5007954p5007967.html

On May 28, 2014, at 11:16 AM, Knauf, Anke (NIH/NIAID) [F] wrote:

> Hi,
>
> I was wondering if anyone could explain how the Gel Analyzer plugin actually generates the lane profiles? How does it convert the 2dim data from the blot into a 1dim intensity profile? Does this involve an intensity sum over all pixels in the lane, or is it a maximum projection or something else?

The Gel Analyzer sums the pixel values along each line in the lane. The following macro duplicates what it does.

-wayne

   getSelectionBounds(xbase, ybase, width, height);
   values = newArray(height)
   for (y=ybase; y<ybase+height; y++) {
      sum = 0;
      for (x=xbase; x<xbase+width; x++)
         sum += getPixel(x,y);
      values[y-ybase] = sum/width;
   }
   Plot.create("Profile", "X", "Y", values)

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html