Video-image histogram equalization circuit and method therefor
First Claim
1. A histogram equalization circuit for enhancing contrast by controlling gray level dynamic range with respect to an input image signal expressed by a predetermined number of gray levels, said histogram equalization circuit comprising:
- calculation means for calculating cumulative distribution function (CDF) values for the respective gray levels with respect to the input image signal, corresponding to an area signal of a predetermined period, by counting the number of pixels having values which are not more than the respective gray levels and dividing the counted result by the total number of samples in the input image; and
mapping means for mapping the input image signal to a new gray level based on the CDF values of said respective gray levels;
wherein said calculation means comprises;
a plurality of comparators for comparing the values of the input image signal with the respective gray levels;
a plurality of accumulators for accumulating the respective outputs of said plurality of comparators according to said area signal and outputting the number of pixels which have values not more than the respective gray levels; and
a plurality of dividers for dividing the respective outputs of said plurality of accumulators by the total number of samples with respect to said input image of the predetermined period and outputting the divided results as CDF values of the respective gray levels.
1 Assignment
0 Petitions
Accused Products
Abstract
A histogram equalization circuit includes a calculator and a mapper. The calculator calculates cumulative distribution function (CDF) values for the respective gray levels with respect to an input image corresponding to an area signal of a predetermined period. The mapper maps the input image of a predetermined period to a new gray level based on the CDF values of the respective gray levels. The present invention obtains a CDF value by selecting a field period or a frame period as a CDF calculation area and performs a histogram equalization the image signal of the selected period based on the CDF value. Calculation of the CDF is performed by direct comparison of the pixels of the image, thus eliminating the need to calculate a probability density function for the gray levels. Therefore, it is possible to obtain a high correlation between the input data and the equalized data and to reduce the quantity of hardware.
16 Citations
13 Claims
-
1. A histogram equalization circuit for enhancing contrast by controlling gray level dynamic range with respect to an input image signal expressed by a predetermined number of gray levels, said histogram equalization circuit comprising:
-
calculation means for calculating cumulative distribution function (CDF) values for the respective gray levels with respect to the input image signal, corresponding to an area signal of a predetermined period, by counting the number of pixels having values which are not more than the respective gray levels and dividing the counted result by the total number of samples in the input image; and mapping means for mapping the input image signal to a new gray level based on the CDF values of said respective gray levels; wherein said calculation means comprises; a plurality of comparators for comparing the values of the input image signal with the respective gray levels; a plurality of accumulators for accumulating the respective outputs of said plurality of comparators according to said area signal and outputting the number of pixels which have values not more than the respective gray levels; and a plurality of dividers for dividing the respective outputs of said plurality of accumulators by the total number of samples with respect to said input image of the predetermined period and outputting the divided results as CDF values of the respective gray levels. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A histogram equalization circuit for enhancing contrast by controlling gray level dynamic range with respect to an input image signal expressed by a predetermined number of gray levels, said histogram equalization circuit comprising:
-
calculation means for calculating cumulative distribution function (CDF) values for the respective gray levels with respect to the input image signal, corresponding to an area signal of a predetermined period, by counting the number of pixels having values which are not more than the respective gray levels and dividing the counted result by the total number of samples in the input image; mapping means for mapping the input image signal to a new gray level based on the CDF values of said respective gray levels; and a field memory for delaying said input image signal by one field; wherein said calculation means comprises; a plurality of comparators for comparing the values of the input image signal with the respective gray levels; a plurality of accumulators for accumulating the respective outputs of said plurality of comparators according to said area signal and outputting the number of pixels having values not more than the respective gray levels; and a plurality of dividers for dividing the respective outputs of said plurality of accumulators by the total number of samples of said input image of said predetermined period and outputting the divided results as CDF values of the respective gray levels. - View Dependent Claims (7, 8)
-
-
9. A histogram equalization circuit for enhancing contrast by controlling gray level dynamic range with respect to an input image signal expressed by a predetermined number of gray levels, said histogram equalization circuit comprising:
-
calculation means for calculating cumulative distribution function (CDF) values for the respective gray levels with respect to the input image signal, corresponding to an area signal of a predetermined period, by counting the number of pixels having values which are not more than the respective gray levels and dividing the counted result by the total number of samples in the input image; mapping means for mapping the input image signal to a new gray level based on the CDF values of said respective gray levels; and a field memory for delaying said input image signal by one field; wherein said calculation means comprises; selecting means for selecting one of the input image signal corresponding to an odd field and the input image signal corresponding to an even field according to a field synchronizing signal; first comparing means comprised of a plurality of comparators for comparing the values of the input image signal corresponding to the odd field selected by said selecting means with the respective gray levels; second comparing means comprised of a plurality of comparators for comparing the values of the input image signal corresponding to the even field selected by said selecting means with the respective gray levels; first accumulating means comprised of a plurality of accumulators for accumulating the output of said first comparing means according to a first area signal and outputting the number of pixels having values not ore than the respective gray levels; second accumulating means comprised of a plurality of accumulators for accumulating the output of said second comparing means according to a second area signal and outputting the number of pixels having values not more than the respective gray levels; adding means comprised of a plurality of adders for adding the outputs of the respective accumulators of said first accumulating means to the outputs of the respective accumulators of said second accumulating means, respectively; latching means comprised of a plurality of latches for latching the respective outputs of said plurality of adders and outputting the latched signal according to said field synchronizing signal; and dividing means comprised of a plurality of dividers for dividing the respective outputs of said plurality of latches by the total number of samples of the input image of the predetermined period and outputting the divided results as CDF values of the respective gray levels. - View Dependent Claims (10, 11)
-
-
12. A histogram equalization method for enhancing contrast by controlling a gray level with respect to an input image signal expressed by a predetermined number of gray levels, comprising the steps of:
-
(a) calculating cumulative distribution function (CDF) values for the respective gray levels by counting the number of pixels in the image signal having values which are not more than the respective gray levels and dividing the counted result by the total number of samples with respect to the input image corresponding to an area signal of a predetermined period; and (b) mapping the input image signal of a predetermined period to a new gray level based on the CDF values of the respective gray levels; wherein said area signal of the predetermined period is the CDF calculation area of a field period; and wherein in said step (a), the CDF value obtained by adding the CDF value of an (m-1)th field to the CDF value of an mth field is output, and m is a predetermined number. - View Dependent Claims (13)
-
Specification