Re: multiple ROIs in stack -> one histogram
Posted by
Norbert Vischer-2 on
Mar 19, 2009; 9:26pm
URL: http://imagej.273.s1.nabble.com/multiple-ROIs-in-stack-one-histogram-help-needed-tp3693241p3693242.html
You could simply add the individual histogram arrays (and optionally show the result as a plot). In macro language, create an array for accumulation, select each roi, use command 'getRawStatistics(...)', and add the individual array to the accumulation array. You can use the plot functions to show the resulting accumulated histogram graphically. If you are uncomfortable with macro language, there are enough people (including myself) to give you some sample code.
Norbert Vischer
-----Original Message-----
From: ImageJ Interest Group on behalf of deutschmed
Sent: Thu 3/19/2009 2:37 AM
To:
[hidden email]
Subject: multiple ROIs in stack -> one histogram
Hi,
I would like to calculate one histogram from the areas of multiple ROIs. For
example, I draw 1 ROI per slice on 10 of 24 slices in a stack. Now I would
like to calculate ONE histogram for the 10 areas of the ROIs.
Any ideas how to do that in imageJ?
I know how to use the ROI manager to create multiple ROIs, but I cannot
figure out how to create ONE histogram.
Thanks,
dm
--
View this message in context:
http://n2.nabble.com/multiple-ROIs-in-stack--%3E-one-histogram-tp2500671p2500671.htmlSent from the ImageJ mailing list archive at Nabble.com.