JPEG (joint photographic experts group) image primitiveness detection method based on file header and compressed parameter

The invention discloses a JPEG (joint photographic experts group) image primitiveness detection method based on a file header and a compressed parameter. The JPEG image primitiveness detection method includes steps of extracting N-dimensional characteristics from the file header and the compressed parameter of a to-be-detected imagine, with N being a positive integer, and setting characteristic values of the N-dimensional characteristics are A or B according to attributes of the characters; building a decision model; counting numbers of A or B occurring in the N-dimensional characteristics and setting a threshold value T, with T being a natural number, if the number of A larger than the threshold value T, determining that the imagine is not a primitive imagine, and otherwise, determining that the imagine is a primitive one; and detecting and judging the to-be-detected imagine according to the decision model. The JPEG image primitiveness detection method is adaptable to primitiveness identification for the JPEG image in multimedia forensics and has the advantages of simplicity, effectiveness and high detection accuracy.