adding trackbar for selecting descriptor type