Re: ROI intersection
Posted by Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/ROI-intersection-tp3701011p3701012.html
On Fri, 7 Jul 2006, Lenk, Sandor wrote:
> Has anybody an idea how to create a ROI intersection in a macro easily?
You can use logical operations on the filled ROIs:
1. Duplicate image, subtract 1
2. Create ROI 1, fill it and threshold (call it Binary 1)
3. Go to original image
4. Duplicate image, subtract 1
5. Create ROI 2, fill it and threshold (call it Binary 2)
6. AND Binary 1 & Binary 2
7. Create ROI from the result using the new Create Selection and store in ROI
Manager
8. Go to original image and recall ROI from ROI Manager
I hope it helps.
Gabriel