FUNCTIONAL ASPLUND METRICS FOR PATTERN MATCHING, ROBUST TO VARIABLE LIGHTING CONDITIONS