Summarize all pixelvalues inside round ROI
Posted by GuPInt on Oct 11, 2013; 2:09pm
URL: http://imagej.273.s1.nabble.com/Summarize-all-pixelvalues-inside-round-ROI-tp5005136.html
Hi list,
I want to do some automated measurements with a macro measureing regions wich I selected via doWand(x,y);
Now I want to summarize all pixel grayvalues inside this selected ROI and save the sum in a variable.
I'm new to ImageJ and didn't find a way yet. So at the moment I have my x,y coordinates for my doWand command and the selected ROI. Does someone have an idea how to summarize all the values in my macro?
my algorithm looks like this:
run("Find Maxima...", "noise=10 output=List exclude");
for(i=0; i<nResults; i++) {
x=getResult("X", i);
y=getResult("Y", i);
doWand(x,y);
thanks in advance and kind regards