Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, according to the backlight value data that change, adjust brightness and contrast's value of present image, the image quality when dynamic backlight is adjusted promotes and optimizes.
The embodiment of the invention provides a kind of method of adjusting the image quality of display frame, and described method comprises the steps:
Obtain adjusted backlight value;
According to backlight value and the brightness value of screen and the corresponding relation of contrast value of described adjusted backlight value and storage in advance, calculate the brightness value and the contrast value of the screen corresponding with described adjusted backlight value;
According to the brightness value of described screen and the corresponding relation of the brightness value of brightness of image value and the screen of storage in advance, the brightness value of calculating target image; According to the contrast value of described screen and the corresponding relation of the contrast value of image contrast value and the screen of storage in advance, the contrast value of calculating target image;
The brightness value and the contrast value of the target image that the brightness value and the contrast value of present image is adjusted into described calculating.
The embodiment of the invention also provides a kind of system that adjusts the image quality of display frame, and described system comprises:
The backlight value acquisition module is used to obtain adjusted backlight value;
The brightness and contrast of screen is worth computing unit, is used for backlight value and the brightness value of screen and the corresponding relation of contrast value according to described adjusted backlight value and storage in advance, calculates the brightness value and the contrast value of the screen corresponding with described adjusted backlight value;
The brightness and contrast of target image is worth computing unit, is used for the corresponding relation according to the brightness value of the brightness value of described screen and brightness of image value of storing in advance and screen, calculates the brightness value of target image; According to the contrast value of described screen and the corresponding relation of the contrast value of image contrast value and the screen of storage in advance, the contrast value of calculating target image;
Brightness and contrast's adjustment unit of image is used for the brightness value and the contrast value of the target image that brightness value and contrast value with present image be adjusted into described calculating.
The embodiment of the invention also provides a kind of liquid crystal display, and described equipment comprises the system of the image quality of described adjustment display frame.
Below in conjunction with specific embodiment specific implementation of the present invention is described in detail:
Embodiment one
Fig. 1 shows the realization flow figure of method that the image quality of the adjustment display frame that provides is provided for the present invention first, and details are as follows:
In embodiments of the present invention, image quality can be set promote the switch sign, when image quality lifting switch is masked as out, and when environmental light brightness or video image brightness variation, adjust the image quality of display frame automatically according to the variation of backlight value.When image quality lifting switch is masked as the pass, do not adjust the operation of the image quality of display frame automatically.
In step S101, obtain adjusted backlight value.
In step S102,, calculate the brightness value and the contrast value of the screen corresponding with adjusted backlight value according to backlight value and the brightness value of screen and the corresponding relation of contrast value of adjusted backlight value and storage in advance.
In step S103, according to the brightness value of screen and the corresponding relation of the brightness value of brightness of image value and the screen of storage in advance, the brightness value of calculating target image; According to the contrast value of screen and the corresponding relation of the contrast value of image contrast value and the screen of storage in advance, the contrast value of calculating target image.
In step S104, the brightness value and the contrast value of the target image that the brightness value and the contrast value of present image is adjusted into calculating.
In embodiments of the present invention, according to the adjusted backlight value of obtaining, calculate the brightness value and the contrast value of screen, brightness and contrast's value according to screen, calculate the brightness value and the contrast value of target image, brightness and contrast's value of the target image that the brightness value and the contrast value of present image is adjusted into calculating has respectively guaranteed when adjustment takes place backlight value, in time adjust the brightness value and the contrast value of image, the image quality of image is without prejudice.
Embodiment two
Fig. 2 shows the realization flow figure of method that the image quality of the adjustment display frame that provides is provided for the present invention second, and details are as follows:
In step S201, store the brightness value of backlight value and screen and the corresponding relation of contrast value in advance; The corresponding relation of the brightness value of memory image brightness value and screen in advance; The corresponding relation of the contrast value of memory image contrast value and screen in advance.
In embodiments of the present invention, can adjust backlight value by predetermined space n, measure the brightness value and the contrast value of the screen of different backlight value correspondences respectively, and measurement data is pressed backlight value order from small to large store, wherein, the corresponding relation of the brightness value of backlight value and screen is stored in the brightness array of screen, and the corresponding relation of the contrast value of backlight value and screen is stored in the contrast array of screen.
In embodiments of the present invention, can adjust the brightness value of image by predetermined space n, measure the brightness value of screen of the brightness value correspondence of different images respectively, and with brightness value from small to large the order storage of measurement data by correspondence image, wherein, the corresponding relation of the brightness value of brightness of image value and screen is stored in the brightness of image array.
In embodiments of the present invention, can adjust the contrast value of image by predetermined space n, measure the contrast value of screen of the contrast value correspondence of different images respectively, and with contrast value from small to large the order storage of measurement data by correspondence image, wherein, the contrast value of the screen in the corresponding relation of the contrast value of image contrast value and screen is stored in the contrast array of second screen.
In embodiments of the present invention, 4 groups of data of measurement can be stored in the pin-saving chip of liquid crystal display in advance, and storage chip can be EEPROM or FLASH etc.
In embodiments of the present invention, the value of n is too big, and the precision of adjustment can be relatively poor relatively; The n value is too little, can cause the test job amount too big, and needs bigger storage space.Therefore, the value of n can be drunk as required and be got, this not in order to the restriction the present invention.
In embodiments of the present invention, can when starting shooting, liquid crystal display carry out initialization to related data; From storage chip, read 4 groups of data.
In step S202, obtain adjusted backlight value.
In step S203,, calculate the brightness value and the contrast value of the screen corresponding with adjusted backlight value according to backlight value and the brightness value of screen and the corresponding relation of contrast value of adjusted backlight value and storage in advance.
In step S204, according to the brightness value of screen and the corresponding relation of the brightness value of brightness of image value and the screen of storage in advance, the brightness value of calculating target image; According to the contrast value of screen and the corresponding relation of the contrast value of image contrast value and the screen of storage in advance, the contrast value of calculating target image.
In step S205, the brightness value and the contrast value of the target image that the brightness value and the contrast value of present image is adjusted into calculating.
Embodiment three
Fig. 3 shows the realization flow figure of method that the image quality of the adjustment display frame that provides is provided for the present invention the 3rd, and details are as follows:
In embodiments of the present invention, the corresponding relation of the brightness value of backlight value and screen is stored in the brightness array of screen; The corresponding relation of the contrast value of backlight value and screen is stored in the contrast array of screen; The corresponding relation of the brightness value of brightness of image value and screen is stored in the brightness of image array; The corresponding relation of the contrast value of image contrast value and screen is stored in the picture contrast array.
In step S301, store the brightness value of backlight value and screen and the corresponding relation of contrast value in advance; The corresponding relation of the brightness value of memory image brightness value and screen in advance; The corresponding relation of the contrast value of memory image contrast value and screen in advance.
In step S302, obtain adjusted backlight value.
In step S303, in the contrast array of the first brightness array of shielding and first screen, search the brightness value and the residing interval of contrast value of the screen of adjusting back backlight value correspondence, wherein, between the brightness value location of screen be (Bb[i], Bb[i+1]), between the contrast value location of screen be (Cb[i], Cb[i+1]), Bb is the brightness array of first screen, and Cb is the contrast array of first screen, and i is an array index.
In embodiments of the present invention, i is an array index, and the i value is the merchant of i=BL/n, and BL is the backlight value after changing, and n is the interval of DATA REASONING.
In step S304, according to Bbo=Bb[i]+a* (Bb[i+1]-Bb[i])/n, Cbo=Cb[i]+a* (Cb[i+1]-Cb[i])/n, calculate the brightness value and the contrast value of the screen of adjusted backlight value correspondence, wherein, Bbo is the brightness value of the screen of backlight value correspondence after adjusting, Cbo is the contrast value of the screen of backlight value correspondence after adjusting, a is the remainder of BL/n, and BL is adjusted backlight value, and n is the interval of DATA REASONING.
In step S305, in the contrast array of the second brightness array of shielding and second screen, search Bbo and the residing interval of Cbo, wherein, the interval at Bbo place is (Bp[x], Bp[x+1]), the interval at Cbo place be (Cp[y], Cp[y+1]), Bp is the brightness array of second screen, Cp is the contrast array of second screen, x, y are array index.
In step S306, according to formula Bpo=x*n+n* (Bbo-Bp[x])/(Bp[x+1]-Bp[x]), Cpo=y*n+n* (Cbo-Cp[y])/(Cp[y+1]-Cp[y]), target image brightness value and contrast value calculated, Bpo is the brightness value of target image, and Cpo is the contrast value of target image.
In step S307, the brightness value and the contrast value of the target image that the brightness value and the contrast value of present image is adjusted into calculating.
For the ease of understanding, below describe, but do not exceed with the embodiment of the invention with a specific embodiment, may further comprise the steps:
1) value of getting n is 10,
The numerical value backlight that sets gradually is 0,10,20,30...100, the brightness value and the contrast value of the screen that record is corresponding, and measurement data is pressed backlight value order from small to large store, the brightness value of the screen in the corresponding relation of the brightness value of backlight value and screen is stored in the brightness array Bb[11 of first screen] in, the contrast value of the screen in the corresponding relation of the contrast value of backlight value and screen is stored in the contrast array Cb[11 of first screen] in.
Set gradually brightness of image numerical value and be 0,10,20,30...100, the brightness value of the screen that record is corresponding, and measurement data is pressed correspondence image brightness value order from small to large store, the brightness value of the screen in the corresponding relation of the brightness value of brightness of image value and screen is stored in the brightness array Bp[11 of second screen] in.
Set gradually picture contrast numerical value and be 0,10,20,30...100, the contrast value of the screen that record is corresponding, and with contrast value from small to large the order storage of measurement data by correspondence image, the contrast value of the screen in the corresponding relation of the contrast value of image contrast value and screen is stored in the contrast array Cp[11 of second screen] in.
And above-mentioned four class values are stored in the storage chip.
2) when the brightness of image of environmental light brightness or video equipment changes, system's meeting automatic dynamic is adjusted backlight, obtains adjusted backlight value BL.
3) brightness value and the residing interval of contrast value of in the first brightness array of shielding and the first contrast array of shielding, searching the screen of adjusting back backlight value correspondence, wherein, between the brightness value location of screen be (Bb[i], Bb[i+1]), between the contrast value location of screen be (Cb[i], Cb[i+1]), Bb is the brightness array of first screen, Cb is the contrast array of first screen, and i is an array index.
Wherein, i is an array index, and the i value can calculate by i=BL/10, and BL is the backlight value after changing, and n is the interval of DATA REASONING.
4) calculate the corresponding brightness and contrast's value of shielding of adjusted backlight value BL:
According to Bbo=Bb[i]+a* (Bb[i+1]-Bb[i])/10, Cbo=Cb[i]+a* (Cb[i+1]-Cb[i])/10, calculate the brightness value and the contrast value of the screen of adjusted backlight value correspondence, wherein, Bbo is the brightness value of the screen of backlight value correspondence after adjusting, and Cbo is the contrast value of the screen of adjustment back backlight value correspondence, and a is the remainder of BL/10, BL is adjusted backlight value, and 10 is the interval of DATA REASONING.
5) in the contrast array of the second brightness array of shielding and second screen, search Bbo and the residing interval of Cbo, wherein, the interval at Bbo place be (Bp[x], Bp[x+1]), the interval at Cbo place is (Cp[y], Cp[y+1]), Bp is the brightness array of second screen, Cp is the contrast array of second screen, and x, y are array index.
6) calculate the target image brightness and contrast value that finally will adjust to according to formula:
Bpo=10*x+10*(Bbo-Bp[x])/(Bp[x+1]-Bp[x]),
Cpo=10*y+10*(Cbo-Cp[y])/(Cp[y+1]-Cp[y]),
Wherein, Bpo is the brightness value of target image, and Cpo is the contrast value of target image.
7) brightness value and the contrast value of the target image that the brightness value and the contrast value of present image is adjusted into calculating.
Embodiment four
Fig. 4 shows the structural drawing of system that the image quality of the adjustment display frame that provides is provided for the present invention the 4th, for convenience of explanation, only shows the part relevant with the embodiment of the invention.
This system can be the software unit that is built in the liquid crystal display, hardware cell or soft or hard combining unit, wherein,
Backlight value acquiring unit 41 obtains adjusted backlight value.
The brightness value of screen and contrast value computing unit 42 obtain backlight value and the brightness value of screen and the corresponding relation of contrast value of adjusted backlight value and storage in advance according to backlight value acquiring unit 41, calculate the brightness value and the contrast value of the screen corresponding with adjusted backlight value;
The brightness value of target image and contrast value computing unit 43 are worth the brightness of image value of the brightness value of the screen that computing unit 42 calculates and storage in advance and the corresponding relation of the brightness value of screen, the brightness value of calculating target image according to the brightness and contrast of screen; Be worth the image contrast value of the contrast value of the screen that computing unit 42 calculates and storage in advance and the corresponding relation of the contrast value of screen, the contrast value of calculating target image according to the brightness and contrast of screen;
The brightness and contrast that brightness and contrast's adjustment unit 44 of image is adjusted into target image with the brightness value and the contrast value of present image is worth the brightness value and the contrast value of the target image that computing unit 43 calculates.
Embodiment five
See also Fig. 5, as one embodiment of the present of invention, this embodiment also provides data storage cell 51, stores the brightness value of backlight value and screen and the corresponding relation of contrast value in advance; The corresponding relation of the brightness value of memory image brightness value and screen in advance; The corresponding relation of the contrast value of memory image contrast value and screen in advance.
In embodiments of the present invention, can adjust backlight value by predetermined space n, measure the brightness value and the contrast value of the screen of different backlight value correspondences respectively, and measurement data is pressed backlight value order from small to large store, wherein, the corresponding relation of the brightness value of backlight value and screen is stored in the brightness array of screen, and the corresponding relation of the contrast value of backlight value and screen is stored in the contrast array of screen.
In embodiments of the present invention, can adjust the brightness value of image by predetermined space n, measure the brightness value of screen of the brightness value correspondence of different images respectively, and with brightness value from small to large the order storage of measurement data by correspondence image, wherein, the corresponding relation of the brightness value of brightness of image value and screen is stored in the brightness of image array.
In embodiments of the present invention, can adjust the contrast value of image by predetermined space n, measure the contrast value of screen of the contrast value correspondence of different images respectively, and with contrast value from small to large the order storage of measurement data by correspondence image, wherein, the contrast value of the screen in the corresponding relation of the contrast value of image contrast value and screen is stored in the contrast array of second screen.
Embodiment six
See also Fig. 6, in embodiments of the present invention, the brightness value of screen and contrast value computing unit 63 further comprise: the brightness value and the contrast value computing module 633 of module 632, screen searched in data memory module 631, the first intervals.
The brightness value of the screen in the corresponding relation of the backlight value that data memory module 631 will be stored in advance and the brightness value of screen is stored in the brightness array of first screen; The contrast value of the screen in the corresponding relation of the contrast value of Cun Chu backlight value and screen is stored in the contrast array of first screen in advance; The brightness value of the screen in the corresponding relation of the brightness value of Cun Chu brightness of image value and screen is stored in the brightness array of second screen in advance; The contrast value of the screen in the corresponding relation of the contrast value of Cun Chu image contrast value and screen is stored in the contrast array of second screen in advance;
Module 632 is searched the screen of adjusting back backlight value correspondence in the contrast array of the first brightness array of shielding and first screen brightness value and the residing interval of contrast value searched in first interval, wherein, between the brightness value location of screen be (Bb[i], Bb[i+1]), between the contrast value location of screen be (Cb[i], Cb[i+1]), Bb is the brightness array of first screen, Cb is the contrast array of first screen, and i is an array index.
In embodiments of the present invention, i is an array index, and the i value can calculate by i=BL/n, and BL is the backlight value after changing, and n is the interval of DATA REASONING.
According to Bbo=Bb[i]+a* (Bb[i+1]-Bb[i])/n, Cbo=Cb[i]+a* (Cb[i+1]-Cb[i])/n, the brightness value of screen and contrast value computing module 633 calculate the brightness value and the contrast value of the screen of adjusted backlight value correspondence, wherein, Bbo is the brightness value of the screen of backlight value correspondence after adjusting, and Cbo is the contrast value of the screen of adjustment back backlight value correspondence, and a is the remainder of BL/n, BL is adjusted backlight value, and n is the interval of DATA REASONING.
In embodiments of the present invention, brightness value and contrast value adjustment unit 64 comprise: the brightness value and the contrast value computing module 642 of module 641 and image searched in second interval.
In the brightness array and the second contrast array of shielding of second screen, second interval is searched module 641 and is searched Bbo and the residing interval of Cbo, wherein, the interval at Bbo place is (Bp[x], Bp[x+1]), the interval at Cbo place be (Cp[y], Cp[y+1]), Bp is the brightness array of second screen, Cp is the contrast array of second screen, x, y are array index;
According to formula Bpo=x*n+n* (Bbo-Bp[x])/(Bp[x+1]-Bp[x]), Cpo=y*n+n* (Cbo-Cp[y])/(Cp[y+1]-Cp[y]), brightness of image value and contrast value computing module 642 calculate target image brightness value and contrast value, Bpo is the brightness value of target image, and Cpo is the contrast value of target image.
Embodiment seven
A kind of liquid crystal display, this liquid crystal display can comprise the system of the image quality of the adjustment display frame among enforcement four, embodiment five or the embodiment six.
In embodiments of the present invention, according to the backlight value after changing, calculate brightness and contrast's value of screen, brightness and contrast's value according to screen, calculate brightness and contrast's value of target image, brightness and contrast's value of present image is adjusted into brightness and contrast's value of target image, guaranteed when backlight value changes, in time adjust brightness and contrast's value of image, the image quality of image is without prejudice.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.