Feature extraction using two-dimensional maximum embedding difference