Login  Register

Re: string data for the Measurement

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

Dear Dr. Pang,

again, how do expect to enter the operator name?

If you like to enter it by means of a macro, you may append it to the
image file name. Without a macro, you may rename the image file, i.e.
you may append the operator name to the image file name. If both
isn't an option for you, then I don't see a solution yet.

>Dear Gluender,
>
>do you need an image file name in your table?
>
>  >>>YES, I need image file name in my table.
>
>How is the image file name entered to the result table?
>>>>I did not specify file name in the result table. I just specify in
>the "Set Measurements" to Display Label.
>
>>>>  How do I get both image label and some other notation for the image.
>
>Thanks,
>
>Zhengyu
>
>
>
>>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
>--

Best
--

                   Herbie

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