Method for generating a block-based image histogram
First Claim
1. A method for generating a block-based image histogram using color information and brightness information of an image data, comprising:
- extracting edge information of an image in terms of a blocks having a plurality of pixels in the block; and
updating edge histogram bins on the basis of the edge information to generate a global edge histogram;
wherein extracting edge information further comprises;
dividing the block into a plurality of sub-blocks by dividing the block by half with respect to a horizontal direction and dividing the block by half with respect to a vertical direction;
obtaining brightness representative values of the sub-blocks, respectively; and
determining if an edge exists in the block and determining an edge type by comparing a brightness difference between the adjacent sub-blocks with a threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating a block-based image histogram from data compressed by JPEG, MPEG-1, and MPEG-2, or uncompressed image data employing block-based linear quantization to generate histograms that include color, brightness, and edge components. The edge histogram, in particular, includes the global edge features, semi-global edge features, and local edge features. The global edge histogram is based on image blocks of the entire image space. The local edge histogram is based on a group of edge blocks. The semi-global edge histogram is based on the horizontally and the vertically grouped image blocks. A method for generating block-based image histogram with color information and brightness information of image data in accordance with an embodiment of the present invention extracts feature information of an image in terms of the block and updates global histogram bins on the basis of the feature information. The method for generating block-based image histogram with color information and brightness information of image data minimizes quantization error by employing linear weight and updates values of histogram bins. The error that occurs at a boundary between bins of the histograms and the linear weight depends on the distance between the histogram bins.
-
Citations
12 Claims
-
1. A method for generating a block-based image histogram using color information and brightness information of an image data, comprising:
-
extracting edge information of an image in terms of a blocks having a plurality of pixels in the block; and
updating edge histogram bins on the basis of the edge information to generate a global edge histogram;
wherein extracting edge information further comprises;
dividing the block into a plurality of sub-blocks by dividing the block by half with respect to a horizontal direction and dividing the block by half with respect to a vertical direction;
obtaining brightness representative values of the sub-blocks, respectively; and
determining if an edge exists in the block and determining an edge type by comparing a brightness difference between the adjacent sub-blocks with a threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
dividing the block into four sub-blocks by dividing the block by half with respect to a horizontal direction and dividing the block by half with respect to a vertical direction;
obtaining brightness representative values of the sub-blocks, respectively;
obtaining an edge value of 0 degrees, an edge value of 45 degrees, an edge value of 90 degrees, an edge value of 135 degrees, and a complex edge value by convoluting the brightness representative values with filter coefficients; and
determining if an edge exists in the block and determining an edge type by comparing a maximum edge value with a threshold, wherein the maximum edge value is the largest value among the edge value of 0 degrees, the edge value of 45 degrees, the edge value of 90 degrees, the edge value of 135 degrees, and the complex edge value.
-
-
6. The method for generating a block-based image histogram according to claim 5, wherein obtaining the edge value of 0 degrees, the edge value of 45 degrees, the edge value of 90 degrees, the edge value of 135 degrees, and the complex edge value comprises calculating by applying the brightness representative values and the filter coefficients to the following equations;
-
wherein the edge90_filter(i), the edge45_filter(i), the edge135_filter(i), and the complex_edge_filter(i) are filter coefficients, and wherein the mean_sub_block(i) is average brightness value of an ith sub-block.
-
-
7. The method for generating a block-based image histogram of claim 5, wherein determining comprises determining the maximum edge value as a representative edge of the block if the maximum edge value is larger than the threshold or determines the block as a monotone block if the maximum edge value is not larger than the threshold.
-
8. The method for generating a block-based image histogram of claim 1, further comprising:
grouping the blocks and generating a local edge histogram using the edge information extracted from each block in terms of the local regions.
-
9. The method for generating a block-based image histogram of claim 1, further comprising;
grouping the local regions with respect to a horizontal direction and a vertical direction and thereby generating a semi-global edge histogram using the edge information extracted from each block in terms of the semi-global regions.
-
10. The method as recited in claim 8, wherein the global edge histogram bins is normalized by being divided by the total number of blocks that exist in the global region.
-
11. The method as recited in claim 8, wherein the local edge histogram bins are normalized by being divided by the total number of block in the local region.
-
12. The method as recited in claim 9, wherein the semi edge histogram bins are normalized by being divided by the total number of block in the semi-global region.
Specification