Blocking signature detection for identification of JPEG images

Image analysis – Image compression or coding – Including details of decompression

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C382S235000

Reexamination Certificate

active

06385342

ABSTRACT:

FIELD OF THE PRESENT INVENTION
The present invention is directed to a method of detecting images compressed in accordance with the conventional JPEG image compression standard, and more particularly, a method of detection a blocking signature in an image to provide identification of a JPEG compressed image.
BACKGROUND OF THE PRESENT INVENTION
Data compression is required in data handling processes, where too much data is present for practical applications using the data. Commonly, compression is used in communication links, where the time to transmit is long, or where bandwidth is limited. Another use for compression is in data storage, where the amount of media space on which the data is stored can be substantially reduced with compression. A device showing either or both of these cases is a digital copier where an intermediate storage is used for collation, reprint or any other digital copier functions. Additionally, digital copiers often allow the printing of externally received data. Generally speaking, scanned images and print masters, i.e., electronic representations of hard copy documents, are commonly large, and thus are desirable candidates for compression.
The method disseminated by the JPEG committee for still image compression is described in detail in “JPEG: Still Image Compression Standard”, by W. Pennebaker and J. Mitchell, published by Van Nostrand Reinhold in 1992. We will refer to the lossy compression modes based on the discrete cosine transform and it will be called JPEG compression in this application. JPEG compression is a lossy system that reduces data redundancies based on pixel to pixel correlations. Generally, in images, on a pixel to pixel basis, an image does not change very much. An image therefore has what is known as “natural spatial correlation”. In natural scenes, correlation is generalized, but not exact. Noise makes each pixel somewhat different from its neighbors.
Generally, as shown in
FIG. 1
, a JPEG compression and decompression system is illustrated. A more complete discussion may be had by referencing U.S. Pat. No. 5,321,522 to Eschbach and U.S. Pat. No. 5,359,676 to Fan. The entire contents of U.S. Pat. No. 5,321,522 and U.S. Pat. No. 5,359,676 are hereby incorporated by reference.
Initially provided is tile memory
10
for storing an M×M portion of the image. From the portion of the image stored in tile memory, the discrete cosine transform (DCT), transformer
12
forms a frequency space representation of the image. Hardware implementations are available, such as the C-Cube Microsystems CL550A JPEG image compression processor, which operates in either the compression or the decompression mode according to the proposed JPEG standard. As will be described below, the implementation of the invention can be in either in software or hardware.
A divisor/quantization device
14
is used, from a set of values referred to as a Q-Table, stored in a Q table memory
16
, so that a distinct Q table value is divided into the DCT value, returning the integer portion of the value as the quantized DCT value. A statistical encoder
20
often using Hufftman codes is used to endcode the quantized DCT values to generate the compressed image that is output for storage, transmission, etc.
Discrete cosine transforms are well known, and hardware exists to perform the transform on image data, e.g., U.S. Pat. No. 5,049,991 to Niihara, U.S. Pat. No. 5,001,559 to Gonzales et al., and U.S. Pat. No. 4,999,705 to Puri.
To decompress the now-compressed image, and with reference to
FIG. 1
, a series of functions or steps are followed to reverse the process described. Huffman encoding is removed at decoder
50
. The image signal now represents the quantized DCT coefficients, which are multiplied at signal multiplier
52
by the Q table values in memory
54
in a process inverse to the compression process. At inverse transformer
56
, the inverse transform of the discrete cosine transform is derived, and the output image in the spatial domain is stored at image buffer
58
.
In U.S. Pat. No. 5,321,522 and U.S. Pat. No. 5,379,122 to Eschbach, U.S. Pat. No. 5,359,676 to Fan, the standard process described in
FIG. 1
is varied. The original image is compressed; the compressed representation is decompressed. The decompressed image is additionally filtered to improve appearance, but in doing so, it may be forced outside the range of images that are possibly derived from the original image. The DCT representation of the image is therefore altered, in order to force the image into the acceptable range of images. The processes may be used iteratively.
Some image formats that involve compression such those using JPEG inflict degradation to the image. When a system invokes to print one of these compressed images, the incoming image may receive special processing to remove those artifacts. First, however, one has to determine whether the image was compressed beforehand.
The present invention proposes a method to identify whether the image was compressed in the past. Moreover, the present invention proposes a method to identify whether the image was JPEG compressed in the past. By enabling identification of compressed images, the present invention will enable the printing system to steer a compressed image towards a cleaning image processing operation, thereby enabling the printing system to clean-up the image from any undesirable artifacts.
The method of the present invention is based on the analysis of subtle blocking discontinuities that are present and readily discernible in compressed images. For example in producing JPEG compressed images, the image is divided into blocks that are transformed, quantized, and compressed virtually independently. Thus, discontinuities across block boundaries (blocking effects) account for the most noticeable compression artifact caused by JPEG compression. The higher the compression the higher the blocking. The present invention performs an analysis of the blocking discontinuities as an indicative of compression history.
SUMMARY OF THE PRESENT INVENTION
One aspect of the present invention is a method for detecting if an image is compressed. The method computes the absolute difference between two neighbor pixels of an image, for a predetermined number of pixels of the image, horizontally and vertically; divides the results into first differences that correspond to crossing block boundaries (I) and second differences that correspond to not crossing block boundaries (II); computes histograms from samples in I and II; normalizes each histogram; and determines if the image is compressed based on a difference between the two normalized histograms.
A second aspect of the present invention is a method for detecting if an image is compressed. The method determines a block grid within the image; establishes blocks from the determined grid; computes differences between samples inside the established blocks; computes differences between samples across the established blocks; and determines that the image is compressed based on characteristics derived from statistics of the computed differences.
A third aspect of the present invention is a method of determining if an image is compressed. The method determines a block grid within the image; establishes blocks from the determined grid; for each block, computes a first set of differences from four adjacent pixels located within the block; for each block, computes a second set of differences from four adjacent pixels, each pixel being located in a corner of four adjacent blocks; computes histogram H(n) for the first set of differences and histogram H′ (n) for the second set of differences; normalizes the histograms; and determines if the image is compressed based on a difference between the two normalized histograms.
A fourth aspect of the present invention is a method of determining if an image is compressed. The method determines a block grid within the image; establishes blocks from the determined grid; for each block, computes a first set of differences from a first set of four adjacent pixels

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Blocking signature detection for identification of JPEG images does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Blocking signature detection for identification of JPEG images, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Blocking signature detection for identification of JPEG images will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2851780

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.