Evaluation of Stress Distribution in Magnetic Materials Using a Magnetic Imaging System