Login  Register

Re: ResultsTable problem

Posted by Gabriel Landini on Jan 20, 2010; 8:33am
URL: http://imagej.273.s1.nabble.com/3D-caliper-tp3689657p3689666.html

On Tuesday 19 Jan 2010  08:23:24 you wrote:
> my string column is the only one label column, i.e. the only column
> contains string. I also tried getValue( int columnNum, int RowNum), this
> works.

Oh, sorry I misundertood, I thought you wanted a 2nd column.

The method to get the string (i.e. the "label") of the table is (assuming that
rt is your Results table):

rt.getLabel(int row)

Have a look at the API which is quite useful:
http://rsb.info.nih.gov/ij/developer/api/ij/measure/ResultsTable.html#getLabel(int)

Cheers
G.