3D Vision-Guided Machine Tending for Grinding in Metallurgical Industry