Machine vision systems for on line quality monitoring in industrial applications