Direct localization of multiple magnetic dipoles for surface crack detection