Image enhancement algorithm for optical microstructural characterization of Shape Memory TiNi Friction Stir Processed