Automated Imaging of the Annihilation of a Transverse Domain Wall in Patterned Magnetic Thin Films