http://imagej.273.s1.nabble.com/Extract-intensities-along-polyline-ROI-tp5019099p5019122.html
> On Jul 20, 2017, at 17:03 , Norbert Vischer <
[hidden email]> wrote:
>
> Hi Kenneth,
>
> you can use the command Edit>Selection>Interpolate.
> For example this macro uses an interval of 8, and for checking
> maxima in zz use Array.findMaxima().
>
>
>
> newImage("Untitled", "8-bit ramp", 200, 200, 1);
> makeLine(40,60,140,70,95,135);
> run("Interpolate", "interval=8 adjust");
> getSelectionCoordinates(xx, yy);
> len = xx.length;
> zz = newArray(len);
> for(jj = 0; jj < len; jj++)
> zz[jj] = getPixel(xx[jj], yy[jj]);
>
>
>
> Norbert
>
>
>
> On 20. Jul 2017, at 12:54, Kenneth R Sloan <
[hidden email]> wrote:
>>
>> I want to specify a polyline and then extract image intensities along that
>> polyline, preferably with an adjustable step size. Looks easy, but I
>> thought I would check to see if there is a standard tool that will do the
>> job.
>>
>> Eventually, this will be a java plugin - I'll probably need to add a few
>> complications (for example, searching a small region NEAR the points along
>> the polyline for maximum intensity pixels. But, for now, I'm interested in
>> quick and dirty, if it exists.
>>
>> --
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html