EDM process analysis using high-speed imaging