Machine vision based quality control of free-form profiles in automatic cutting processes