1. A computerized method for optimizing object recognition, comprising: receiving at least one image of an object and at least one reference image; identifying at least one performance metric corresponding to an object recognition task using a computing device; optimizing the identified performance metric to generate the corresponding optimized performance metric by determining an optimal subspace based on a determined objective function corresponding to the object recognition task and a difference between the received image and the corresponding reference image; and comparing the received image with the reference image based on the optimized performance metric for performing the object recognition task using the computing device.