Method of generating a blockiness indicator for a video signal
First Claim
1. A method of detecting a blockiness of a video signal comprised of a plurality of pixels the method comprising the steps of:
- selecting a region of interest from the video signal;
for each pixel in the region of interest,determining whether the pixel lies on a horizontal edge in which a visible transition occurs, a vertical edge in which a visible transition occurs, or in a flat area;
if the pixel lies on the horizontal edge or the vertical edge in which the visible transitions occur or in the flat area, determining if the pixel is a part of a visible horizontal transition along a macroblock border, a visible vertical transition along a macroblock border, a flat area or a flat macroblock;
calculating a total number of pixels in the region of interest by calculating a horizontal border transitions count, a vertical border transitions count, a flat area count and a macroblock flat area count, wherein;
the horizontal border transitions count represents a total number of pixels of the region of interest that are a part of the visible horizontal transition along the macroblock border,the vertical border transitions count represents a total number of pixels of the region of interest that are a part of the visible vertical transition along the macroblock border,the flat area count represents a total number of pixels of the region of interest that are a part of the flat area, andthe macroblock flat area count represents a total number of pixels of the region of interest that are a part of the flat macroblock; and
generating at least one blockiness indicator for the region of interest selected from the group consisting of a block border indicator, a flat area indicator and a flat block indicator, wherein the at least one blockiness indicator is based on at least one of the horizontal border transitions count, the vertical border transitions count, the flat area count and the macroblock flat area count.
1 Assignment
0 Petitions
Accused Products
Abstract
The described embodiments relate to methods and systems for detecting the blockiness of a video signal comprised of a number of pixels. The method includes the steps of calculating a total number of pixels in the video signal in flat blocks and visible block edge transitions, and generating a blockiness indicator from the total number of pixels in flat blocks and visible block edge transitions. The step of calculating the total number of pixels in flat blocks and the total number of pixels in visible block edge transitions may include calculating differential values for each pixel in the video signal, analyzing the differential values to determine if the pixel is part of a transition and/or a flat area and then counting the number of pixels in flat blocks and visible block edge transitions to produce a total number of pixels in flat blocks and a total number of pixels in visible block edge transitions.
30 Citations
23 Claims
-
1. A method of detecting a blockiness of a video signal comprised of a plurality of pixels the method comprising the steps of:
-
selecting a region of interest from the video signal; for each pixel in the region of interest, determining whether the pixel lies on a horizontal edge in which a visible transition occurs, a vertical edge in which a visible transition occurs, or in a flat area; if the pixel lies on the horizontal edge or the vertical edge in which the visible transitions occur or in the flat area, determining if the pixel is a part of a visible horizontal transition along a macroblock border, a visible vertical transition along a macroblock border, a flat area or a flat macroblock; calculating a total number of pixels in the region of interest by calculating a horizontal border transitions count, a vertical border transitions count, a flat area count and a macroblock flat area count, wherein; the horizontal border transitions count represents a total number of pixels of the region of interest that are a part of the visible horizontal transition along the macroblock border, the vertical border transitions count represents a total number of pixels of the region of interest that are a part of the visible vertical transition along the macroblock border, the flat area count represents a total number of pixels of the region of interest that are a part of the flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that are a part of the flat macroblock; and generating at least one blockiness indicator for the region of interest selected from the group consisting of a block border indicator, a flat area indicator and a flat block indicator, wherein the at least one blockiness indicator is based on at least one of the horizontal border transitions count, the vertical border transitions count, the flat area count and the macroblock flat area count. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A video signal compression system comprising:
-
a video source for producing a video signal comprised of a plurality of pixels; a compression module for compressing the video signal at a compression level into a compressed video signal; a decompression module for decompressing the compressed video signal into a decompressed video signal; and a blockiness detection module configured to; select a region of interest from the decompressed video signal; for each pixel in the region of interest, determine whether the pixel lies on a horizontal edge in which a visible transition occurs, vertical edge in which a visible transition occurs or in a flat area; and if the pixel lies on the horizontal edge or the vertical edge in which the visible transitions occur or in the flat area, determine if the pixel is a part of a visible horizontal transition along a macroblock border, visible vertical transition along a macroblock border, a flat area or a flat macroblock; calculate a total number of pixels in the region of interest by calculating a horizontal border transitions count, a vertical border transitions count, a flat area count and a macroblock flat area count, wherein; the horizontal border transitions count represents a total number of pixels of the region of interest that are a part of the visible horizontal transition along the macroblock border, the vertical border transitions count represents a total number of pixels of the region of interest that are a part of the visible vertical transition along the macroblock border, the flat area count represents a total number of pixels of the region of interest that are a part of the flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that are a part of the flat macroblock; and generate at least one blockiness indicator for the region of interest selected from the group consisting of a block border indicator, a flat area indicator and a flat block indicator, wherein the at least one blockiness indicator is based on at least one of the horizontal border transitions count, the vertical border transitions count, the flat area count and the macroblock flat area count, wherein the compression module adjusts the compression level based on the at least one blockiness indicator. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 23)
-
-
22. A video signal compression system comprising:
-
a video source for producing a video signal comprised of a plurality of pixels; a compression module for compressing the video signal at a compression level into a compressed video signal; a decompression module for decompressing the compressed video signal into a decompressed video signal; a first blockiness detection module configured to; select a region of interest from the decompressed video signal; for each pixel in the region of interest from the decompressed video signal, determine whether the pixel lies on a horizontal edge in which a visible transition occurs, a vertical edge in which a visible transition occurs or in a flat area; and if the pixel lies on the horizontal edge or the vertical edge in which the visible transitions occur or in the flat area, determine if the pixel is a part of a visible horizontal transition along a macroblock border, a visible vertical transition along a macroblock border, a flat area or a flat macroblock; calculate a total number of pixels of the region of interest selected from the decompressed video signal by calculating a horizontal border transitions count, a vertical border transitions count, a flat area count and a macroblock flat area count, wherein; the horizontal border transitions count represents a total number of pixels of the region of interest that are a part of the visible horizontal transition along the macroblock border, the vertical border transitions count represents a total number of pixels of the region of interest that are a part of the visible vertical transition along the macroblock border, the flat area count represents a total number of pixels of the region of interest that are a part of the flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that are a part of the flat macroblock; and generate at least one blockiness indicator for the region of interest selected from the decompressed video signal selected from the group consisting of a block border indicator, a flat area indicator and a flat block indicator, wherein the at least one blockiness indicator is based on at least one of the horizontal border transitions count, the vertical border transitions count, the flat area count and the macroblock flat area count; and a second blockiness detection module configured to; select a region of interest from the video signal; for each pixel in the region of interest selected from the video signal, determine whether the pixel lies on a horizontal edge in which a visible transition occurs, a vertical edge in which a visible transition occurs or in a flat area; and if the pixel lies on the horizontal edge or vertical edge in which the visible transitions occur or in the flat area, determine if the pixel is a part of a visible horizontal transition along a macroblock border, a visible vertical transition along a macroblock border, a flat area or a flat macroblock; calculate a total number of pixels of the region of interest selected from the video signal by calculating a horizontal border transitions count, a vertical border transitions count, a flat area count and a macroblock flat area count, wherein; the horizontal border transitions count represents a total number of pixels of the region of interest that are a part of the visible horizontal transition along the macroblock border, the vertical border transitions count represents a total number of pixels of the region of interest that are a part of the visible vertical transition along the macroblock border, the flat area count represents a total number of pixels of the region of interest that are a part of the flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that are a part of the flat macroblock; and generate at least one blockiness indicator for the region of interest selected from the video signal selected from the group consisting of a block border indicator, a flat area indicator and a flat block indicator, wherein the at least one blockiness indicator is based on at least one of the horizontal border transitions count, the vertical border transitions count, the flat area count and the macroblock flat area count, wherein the compression module adjusts the compression level based on the at least one blockiness indicator for the region of interest selected from the decompressed video signal and the at least one blockiness indicator for the region of interest selected from the video signal.
-
Specification