Blocking artifacts are the result of block-based discrete cosine transform in JPEG coding.A new method to measure the blocking artifacts is presented in this paper.First of all,according to the luminance distribution,every 8 ×8 JPEG image block was determined as one of four distortions:most severe,severe,slightly blocking,and undistorted ones.Secondly,the ratio of each kind of distorted image block was calculated in order to establish the relationship between each kind of image block and the ima...