Pupil Function Engineered for Improved SLAM Feature Localization