set measurements

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

set measurements

Adam Hacking
Hi,

I am wondering if it is possible to define some of the items in the "Set Measurements" menu when using run("measurement") ? (ie limit to threshold). Can this be done from inside a macro ?

Also I have looked for an example of how to ask the user to select an ROI, then limit analysis (incl threshold) to this area, but I do not seem to making any progress. I would be grateful if anyone could point me int he right direction........

Many thanks for your help !

Adam


________________________________________________________________         Dr. S Adam Hacking, Post Doctoral Fellow
JTN Wong Laboratories for Mineralized Tissue Research,
Center for Bone and Periodontal Research,
McGill University     740 Dr. Penfield Ave. Rm. 2300A
Montreal, QC, Canada H3A 1A4
Ph.:  514-398-5112
Fax: 514-398-4020
Reply | Threaded
Open this post in threaded view
|

Re: set measurements

Jan Eglinger-5
Hi Adam,

>
> I am wondering if it is possible to define some of the items in the "Set Measurements" menu when using run("measurement") ? (ie limit to threshold). Can this be done from inside a macro ?
>

The macro recorder gives you the keywords you need to use, e.g.

run("Set Measurements...", "area limit redirect=None decimal=3");

hth,
jan

--
Jan Eglinger
PhD Student, Eckhard Lammert group
Max Planck Institute of Molecular Cell Biology and Genetics
Pfotenhauerstrasse 108
01307 Dresden
Germany
Reply | Threaded
Open this post in threaded view
|

Re: set measurements

Michael Schmid
In reply to this post by Adam Hacking
Hi all,

Here is a new plugin that halts macro execution and asks the user for  
some action, e.g. selecting a ROI:

http://imagejdocu.tudor.lu/imagej-documentation-wiki/plugins/ 
wait_for_user

Michael

_______________________________________________________________
On 22 Nov 2007, at 15:41, Adam Hacking, Dr. wrote:
(...)
> Also I have looked for an example of how to ask the user to select  
> an ROI, then limit analysis (incl threshold) to this area, but I do  
> not seem to making any progress. I would be grateful if anyone  
> could point me int he right direction........
(...)