How to determine how many regions a segmentation intersects with in a brain segmentation

using extension BrainParcellation can segment brain into 100 more segment , if i segment a new red segment like the picture before , how to write code to get the brain segments the intersects with this red segment