Correspondence Learning via Linearly-invariant Embedding