A detail based method for linear full reference image quality prediction