Re: Recording file name in "Cell counter" plug in
Posted by
Citron, Bruce on
May 26, 2011; 5:29pm
URL: http://imagej.273.s1.nabble.com/Recording-file-name-in-Cell-counter-plug-in-tp3684443p3684444.html
One way it could be done, if you are using a macro to open each of the
different images in a series, would be to use the print command to enter the
opened file specification in a log window which can be saved or exported.
For example, if you have 10 images, image1, image2, ... , image10 where n =
the image number, filename = ³image² and filepath = ³the directory path to
that file²
open(filepath+filename+n); will open the file and
Print(filepath+filename+n); will write that information to a log window.
Bruce A. Citron, Ph.D., Bay Pines VA
On 5/26/11 7:32 , "Jameel Ahmad Khan" <
[hidden email]> wrote:
> Hello everyone,
> I am using "cell counter" plug in of ImageJ for counting different cell types
> in my image data.
> Basically what I am doing is: counting different cell types in a particular
> field (images). In order to achieve statistically significant counts, I have
> to do this for a large number of fields (often more than 30) for each sample.
> Though the Cell counter plugin is proving to be really useful but life
> would be a lot easier if it is possible to have a module in this plugin which
> also records source file name along with Counter type. This will not only
> enable:
> 1. The cross checking/correction of the results after finishing the counting
> (immediately as well as at later time point).
> 2. Make the plug in more useful for counting cells from multiple files.
>
> I will really appreciate if some one can suggest/provide a macros/patch/update
> in cell counter plugin for this purpose.
>
> PS: I am just a beginner in image data with practically no experience in
> programming so a stepwise instructions of use will be greatly appreciated.
>
> With best regards
> Jameel