Dear Eric,
The straightened image has the maximum values, so it can be resliced
into a 1-pixel line stack. This stack can be projected using the
maximum intensity projection mode. This yields a line with maximums
across the original line, that you can plot.
run("Straighten...");
run("Reslice [/]...", "output=1.000 start=Top avoid");
run("Z Project...", "projection=[Max Intensity]");
makeLine(0,0,getWidth,0);
run("Plot Profile");
Sincerely,
Jerome.
On 3 April 2012 11:57, Eric Denarier <
[hidden email]> wrote:
>
> Dear all,
>
> Is there a way to draw the maximum pixel value across a line ?
> As I undertstood the plot profile functon gives the average and the straighten function draws all the width of the line.
> Thanks
>
> --
>
> Eric Denarier
> Grenoble Institut des Neurosciences
> Inserm U836
> Chemin Fortuné Ferrini
> 38700 La Tronche
> France
>
>
> Tél :33 (0)4 56 52 05 38
> Fax :33 (0)4 56 52 06 57
>
>
http://neurosciences.ujf-grenoble.fr/