importing and displaying previous point selections

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

importing and displaying previous point selections

kyselad-2
Is there some way to display previous point selections on an image? I've
figured out how to save previous results and import them into a results
window, but I cannot seem to display these measurements on the image. Thanks
in advance for any suggestions.
 
--Dave
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
Reply | Threaded
Open this post in threaded view
|

Re: importing and displaying previous point selections

Wayne Rasband
Here is macro code that displays a set of point measurements on an
image. Un-comment the 7th line to draw the points on the image.

   n = nResults;
   x = newArray(n);
   y = newArray(n);
   for (i=0; i<n; i++) {
       x[i] = getResult("X", i);
       y[i] = getResult("Y", i);
       //fillOval(x[i]-1, y[i]-1, 3, 3);
   }
   makeSelection("point", x, y);

-wayne

On Sep 26, 2007, at 3:24 PM, david kysela wrote:

> Is there some way to display previous point selections on an image?
> I've
> figured out how to save previous results and import them into a results
> window, but I cannot seem to display these measurements on the image.
> Thanks in advance for any suggestions.
>
> --Dave
> _________________________________________________________________
> Discover the new Windows Vista
> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE