Login  Register

obtaining results in a table

Posted by donny008 on May 06, 2009; 3:18pm
URL: http://imagej.273.s1.nabble.com/obtaining-results-in-a-table-tp3692637.html

hello,

i am working with image properties on imagej and wanted to obtain properties
like mean, min, max and std in a table. one problem is that standard
deviation (std) is not included in the macro  run("Measure") ??

function convert(format);
        dir1 = getDirectory("Choose Source Directory ");
    list = getFileList(dir1);
          //loop over the files in the source directory


for (i=0; i<list.length; i++)
        {
        showProgress(i+1, list.length);
    open(dir1+list[i]);
       run("Measure");
    setResult("Label", nResults-1, "+ getTitle");

        }

and this is the result i get

  mean        min    max
   154.764    30    246
    155.198    29    245
    155.508    30    245
    153.564    26    245
    142.277    30    245


But with the code i wanted to get the name of the file as the first column,
could someone help me please

thank you
--
Donny George