The starting point for those studies is your customer-segmentation model. After you decide which approach to use to measure migration, the process is a virtuous circle of analyze, segment, campaign, ...
TubeTK is an open-source toolkit for the segmentation, registration, and analysis of tubes and surfaces in images, developed by Kitware, Inc.