Image Processing for Optical Methods to Analyze Shape, Deformation, Stress and Strain