CN105392011B - Method for balancing colors of different video decoders - Google Patents
Method for balancing colors of different video decoders Download PDFInfo
- Publication number
- CN105392011B CN105392011B CN201510744264.2A CN201510744264A CN105392011B CN 105392011 B CN105392011 B CN 105392011B CN 201510744264 A CN201510744264 A CN 201510744264A CN 105392011 B CN105392011 B CN 105392011B
- Authority
- CN
- China
- Prior art keywords
- adjustable
- adjusted
- video decoders
- relation
- internal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 239000003086 colorant Substances 0.000 title claims abstract description 13
- 238000013507 mapping Methods 0.000 claims abstract description 26
- 230000000694 effects Effects 0.000 abstract description 19
- 238000004891 communication Methods 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Processing Of Color Television Signals (AREA)
Abstract
The present invention relates to the field of communications technologies, and in particular, to a method for balancing colors of different video decoders. The invention discloses a method for balancing colors of different video decoders, which is used for adjusting at least two video decoders, and the method utilizes the externally adjustable grade to establish the mapping relation with the internal adjustable value of the video decoders and form a relation function to determine the change amplitude of the image color adjustment performed by a user, and restricts and establishes the mapping relation of other video decoders based on the change amplitude of one video decoder, so that the color effects of different video decoders are consistent when the user performs the actual image color adjustment, and the change amplitudes are also consistent, thereby achieving the effect of dynamic balance among different video decoder chips and improving the user experience in video application.
Description
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method for balancing colors of different video decoders.
Background
In video applications, the general image input flow is: firstly, a camera converts an optical signal into a CVBS analog signal and sends the CVBS analog signal to a video decoder (hereinafter referred to as an AD chip); then the AD chip samples and quantizes the analog signal and converts the analog signal into a digital signal, and the digital signal is sent to a system in a BT656 format; finally, the system processes the signal of the BT656, extracts the effective video signal and forms the original image data. In the process, if the color effect of the image is required to be adjusted, such as brightness, contrast, saturation, hue and the like, the color effect can be directly adjusted through the AD chip.
With the diversification of video requirements, more and more video channels are required, and due to the limitation of some CPUs, different AD chips may be required to acquire video data and then display the video data in a unified manner. However, since different AD chip structures are not consistent, the color image effects are also inconsistent, and in order to achieve the consistency of the whole display screen, the color effects of the two AD chip structures must be adjusted to be consistent. Meanwhile, when the dynamic adjustment is triggered by external conditions, the display effect change of the whole picture is required to be consistent, and the change speed cannot be different due to different AD or the change effect is different, so that the whole picture is unbalanced and uncoordinated, and the visual experience is influenced.
Disclosure of Invention
The present invention aims to solve the above problems by providing a method for balancing colors of different video decoders, so that when a user performs actual image color adjustment, the color effects of different video decoders are consistent, and the variation amplitudes are also consistent, thereby achieving the effect of dynamic balance among different video decoder chips.
To this end, the invention discloses a method for balancing colors of different video decoders, which adjusts at least two video decoders and comprises the following steps:
a1: taking any video decoder, setting an outward adjustable grade range of an element to be adjusted in image color adjustment, and establishing a mapping relation between the outward adjustable grade range and an internal adjustable range of the element to be adjusted of the video decoder to obtain a relation function;
a2: establishing respective mapping relations between the external adjustable grade range and the internal adjustable ranges of the elements to be adjusted of other video decoders to obtain respective relation functions;
a3: when the external adjustable grade is adjusted to adjust the element to be adjusted, the corresponding internal adjustable value is obtained according to different video decoders by using the corresponding relation functions, and the internal adjustable value is set in the corresponding video decoder to adjust the element to be adjusted.
Further, the element to be adjusted in the image color adjustment comprises at least one of brightness, contrast, saturation and color tone.
Further, the mapping relationship is a one-to-one mapping relationship.
Further, the relation function is a linear relation function.
Furthermore, in the step A1, the externally adjustable grade range is 0-M, the internal adjustable range of the element to be adjusted is 0-N, and the relation function isWhere y is the outward adjustable level and x is the internal adjustable value of the element to be adjusted.
Further, the specific method of step a2 is as follows: and finding at least two internal adjustable values matched with the external adjustable grade of other video decoders, and then obtaining linear relation functions of the internal adjustable values.
The invention has the beneficial technical effects that:
the invention establishes the mapping relation with the adjustable value in the video decoder by utilizing the externally adjustable grade, forms the relation function, determines the change amplitude of the image color adjustment performed by the user, and restricts and establishes the mapping relation of other video decoders based on the change amplitude of one video decoder, so that the color effects of different video decoders are consistent when the user performs the actual image color adjustment, and the change amplitudes are also consistent, thereby achieving the effect of dynamic balance among different video decoder chips and improving the user experience in the video application.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention;
FIG. 2 is a luminance mapping diagram of an AD1 chip according to an embodiment of the present invention;
fig. 3 is a luminance mapping diagram of the AD2 chip according to the embodiment of the present invention.
Detailed Description
The invention will now be further described with reference to the accompanying drawings and detailed description.
As shown in fig. 1, a method for balancing colors of different video decoders, at least two video decoders are adjusted, comprising the following steps:
a1: taking any video decoder, setting the outward adjustable grade range of the element to be adjusted in the image color adjustment, and establishing the mapping relation between the outward adjustable grade range and the internal adjustable range of the element to be adjusted of the video decoder to obtain the relation function.
In this embodiment, the mapping relationship between the external adjustable level range and the internal adjustable range of the element to be adjusted is a one-to-one mapping relationship, and the relationship function is a linear relationship function.
A2: and establishing respective mapping relations between the external adjustable grade range and the internal adjustable ranges of the elements to be adjusted of other video decoders to obtain respective relation functions.
In this embodiment, the mapping relationship between the external adjustable level range and the internal adjustable range of the element to be adjusted of the other video decoder is a one-to-one mapping relationship, and the obtained respective relationship function is a linear function. The specific establishment method comprises the following steps: and finding out at least two internal adjustable values matched with the external adjustable grade of other video decoders, and then solving a linear relation function of the internal adjustable values and the corresponding external adjustable grade.
A3: when the user adjusts the element to be adjusted, the user directly adjusts the external adjustable grade, then uses the corresponding relation function to obtain the corresponding internal adjustable value according to different video decoders, and sets the internal adjustable value into the corresponding video decoder to adjust the element to be adjusted. Therefore, under the same adjusting mode, the color effects of different video decoders are consistent, the change amplitudes of the color effects are also consistent, and the purpose of balancing the colors of the different types of video decoders is achieved.
The elements to be adjusted in the image color adjustment of the video comprise brightness, contrast, saturation, hue and the like. The present invention will be explained below taking brightness adjustment as an example; other adjusting elements such as contrast, saturation and hue are implemented in the same way, and the description is not repeated.
First, one AD chip AD1 is taken, and when luminance is adjusted, the adjustable value (internal adjustable value) of the luminance register inside the AD1 chip is in the range of 0 to 255. The externally adjustable level is 0-100, namely the adjustable range of 100 levels is represented on the user interface. In order to express the value ranging from 0 to 255 in a grade of 0 to 100, a mapping relation must be established, that is, when the grade is adjusted to 0, the adjustable value of the brightness register inside the AD1 chip is at least 0; when the grade is adjusted to the middle 50, the adjustable value of the brightness register inside the AD1 chip is 127; when the level is adjusted to 100 max, the adjustable value of the AD1 chip internal brightness register is 255 max. This mapping is shown in fig. 2.
Wherein the Y-axis represents the externally adjustable rating, i.e., the user adjustable rating of 0-100. The externally adjustable level is used to represent a representation value of the brightness, and the higher the externally adjustable level, the brighter the brightness representation in the color effect of the actual image. The X axis represents the adjustable value of the brightness register in the AD1 chip and is 0-255. The linear relationship function corresponding to this mapping relationship is:
the relation function (1) represents the mapping relation from the actual user adjustment to the actual value inside the AD1 chip, so as to determine the adjustment change amplitude of the user. The magnitude of the change refers to the change in actual brightness for each level of adjustment by the user.
Based on the variation range of the AD1 chip, the variation ranges of other AD chips also need to accord with the variation range of the AD1 chip, so that the variation of different AD chips is the same when the dynamic adjustment of the image color effect is carried out, and the final performances are consistent.
Since the AD1 chip has established a fixed outward adjustable grade range, in order to make the newly added AD2 chip and AD1 chip consistent in the variation range, the AD2 chip must search for at least 2 points that can match the AD1 chip, and establish the function pattern. For example, the first point is: when the outward adjustable level of the AD2 chip is equal to the outward adjustable level y of the AD1 chip which is 100 (at this time, the brightness representation value of the AD2 chip is the same as that of the AD1 chip), the corresponding x value is assumed to be 200, i.e., point a (200, 100); the second point is: when the outward adjustable level of the AD2 chip is equal to the outward adjustable level y of the AD1 chip, which is equal to 0 (at this time, the brightness performance value of the AD2 chip is the same as that of the AD1 chip), the corresponding x value is assumed to be 50, i.e., point B (50, 0), and the mapping relationship diagram of the AD2 chip can be drawn through the two points A, B, as shown in fig. 3.
As can be seen from FIG. 3, in the mapping relation of the AD2 chip obtained based on the variation range of the AD1 chip, when the brightness level is changed from 0 to 100, the adjustable value of the brightness register in the AD2 chip is not changed from 0 to 255, but is changed from 50 to 200; that is to say, the change of the brightness register in the AD2 chip from 50 to 200 can only meet the change range of the AD1 chip. The linear relation function of the AD2 chip is obtained as follows:
by combining the above functions (1) and (2), the intersection of the two is rounded to (121, 47), and at this point, the luminance of the AD1 chip and the AD2 chip are uniform. In addition, other similar luminance performance level Y will correspond to two different X values and to the linear relationship function of the respective AD chip.
After the processing, when the user performs actual brightness adjustment, only the external adjustable grade, namely the y value, needs to be directly adjusted, then the corresponding x value is obtained by using the corresponding relation function according to different AD chips, and the x value is set in the corresponding AD chip, so that under the same adjustment mode, the color effects expressed by different AD chips are consistent, the change amplitudes are also consistent, and the purpose of balancing the colors of different types of video decoders is achieved.
If a new AD chip is continuously accessed, the corresponding relation function is solved by the same method and is linked into the function group for carrying out the cooperative regulation.
Similarly, other types of color effect adjustment, such as chroma, saturation, contrast, etc., are also similar, and the map and the relation function are established in the same manner and cooperatively adjusted according to the respective characteristics.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (6)
1. A method for balancing colors of different video decoders, at least two video decoders being adjusted, comprising the steps of:
a1: taking any video decoder, setting an outward adjustable grade range of an element to be adjusted in image color adjustment, and establishing a mapping relation between the outward adjustable grade range and an internal adjustable range of the element to be adjusted of the video decoder to obtain a relation function;
a2: establishing respective mapping relations between the external adjustable grade range and the internal adjustable ranges of the elements to be adjusted of other video decoders to obtain respective relation functions;
a3: when the external adjustable grade is adjusted to adjust the element to be adjusted, the corresponding internal adjustable value is obtained according to different video decoders by using the corresponding relation functions, and the internal adjustable value is set in the corresponding video decoder to adjust the element to be adjusted.
2. The method of claim 1, wherein the method further comprises: the element to be adjusted in the image color adjustment comprises at least one of brightness, contrast, saturation and color tone.
3. The method of claim 1, wherein the method further comprises: the mapping relationship is a one-to-one mapping relationship.
4. A method of balancing colors of different video decoders as claimed in claim 1 or 3, characterized in that: the relationship function is a linear relationship function.
5. The method of claim 4The method for balancing colors of different video decoders, comprising: in the step A1, the external adjustable grade range is 0-M, the internal adjustable range of the element to be adjusted is 0-N, and the relation function isWhere y is the outward adjustable level and x is the internal adjustable value of the element to be adjusted.
6. The method of claim 4, wherein the method further comprises: the specific method of the step A2 is as follows: and finding at least two internal adjustable values matched with the external adjustable grade of other video decoders, and then obtaining linear relation functions of the internal adjustable values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510744264.2A CN105392011B (en) | 2015-11-05 | 2015-11-05 | Method for balancing colors of different video decoders |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510744264.2A CN105392011B (en) | 2015-11-05 | 2015-11-05 | Method for balancing colors of different video decoders |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105392011A CN105392011A (en) | 2016-03-09 |
CN105392011B true CN105392011B (en) | 2020-12-01 |
Family
ID=55423777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510744264.2A Active CN105392011B (en) | 2015-11-05 | 2015-11-05 | Method for balancing colors of different video decoders |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105392011B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778246A (en) * | 2010-01-29 | 2010-07-14 | 华为终端有限公司 | Method and device for processing multipicture video image |
CN102244757A (en) * | 2011-06-07 | 2011-11-16 | 北京邮电大学 | Color calibration method of large multi-projection screen based on projector-camera system |
CN104364820A (en) * | 2012-10-08 | 2015-02-18 | 皇家飞利浦有限公司 | Luminance changing image processing with color constraints |
JP5703809B2 (en) * | 2011-02-09 | 2015-04-22 | 株式会社リコー | Color conversion apparatus, image processing apparatus, image forming apparatus, color conversion method, and color conversion program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3474720D1 (en) * | 1984-03-29 | 1988-11-24 | Nippon Furnace Kogyo Kk | Apparatus for visually displaying fluid density in fluid flow model |
KR100834762B1 (en) * | 2006-09-29 | 2008-06-05 | 삼성전자주식회사 | Method and apparatus for gamut mapping for cross medias |
CN101009852A (en) * | 2007-01-19 | 2007-08-01 | 广东威创日新电子有限公司 | Color management system for mixed connection wall and its control method |
-
2015
- 2015-11-05 CN CN201510744264.2A patent/CN105392011B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778246A (en) * | 2010-01-29 | 2010-07-14 | 华为终端有限公司 | Method and device for processing multipicture video image |
JP5703809B2 (en) * | 2011-02-09 | 2015-04-22 | 株式会社リコー | Color conversion apparatus, image processing apparatus, image forming apparatus, color conversion method, and color conversion program |
CN102244757A (en) * | 2011-06-07 | 2011-11-16 | 北京邮电大学 | Color calibration method of large multi-projection screen based on projector-camera system |
CN104364820A (en) * | 2012-10-08 | 2015-02-18 | 皇家飞利浦有限公司 | Luminance changing image processing with color constraints |
Also Published As
Publication number | Publication date |
---|---|
CN105392011A (en) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6654028B1 (en) | Display device | |
CN106971695B (en) | The brightness adjusting method and device of RGBW liquid crystal display device | |
KR100678101B1 (en) | Method for menu screen constructing display hue using picture color information of mobile terminal thereof | |
GB2534929A (en) | Method and apparatus for conversion of HDR signals | |
TWI510101B (en) | Method for adjusting saturation degree and color adjusting system | |
US8467604B2 (en) | Color enhancement | |
CN106887218B (en) | Color conditioning method and regulating system based on high color gamut display | |
CN105681728A (en) | Video processing method and device | |
CN102223547A (en) | Image color enhancement device and method | |
CN108986769B (en) | Method for maximally restoring content of Rec.2020 color gamut by display equipment with color gamut lower than Rec.2020 color gamut | |
JP2002538738A (en) | A method for selective color control of digital video images. | |
CN105898252A (en) | Television color adjustment method and device | |
CN112767238A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN101083775A (en) | Method and apparatus for adjusting image saturation | |
CN109741408A (en) | A kind of image and video caricature effect real-time rendering method | |
CN106375316B (en) | A kind of method of video image processing and equipment | |
CN109636739A (en) | The treatment of details method and device of image saturation enhancing | |
CN105392011B (en) | Method for balancing colors of different video decoders | |
CN107786865B (en) | A kind for the treatment of method and apparatus of video frame | |
CN110379364B (en) | Brightness adjusting method and device based on display driving and chip | |
CN100535984C (en) | Color image enhancing device and method | |
CN101472187B (en) | System and method for enhancing green of video signal | |
CN103491355A (en) | Method and system for eliminating luminance and chromaticity differences of panoramic image | |
WO2019169851A1 (en) | Image processing method and system | |
JP2001128189A (en) | Color correcting circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 303-e, Zone C, innovation building, software park, Xiamen Torch hi tech Zone, Xiamen, Fujian, 361000 Patentee after: Xiamen Yaxun Zhilian Technology Co.,Ltd. Country or region after: China Address before: No.46 guanri Road, phase II, software park, Xiamen City, Fujian Province, 361000 Patentee before: XIAMEN YAXON NETWORK Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |