ratioThreshold method for datasets with small number of keypoints per image (<50).