Text this: Automated ex-situ detection of pitting corrosion and its effect on the mechanical integrity of rare earth magnesium alloy - WE43