Login  Register

Re: string data for the Measurement

Posted by Pang, Zhengyu (GE Global Research) on Aug 24, 2009; 9:13pm
URL: http://imagej.273.s1.nabble.com/string-data-for-the-Measurement-tp3691403p3691405.html

Dear all,

Thanks for the responses. I think the Label is reserved for image file
name. If I use  setResult("Label", row, string) function, is it going to
replace the content (image name) in the original Label column. If this
is the case, I do not want to do it, as I still need the column to tell
me which image I am processing. I want to do something like
setResult("Operator", row, string), but I found ImageJ want the string
to be a numeric.

Thanks,

Zhengyu




Dr. Zhengyu Pang
Biochemistry and Biological Engineering Laboratory
General Electric Company Global Research
 
GE Imagination at work

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Gluender
Sent: Monday, August 24, 2009 5:06 PM
To: [hidden email]
Subject: Re: string data for the Measurement

Dear Dr. Pang,

how do you wish to set the row name? By means of macro?

If so, you may have a look at the manual "built-in macro functions" at

<http://rsb.info.nih.gov/ij/developer/macro/functions.html>

There you will find:

Call setResult("Label", row, string) to set the row label.

>Hi all,
>
>I am investigating person 's variability to set the threshold, and I
>would like to have a column in the Measurement to designate the
>operator's name such as "John" and "Tom". However, when I look at
>setResult function, it seems that it only accept numerical data, no
>string.
>
>Could we have string value in the result window such as "Label"?
>
>Zhengyu
>
>
>Dr. Zhengyu Pang
>
>Biochemistry and Biological Engineering Laboratory
>
>GE Global Research
>
>Biosciences Global Technology Organization
>
>T +1 518 387 4015
>
>M +1 919 724 7116
>
>F +1 518 387 7765
>
>[hidden email]
>
>One Research Circle
>
>Niskayuna, NY 12309
>
>GE imagination at work

HTH
--

                   Herbie

          ------------------------
          <http://www.gluender.de>