An Approach to Automatic Selection of the Optimal Local Feature Detector