adding name of image to results table

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

adding name of image to results table

donny008
hello

I have been trying to figure out a rather small thing in my plugin  of
adding the names of the images to the results table along with their
respective measurements. right now they are displayed as image1, image 2..
etc. can someone tell me how i could pass the image name to the results
table in the imagej plugin.

thanks in advance


--
Donny George
Reply | Threaded
Open this post in threaded view
|

Re: adding name of image to results table

Jacqueline Ross
Hi Donny,

I am not an expert on macro writing but you should get the names of the
images as long as you have selected Display Label in the Set
Measurements window when you recorded your macro or added it in when you
wrote it if you did it that way. It just shows the word "display" as
shown below:

e.g. run("Set Measurements...", "area mean modal area_fraction limit
display redirect=None decimal=3");

Kind regards,

Jacqui

Jacqueline Ross

Biomedical Imaging Microscopist
Biomedical Imaging Research Unit
School of Medical Sciences
Faculty of Medical & Health Sciences
The University of Auckland
Private Bag 92019
Auckland, NEW ZEALAND

Tel: 64 9 373 7599 Ext 87438
Fax: 64 9 373 7484

http://www.fmhs.auckland.ac.nz/sms/biru/

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Donny George
Sent: Thursday, 12 August 2010 1:11 a.m.
To: [hidden email]
Subject: adding name of image to results table

hello

I have been trying to figure out a rather small thing in my plugin  of
adding the names of the images to the results table along with their
respective measurements. right now they are displayed as image1, image
2..
etc. can someone tell me how i could pass the image name to the results
table in the imagej plugin.

thanks in advance


--
Donny George