Gel analyzer - lane profiles

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gel analyzer - lane profiles

Knauf, Anke (NIH/NIAID) [F]
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?

Thanks,
Anke.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Gel analyzer - lane profiles

Rasband, Wayne (NIH/NIMH) [E]
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