Login  Register

Re: string data for the Measurement

Posted by Gluender-3 on Aug 24, 2009; 9:30pm
URL: http://imagej.273.s1.nabble.com/string-data-for-the-Measurement-tp3691403p3691406.html

Dear Dr. Pang,

do you need an image file name in your table?
How is the image file name entered to the result table?

>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 you already enter the image file name why not append the operator
name to it?

>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

Best
--

                   Herbie

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