A new approach for automated measuring of the melt pool geometry in laser-powder bed fusion