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 comprising a plurality of successive video images, each video image comprising a plurality of pixels, the method comprising:
- selecting a region of interest from the video signal, wherein the region of interest corresponds to an active viewing area, the active viewing area displaying a portion of a video image from the plurality of successive video images within a viewing area of a display screen, 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.
41 Citations
20 Claims
-
1. A method of detecting blockiness in a video signal, the video signal comprising a plurality of successive video images, each video image comprising a plurality of pixels, the method comprising:
-
selecting a region of interest from the video signal, wherein the region of interest corresponds to an active viewing area, the active viewing area displaying a portion of a video image from the plurality of successive video images within a viewing area of a display screen, 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 successive video images, each video image comprising a plurality of pixels, the method comprising the steps of:
-
decompressing a compressed video signal into a decompressed video signal, the decompressed video signal comprising a decompressed plurality of successive video images, 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 corresponds to an active viewing area, the active viewing area displaying a portion of a video image from the decompressed plurality of successive video images within a viewing area of a display screen, 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.
-
-
13. A video signal compression system comprising:
-
a video source for producing a video signal comprised of a plurality of successive video images, each video image comprising 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, wherein the region of interest corresponds to an active viewing area, the active viewing area displaying a portion of a video image from the plurality of successive video images within a viewing area of a display screen, 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, and wherein the compression module adjusts the compression level based on the at least one blockiness indicator. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A video signal compression system comprising:
-
a video source for producing a video signal, the video signal comprising a first plurality of successive video images, each video image comprising 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, the decompressed video signal comprising a second plurality of successive video images; a first blockiness detection module configured to; select a region of interest from the decompressed video signal, wherein the region of interest corresponds to a first active viewing area, the first active viewing area displaying a portion of a video image from the second plurality of successive video images within a viewing area of a display screen; 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, wherein the region of interest corresponds to a second active viewing area, the second active viewing area displaying a portion of a video image from the first plurality of successive video images within the viewing area of the display screen; 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.
-
Specification