High precision feature detection in laser texturing