Materials scientists make use of image processing tools more and more as technology advances and the data volume that needs to be analyzed increases. We propose a method to optically measure magnetic eld induced strain (MFIS) as well as twin boundary movement in Ni2MnGa single crystal shape memory alloys to facilitate spatially resolved tracking of deformation. Current magneto-mechanical experiments used to measure MFIS can measure strain only in one direction and do not provide information about the movement of individual twin boundaries. A sequence of images captured from a high resolution camera is analyzed by a boundary detection algorithm to provide strain data in multiple directions. Subsequent motion detection and Hough feature extraction provide quantitative information about the location and movement of active twin boundaries.© (2012) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.