Content-weighted mean-squared error for quality assessment of compressed images