Subspace transform induced robust similarity measure for facial images