Login  Register

imageJ get index of results table

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

imageJ get index of results table

drew10
3 posts
This post was updated on Jul 12, 2013; 2:34pm.
Hey all,

I'm writing a macro that identifies nuclei of cells, and I would part of the macro to analyze each nucleus. However when coding my forloop, I can't figure where I should "stop" the forloop. Is there a way to get the index of the results table that the analyze>measure command generates, so for example I could tell that the macro identified 7 nuclei and I could create a for loop that runs 7 times?

Thanks,

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: imageJ get index of results table

gankaku
156 posts
Hi Drew,

The command you are loockong for is...

index=nResults;

this reads in the number of result rows present in the results table or in the memory if you only used "Record starts" into the variable "index".

regards,
Jan

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html