Method of generating a blockiness indicator for a video signal
First Claim
1. A method of detecting blockiness in a video signal, the video signal comprised of a plurality of pixels, the method comprising:
- selecting a region of interest from the video signal, the region of interest including a plurality of macroblocks;
for each pixel in the region of interest, determining if the pixel forms a part of at least one visible horizontal transition along a macroblock border, at least one visible vertical transition along a macroblock border, at least one flat area or at least one flat macroblock;
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 form a part of a visible horizontal transition along a macroblock border,the vertical border transitions count represents a total number of pixels of the region of interest that form a part of a visible vertical transition along a macroblock border,the flat area count represents a total number of pixels of the region of interest that form a part of a flat area, andthe macroblock flat area count represents a total number of pixels of the region of interest that form a part of a 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 determining if the pixel forms a part of at least one visible horizontal transition along a macroblock border, at least one visible vertical transition along a macroblock border, at least one flat area or at least one flat macroblock; calculating a horizontal border transitions count, a vertical border transitions count, a flat area count and a macroblock flat area count; 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.
-
Citations
33 Claims
-
1. A method of detecting blockiness in a video signal, the video signal comprised of a plurality of pixels, the method comprising:
-
selecting a region of interest from the video signal, the region of interest including a plurality of macroblocks; for each pixel in the region of interest, determining if the pixel forms a part of at least one visible horizontal transition along a macroblock border, at least one visible vertical transition along a macroblock border, at least one flat area or at least one flat macroblock; 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 form a part of a visible horizontal transition along a macroblock border, the vertical border transitions count represents a total number of pixels of the region of interest that form a part of a visible vertical transition along a macroblock border, the flat area count represents a total number of pixels of the region of interest that form a part of a flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that form a part of a 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. A method of adjusting a compression level applied to a video signal, the video signal comprising a plurality of pixels, the method comprising the steps of:
-
decompressing a compressed video signal into a decompressed video signal, wherein the compressed video signal is a compressed version of the video signal at a first compression level; selecting a region of interest from the decompressed video signal, wherein the region of interest including a plurality of macroblocks; for each pixel in the region of interest, determining whether the pixel forms a part of at least one visible horizontal transition along a macroblock border, at least one visible vertical transition along a macroblock border, at least one flat area or at least one flat macroblock; calculating a horizontal border transitions count, a vertical border transitions count, a flat area count or a macroblock flat area count, wherein; the horizontal border transitions count represents a total number of pixels of the region of interest that form a part of a visible horizontal transition along a macroblock border, the vertical border transitions count represents a total number of pixels of the region of interest that form a part of a visible vertical transition along a macroblock border, the flat area count represents a total number of pixels of the region of interest that form a part of a flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that form a part of a flat macroblock; 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; and adjusting the compression level based on the at least one blockiness indicator. - View Dependent Claims (13, 14, 15, 16)
-
-
17. 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, the region of interest comprising a plurality of macroblocks; for each pixel in the region of interest, determine whether the pixel forms a part of at least one visible horizontal transition along a macroblock border, at least one visible vertical transition along a macroblock border, at least one flat area or at least one flat macroblock; calculate 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 form a part of a visible horizontal transition along a macroblock border, the vertical border transitions count represents a total number of pixels of the region of interest that form a part of a visible vertical transition along a macroblock border, the flat area count represents a total number of pixels of the region of interest that form a part of a flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that form a part of a 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 (18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. 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, determining if the pixel forms a part of at least one visible horizontal transition along a macroblock border, at least one visible vertical transition along a macroblock border, at least one flat area or at least one 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 or a macroblock flat area count, wherein; the horizontal border transitions count represents a total number of pixels that form a part of a visible horizontal transition along a macroblock border, the vertical border transitions count represents a total number of pixels that form a part of a visible vertical transition along a macroblock border, the flat area count represents a total number of pixels that form a part of a flat area, and the macroblock flat area count represents a total number of pixels that form a part of a flat macroblock; and generate at least one blockiness indicator 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 if the pixel forms a part of at least one visible horizontal transition along a macroblock border, at least one visible vertical transition along a macroblock border, at least one flat area or at least one 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 or 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 a 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 a macroblock border, the flat area count represents a total number of pixels of the region of interest that are a part of a flat area, and the macroblock flat area count represents a total number of pixels of the region of interest that are a part of a 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. - View Dependent Claims (28, 29, 30, 31, 32, 33)
-
Specification