I think not really.
As far as I understand, getProfile() is a routine to get a intensity
profile from a image or a selection of image.
But I get from a plugin (Register ROI) plots back (similar to the "Plot
Profile") from which I want to get the y values. So the workaround, I
see so far, is to display the list values (window: Plot Values) and then
extracting these to a variable which wound be much more convenient than
saving them first into a text file and then reading them in again.
I hope my problem is clearer now,
Thanks,
marcus
> -----Original Message-----
> From: ImageJ Interest Group [mailto:
[hidden email]] On
> Behalf Of Gluender
> Sent: Wednesday, April 04, 2007 12:20 PM
> To:
[hidden email]
> Subject: Re: Macro - Plot window - get values into array
>
> Dear Marcus Leinweber,
>
> is the macro-routine "getProfile()" what you are looking for?
>
> >Dear list,
> >
> >Within a macro, I want to extract list values which I get
> back from a
> >profile plot of a plugin.
> >Is there a possibility to get these list values directly
> into an array?
> >Or do I have to save them first and then read them in again?
> >
> >...
> > run("Profile Plot Options...", "width=450 height=200 minimum=0
> >maximum=0 do list interpolate draw"); ...
> > selectWindow("Plot Values");
> > saveAs("Text", "C:\\temp\\Plot Values1.txt");
> >--> I don't to save them but assign them to an array.
> >
> >
> >Thanks in advance for suggestions and solutions, Marcus
>
>
> HTH
>
> Best
>
>
> --
>
>
> Herbie
>
> ------------------------
>
> <
http://www.gluender.de>
>