CN101577000B - Image gray scale distribution statistical device - Google Patents

Image gray scale distribution statistical device Download PDF

Info

Publication number
CN101577000B
CN101577000B CN 200910111357 CN200910111357A CN101577000B CN 101577000 B CN101577000 B CN 101577000B CN 200910111357 CN200910111357 CN 200910111357 CN 200910111357 A CN200910111357 A CN 200910111357A CN 101577000 B CN101577000 B CN 101577000B
Authority
CN
China
Prior art keywords
gray scale
signal
image
image gray
distributes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200910111357
Other languages
Chinese (zh)
Other versions
CN101577000A (en
Inventor
赵曰理
潘群伦
林慧珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CPT DISPLAY TECHNOLOGY (SHENZHEN)CO., LTD.
Original Assignee
Fujian Huaying Display Technology Co Ltd
Chunghwa Picture Tubes Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Huaying Display Technology Co Ltd, Chunghwa Picture Tubes Ltd filed Critical Fujian Huaying Display Technology Co Ltd
Priority to CN 200910111357 priority Critical patent/CN101577000B/en
Publication of CN101577000A publication Critical patent/CN101577000A/en
Application granted granted Critical
Publication of CN101577000B publication Critical patent/CN101577000B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an image gray scale distribution statistical device and method thereof. The image gray scale distribution statistical device comprises a comparing unit, a counting unit, a memory unit and a data distribution unit; wherein the comparing unit is used for judging gray scale information of mass data of the input image and then outputting corresponding counting signal; the counting unit is provided with a plurality of counters, and each counter is corresponding to preset gray scale information with a count value and updates the count value according to corresponding counting signal; when the count value is more than default value, the counting unit outputs a pulse signal of the corresponding gray scale information; and the data distribution unit updates image gray scaledistribution stored in the memory unit according to the pulse signal. Thus, buffers required by the counter can be reduced and hardware cost can be reduced.

Description

The statistic device that image gray scale distributes
[technical field]
The invention relates to a kind of device of digitized video, and the statistic device that particularly distributes relevant for a kind of image gray scale.
[background technology]
Gray scale histogram and GTG cumulative percentage rate figure are important informations indispensable in the image processing.In general, gray scale histogram can utilize the probability distribution function to try to achieve, and GTG cumulative percentage rate figure can utilize cumulative distribution function to try to achieve.Below gray scale histogram and GTG percentage map are done further explanation.
Figure 1A is the gray scale histogram of prior art.Please refer to Figure 1A, gray scale histogram can be used to pass judgment on the gray-scale distribution of image, and its transverse axis is the GTG value, and the longitudinal axis is a data bulk, and promptly the data bulk of each GTG value distributes in the image.LCD with normal dark attitude kenel is an example.If the approaching more the right of crest represents that then the data of bright data are many more, whole image can be bright partially, otherwise if crest more near the left side, represents that then the quantity of dark data is more, whole image can be dark partially.
Figure 1B is the GTG cumulative percentage rate figure of prior art.Please refer to Figure 1B, GTG cumulative percentage rate figure also can be used to do as estimating the instrument that image gray scale distributes.The GTG cumulative percentage rate figure of Figure 1B and the gray scale histogram of Figure 1A are similar.Difference is that the transverse axis of GTG cumulative percentage rate figure is the GTG value, and the longitudinal axis is the cumulative percentage rate, i.e. the cumulative percentage rate of each GTG value in the image.For instance, GTG value 200 shown cumulative percentage rates be in the image GTG value the picture element total amount below 200 divided by image in the picture element total amount.
Fig. 2 A is the circuit framework figure of a kind of CDF of calculating value in the prior art.Please refer to Fig. 2 A, suppose with resolution to be that the input image of 1366 * 768 monochrome 256 GTGs is an example.Comparing unit 101 has 256 comparers, and promptly 101.0~101.255.Counting unit 103 has 256 counters, and promptly 103.0~103.255.Divider 105 has 256 dividers, and promptly 105.0~105.255.Output unit 107 has 256 buffers, and promptly 107.0~107.255.
The first input end of comparer 101.0~101.255 receives default gray level information respectively " 0 "~" 255 ", second input end of comparer 101.0~101.255 then is used for receiving the GTG value of each data in the input image.When the GTG value that is received when second input end of each comparer was less than or equal to the default gray level information of first input end, comparer was then exported the voltage of noble potential; Otherwise then export the voltage of electronegative potential.In more detail, the GTG value received when second input end of comparer 101.0~101.255 is " 50 " time, 101.0~101.50 voltages that all can export noble potential of comparer, comparer 101.51~101.255 then all can be exported the voltage of electronegative potential.
Counter 103.0~103.255 stores a count value respectively, and can remove the said counting value according to removing signal clear_1.When each counter receives the voltage of noble potential " 1 " time, counter can add 1 action to the count value that stores in it according to frenquency signal clk_1, and its purpose promptly is to add up the data bulk of each GTG value in the input image.In addition, counter 103.0~103.255 can be exported to divider 105.0~105.255 respectively with above-mentioned data bulk.Then, 105.0~105.255 of dividers respectively with received data bulk divided by data total amount in the image " 1,049,088 ".Thus, then can obtain importing the cumulative percentage rate of each GTG value in the image.Last again by the output valve of buffer 107.0~107.255 breech lock dividers 105.0~105.255, and export the GTG value respectively according to frenquency signal clk_2 " 0 "~" 255 " and the CDF value.
Because the higher limit of each GTG data bulk that may occur is 1366 * 768=1,049,088 time, so each counter in the counting unit 103 must be the counter more than 21, that is each counter needs 21 buffers to implement at least.That is to say that counting unit 103 needs to use 256 * 21=5,376 buffers.Moreover, if will keep the GTG cumulative percentage rate figure of two input images.103 of counting units must be used 10,752 buffers.In addition, along with the resolution of input image or the raising of the grey exponent number of input image, counting unit 103 employed buffer quantity also can increase thereupon.Prior art is calculated the circuit application of CDF value when the high resolving power or the input image of high gray number, often needs very huge hardware cost, and is not suitable for being applied in the product.
In view of this, develop at present and a kind of settling mode, a plurality of GTG values are merged statistics.Fig. 2 B is the circuit framework figure that the another kind of prior art calculates the CDF value.Continuation is that the input image of 1366 * 768 monochrome 256 GTGs is an example with resolution.Fig. 2 B and Fig. 2 A are similar, and difference is that comparing unit 201 has 128 comparers, promptly 101.1,101.3 ..., 101.253,101.255.Counting unit 203 has 128 counters, promptly 103.1,103.3 ..., 103.253,103.255.Divider 205 has 128 dividers, promptly 105.1,105.3 ..., 105.253,105.255.Output unit 207 has 128 buffers, promptly 107.1,107.3 ..., 107.253,107.255.
Can try to achieve by comparer 101.1, counter 103.1, divider 105.1 and buffer 107.1 that the GTG value exists in the input image " 1 " below data bulk.In like manner, can try to achieve by comparer 101.3, counter 103.3, divider 105.3 and buffer 107.3 that the GTG value exists in the input image " 3 " below data bulk.Briefly, this practice is with the GTG value " 0 " with " 1 " the data joint account, the GTG value " 2 ", " 3 " and the data joint account ..., the GTG value " 254 ", " 255 " and the data joint account.Thus, can make counting unit 203 employed counter numbers reduce to 128, and cache number also can be reduced to 2688.Yet this practice only can be learnt the data total amount of two GTG values, and can't obtain the data bulk of indivedual GTG values.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of statistic device of image gray scale distribution, after the pairing count value of each gray level information surpasses default value, upgrade in that image gray scale is distributed,, therefore can reduce hardware cost to reduce the buffer use amount of counting unit.
The present invention is for solving the problems of the technologies described above by the following technical solutions:
The statistic device that a kind of image gray scale distributes comprises:
One comparing unit is judged the gray level information of many data of an input image, and exports a corresponding counting signal;
One counting unit, couple described comparing unit, have a plurality of counters, corresponding one preset gray level information and have a count value respectively, described a plurality of counter upgrades its count value according to corresponding counting signal, when this count value surpasses a default value, then export a pulse signal of corresponding gray level information;
One mnemon stores an image gray scale and distributes;
One data allocations unit couples described counting unit and described mnemon, upgrades image gray scale according to described pulse signal and distributes.
Described comparing unit has a plurality of comparers, receives the pairing default gray level information of described counter respectively, and the data that described comparer will be imported image compare with default gray level information respectively, differentiates the gray level information of data.
Described counting unit also comprises: a plurality of pulse generators, couple described counter respectively, wherein when the one of count value surpassed described default value, corresponding counter then can be exported an overflow signal to this pulse generator, made this pulse generator output pulse signal.
Described pulse generator comprises:
One the one D type flip-flop couples described counter, receives described overflow signal and exports described overflow signal according to a first frequency signal;
One the 2nd D type flip-flop, its input end couples the output terminal of a described D type flip-flop, exports described overflow signal according to described first frequency signal;
One not gate, its input end couple the output terminal of a described D type flip-flop;
One and lock, its first input end and second input end couple the output terminal of described the 2nd D type flip-flop and the output terminal of described not gate respectively, produce described pulse signal;
One the 3rd D type flip-flop couples described and output terminal lock, and exports described pulse signal according to a second frequency signal.
Described data allocations unit comprises:
One divider couples described counting unit, provides an addressing information and a reading signal according to described pulse signal;
One delayer couples described divider, postpones described reading signal, produces one and writes signal;
One control module couples described divider and described delayer, according to described addressing information and described reading signal, makes described mnemon export the GTG statistical value that described image gray scale distributes;
One feedback circuit couples described mnemon and described control module, upgrade the GTG statistical value and also be back to described control module, and the GTG statistical value of described control module after will upgrading according to the said write signal again writes described mnemon.
Described feedback circuit comprises a totalizer, couples described mnemon and described control module, and this GTG statistical value that described mnemon is exported adds certain value and is back to described control module.
Described mnemon comprises a plurality of sub-mnemons, is used for keeping the image gray scale distribution of many input images.
Described counter, described mnemon have the receiving end of a removing signal respectively, when counter receives the removing signal, then reset this count value, when mnemon receives the removing signal, then reset image gray scale and distribute.
The present invention adopts the count value of each gray level information of accumulation to surpass after the default value, image gray scale is distributed upgrade again, therefore can reduce the quantity of buffer, to reduce the hardware cost of the statistic device that image gray scale distributes.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Figure 1A is the gray scale histogram of prior art.
Figure 1B is the GTG cumulative percentage rate figure of prior art.
Fig. 2 A is the circuit framework figure of a kind of CDF of calculating value of prior art.
Fig. 2 B is the circuit framework figure that existing skill will be told the another kind of CDF of calculating value.
Fig. 3 is the synoptic diagram of the statistic device that distributes of the image gray scale of first embodiment of the invention.
Fig. 4 A is the circuit diagram of the pulse generator of the first embodiment of the present invention.
Fig. 4 B is the signal sequential chart of a kind of pulse generator inside of the first embodiment of the present invention.
Fig. 5 is the process flow diagram of the statistical method that distributes of the image gray scale of the first embodiment of the present invention.
Fig. 6 is the synoptic diagram of the statistic device that distributes of the image gray scale of the second embodiment of the present invention.
[embodiment]
First embodiment
Fig. 3 is the synoptic diagram of the statistic device that distributes of the image gray scale of the first embodiment of the present invention.Please refer to Fig. 3, the statistic device 10 that image gray scale distributes comprises comparing unit 20, counting unit 30, mnemon 50 and data allocations unit 40.The input image that with resolution is 1366 * 768 monochrome 256 GTGs is an example.Comparing unit 20 is used for differentiating the gray level information of each data in the input image, and exports corresponding counting signal CS.In more detail, comparing unit 20 has a plurality of comparers (with 20.0~20.255 expressions).Comparer 20.0~20.255 receives default gray level information respectively " 0 "~" 255 " and with each data of input image.Comparer 20.0~20.255 be used for the GTG value of each data of input image respectively with default gray level information " 0 "~" 255 " compare, differentiate the gray level information of each data of input image with this.For instance, when the GTG value of data is " 30 " time, the counting signal CS that comparer 20.30 can the output noble potentials is then only arranged, comparer 20.0~20.29 and 20.31~20.255 counting signal CS that can export electronegative potential.
Counting unit 30 couples comparing unit 20.Counting unit 30 has a plurality of counters (with 30.0~30.255 expressions) and a plurality of pulse generators (with 31.0~31.255 expressions).The corresponding respectively default gray level information of counter 30.0~30.255 " 0 "~" 255 ", and counter 30.0~30.255 has a count value respectively.Counter 30.0~30.255 upgrades its count value according to the counting signal CS that comparer 20.0~20.255 is exported respectively.When count value surpassed default value, each counter was then exported the overflow signal FS of pairing gray level information according to frenquency signal clk_3.Counter 30.0~30.255 is that example describes with 2 counter in the present embodiment, counter 30.0~30.255 is made up of two buffers respectively, count enable 0~3, but the present invention is not as limit, in other embodiments, counter 30.0~30.255 available other counter implement.
Pulse generator 31.0~31.255 couples counter 30.0~30.255 respectively.Overflow signal FS that pulse generator 31.0~31.255 is exported according to counter 30.0~30.255 respectively and frenquency signal clk_4 and produce corresponding pulse signal PS.Wherein, the corresponding respectively default gray level information of the pulse signal PS that produced of pulse generator 31.0~31.255 " 0 "~" 255 ".
On the other hand, data allocations unit 40 couples counting unit 30 and mnemon 50.The image gray scale that data allocations unit 40 can upgrade in the mnemon 50 according to the pulse signal PS that pulse generator 31.0~31.255 is produced distributes.For instance, data allocations unit 40 comprises divider 44, delayer 60, control module 70 and feedback circuit 80.Divider 44 couples pulse generator 31.0~31.255 and delayer 60.Control module 70 couples divider 44, delayer 60 and feedback circuit 80.Feedback circuit 80 couples mnemon 50.
Divider 44 can provide addressing information ADIF and reading signal RS according to received pulse signal PS.Delayer 60 produces in order to delay reading signal RS and according to frenquency signal clk_5 and writes signal WS.Control module 70 is according to addressing information ADIF and reading signal RS, and the GTG statistical value that the image gray scale that makes mnemon 50 export corresponding addressing information ADIF distributes is to feedback circuit 80.
Feedback circuit 80 is in order to upgrade the GTG statistical value, and for instance, feedback circuit 80 for example comprises totalizer 90.Totalizer 90 is used for the GTG statistical value of mnemon 50 output is added a definite value and is back to control module 70, and control module 70 writes mnemon 50 according to the GTG statistical value after writing signal WS and will upgrading again.In the present embodiment, above-mentioned definite value is that example describes with 1.Below provide a kind of embodiment of pulse generator for reference.
Fig. 4 A is the circuit diagram of the pulse generator of first embodiment of the invention.Fig. 4 B is a kind of pulse generator internal signal sequential chart of first embodiment of the invention.Please merge with reference to Fig. 4 A and Fig. 4 B, in the present embodiment, pulse generator 31.0~31.255 for example can comprise respectively D type flip-flop 311~313, not gate 314 and with lock 315.D type flip-flop 311 is in order to receive overflow signal FS and to export overflow signal S1 according to frenquency signal clk_4.Not gate 314 is given and lock 315 to produce overflow signal S3 in order to overflow signal S1 transition.D type flip-flop 312 receives overflow signal S1 and gives and lock 315 according to frenquency signal clk_4 output overflow signal S2.Receive overflow signal S2 and S3 respectively with lock 315, give D type flip-flop 313 to produce pulse signal PS '.D type flip-flop 313 can be exported pulse signal PS according to frenquency signal clk_6.
Fig. 5 is the process flow diagram of the statistical method that distributes of the image gray scale of first embodiment of the invention.Please merge with reference to Fig. 3 and Fig. 5, continuing with resolution is that the input image of 1366 * 768 monochrome 256 GTGs is an example.At first by step S501, each is opened before the image gray scale distribution of input image in statistics, can utilize earlier and remove the count value that signal clear_2 resets counter 30.0~30.255, makes each count value all be reset to 0.In addition, and can be passed to the image gray scale distribution that control module 70 is reseted mnemon 50 with removing signal clear_2, each GTG statistical value that image gray scale is distributed all is reset to 0.In the present embodiment, removing for example available picture frame signal of signal clear_2 implements.
Follow step S502, differentiate the input GTG of each data of input image by comparing unit 20.In addition, come the count value of its internal memory is upgraded by the input GTG of counter 30.0~30.255 again, count the data bulk (step S503) of each gray level information with this according to step S502.Suppose preceding 5 data data_1~data_5 of input image, its GTG value is respectively " 30 ", " 25 ", " 30 ", " 30 ", " 30 ".When data data_1 inputs to comparer 20.0~20.255, the counting signal CS that comparer 20.30 can the output noble potentials is only arranged, comparer 20.0~20.29 and 20.31~20.255 counting signal CS that can export electronegative potential.Therefore, 30.30 in counter can add a definite value to the count value of its internal memory, and present embodiment is an example to add 1, makes the count value of counter 30.30 become 1 by 0 with this.
By that analogy, when data data_2 (GTG value for " 25 ") inputed to comparer 20.0~20.255, the count value of counter 30.25 then can become 1 by 0.When data data_3 (GTG value for " 30 ") inputed to comparer 20.0~20.255, the count value of counter 30.30 then can become 2 by 1.When data data_4 (GTG value for " 30 ") inputed to comparer 20.0~20.255, the count value of counter 30.30 then can become 3 by 2.
When the one count value of counter 30.0~30.255 reached default value, the count value of resettable corresponding counter was also upgraded image gray scale distribution (step S504).In the present embodiment, default value is that example describes with 3, but the present invention has the knack of art technology person in other embodiments and can comply with its requirement definition default value not as limit.In addition, the counter 30.0~30.255 of present embodiment is made of two buffers, therefore only can count 0~3.When data data_5 (GTG value for " 30 ") inputed to comparer 20.0~20.255,30.30 in counter can add 1 action to its count value.So the count value of counter 30.30, then can become 0 by 3, and produce overflow signal FS and give pulse generator 31.30.
Then pulse generator 31.30 can produce pulse signal PS and give divider 44.Since pulse generator 31.30 produces pulse signal PS corresponding preset gray level information for " 30 ", so 44 in divider is exported reading signal RS according to this pulse signal PS and corresponding to gray level information " 30 " and addressing information ADIF to control module 70.Control module 70 again according to 50 outputs of reading signal RS and addressing information ADIF control mnemon corresponding to default gray level information " 30 " and the GTG statistical value give feedback circuit 80.Then, feedback circuit 80 can will be preset gray level information " 30 " the GTG statistical value add 1 action, make corresponding to default gray level information " 30 " the GTG statistical value become 1 by 0, and will be corresponding to default gray level information " 30 " GTG statistical value (1) passback give control module 70.
On the other hand, delayer 60 can postpone reading signal RS the frenquency signal clk_5 of one-period, writes signal WS with generation and gives control module 70.Then 70 of control modules can be according to writing signal WS and addressing information ADIF will be corresponding to default gray level information " 30 " and GTG statistical value (1) write mnemon 50.Then finish the action of the image gray scale distribution of upgrading mnemon 50 thus.By that analogy, continue to utilize the data bulk of counting unit 30 each gray level information of counting, when count value surpasses 3, upgrade the image gray scale that is stored in mnemon 50 by control module 70 again and distribute.In the present embodiment, on behalf of the data bulk of corresponding gray level information, the every increase by 1 of GTG statistical value that image gray scale distributes then increased by 4 again.
Though the definite value that above-mentioned totalizer 90 is increased is that example describes with 1, haveing the knack of art technology person can change totalizer 90 added definite values into other numerical value according to its demand.For instance, the definite value that totalizer 90 is increased can change 4 into, and the GTG statistical value of image gray scale distribution is promptly represented the data bulk of gray level information thus.
Referring again to Fig. 2 A, in the above-described embodiments, need cost a period of time owing to analyze the image gray scale distribution of importing image, therefore can cause the image gray scale of importing image and importing image to distribute and can't show synchronously.Because in continuous image, the otherness between each image is not too large, the image gray scale of therefore importing image distributes, and cutter has sizable reference value for next image of input image.So, have the knack of those skilled in the art and the image gray scale of input image can be distributed and open image with next of input image and show in the lump, the problem that distributes and can't show synchronously with the image gray scale that improves input image and input image.
In sum, present embodiment utilizes the data bulk of counting unit 30 each gray level information of counting, when data bulk surpasses default value, again image gray scale is distributed and upgrade, therefore present embodiment does not need data of every reception then to the image gray scale distributed update once, to simplify the statistics flow process that image gray scale distributes.Moreover, the counter 30.0~30.255 of present embodiment is 2 a counter, so each counter only need use 2 buffers to implement respectively; The counter of prior art is 21 a counter, so each counter need use 21 buffers to implement respectively.Compared with prior art, present embodiment can reduce the quantity of buffer, therefore can significantly reduce hardware cost.
Though the statistic device and the method thereof that image gray scale have been distributed in the foregoing description have been depicted a possible kenel, usually know that the knowledgeable should know but have in the affiliated technical field, the statistic device that each manufacturer distributes for image gray scale and the design of method thereof are all different, and therefore application of the present invention is when being not restricted to the possible kenel of this kind.In other words, so long as the statistic device that image gray scale distributes or its method are surpassed after the default value by the count value of each gray level information of accumulation, image gray scale being distributed upgrade again, has been to have met spiritual place of the present invention just.Below know that the knowledgeable can further understand spirit of the present invention for an embodiment usually so that this area has again, and implement the present invention.
Second embodiment
Fig. 6 is the synoptic diagram of the statistic device that distributes of the image gray scale of the second embodiment of the present invention.Please merge with reference to Fig. 3 and Fig. 6, the statistic device 11 that the image gray scale of Fig. 6 distributes is similar with the statistic device 10 that the image gray scale of Fig. 3 distributes.Among Fig. 6, label assembly same as the previously described embodiments can be with reference to the embodiment of the foregoing description.The mnemon 51 of present embodiment has comprised sub-mnemon 52,53.In addition, data allocations unit 41 has more comprised feedback circuit 81.When the image gray scale of first input of statistics image distributed, the image gray scale of control module 71 resettable sub-mnemons 52 distributed.Then, control module 71 can distribute the image gray scale of first input image and be stored in sub-mnemon 52, and utilizes feedback circuit 80 antithetical phrase mnemons 52 stored image gray scales to distribute and upgrade.
When the image gray scale of second input of statistics image distributed, the image gray scale of control module 71 resettable sub-mnemons 53 distributed.Then, control module 71 can distribute the image gray scale of second input image and be stored in sub-mnemon 53, and utilizes feedback circuit 81 antithetical phrase mnemons 53 stored image gray scales to distribute and upgrade.Therefore, when the image gray scale of second input of statistics image distributed, the image gray scale of first input image distributed still to be stored in the sub-mnemon 52 and can not lose.Thus, the statistic device 11 of image gray scale distribution can be preserved the image gray scale distribution of two input images simultaneously.
Compared with prior art, present embodiment only need increase the image gray scale distribution that a sub-mnemon can store an input image more; Prior art but need the buffer of the multiple amount of additionally setting up realize counting unit just can preserve simultaneously two the input images the image gray scale values.Therefore, present embodiment not only can be reached the effect similar with the foregoing description, more can preserve the image gray scale distribution of two input images simultaneously and not need to pay huge hardware cost.
In sum, the present invention adopts the count value of each gray level information of accumulation to surpass after the default value, image gray scale is distributed upgrade again, therefore can reduce the quantity of buffer, to reduce the hardware cost of the statistic device that image gray scale distributes. In addition, the present invention has following advantages:
1, utilize counting unit to count the data bulk of each gray level information, when data bulk surpasses default value, again image gray scale is distributed and upgrade, therefore do not need data of every reception then to the image gray scale distributed update once, the statistical flowsheet that distributes to simplify image gray scale.
2, counter of the present invention is 2 counter, so each counter only needs respectively to implement with 2 buffers; And the counter of prior art is 21 counter, so each counter needs respectively to implement with 21 buffers. Therefore, invention can reduce the quantity of buffer, therefore can significantly reduce hardware cost.
3, the present invention can store the image gray scale distribution of an input image more by increasing a sub-mnemon; And prior art needs additionally to set up the buffer of one times of quantity and realizes that counting unit just can preserve the image gray scale values of two input images simultaneously. Therefore, the present invention can preserve simultaneously the image gray scale distribution of two input images and not need to pay huge hardware cost.

Claims (8)

1. the statistic device that distributes of an image gray scale is characterized in that: comprising:
One comparing unit judges that one imports the gray level information of many data of image, and wherein each gray level information is exported a corresponding counting signal;
One counting unit, couple described comparing unit, have a plurality of counters, corresponding one preset gray level information and have a count value respectively, described a plurality of counter upgrades its count value according to corresponding counting signal, when this count value surpasses a default value, then export a pulse signal of corresponding gray level information;
One mnemon stores an image gray scale and distributes;
One data allocations unit couples described counting unit and described mnemon, upgrades image gray scale according to described pulse signal and distributes.
2. the statistic device that image gray scale as claimed in claim 1 distributes, it is characterized in that: described comparing unit has a plurality of comparers, receive the pairing default gray level information of described counter respectively, the data that described comparer will be imported image compare with default gray level information respectively, differentiate the gray level information of data.
3. the statistic device that image gray scale as claimed in claim 1 distributes, it is characterized in that: described counting unit also comprises: a plurality of pulse generators, couple described counter respectively, wherein when the one of count value surpasses described default value, corresponding counter then can be exported an overflow signal to this pulse generator, makes this pulse generator output pulse signal.
4. the statistic device that image gray scale as claimed in claim 3 distributes, it is characterized in that: described pulse generator comprises:
One the one D type flip-flop couples described counter, receives described overflow signal and exports described overflow signal according to a first frequency signal;
One the 2nd D type flip-flop, its input end couples the output terminal of a described D type flip-flop, exports described overflow signal according to described first frequency signal;
One not gate, its input end couple the output terminal of a described D type flip-flop;
One and lock, its first input end and second input end couple the output terminal of described the 2nd D type flip-flop and the output terminal of described not gate respectively, produce described pulse signal;
One the 3rd D type flip-flop couples described and output terminal lock, and exports described pulse signal according to a second frequency signal.
5. the statistic device that image gray scale as claimed in claim 1 distributes, it is characterized in that: described data allocations unit comprises:
One divider couples described counting unit, provides an addressing information and a reading signal according to described pulse signal;
One delayer couples described divider, postpones described reading signal, produces one and writes signal;
One control module couples described divider and described delayer, according to described addressing information and described reading signal, makes described mnemon export the GTG statistical value that described image gray scale distributes;
One feedback circuit couples described mnemon and described control module, upgrade the GTG statistical value and also be back to described control module, and the GTG statistical value of described control module after will upgrading according to the said write signal again writes described mnemon.
6. the statistic device that image gray scale as claimed in claim 5 distributes, it is characterized in that: described feedback circuit comprises a totalizer, couple described mnemon and described control module, this GTG statistical value that described mnemon is exported adds certain value and is back to described control module.
7. the statistic device that image gray scale as claimed in claim 1 distributes, it is characterized in that: described mnemon comprises a plurality of sub-mnemons, is used for keeping the image gray scale distribution of many input images.
8. the statistic device that image gray scale as claimed in claim 1 distributes, it is characterized in that: described counter, described mnemon have the receiving end of a removing signal respectively, when counter receives the removing signal, then reset this count value, when mnemon receives the removing signal, then reset image gray scale and distribute.
CN 200910111357 2009-03-27 2009-03-27 Image gray scale distribution statistical device Expired - Fee Related CN101577000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910111357 CN101577000B (en) 2009-03-27 2009-03-27 Image gray scale distribution statistical device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910111357 CN101577000B (en) 2009-03-27 2009-03-27 Image gray scale distribution statistical device

Publications (2)

Publication Number Publication Date
CN101577000A CN101577000A (en) 2009-11-11
CN101577000B true CN101577000B (en) 2011-05-11

Family

ID=41271934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910111357 Expired - Fee Related CN101577000B (en) 2009-03-27 2009-03-27 Image gray scale distribution statistical device

Country Status (1)

Country Link
CN (1) CN101577000B (en)

Also Published As

Publication number Publication date
CN101577000A (en) 2009-11-11

Similar Documents

Publication Publication Date Title
US7729987B1 (en) Enhanced demand deposit accounts
CA1330600C (en) Fifo memory system
CN111354323B (en) Display panel brightness control method and display device
US20080049240A1 (en) Image data buffer apparatus and data transfer system for efficient data transfer
US11561983B2 (en) Online trained object property estimator
CN108632624B (en) Image data processing method and device, terminal equipment and readable storage medium
US8264495B2 (en) Display underflow prevention
CN109375146B (en) Supplementary collection method and system for electricity consumption data and terminal equipment
CN101577000B (en) Image gray scale distribution statistical device
US8213716B2 (en) Method of gathering statistics of gray distribution of image
CN111599389B (en) Data access method, data access circuit, chip and electronic equipment
CN111128089B (en) Display controller with data underrun self-recovery function and method
US7126986B2 (en) Method and system for improved phase tracking
US5943297A (en) Calendar clock circuit for computer workstations
CN111859252B (en) Method, device, equipment and storage medium for determining loading and unloading duration
CN115221082A (en) Data caching method and device and storage medium
CN1287715A (en) A counter for performing multiple counts and method therefor
CN110148044B (en) Method and device for setting buffering threshold for accounting
US10127131B2 (en) Method for performance monitoring using a redundancy tracking register
CN111127114A (en) Method and device for determining power load declaration data
CN111862894A (en) Backlight brightness adjusting method, device, terminal and readable storage medium
CN111523083A (en) Method and device for determining power load declaration data
CN100426199C (en) Configuration register and loading method thereof
US11664805B2 (en) Data mutex filter circuit and data mutex filtering method
KR100619833B1 (en) Display data update method for mobile station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180726

Address after: 1# third, fourth floor, No. 6, Ru Jiang West Road, Mawei District, Fuzhou City, Fujian Province

Co-patentee after: Chunghwa Picture Tubes Ltd.

Patentee after: CPT DISPLAY TECHNOLOGY (SHENZHEN)CO., LTD.

Address before: 350015 Mawei Technology Park, Fuzhou, Fuzhou, Fujian

Co-patentee before: Chunghwa Picture Tubes Ltd.

Patentee before: Fujian Huaying Display Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110511

Termination date: 20200327