Real-time Analysis of Photoelastic Images by Phase-shifting Method