A segmentation-based approach for detecting switching interaction. (September 2019)