Logical operations on two annotations

Hi all,
I am looking for a way to create annotations from logical operations like XOR and AND applied to existing annotations. Could anyone point me the direction how to get this done?
Thanks, Peter

You might want to try the add or subtract operations on areas demonstrated here or here, or try merging ROIs or subtracting ROIs. Note that you may run into issues using ROI subtraction if they have been generated in different ways, seen here.

1 Like

That looks very useful indeed - I will try it!
Thanks a lot!

1 Like