More ResultsTable Problems
Posted by David Webster on Nov 07, 2009; 7:16am
URL: http://imagej.273.s1.nabble.com/More-ResultsTable-Problems-tp3690519.html
Wayne/All,
There is a problem with ResultsTable for daily build 1.43k8.
If you run filter show below, you get these tow differing results.
1.43j
A B C
1 0 2 3
1.43k8
A A B C
1 0 0 2 3
import ij.plugin.*;
import ij.measure.ResultsTable;
public class TestResultsTable implements PlugIn
{
public void run(String arg)
{
ResultsTable rt = new ResultsTable();
rt.reset();
rt.setHeading(1, "A");
rt.setHeading(2, "B");
rt.setHeading(3, "C");
rt.incrementCounter();
rt.addValue("A", 0);
rt.addValue("B", 2);
rt.addValue("C", 3);
rt.show("TestResults Table");
}
}
David Webster