Extract a parameter to choose the descriptor matching type