Summary of the invention
The embodiment of the present invention provides a kind of liquid crystal display frame frequency control method and device, and in the time of can solving LCD display playing video animation, the problem of shake appears in picture.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of liquid crystal display frame frequency control method, comprising:
Obtain the two field picture that forms image animation;
From every two consecutive frame images, identical position obtains respectively a pixel, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels;
Calculate the group number of different pixels on every two consecutive frame images, group number and the preset value of different pixels on described two consecutive frame images are compared;
If the group number of different pixels is less than preset value on two consecutive frame images, copy any two field picture in described two consecutive frame images; Do not change the reproduction time interval of described two consecutive frame images, by copy the two field picture that obtains by way of compensation two field picture insert between described two consecutive frame images;
If the group number of different pixels is greater than described preset value on two consecutive frame images, according to the pixel of two consecutive frame images, calculate the image content of compensated frame image, do not change the reproduction time interval of described two consecutive frame images, the compensated frame image calculating is inserted between two consecutive frame images.
A kind of liquid crystal display frame frequency control device, comprising:
The first acquiring unit, for obtaining the two field picture that forms image animation;
Second acquisition unit, obtains respectively a pixel for identical position from every two consecutive frame images, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels;
The first computing unit, for calculating the group number of different pixels on every two consecutive frame images, compares group number and the preset value of different pixels on described two consecutive frame images;
Copied cells, if be less than preset value for the group number of different pixels on two consecutive frame images, copies any two field picture in described two consecutive frame images;
The first plug-in unit, does not change the reproduction time interval of described two consecutive frame images, by copy the two field picture that obtains by way of compensation two field picture insert between described two consecutive frame images;
The second computing unit, if be greater than described preset value for the group number of different pixels on two consecutive frame images, calculates the image content of compensated frame image according to the pixel of two consecutive frame images;
The second plug-in unit, for inserting the compensated frame image calculating between two consecutive frame images.
A kind of liquid crystal display frame frequency control method and device that the embodiment of the present invention provides, obtain the two field picture that forms image animation; From every two consecutive frame images, identical position obtains respectively a pixel, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels; Calculate the group number of different pixels on every two consecutive frame images, group number and the preset value of different pixels on described two consecutive frame images are compared; If the group number of different pixels is less than preset value on two consecutive frame images, copy any two field picture in described two consecutive frame images; Do not change the reproduction time interval of described two consecutive frame images, by copy the two field picture that obtains by way of compensation two field picture insert between described two consecutive frame images; If the group number of different pixels is greater than described preset value on two consecutive frame images, according to the pixel of two consecutive frame images, calculate the image content of compensated frame image, the compensated frame image calculating is inserted between two consecutive frame images.
Owing to determining compensation policy according to the group number of different pixels on two consecutive frame images, if two consecutive frame picture material difference are larger, calculate compensated frame for by way of compensation, if two consecutive frame picture material difference are less or indifference, copy any one in two consecutive frame images for frame by way of compensation, so when playing video animation, during from changing picture corresponding to two field picture to picture corresponding to another two field picture, the variation of image content is comparatively mild, and then there is the problem of shaking at interior two field picture picture when playing in the film source that can effectively reduce to comprise low field frequency.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of liquid crystal display frame frequency control method, as shown in Figure 1, comprising:
101, obtain the two field picture that forms image animation.
MEMC chip can be for processing LCD display image animation, in the embodiment of the present invention take MEMC chip as example, the liquid crystal display frame frequency control method that the embodiment of the present invention provides is described, but be not limited in actual application, uses MEMC chip to implement the liquid crystal display frame frequency control method that the embodiment of the present invention provides.
In order to realize the processing to LCD image animation, first, can obtain the two field picture that forms image animation by MEMC chip.
102, from every two consecutive frame images, identical position obtains respectively a pixel, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels.
MEMC chip is determined the difference of any two the consecutive frame image frame contents of image animation.
Concrete, MEMC chip obtains respectively a pixel in identical position from every two consecutive frame images, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels.Two consecutive frame image different pixels group numbers are more, illustrate that the difference of two consecutive frame image frame contents is larger.
For different image animations, for determining and provide foundation to the processing mode of image animation in subsequent step.
103, calculate the group number of different pixels on every two consecutive frame images, group number and the preset value of different pixels on described two consecutive frame images are compared.
Preset value in the embodiment of the present invention can be set according to actual needs, as being set to 100, take 100 different pixels groups as determining the line of demarcation of two consecutive frame images.In addition, different displays, has different resolution conventionally, and the setting of preset value also can arrange according to different resolution.Can, by input window by for arranging voluntarily, also can in initial design, described possible data be set, by MEMC chip, according to circumstances be selected voluntarily.
If the group number of different pixels is less than preset value on two consecutive frame images, perform step 104; If the group number of different pixels is greater than described preset value on two consecutive frame images, perform step 105.
104, copy any two field picture in described two consecutive frame images; Do not change the reproduction time interval of described two consecutive frame images, by copy the two field picture that obtains by way of compensation two field picture insert between described two consecutive frame images.
105, according to the pixel of two consecutive frame images, calculate the image content of compensated frame image, do not change the reproduction time interval of described two consecutive frame images, the compensated frame image calculating is inserted between two consecutive frame images.
A kind of liquid crystal display frame frequency control method that the present embodiment provides, owing to determining compensation policy according to the group number of different pixels on two consecutive frame images, if two consecutive frame picture material difference are larger, calculate compensated frame for by way of compensation, if two consecutive frame picture material difference are less or indifference, copy any one in two consecutive frame images for frame by way of compensation, so when playing video animation, during from changing picture corresponding to two field picture to picture corresponding to another two field picture, the variation of image content is comparatively mild, and then there is the problem of shaking at interior two field picture picture when playing in the film source that can effectively reduce to comprise low field frequency.
One as the present embodiment is improved, and the embodiment of the present invention provides the method for another kind of liquid crystal display frame frequency control technology, as shown in Figure 2, comprising:
201, obtain the two field picture that forms image animation.
MEMC chip can be for processing LCD display image animation, in the embodiment of the present invention take MEMC chip as example, the liquid crystal display frame frequency control method that the embodiment of the present invention provides is described, but be not limited in actual application, uses MEMC chip to implement the liquid crystal display frame frequency control method that the embodiment of the present invention provides.
In order to realize the processing to LCD image animation, first, can obtain the two field picture that forms image animation by MEMC chip.
202, from every two consecutive frame images, identical position obtains respectively a pixel, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels.
MEMC chip receives the two field picture of image animation to be played, and each two field picture is a static picture, and MEMC chip obtains adjacent two two field picture image contents, determines the difference of any two the consecutive frame image frame contents of image animation.
Concrete, MEMC chip obtains respectively a pixel in identical position from every two consecutive frame images, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels.Two consecutive frame image different pixels group numbers are more, illustrate that the difference of two consecutive frame image frame contents is larger.
For different image animations, for determining and provide foundation to the processing mode of image animation in subsequent step.
203, calculate the group number of different pixels on every two consecutive frame images, group number and the preset value of different pixels on described two consecutive frame images are compared.
Preset value in the embodiment of the present invention can be set according to actual needs, as being set to 100, take 100 different pixels groups as determining the line of demarcation of two consecutive frame images.In addition, different displays, has different resolution conventionally, and the setting of preset value also can arrange according to different resolution.Can, by input window by for arranging voluntarily, also can in initial design, described possible data be set, by MEMC chip, according to circumstances be selected voluntarily.
If the group number of different pixels is less than preset value on two consecutive frame images, perform step 204; If the group number of different pixels is greater than described preset value on two consecutive frame images, perform step 206; If the group number of different pixels equals described preset value on two consecutive frame images, MEMC chip is selected execution step 204 or 206 according to setting.
In this step, arranging of MEMC chip can be the rule that arranges encapsulating when dispatching from the factory, and also can in use be arranged as required by user, at this, do not limit.
204, group number and the default cut off value of different pixels on two consecutive frame images are compared, determine the quantity of inserting compensated frame image between described two consecutive frame images.
In order to determine the quantity of inserting compensated frame image between described two consecutive frame images, MEMC chip compares group number and the default cut off value of different pixels on two consecutive frame images.
About determining of the quantity of compensated frame image, can be that optional multiple numerical value is set when dispatching from the factory, in use, MEMC chip, according to the relation between group number and the default cut off value of different pixels on two consecutive frame images, is selected corresponding numerical value.
According to the image content amplitude of variation between two field picture in image animation, MEMC chip is determined the quantity of inserting compensated frame image between two consecutive frame images.Conventionally, if the image content amplitude of variation in image animation between two field picture is larger, can between adjacent two two field pictures, insert a fairly large number of compensated frame image; If the image content amplitude of variation in image animation between two field picture is less, can between adjacent two two field pictures, insert the compensated frame image of negligible amounts.
Further, optional, if the group number of different pixels is greater than described default cut off value on described two consecutive frame images, MEMC chip inserts at least three compensated frame images between described two consecutive frame images;
If the group number of different pixels is less than described default cut off value on described two consecutive frame images, MEMC chip inserts one or two compensated frame image between described two adjacent images.
The concrete quantity of inserting compensated frame image, MEMC chip can be determined according to the group number of different pixels on two consecutive frame images, specifically determines that mode can be any-mode well-known to those skilled in the art, does not repeat them here.
Default cut off value in the embodiment of the present invention, can set according to actual needs, can when MEMC chip dispatches from the factory, set, and also can, when user uses, by user, by input window, be set.
205, according to the quantity of described insertion compensated frame image, copy any two field picture in described two consecutive frame images; Do not change the reproduction time interval of described two consecutive frame images, by copy the two field picture that obtains by way of compensation two field picture insert between described two consecutive frame images.
206, according to the pixel of two consecutive frame images, calculate the image content of compensated frame image, do not change the reproduction time interval of described two consecutive frame images, the compensated frame image calculating is inserted between two consecutive frame images.
Further alternative, this step comprises:
MEMC chip is searched on described two consecutive frame images for representing two pixels of same picture content, and obtains abscissa and ordinate on the place two field picture of these two pixels;
MEMC chip calculates abscissa and the ordinate of each pixel on described compensated frame image according to the quantity of described abscissa, ordinate and described insertion compensated frame image.Concrete, MEMC chip calculates the difference of abscissa and the difference of ordinate of these two pixels, with the quantity of inserting compensated frame image just the difference of abscissa and the difference of ordinate carry out respectively decile calculating, the difference Along ent place of the difference of abscissa and ordinate is being inserted to compensated frame.
Concrete, on described compensated frame image, the abscissa of each pixel and ordinate computing formula are: X1=1/ (n+1) × M1+n/ (n+1) × M2, Y1=1/ (n+1) × N1+n/ (n+1) × N2; The second two field picture, X2=2/ (n+1) × M1+ (n-1)/(n+1) × M2, Y2=2/ (n+1) × N1+ (n-1)/(n+1) × N2; ... n two field picture, Xn=n/ (n+1) × M1+1/ (n+1) × M2, Yn=n/ (n+1) × N1+1/ (n+1) × N2; Wherein, n represents the total insertion picture number between adjacent two two field pictures, and M1, M2, N1 and N2 are respectively abscissa and the ordinate of two pixels of correspondence that represent same picture content in adjacent two two field pictures on two field picture.
A kind of liquid crystal display frame frequency control method that the present embodiment provides, owing to determining compensation policy according to the group number of different pixels on two consecutive frame images, if two consecutive frame picture material difference are larger, calculate compensated frame for by way of compensation, if two consecutive frame picture material difference are less or indifference, copy any one in two consecutive frame images for frame by way of compensation, so when playing video animation, during from changing picture corresponding to two field picture to picture corresponding to another two field picture, the variation of image content is comparatively mild, and then there is the problem of shaking at interior two field picture picture when playing in the film source that can effectively reduce to comprise low field frequency.
The embodiment of the present invention provides a kind of liquid crystal display frame frequency control device, as shown in Figure 3, comprising: the first acquiring unit 31, second acquisition unit 32, the first computing unit 33, copied cells 34, the first plug-in unit 35, the second computing unit 36, the second plug-in unit 37.
The first acquiring unit 31, for obtaining the two field picture that forms image animation;
Second acquisition unit 32, obtains respectively a pixel for identical position from every two consecutive frame images, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels;
The first computing unit 33, for calculating the group number of different pixels on every two consecutive frame images, compares group number and the preset value of different pixels on described two consecutive frame images;
Copied cells 34, if be less than preset value for the group number of different pixels on two consecutive frame images, copies any two field picture in described two consecutive frame images;
The first plug-in unit 35, does not change the reproduction time interval of described two consecutive frame images, by copy the two field picture that obtains by way of compensation two field picture insert between described two consecutive frame images;
The second computing unit 36, if be greater than described preset value for the group number of different pixels on two consecutive frame images, calculates the image content of compensated frame image according to the pixel of two consecutive frame images;
The second plug-in unit 37, for inserting the compensated frame image calculating between two consecutive frame images.
A kind of liquid crystal display frame frequency control device that the present embodiment provides, owing to determining compensation policy according to the group number of different pixels on two consecutive frame images, if two consecutive frame picture material difference are larger, calculate compensated frame for by way of compensation, if two consecutive frame picture material difference are less or indifference, copy any one in two consecutive frame images for frame by way of compensation, so when playing video animation, during from changing picture corresponding to two field picture to picture corresponding to another two field picture, the variation of image content is comparatively mild, and then there is the problem of shaking at interior two field picture picture when playing in the film source that can effectively reduce to comprise low field frequency.
One as the present embodiment is improved, the embodiment of the present invention provides another kind of liquid crystal display frame frequency control device, as shown in Figure 4, comprising: the first acquiring unit 41, second acquisition unit 42, the first computing unit 43, determining unit 44, copied cells 45, the first plug-in unit 46, the second computing unit 47, the second plug-in unit 48.
Wherein, determining unit 44 comprises: the first insert module 441, the second insert module 442; The second computing unit 47 comprises: search module 471, the first computing module 472.
The first acquiring unit 41, for obtaining the two field picture that forms image animation;
Second acquisition unit 42, obtains respectively a pixel for identical position from every two consecutive frame images, two pixels that get is compared, if these two pixel differences are designated as one group of different pixels;
The first computing unit 43, for calculating the group number of different pixels on every two consecutive frame images, compares group number and the preset value of different pixels on described two consecutive frame images;
Determining unit 44, for group number and the default cut off value of different pixels on described two consecutive frame images are compared, determines the quantity of inserting compensated frame image between described two consecutive frame images;
Concrete, the first insert module 441 if be greater than described default cut off value for the group number of different pixels on described two consecutive frame images, is inserted at least three compensated frame images between described two consecutive frame images;
The second insert module 442 if be less than described default cut off value for the group number of different pixels on described two consecutive frame images, is inserted one or two compensated frame image between described two adjacent images.
Copied cells 45, if be less than preset value for the group number of different pixels on two consecutive frame images, copies any two field picture in described two consecutive frame images according to the quantity of described insertion compensated frame image;
The first plug-in unit 46, does not change the reproduction time interval of described two consecutive frame images, by all copy the two field picture that obtains by way of compensation two field picture insert between described two consecutive frame images;
The second computing unit 47, if be greater than described preset value for the group number of different pixels on two consecutive frame images, calculates the compensated frame image of two consecutive frame images of insertion of respective numbers according to the quantity of described insertion compensated frame image;
Concrete, search module 471, for searching on described two consecutive frame images for representing two pixels of same picture content, and obtain abscissa and the ordinate on the place two field picture of these two pixels;
The first computing module 472, for calculating abscissa and the ordinate of the content of each pixel on described respective numbers compensated frame image according to the quantity of described abscissa, ordinate and described insertion compensated frame image.
Concrete, on described compensated frame image, the abscissa of each pixel and ordinate computing formula are: X1=1/ (n+1) × M1+n/ (n+1) × M2, Y1=1/ (n+1) × N1+n/ (n+1) × N2; The second two field picture, X2=2/ (n+1) × M1+ (n-1)/(n+1) × M2, Y2=2/ (n+1) × N1+ (n-1)/(n+1) × N2; ... n two field picture, Xn=n/ (n+1) × M1+1/ (n+1) × M2, Yn=n/ (n+1) × N1+1/ (n+1) × N2; Wherein, n represents the total insertion picture number between adjacent two two field pictures, and M1, M2, N1 and N2 are respectively abscissa and the ordinate of two pixels of correspondence that represent same picture content in adjacent two two field pictures on two field picture.
The second plug-in unit 48, for inserting all compensated frame images that calculate between two consecutive frame images.
A kind of liquid crystal display frame frequency control device that the present embodiment provides, owing to determining compensation policy according to the group number of different pixels on two consecutive frame images, if two consecutive frame picture material difference are larger, calculate compensated frame for by way of compensation, if two consecutive frame picture material difference are less or indifference, copy any one in two consecutive frame images for frame by way of compensation, so when playing video animation, during from changing picture corresponding to two field picture to picture corresponding to another two field picture, the variation of image content is comparatively mild, and then there is the problem of shaking at interior two field picture picture when playing in the film source that can effectively reduce to comprise low field frequency.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computer, hard disk or CD etc., comprise that some instructions are in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.