different results using ImageStatistics and Menu-Analyze-Measure command
Posted by Ben Liu-3 on Apr 27, 2006; 8:19pm
URL: http://imagej.273.s1.nabble.com/different-results-using-ImageStatistics-and-Menu-Analyze-Measure-command-tp3702965.html
Hi there,
I wanna measure the mean of line with width of w pixels.
the line is from point ps to pe.
the plugin is like this:
Line line = new Line(ps.x, ps.y, pe.x, pe.y);
line.setWidth(w);
imp.setRoi(line);
is = ImageStatistics.getStatistics(ip, Measurements.MEAN+Measurements.AREA, imp.getCalibration());
return is.mean;
The result from this plugin is different from the one got from Menu->Analyze->Measure command.
Does anyone know why is this?
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.