Height difference detection of barrel rifling based on structured light