[go: up one dir, main page]

GB2347811A - Measuring blockiness in decoded video images - Google Patents

Measuring blockiness in decoded video images Download PDF

Info

Publication number
GB2347811A
GB2347811A GB9828720A GB9828720A GB2347811A GB 2347811 A GB2347811 A GB 2347811A GB 9828720 A GB9828720 A GB 9828720A GB 9828720 A GB9828720 A GB 9828720A GB 2347811 A GB2347811 A GB 2347811A
Authority
GB
United Kingdom
Prior art keywords
image
fourier transform
decoded video
video image
decoded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB9828720A
Other versions
GB9828720D0 (en
GB2347811B (en
Inventor
Mohammed Ghanbari
Kwee Teck Tan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
INDEPENDENT TELEVISION COMMISS
Original Assignee
INDEPENDENT TELEVISION COMMISS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by INDEPENDENT TELEVISION COMMISS filed Critical INDEPENDENT TELEVISION COMMISS
Priority to GB9828720A priority Critical patent/GB2347811B/en
Publication of GB9828720D0 publication Critical patent/GB9828720D0/en
Publication of GB2347811A publication Critical patent/GB2347811A/en
Application granted granted Critical
Publication of GB2347811B publication Critical patent/GB2347811B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

An apparatus and method for determining the degree of blockiness in decoded video images is disclosed. A Fourier transform of the decoded video image or an image derived from a decoded video image is generated. Components of the Fourier transform characteristic of block edges in the decoded image are identified. The energy of at least one of the identified components is measured, and the measured energy of the or each identified component is compared with the total energy within the Fourier transform. The comparison is indicative of the degree of blockiness in the decoded image prior to generation of the Fourier transform, and can be used to predict an objective degree of blockiness with improved accuracy. By filtering in the frequency, rather than the spatial domain, the block edges within the decoded image are isolated from the remaining information within the decoded image with significantly more accuracy than previously.

Description

APPARATUS AND METHOD FOR PROCESSING VIDEO IMAGES This invention relates to an apparatus and method for processing video images, and in particular for determining the degree of blockiness in decoded video images.
Transmission of video images tends to reduce their quality. For example, when a modulated analogue video signal is broadcast, losses in the transmission system cause a degradation in the received signal and a consequent reduction in picture quality.
Transmission of video information in the form of digital data can also result in a received video image of poorer quality than the original image. This reduction in quality is primarily due to the image compression techniques usually employed to reduce the amount of information that needs to be sent.
One well known system for compressing video data in digital form employs the MPEG compression algorithm. This algorithm utilizes the fact that there is a significant amount of redundancy in video information. Although a first of a series of consecutive images generally needs to be fully encoded, subsequent images may only change from that first reference encoded image (called an I frame) by a small amount, as for example in a slow pan shot of a landscape. Frames of video subsequent to the reference image can thus be encoded in more compressed form by encoding the difference between that subsequent frame and the reference frame in the form of a motion vector. As will be well known to those skilled in the art, frames encoded by reference only to the I-frame are known as P-frames, and frames encoded with reference to both an I-frame and P-frame (and thus having bi-directional motion vectors) are known as B-frames.
Any such compression technique will introduce artefacts into images. The more information that needs to be encoded, the more pronounced such artefacts will be. In MPEG coding in particular, the presence of such artefacts as blurring, ringing and blockiness (also known as'tiling') can become quite noticeable to the viewer when the complexity of the video stream increases beyond the capability of the coder/decoder (codec) to encode each picture. For example, motion in the video images, or high textual content, can often cause artefacts in the decoded images.
It is therefore desirable to quantify the quality of both analogue and digital images when decoded.
Traditionally, this has been done on a subjective basis by showing both the original image and the received (analogue or digital) image to a panel of viewers and asking them to rate the quality of the received image numerically. Further details of this procedure are described, for example, in "Recommendation ITU-R BT. 500-7 (Revised), 1996, methodology for the subjective assessment of the quality of television pictures".
Whilst this procedure has been successful in measuring the quality of analogue images, where a short series of video images will be generally representative of the quality at any other time in the whole video sequence, the techniques is not so successful for digital images. This is because of the way consecutive images are differently encoded as I, B, or P frames. In any event, using viewers and asking them to score picture quality is both labourious and expensive.
It has been determined that of the different artefacts introduced by digital video image compression, blockiness is the most visually noticeable. Thus, the ability to quantify the degree of blockiness gives a good indication of the quality of the images seen by the viewers.
A number of electronic (objective) blockiness detectors have been proposed over the years. Two such techniques are described in'A distortion measure for blocking artifacts in images based on human visual sensitivity", IEEE Trans. on Image Processing, VOL. 4, NO. 6, June 1995 pages 713-724, by Karunasekera and Kingsbury, and'Objective measures for detecting digital tiling"T1A1. 5/95-104,1995, by Melcher and Wolf.
Previous techniques suffer a number of drawbacks.
The main problem is that the mask used to isolate blocky edges in an image from the actual data content of the image itself tends to be insufficiently accurate. Thus, either some blocky edges are not masked properly, or else straight vertical or horizontal lines which are part of the image and not due to blockiness are incorrectly masked.
It is an object of the present invention to address these problems with the prior art.
According to the present invention, there is provided a method of determining the degree of blockiness in a decoded video image, comprising the steps of generating a Fourier transform of a decoded video image or a Fourier transform of an image derived from the decoded video image; identifying components of the Fourier transform characteristic of block edges in the decoded image; measuring the energy of at least one of the identified components; and comparing the measured energy of the or each identified component with the total energy within the Fourier transform, the comparison being indicative of the degree of blockiness in the decoded image prior to generation of the Fourier transform.
By filtering in the frequency, rather than the spatial domain, the isolation of the blocky edges within the decoded image from the remaining information within the decoded image (which typically corresponds with the information in the image prior to encoding) is substantially more accurate than before.
Previously, a mask was applied in the spatial domain to attempt to separate out the block edges from the remaining information in the video image.
Because the block edges can be better separated in the frequency domain than in the spatial domain, the degree of blockiness can in turn be predicted, objectively, with significantly better accuracy than previously.
Preferably, the step of generating a Fourier transform of a decoded video image or an image derived from the decoded video image comprises generating a Fourier transform of a first gradient image derived from the decoded video image. Using the gradient image of the decoded video image, rather than the decoded video image itself, improves the contrast of the blocky edges in the spatial domain. This improves the detection of the characteristic components in the frequency domain. It will be understood, however, that the application of a Fourier transform to the decoded image itself is equally possible.
Preferably, the method further comprises, prior to generation of the Fourier transform, generating an image mask from a gradient image of a corresponding unencoded video image; and applying the image mask to the gradient image of the decoded video image to selectively enhance the block edges relative to the remainder of the decoded video image.
Although the majority of the separation of the blocky artefacts from the other types of distortion is mostly achieved in the filtering stage, it is advantageous to carry out masking in the spatial domain as well. The use of an image stripped of all information other than artefacts (ringing, blurring and blockiness) prevents straight lines, for example, in the unencoded video image (which will generate characteristic components in the frequency domain), from erroneously being interpreted as blocky edges.
Whilst it is preferable to apply the mask to the gradient image of the decoded video image, it is also feasible to apply the mask to the decoded image itself.
The identified components may comprise the fundamental frequency and at least one harmonic frequency. Moreover, the Fourier transform of the decoded video image may include a first set of components arising from one or more first block edges in the decoded image, and a second set of components arising from one or more second block edges in the decoded image, the method then further preferably comprising measuring the energy of both the first set of components and the second set of components. For example, the or each first block edge may be substantially spatially orthogonal with the or each second block edge.
As an illustration, the decoded video image may have been MPEG encoded. Here, in particular with Iframes, the blockiness is associated with orthogonal vertical and horizontal lines defined by the boundaries of the 8 pixel x 8 pixel DCT blocks. Each raster of the gradient image generated from the decoded image thus has a luminance which tends to vary as a rectangular wave of mark-space ratio 1: 3. The Fourier transform of this luminance pattern has a fundamental and two harmonic frequencies.
Preferably, the method further comprises calculating the total energy of the first set of components, and the total energy of the second set of components. This calculation yields the total energy in all of the block walls in a particular image.
Advantageously, the method comprises partitioning the first gradient image into subgroups of pixels, (each preferably containing a plurality of block edges) Fourier transforms then being separately generated for each of said subgroups of pixels. For example, if MPEG encoding is used, it is preferable to partition the gradient image of the decoded video image into subgroups of 32 x 32 pixels, each containing sixteen 8 x 8 blocks.
The step of comparing the measured energy of the or each identified component may include determining, for each subgroup of pixels, a ratio (R) of the energy of those identified components in the Fourier transform to the total energy within the Fourier transform. More particularly, the step of comparing the measured energy of the or each identified component may include, for each sub-group of pixels, determining a ratio R (i, h) of the energy of those identified components in the Fourier transform in a first direction thereof, relative to the total energy in that first direction of the Fourier transform; and determining a ratio R (i, v) of the energy of those identified components in the Fourier transform in a second direction thereof, relative to the total energy in that second direction of the Fourier transform. In that case, the method may also comprise selecting a threshold ratio RT of both the ratio R (i, h) and R (i, v), below which the blockiness of the decoded image is considered to be insignificant, and discarding those subgroups of pixels having both a ratio R (i, h) and R (i, v) below the selected threshold ratio RT.
This procedure has two advantages. Firstly, the total amount of processing of the image is reduced.
For example, following the subdivision of the whole image into smaller subgroups of blocks, and deciding (on the basis of the threshold ratio), that no significant blockiness exists in two-thirds of these subgroups, it is possible to ignore these identified blocks in further processing. In other words, only those one third of blocks which exhibit a significant degree of blockiness need be processed further to give a good estimate of the overall blockiness of the whole decoded video image.
A further advantage to subdividing the gradient image into smaller blocks is that localized blockiness information within the decoded video image may be obtained. This can be more useful, in certain situations, than a single blockiness index for the whole decoded image.
A preferred way to estimate the overall blockiness is to sum the energy of those subgroups of pixels having a ratio R above the threshold ratio RT to produce a total block edge energy, and then obtain the square root of the total block edge energy.
If the encoding of the decoded video image was carried out using the MPEG protocol, then the decoded video image will have been generated from I, P and/or B frames. It is then preferable that the threshold ratio be selected to be different dependent upon whether the decodedvideo image had been encoded as an I, P or B frame. This is because the motion vectors in both P and B frames tend to distort the uniform lines of blockiness which are usually found in I frames.
Because B frames include bi-directional motion vectors, the distortion is more pronounced than with P frames. Altering the threshold RT depending on the frame type can address this problem. However, it is also possible to use a single threshold RT for all frame types, although typically at the expense of a slight reduction in blockiness prediction confidence.
The invention also extends to an apparatus for determining the degree of blockiness in a decoded video image, comprising means for generating a gradient image from a decoded video image; means for generating a Fourier transform of the gradient image; means for identifying components of the Fourier transform characteristic of block edges in the decoded image; means for measuring the energy of at least one of the identified components, and means for comparing the measured energy of the or each identified component with the total energy within the Fourier transform, the comparison being indicative of the degree of blockiness in the decoded image prior to generation of the Fourier transform.
Further, advantageous, features of this apparatus are set out in the dependent claims appended hereto.
The invention may be put into practice in a number of ways, one of which will now be described by way of example only and with reference to the figures in which: Figure 1 shows a block diagram of an apparatus for determining the degree of blockiness of a decoded video image according to an embodiment of the present invention; Figure 2 shows an idealized portion of a gradient image obtained from a decoded video image exhibiting blockiness; Figure 3 shows the luminance levels of pixels along the line AA'in Figure 2; Figure 4 shows an actual portion of a gradient image obtained from a decoded video image, again exhibiting blockiness; and Figure 5 shows a Fourier transform of the portion of the gradient image shown in Figure 4.
Referring first to Figure 1, a schematic block diagram of an apparatus for determining the degree of blockiness in a decoded video image is shown. The apparatus has two inputs, the first of which is a reference video signal, and the second of which is a decoded video signal. The reference video signal includes the original video images-that is, they have at no stage been compressed/coded and then decompressed/decoded. The decoded video signal, on the other hand, is the output of a MPEG codec (not shown) which takes the reference signal as an input, codes it using MPEG coding, and then decodes it for use as a decoded video signal input to the apparatus 10 of Figure 1. It is this decoded video signal which may contain blockiness for the reasons set out above.
The reference video signal and decoded video signal are synchronised with one another. The reference video signal is then fed as an input to a first edge detector 20. The decoded video signal, meanwhile, is fed as an input to a second edge detector 30.
The first edge detector 20 contains a 3 x 3 Sobel filter. The horizontal and vertical luminance gradients at all points in the reference video signal are computed. These orthogonal gradients at each pixel are then combined to generate a single image. This image is known as a gradient image, as will be familiar to those skilled in the art, and effectively represents a first differential of the luminance as a function of distance.
Since only the edges in the gradient image of the decoded video image due to encoding/decoding are of interest, edges due to textural content have to be discarded. This is achieved by masking the gradient image of the decoded picture by a'mask'generated from the gradient image of a reference image. This second gradient image is generated in a second edge detector 30, again using a 3 x 3 Sobel filter. The reference image employed corresponds, texturally, to the decoded video image.
The mask 40 is a function which decreases with the distance from the point of luminance transition in the second gradient image (derived from the reference video images). Masking is carried out by multiplying the masking function with the second gradient image generated by the second edge detector 30. In principle, the masking will discard edges in the gradient image of the decoded video image which are due to textural content, without removing edges due to the encoding/decoding process.
Following masking in the mask 40 to remove the textural content of the gradient image of the decoded video signal, the masked gradient image is sub-divided at a segmenter 50 into box of 32 x 32 pixels. Thus, typical images are divided into several hundred smaller blocks.
MPEG coding employs DCT blocks which are 8 x 8 pixels in size. Thus, each 32 x 32 pixel block produced by the segmenter 50 will appear as an array of 16 tiles, as shown in Figure 2.
Figure 3 shows the luminance level of pixels along the line AA'in Figure 2. It will be seen that the signal approximates to a rectangular signal of mark-space ratio 1: 3.
The segmenter 50 time multiplexes each 32 x 32 pixel block generated from the masked decoded gradien image into a processor 60 which carries out a fast Fourier transform on each block centre to it in turn.
Because the block edges have a uniform mark-space ratio (Figure 3), the output of the processor 60 contains elements (in the frequency domain) at characteristic frequencies. This feature may be seen by reference to Figures 4 and 5.
Figure 4 shows an actual 32 x 32 pixel block generated by the segmenter 50. Figure 5 shows the 2-D Fourier transform of that block, from which it may be seen that a series of periodic dots on the vertical principal axis are present. The dot labelled 200 constitutes the fundamental component, and the dots 210 and 220 constitute the harmonics. Periodic dots may also be seen on the horizontal principal axis.
The frequency fn of the components on the vertical principal axis is defined by
where
and where w is the dimension of the block of pixels under analysis (here 32). Thus, in this particular example, n = 1,2 and 3 only, and 1 = 4; f2 = 8; and f = 12.
Only the components on the horizontal and vertical axes of the Fourier transform calculated by the processor 60 are preserved. The rest are discarded. The Fourier transform is then sent to a first adder 80. It is also sent to a harmonics extractor 70 which keeps the components at the fundamental and harmonic frequencies but discards the rest. The output of the harmonics extractor 70 is then forwarded to a second adder 90.
For each block i of 32 x 32 pixels, the second adder 90 calculates the total energy of the fundamental and harmonic frequencies in the horizontal direction, E (i, h) (from the vertical block edges in the spatial domain). The total energy for the vertical fundamental and harmonic components (from the horizontal block edges in the spatial domain) is also computed to yield E (i, v). These two figures are, as will be explained below, a good estimate of the intensity of the blockiness in the decoded video image that has been input to the apparatus 10. The first adder 80 calculates the total energy in the horizontal and vertical direction separately to give E (i, ht) and E (i, vt) respectively.
For each block i of 32 x 32 pixels, two ratios, R (i, h) = {E (i, h)/E (i, ht)} and R (i, v) = {E (i, v)/E (i, vt)} are computed in a divider 100. The higher these ratios are, the more likely that there is blockiness in that ith 32 x 32 pixel block. In order to decide whether a 32 x 32 pixel block contains blockiness, a threshold ratio RT is chosen. Any 32 x 32 pixel blocks having R (i, h) < RT and R (i, v) < RT are deemed to have a blockiness which would be substantially imperceptible to a human viewer. The comparisons of R (i, h) and R (i, v) with RT for each block i is carried out in a comparator 110.
Only the 32 x 32 pixel blocks with R (i, h) greater than or equal to RT or R (i, v) greater than or equal to RT proceed to the next stage, a third adder 120. The rest are deemed not to contribute any significant amount to the final result. In the third adder, the energy of the fundamental and harmonic frequencies E (i, h) + E (i, v) for each block with R > RUZ is accumulated. By taking the square root of this accumulated energy, at a square root calculator 130, an output from the apparatus, representing the edge root means square value of the decoded video image input is obtained. This output is chosen as an indicator of the degree of blockiness in the decoded video image.
This'blockiness index"may be compared with the degree of blockiness determined by subjective human assessment, to assess its accuracy. As will be familiar to those skilled in the art, there are three different frame types (I, P and B) in a typical MPEG bit stream. I-frames have fixed block boundaries, so that the edge locations are predictable. For P and B-frames, however, the location of the edges varies, depending upon the motion compensation and the prediction error. The degree of edge variation will depend upon the magnitude and direction of the motion vectors.
Table 1 shows the correlation between the blockiness index (determined by the apparatus 10 of figure 1), and the blockiness determined subjectively by a panel of 30 human evaluators using DSCQS methodology (as set out in the above identified Recommendation ITU-R BT. 500-7 (Revised)). The Pearson correlation in column 3 represents the error between the normalised blockiness index of the apparatus of Figure 1, and the normalise blockiness index determined by the average score of the 30 human evaluators. The fourth column lists Spearman's Rank Order correlation, which measures the monitonicity.
Picture RT Pearson Spearman's Type Correlation Rank Order Correlation I frame 0.15 0.9286 0.9515 only P frame 0.05 0.9318 0.9636 only~ B frame 0.10 0.8831 0.8545 only I, P & B 0.15 0.8388 0.8572 frames TABLE 1 It may be seen that the correlation coefficients are high for the various individual picture types, and particularly for I and P-frames. Although P-frames do not have fixed DCT block boundaries, the apparatus of Figure 1 is still well able to predict blockiness.
This may be because in P-frames, a group of DCT blocks tend to have identical motion vectors. As a result, the DCT block boundaries are spatially offset by a similar amount, hence maintaining the shape of the lattice seen in Figure 2. Harmonic analysis as described above is relatively insensitive to spacial offset. Thus, the frequency components of the blocky artefacts in the decoded video image are still easily identifiable. Another possibility is that the prediction error is strong enough to smooth out the offset blocky edges due to motion compensation, and impose its own edges around the DCT block boundaries.
As a result, the blocky edges remain in the form of a lattice.
For B-frames, on the other hand, the motion compensation is normally effective in making the prediction error too small to cause blocky edges at the DCT block boundaries. The bi-directional motion compensation also distorts the regular lattice of Figure 2, affecting the ability of the apparatus of Figure 1 to predict blockiness. Nonetheless, the correlation is still high at 0.884 Pearson correlation and 0.85 for Spearman Rank Order correlation.
It will be noted that the threshold ratio chosen for the apparatus differs depending upon the type of frame (I, P or B). RT may be determined by maximising the product of Pearson and Spearman's correlation co-efficients between the subjective and objective scores for each group of pictures separately. However, it may be desirable to use only one threshold for all three frame types especially when the picture type is unknown. In this case, the correlation is found to drop to 0.84 (Pearson correlation) and 0.86 (Spearman's correlation).
Although masking of the decoded video image is desirable prior to performing the Fourier transform, it is to be understood that such a procedure is not essential. It may, for example, be important to monitor decoded images only to check for catastrophic blockiness, with precise estimation of the degree of blockiness not being necessary. Such a procedure may be particularly useful in continually monitoring the decoded output of a digital television signal, for example. Carrying out the Fourier transform of the decoded image without first masking on the basis of a reference image means that lines in the decoded image which are meant to be there and are not a result of blockiness will be the subject of the Fourier transform as well. These lines will have components in the frequency domain at characteristic frequencies which may be similar to those components caused by blockiness, for example if the decoded image includes a picture of a tiled floor. Thus, the estimate of the degree of blockiness may then be incorrect. However, if it is chiefly desired to monitor the general quality of the decoded image in terms of the amount of blockiness, rather than generating an accurate objective value indicating the degree of blockiness, the avoidance of a mask may be preferable. This is because the extra step of masking the decoded video image (or indeed masking the gradient image thereof) increases the overall computational power required, and hence the time taken to calculate the degree of blockiness.

Claims (29)

  1. CLAIMS 1. A method of determining the degree of blockiness in a decoded video image, comprising the steps of: generating a Fourier transform of a decoded video image or an image derived from the decoded video image; identifying components of the Fourier transform characteristic of block edges in the decoded image; measuring the energy of at least one of the identified components; and comparing the measured energy of the or each identified component with the total energy within the Fourier transform, the comparison being indicative of the degree of blockiness in the decoded image prior to generation of the Fourier transform.
  2. 2. A method as claimed in claim 1, in which the step of generating a Fourier transform of a decoded video image or an image derived from the decoded video image comprises generating a Fourier transform of a first gradient image derived from the decoded video image.
  3. 3. A method as claimed in claim 2, further comprising, prior to generation of the Fourier transform; generating an image mask from a second gradient image of a corresponding unencoded video image; and applying the image mask to the first gradient image of the decoded video image to selectively enhance the block edges relative to the remainder of the decoded video image.
  4. 4. A method as claimed in claim 1,2 or 3, in which the identified components comprise the fundamental frequency and at least one harmonic frequency.
  5. 5. A method as claimed in any one of the preceding claims, in which the Fourier transform of the video image or the Fourier transform of the image derived therefrom includes a first set of components arising from one or more first block edges in the decoded image, and a second set of components arising from one or more second block edges in the decoded image, the method further comprising measuring the energy of both the first set of components and the second set of components.
  6. 6. A method as claimed in claim 5, in which the or each first block edge is substantially spatially orthogonal with the or each second block edge.
  7. 7. A method as claimed in claim 5 or claim 6, further comprising calculating the total energy of the first set of components and the total energy of the second set of components.
  8. 8. A method as claimed in any one of claims 2 to 7, further comprising partitioning the first gradient image of the decoded video image into subgroups of pixels, Fourier transforms then being separately generated for each of the said subgroups of pixels.
  9. 9. A method as claimed in claim 8, in which each subgroup of pixels contains a plurality of block edges.
  10. 10. A method as claimed in claim 8 or claim 9 in which the first gradient image of the decoded video image is partitioned into subgroups of 32 x 32 pixels, each containing sixteen 8 x 8 blocks.
  11. 11. A method as claimed in any one of claims 8, 9 or 10, in which the step of comparing the measured energy of the or each identified component includes determining, for each subgroup of pixels, a ratio of the energy of those identified components in the Fourier transform to the total energy within the Fourier transform.
  12. 12. A method as claimed in claim 11, in which the step of comparing the measured energy of the or each identified component includes determining, for each sub-group of pixels, a ratio R (i, h) of the energy of those identified components in the Fourier transform in a first direction thereof, relative to the total energy in that first direction of the Fourier transform; and determining a Ratio R (i, v) of the energy of those identified components in the Fourier transform in a second direction thereof, relative to the total energy in that second direction of the Fourier transform.
  13. 13. A method as claimed in claim 12, further comprising: selecting a threshold ratio RT of both the ratio R (i, h) and the ratio R (i, v), below which the blockiness of the decoded image is considered to be insignificant; and discarding those subgroups of pixels having both a ratio R (i, h) and a ratio R (i, v) below the selected threshold ratio R.
  14. 14. A method as claimed in claim 13, further comprising summing the energy of those subgroups of pixels having either a ratio R (i, h) or a ratio R (i, v) above the threshold ratio RT to produce a total block edge energy, and obtaining the square root of the total block edge energy.
  15. 15. A method as claimed in any one of the preceding claims, in which the decoded video image has been encoded using the MPEG protocol into I, P and B frames.
  16. 16. A method as claimed in claim 15 when dependent upon claim 13 or claim 14, in which the threshold ratio is selected to be different dependent upon whether the decoded video image had been encoded as an I, P or B frame.
  17. 17. A method of determining the degree of blockiness in a decoded video image substantially as herein described with reference to the accompanying figures.
  18. 18. An apparatus for determining the degree of blockiness in a decoded video image, comprising: means for generating a Fourier transform of a decoded video image, or a Fourier transform of an image derived from the decoded video image; means for identifying components of the Fourier transform characteristic of block edges in the decoded image; means for measuring the energy of at least one of the identified components; and means for comparing the measured energy of the or each identified component with the total energy within the Fourier transform, the comparison being indicative of the degree of blockiness in the decoded image prior to generation of the Fourier transform.
  19. 19. An apparatus as claimed in claim 18, in which the means for generating a Fourier transform of a decoded video image, or a Fourier transform of an image derived from the decoded video image is arranged to generate a Fourier transform of a first gradient image of the decoded video image.
  20. 20. An apparatus as claimed in claim 19, further comprising : means for generating an image mask from a second gradient image of a corresponding unencoded video image; and means for applying the image mask to the first gradient image of the decoded video image to selectively enhance the block edges relative to the remainder of the decoded video image.
  21. 21. An apparatus as claimed in claim 18, claim 19 or claim 20, in which the identified components comprise the fundamental frequency and at least one harmonic frequency.
  22. 22. An apparatus as claimed in any one of claims 18 to 21, in which the Fourier transform of the decoded video image, or the Fourier transform of the image derived from the decoded video image, includes a first set of components arising from one or more first block edges in the decoded image, and a second set of components arising from one or more second block edges in the decoded image, the means for measuring the energy of at least one of the identified components being arranged to measure both the first set of components and the second set of components.
  23. 23. An apparatus as claimed in claim 22, in which the or each first block edge is substantially spatially orthogonal with the or reach second block edge.
  24. 24. An apparatus as claimed in claim 22 or claim 23, further comprising means for calculating the total of the first set of components, and the total energy of the second set of components.
  25. 25. An apparatus as claimed for any of claims 19 to 24, further comprising means for partitioning the decoded video image into subgroups of pixels, wherein Fourier transforms are separately generated for each subgroup of pixels within the first gradient image of the decoded video image.
  26. 26. An apparatus as claim 25, in which each subgroup of pixels contains a plurality of block edges.
  27. 27. An apparatus as claimed in claim 25 or claim 26, in which the decoded video image is partitioned into subgroups of 32 x 32 pixels, each containing sixteen 8 x 8 blocks.
  28. 28. An apparatus as claimed in any of claims 18 to 27, in which the decoded video image has been encoded using the MPEG protocol into I, P and B frames.
  29. 29. An apparatus for determining the degree of blockiness in a decoded video image substantially as herein described with reference to the accompanying figures.
GB9828720A 1998-12-24 1998-12-24 Apparatus and method for processing video images Expired - Fee Related GB2347811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB9828720A GB2347811B (en) 1998-12-24 1998-12-24 Apparatus and method for processing video images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB9828720A GB2347811B (en) 1998-12-24 1998-12-24 Apparatus and method for processing video images

Publications (3)

Publication Number Publication Date
GB9828720D0 GB9828720D0 (en) 1999-02-17
GB2347811A true GB2347811A (en) 2000-09-13
GB2347811B GB2347811B (en) 2002-11-13

Family

ID=10845090

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9828720A Expired - Fee Related GB2347811B (en) 1998-12-24 1998-12-24 Apparatus and method for processing video images

Country Status (1)

Country Link
GB (1) GB2347811B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1111928A1 (en) * 1999-12-22 2001-06-27 Tektronix, Inc. Harmonic measurement of blockiness in video signals
WO2008124743A1 (en) * 2007-04-09 2008-10-16 Tektronix, Inc. Systems and methods for spatially isolated artifact dissection, classification and measurement
EP2112831A1 (en) 2008-04-24 2009-10-28 Psytechnics Ltd Method and apparatus for measuring blockiness in video images
EP1865730A3 (en) * 2006-06-06 2010-01-20 Sony Corporation Video-signal processing method, program of video-signal processing method, recording medium having recorded thereon program of video-signal processing method, and video-signal processing apparatus
US8396323B2 (en) 2008-04-24 2013-03-12 Psytechnics Limited Method and apparatus for measuring blockiness in video images

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN121096118B (en) * 2025-11-11 2026-02-13 中铁一局集团电务工程有限公司 Online monitoring and early warning system for intelligent traffic engineering construction

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5796875A (en) * 1996-08-13 1998-08-18 Sony Electronics, Inc. Selective de-blocking filter for DCT compressed images

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5796875A (en) * 1996-08-13 1998-08-18 Sony Electronics, Inc. Selective de-blocking filter for DCT compressed images

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1111928A1 (en) * 1999-12-22 2001-06-27 Tektronix, Inc. Harmonic measurement of blockiness in video signals
US6437821B1 (en) 1999-12-22 2002-08-20 Tektronix, Inc. Harmonic measurement of blockiness in video signals
JP3504609B2 (en) 1999-12-22 2004-03-08 テクトロニクス・インコーポレイテッド Video signal blockiness measurement method
EP1865730A3 (en) * 2006-06-06 2010-01-20 Sony Corporation Video-signal processing method, program of video-signal processing method, recording medium having recorded thereon program of video-signal processing method, and video-signal processing apparatus
US8248537B2 (en) 2006-06-06 2012-08-21 Sony Corporation Video-signal processing method, program of video-signal processing method, recording medium having recorded thereon program of video-signal processing method, and video-signal processing apparatus
WO2008124743A1 (en) * 2007-04-09 2008-10-16 Tektronix, Inc. Systems and methods for spatially isolated artifact dissection, classification and measurement
CN101682768A (en) * 2007-04-09 2010-03-24 特克特朗尼克公司 Systems and methods for spatially isolated artifact profiling, classification and measurement
US8294770B2 (en) 2007-04-09 2012-10-23 Tektronix, Inc. Systems and methods for spatially isolated artifact dissection, classification and measurement
CN101682768B (en) * 2007-04-09 2013-07-10 特克特朗尼克公司 Systems and methods for artifact profiling, classification and measurement of spatial isolation
EP2112831A1 (en) 2008-04-24 2009-10-28 Psytechnics Ltd Method and apparatus for measuring blockiness in video images
US8204335B2 (en) 2008-04-24 2012-06-19 Psytechnics Limited Method and apparatus for measuring blockiness in video images
US8396323B2 (en) 2008-04-24 2013-03-12 Psytechnics Limited Method and apparatus for measuring blockiness in video images

Also Published As

Publication number Publication date
GB9828720D0 (en) 1999-02-17
GB2347811B (en) 2002-11-13

Similar Documents

Publication Publication Date Title
KR20030029909A (en) Method of measuring digital video quality
US6845180B2 (en) Predicting ringing artifacts in digital images
CN101438594B (en) Image analysis
US6823089B1 (en) Method of determining the extent of blocking and contouring artifacts in a digital image
US6782135B1 (en) Apparatus and methods for adaptive digital video quantization
US11134242B2 (en) Adaptive prediction of coefficients of a video block
JP2008533937A (en) Apparatus and method for objectively evaluating the quality of a DCT coded video with or without an original video sequence
JP2007159155A (en) Filtering method and apparatus for removing blocking effect
WO2007066066A2 (en) Non-intrusive video quality measurement
Sheikh et al. Blind quality assessment for JPEG2000 compressed images
US6611295B1 (en) MPEG block detector
JPH08511145A (en) Apparatus and method for predicting subjective quality of compressed images
JP2005527159A (en) Method and system for estimating objective quality of compressed video data
US5347311A (en) Method and apparatus for unevenly encoding error images
US8023765B2 (en) Block noise removal device
EP0985318B1 (en) System for extracting coding parameters from video data
EP1168823A2 (en) A method of determining the extent of blocking artifacts in a digital image
KR20030086076A (en) Filtering method for removing block artifacts and/or ringing noise and apparatus therefor
US6707943B2 (en) Method of monitoring the quality of distributed digital images by detecting false contours
WO2016033725A1 (en) Block segmentation mode processing method in video coding and relevant apparatus
Caviedes et al. No-reference metric for a video quality control loop
GB2347811A (en) Measuring blockiness in decoded video images
US7940996B2 (en) Image noise detection
US8396323B2 (en) Method and apparatus for measuring blockiness in video images
US5440350A (en) Method and apparatus for encoding selected blocks of a residual image signal

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20031224