Person re-identification ranking optimisation by discriminant context information analysis