Summary of the invention
In view of this, the invention provides a kind of rendering intent, rendering device and display device, eliminate the impact of the pixel arrangement of display device, improve the scope of application of rendering intent, and ensure that the display effect of display device is high, and, the easy Hardware of rendering intent provided by the invention.
For achieving the above object, technical scheme provided by the invention is as follows:
A kind of rendering intent, be applied to display device, described display device comprises the first pel array, described first pel array comprises the multiple pixel columns along first direction arrangement, each pixel column comprises multiple first pixel, and described first pixel comprises the R sub-pixel and G sub-pixel that arrange along second direction, or, first pixel described in any one includes B sub-pixel and R sub-pixel, or, first pixel described in any one comprises G sub-pixel and B sub-pixel, and it is not all identical along the color of sub-pixel contiguous between the kind and adjacent two described first pixels of two described first pixels adjacent in described second direction, described first direction is mutually vertical with described second direction, described rendering intent comprises:
Obtain the second pel array that original image is corresponding, wherein, R sub-pixel, a G sub-pixel and B sub-pixel corresponding brightness value respectively in each second pixel of described second pel array;
Each described second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array;
Calculate the first brightness value of the first brightness value of the R sub-pixel of each described virtual pixel, the first brightness value of G sub-pixel and B sub-pixel;
Described virtual pixel array is mapped in described first pel array, and calculate the brightness value of each sub-pixel in described first pel array respectively, wherein, in described first pel array of described calculating, the step of the brightness value of i sub-pixel is: first obtain predetermined pattern, wherein, described predetermined pattern is corresponding with described first pel array, and described predetermined pattern is divided into multiple sub pattern, and the center of described sub pattern is the i sub-pixel of described first pixel; The second brightness value L i ' of the i sub-pixel of each virtual pixel that described sub pattern covers then is calculated according to Li '=S '/S*Li, wherein, second brightness value sum of the i sub-pixel of all virtual pixels that described sub pattern covers is the brightness value that described first pel array is arranged in the i sub-pixel of described sub pattern, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, the area of S ' described sub pattern for virtual pixel is arranged in, S is the area of virtual pixel.
Accordingly, present invention also offers a kind of rendering device, be applied to display device, described display device comprises the first pel array, described first pel array comprises the multiple pixel columns along first direction arrangement, each pixel column comprises multiple first pixel, and the first pixel described in any includes the R sub-pixel and G sub-pixel that arrange along second direction, or, first pixel described in any one includes B sub-pixel and R sub-pixel, or, first pixel described in any one comprises G sub-pixel and B sub-pixel, and it is not all identical along the color of sub-pixel contiguous between the kind and adjacent two described first pixels of two described first pixels adjacent in described second direction, described rendering device comprises:
Image collection module, for obtaining the second pel array corresponding to original image, wherein, all corresponding brightness value of R sub-pixel, G sub-pixel and B sub-pixel in each second pixel of described second pel array;
Image processing module, for each described second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array, and calculate the first brightness value of the first brightness value of the R sub-pixel of each described virtual pixel, the first brightness value of G sub-pixel and B sub-pixel;
Memory module, for the data of poke predetermined pattern, wherein, described predetermined pattern is divided into multiple sub pattern, and the center of described sub pattern is the i sub-pixel of described first pixel;
Data analysis module, for according to the projection of described virtual pixel in described first pel array, calculate the brightness value of each sub-pixel in described first pel array respectively, wherein, the brightness value calculating i sub-pixel in described first pel array is: first obtain predetermined pattern, and wherein, described predetermined pattern is corresponding with described first pel array, and described predetermined pattern is divided into multiple sub pattern, the center of described sub pattern is the i sub-pixel of described first pixel; The second brightness value being arranged in the corresponding i sub-pixel of each virtual pixel of described sub pattern is then calculated according to Li '=S '/S*Li, wherein, in described sub pattern, the second brightness value sum of the corresponding i sub-pixel of all virtual pixels is the brightness value of i sub-pixel in described first pel array, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, the area of S ' described sub pattern for virtual sub-pixel is arranged in, S is the area of virtual sub-pixel.
Accordingly, present invention also offers a kind of display device, described display device comprises the first pel array, described first pel array comprises the multiple pixel columns along first direction arrangement, each pixel column comprises multiple first pixel, and described first pixel comprises the R sub-pixel and G sub-pixel that arrange along second direction, or, first pixel described in any one includes B sub-pixel and R sub-pixel, or, first pixel described in any one comprises G sub-pixel and B sub-pixel, and it is not all identical along the color of sub-pixel contiguous between the kind and adjacent two described first pixels of two described first pixels adjacent in described second direction, described first direction is mutually vertical with described second direction, wherein, described display device comprises image processing apparatus, described image processing apparatus is for obtaining the second pel array corresponding to original image, wherein, R sub-pixel in each second pixel of described second pel array, a G sub-pixel and B sub-pixel corresponding brightness value respectively,
Each described second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array;
Calculate the first brightness value of the first brightness value of the R sub-pixel of each described virtual pixel, the first brightness value of G sub-pixel and B sub-pixel;
Described virtual pixel array is mapped in described first pel array, and calculate the brightness value of each sub-pixel in described first pel array respectively, wherein, in described first pel array of described calculating, the step of the brightness value of i sub-pixel is: first obtain predetermined pattern, wherein, described predetermined pattern is corresponding with described first pel array, and described predetermined pattern is divided into multiple sub pattern, and the center of described sub pattern is the i sub-pixel of described first pixel; The second brightness value L i ' of the i sub-pixel of each virtual pixel that described sub pattern covers then is calculated according to Li '=S '/S*Li, wherein, second brightness value sum of the i sub-pixel of all virtual pixels that described sub pattern covers is the brightness value that described first pel array is arranged in the i sub-pixel of described sub pattern, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, the area of S ' described sub pattern for virtual pixel is arranged in, S is the area of virtual pixel.
Compared to prior art, at least concrete following advantage of technical scheme provided by the invention:
A kind of rendering intent provided by the invention, rendering device and display device, comprising: obtain the second pel array that original image is corresponding, wherein, and R sub-pixel, a G sub-pixel and B sub-pixel corresponding brightness value respectively in each second pixel of the second pel array; Each second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array; Calculate the first brightness value of the first brightness value of the R sub-pixel of each virtual pixel, the first brightness value of G sub-pixel and B sub-pixel; Virtual pixel array is mapped in the first pel array, and calculate the brightness value of each sub-pixel in the first pel array respectively, wherein, the step calculating the brightness value of i sub-pixel in the first pel array is: first obtain predetermined pattern, wherein, predetermined pattern is corresponding with the first pel array, and predetermined pattern is divided into multiple sub pattern, and the center of sub pattern is the i sub-pixel of the first pixel; The second brightness value being arranged in the corresponding i sub-pixel of each virtual pixel of sub pattern is then calculated according to Li '=S '/S*Li, wherein, in sub pattern, the second brightness value sum of the corresponding i sub-pixel of all virtual pixels is the brightness value of i sub-pixel in the first pel array, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, S ' is arranged in the area of sub pattern for virtual pixel, and S is the area of virtual pixel.
As shown in the above, technical scheme provided by the invention, without the need to carrying out special positional alignment to the pel array of display device, eliminating the impact of display device pixel arrangement, improve the scope of application of rendering intent; And in render process, by each second pixel corresponding for original image is carried out process of refinement, then calculate the brightness value of each sub-pixel in display device, ensure that the effect of display device when display frame is high; And rendering intent provided by the invention is simple and convenient, easy Hardware.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As described in background, the wide variety of display device, in the display device of a wherein type, in its pel array, each pixel has only included two sub-pixels, and the color of two sub-pixels is different, but each pixel corresponding to the image of display device input includes red R sub-pixel, green G sub-pixel and blue B sub-pixel, therefore, first needs to play up when display device display frame.Existing rendering intent restricted application, and not easily Hardware.
Based on this, embodiments provide a kind of rendering intent, be applied to display device, and display device comprises the first pel array, first pel array comprises the multiple pixel columns along first direction arrangement, each pixel column comprises multiple first pixel, and the first pixel comprises the R sub-pixel and G sub-pixel that arrange along second direction, or, any one first pixel includes B sub-pixel and R sub-pixel, or, any one first pixel comprises G sub-pixel and B sub-pixel, and it is not all identical along the color of sub-pixel contiguous between the kind and adjacent two the first pixels of two the first pixels adjacent in second direction, first direction and second direction are mutually vertical.
Wherein, composition graphs 1 to Fig. 3 b is described in detail the rendering intent that the embodiment of the present invention provides.Shown in figure 1, be the process flow diagram of a kind of rendering intent that the embodiment of the present invention provides, wherein, rendering intent comprises:
S1, acquisition original image.
That is, the second pel array corresponding to original image is obtained, wherein, R sub-pixel, a G sub-pixel and B sub-pixel corresponding brightness value respectively in each second pixel of the second pel array.
S2, become more meticulous each second pixel.
Namely, each second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array, process of refinement is carried out by each second pixel, so that the brightness value of each sub-pixel is more accurate in subsequent calculations display device, promote the display effect of display device.
Further, each second pixel is divided into multiple region and comprises: each second pixel is divided into multiple region, to each second pixel when zoning, adopt the average method divided, be not only convenient to calculate, and dividing mode is simple.To this, the embodiment of the present invention does not do concrete restriction, need to carry out specific design according to the type of actual displayed device, wherein, when multiple region is divided to each second pixel, can zoning arbitrarily, or the ratio according to each limit of the sub-pixel of the first pixel each in the first pel array of display device divides etc.
First brightness value of each sub-pixel in S3, calculating virtual pixel array.
Calculate the first brightness value of the first brightness value of the R sub-pixel of each virtual pixel, the first brightness value of G sub-pixel and B sub-pixel.Optionally, the first brightness value calculating the first brightness value of the R sub-pixel of each virtual pixel, the first brightness value of G sub-pixel and B sub-pixel comprises:
The first brightness value of the first brightness value of the R sub-pixel of each virtual pixel, the first brightness value of G sub-pixel and B sub-pixel is calculated by interpolation algorithm.
The embodiment of the present invention provides interpolation algorithm to be Digital Image Processing Computational Methods, wherein, the interpolation algorithm that the embodiment of the present invention provides can be k-nearest neighbor, bilinear interpolation algorithm, cubic interpolation algorithm, somatotype algorithm etc., and to this, the embodiment of the present invention does not do concrete restriction.In addition, in other embodiments of the application, the brightness value of the algorithm in other Digital Image Processing to each sub-pixel of virtual pixel can also be adopted to calculate.
Concrete, such as each second pixel is divided into four regions and in matrix pattern, in matrix pattern: the square shape region being primary importance along first direction and second direction is the first virtual pixel, be primary importance along first direction and be the square shape region of the second place along second direction be the second virtual pixel, be the second place along first direction and be the square shape region of primary importance along second direction be the 3rd virtual pixel, and the square shape region being the second place along first direction and second direction is the 4th virtual pixel; Wherein, calculate the first virtual pixel in jth the second pixel to comprise to the first brightness value of the R sub-pixel of the 4th virtual pixel, the first brightness value of G sub-pixel and the first brightness value of B sub-pixel:
Preset the first brightness value L of the i sub-pixel of the first virtual pixel
i1for the brightness value L that i sub-pixel in jth the second pixel is corresponding
ij;
According to L
i2=(L
ij+ L
i (j+1))/2 calculate the first brightness value L of the i sub-pixel of the second virtual pixel
i2;
According to L
i3=(L
ij+ L
i (j+2))/2 calculate the first brightness value L of the i sub-pixel of the 3rd virtual pixel
i3;
According to L
i4=(L
ij+ L
i (j+1)+ L
i (j+2)+ L
i (j+3))/2 calculate the first brightness value L of the i sub-pixel of the 4th virtual pixel
i4;
Wherein, L
ijfor the brightness value that i sub-pixel in jth the second pixel is corresponding, L
i (j+1)along the brightness value that i sub-pixel in the next one second pixel of the second pixel of jth in second direction is corresponding, L
i (j+2)for the brightness value that the i sub-pixel of the next one second pixel along the second pixel of jth on first direction is corresponding, L
i (j+3)for the brightness value that the i sub-pixel of the next one second pixel along+2 the second pixels of jth in second direction is corresponding, i is R, G or B, and j is positive integer.
S4, calculate the brightness value of each sub-pixel in the first pel array.
Wherein, virtual pixel array is mapped in the first pel array, and calculate the brightness value of each sub-pixel in the first pel array respectively, wherein, the step calculating the brightness value of i sub-pixel in the first pel array is: first obtain predetermined pattern, and wherein, predetermined pattern is corresponding with the first pel array, and predetermined pattern is divided into multiple sub pattern, the center of sub pattern is the i sub-pixel of the first pixel; The second brightness value L i ' of the i sub-pixel of each virtual pixel that sub pattern covers then is calculated according to Li '=S '/S*Li, wherein, second brightness value sum of the i sub-pixel of all virtual pixels that sub pattern covers is the brightness value that the first pel array is arranged in the i sub-pixel of sub pattern, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, S ' is arranged in the area of sub pattern for virtual pixel, and S is the area of virtual pixel.
After above-mentioned steps S4 executes, obtain the brightness value of each sub-pixel in the first pel array, then the brightness value of sub-pixel each in the first pixel is converted to the intensity gray scale parameter of display device, and rear indicator is according to intensity gray scale parameter display picture.
As shown in the above, the technical scheme that the embodiment of the present invention provides, without the need to carrying out special positional alignment to the pel array of display device, eliminating the impact of display device pixel arrangement, improve the scope of application of rendering intent; And in render process, by each second pixel corresponding for original image is carried out process of refinement, then calculate the brightness value of each sub-pixel in display device, ensure that the effect of display device when display frame is high; And rendering intent provided by the invention is simple and convenient, easy Hardware.
In addition, in order to the technical scheme explanation clearly of rendering intent that the embodiment of the present invention is provided, below in conjunction with the instantiation provided in Fig. 2 a to Fig. 2 h, the Rendering algorithms provided in the above embodiments of the present application is described in detail.Wherein,
Shown in figure 2a, for the structural representation of a kind of first pel array that the embodiment of the present invention provides, wherein, first pel array 100 is made up of multiple first pixel 10, first pel array 10 comprises first the first pixel column, 101, second the first pixel column 102 and the 3rd the first pixel column 103 of arranging along first direction Y, each first pixel column includes three the first pixels 10, and each first pixel 10 includes the sub-pixel of two different colours; Concrete, along second direction X, first the first pixel column 101 is: RG pixel+BR pixel+GB pixel arrangements, second the first pixel column 102 is: GB pixel+RG pixel+BR pixel arrangements, 3rd the first pixel column 103 is: RG pixel+BR pixel+GB pixel arrangements, and the position of first the first pixel column 101 and the 3rd the first pixel column 103 is corresponding, and second the first pixel column 102 is along the opposite direction of second direction X, protrudes from the width of first the first pixel column 101 and the 3rd the first pixel column 103 half subdetector pixel.
In addition, the second pel array that original image is corresponding is corresponding with the first pel array of display device.With the example of concrete second pel array, the rendering intent that the embodiment of the present invention provides is described equally, shown in figure 2b, for the arrangement schematic diagram of a kind of second pel array that the embodiment of the present invention provides, second pel array 200 is in matrix distribution, second pel array 200 comprises first the second pixel column 201 arranged along first direction Y, second the second pixel column 202 and the 3rd the second pixel column 203, wherein, each second pixel column includes three the second pixels, and each second pixel 20 includes the R sub-pixel along second direction X arrangement, G sub-pixel and B sub-pixel, wherein, the corresponding brightness value of i sub-pixel in each second pixel, i is R, G or B.
Before each sub-pixel carries out the calculating of brightness value in the first pel array, need each second pixel to carry out process of refinement, that is, each second pixel is divided multiple region, and the corresponding virtual pixel in each region.Wherein, shown in composition graphs 2c and 2d, a kind of schematic diagram being transformed to virtual pixel array by the second pel array that Fig. 2 c provides for the embodiment of the present invention, each second pixel 20 is divided into four regions, in matrix pattern by the concrete example that the embodiment of the present invention provides.Shown in figure 2d, for in Fig. 2 c, one second pixel transform is the schematic diagram of virtual pixel, be described with second pixel 20, in the second pixel 200 of matrix pattern, the square shape region being primary importance along first direction Y and second direction X is the first virtual pixel 21, be primary importance along first direction Y, and be the second virtual pixel 22 along the square shape region that second direction X is the second place, be the second place along first direction Y, and be the 3rd virtual pixel 23 along the square shape region that second direction X is primary importance, and, the square shape region being the second place along first direction Y and second direction X is the 4th virtual pixel 24, according to above-mentioned division methods, second pel array 200 is divided into virtual pixel array 300.
By each second pixel zoning, and after obtaining virtual pixel array, need the calculating each sub-pixel of virtual pixel array being carried out to brightness value, namely calculate the first brightness value of each sub-pixel in virtual pixel array.Wherein, interpolation algorithm in Digital Image Processing can be adopted to calculate, shown in concrete composition graphs 2e, for the position relationship schematic diagram of the second pixel and virtual pixel in Fig. 2 c, be described to calculate the first brightness value being each sub-pixel of each virtual pixel of the second pixel J of primary importance along first direction Y and second direction X:
First the brightness value L ij that the i sub-pixel of the second pixel J in the second pel array corresponding to original image is corresponding is obtained, obtain the brightness value L io that the i sub-pixel of the second pixel O is corresponding, obtain the brightness value L ip that the i sub-pixel of the second pixel P is corresponding, and, obtain the brightness value L iq that the i sub-pixel of the second pixel Q is corresponding, wherein, i is R, G or B;
Then calculate the first brightness value of the sub-pixel of the second pixel J each virtual pixel corresponding, wherein, the first brightness value L i1 of the i sub-pixel of the first virtual pixel 21 is calculated: the brightness value L ij that the first brightness value L i1 of the i sub-pixel of first virtual pixel 21 of default second pixel J is corresponding with the i sub-pixel of the second pixel J is identical;
Calculate the first brightness value L i2 of the i sub-pixel of the second virtual pixel 22: wherein, calculate the first brightness value L i2 of the i sub-pixel of the second virtual pixel 22 according to Li2=(Lij+Lio)/2;
Calculate the first brightness value L i3 of the i sub-pixel of the 3rd virtual pixel 23: wherein, calculate the first brightness value of the i sub-pixel of the 3rd virtual pixel 23 according to Li3=(Lij+Lip)/2;
Calculate the first brightness value L i4 of the i sub-pixel of the 4th virtual pixel 24: wherein, calculate the brightness value L i4 of the i sub-pixel of the 4th virtual pixel according to Li4=(Lij+Lio+Lip+Liq)/2.
According to the computing method of above-mentioned interpolation algorithm, the first brightness value of sub-pixel each in virtual pixel array is calculated.After again the first brightness value of sub-pixel each in virtual pixel array being calculated, the brightness value step of each sub-pixel in calculating first pel array will be entered.Shown in figure 2f, the virtual pixel array provided for the embodiment of the present invention maps to the schematic diagram of the first pel array, in calculating first pel array each sub-pixel brightness value before, first need virtual pixel array 300 to map in the first pel array 100, so that follow-up each sub-pixel to the first pel array 100 calculates.
Wherein, shown in composition graphs 2g and 2h, the brightness value of each sub-pixel of calculating first pel array that the embodiment of the present invention provides is described in detail.Wherein, to calculate the brightness value of G sub-pixel in the first pel array, shown in figure 2g, the relation schematic diagram of the predetermined pattern provided for the embodiment of the present invention and virtual pixel array and the first pel array, first obtain predetermined pattern 400, predetermined pattern 400 is corresponding with the first pel array 100, wherein, predetermined pattern 400 is divided into multiple sub pattern 401, and the center of each sub pattern 401 is the G sub-pixel of corresponding first pixel; Then, the second brightness value L g ' of the G sub-pixel of each virtual pixel that sub pattern 401 covers is calculated according to Lg '=S '/S*Lg, wherein, second brightness value sum of the G sub-pixel of all virtual pixels that sub pattern 401 covers is the brightness value of G sub-pixel in the first pel array, Lg is the first brightness value of the G sub-pixel of virtual pixel, S ' is arranged in the area of sub pattern for virtual pixel, and S is the area of virtual pixel; That is, be described, shown in concrete reference diagram 2h for a concrete sub pattern.It should be noted that; predetermined pattern 400 in Fig. 2 g and Fig. 2 h is described for multiple parallelogram (rhombus) only need not be limited to multiple parallelogram (rhombus) at this; can also be other polygons any number of; as long as ensure that the polygon of multiple arbitrary shape combines each other; and the current same color sub-pixels carrying out calculating brightness value in whole first pel array 100 can be covered completely; do not repeat them here, the distortion of arbitrary shape all belongs to the scope that the embodiment of the present invention is protected.
A G sub-pixel in corresponding first pel array 100 in center of sub pattern 401, and sub pattern 401 is coated with virtual pixel A1 to virtual pixel A12.Wherein, G sub-pixel to first brightness value of the G sub-pixel of virtual pixel A12 of virtual pixel A1 is respectively Lg1 to Lg12.Virtual pixel A1 is arranged in the area of sub pattern 401, virtual pixel A2 is arranged in the area of sub pattern 401, virtual pixel A11 is arranged in area that the area of sub pattern 401 and virtual pixel A12 be arranged in sub pattern 401 and is 3/8 of virtual pixel area and (it should be noted that, this ratio is not precise proportions, just the computing method of each sub-pixel define in the first pel array for convenience of description, need concrete measurement in actual applications, same, computation process and the ratio that defines all for convenience of description in illustrating below the embodiment of the present invention), virtual pixel A4 is arranged in the area of sub pattern 401, virtual pixel A5 is arranged in the area of sub pattern 401, virtual pixel A8 is arranged in the area that the area of sub pattern 401 and virtual pixel A9 be arranged in sub pattern 401 and is 61/64 of virtual pixel area, and virtual pixel A3 is arranged in the area of sub pattern 401, virtual pixel A6 is arranged in the area of sub pattern 401, virtual pixel A7 is arranged in the area that the area of sub pattern 401 and virtual pixel A10 be arranged in sub pattern 401 and is 1/6 of virtual pixel area, therefore, the brightness value L of G sub-pixel in corresponding first pel array 100 in center of sub pattern 401
gfor:
L
G=61/64*(Lg4+Lg5+Lg8+Lg9)+3/8*(Lg1+Lg2+Lg11+Lg12)+1/6*(Lg3+Lg6+Lg7+Lg10)
By the above-mentioned brightness value L calculating G sub-pixel in corresponding first pel array 100 in center of sub pattern 401
g, and then the brightness value of each sub-pixel in the first pel array 100 is calculated according to the method.
In addition, based on the rendering intent that the corresponding embodiment of above-mentioned Fig. 1 provides, the embodiment of the present invention additionally provides another kind of rendering intent, in order to compensate the reduction of the resolution of display device display image, the rendering intent that the embodiment of the present invention provides, after the brightness value calculating each sub-pixel in the first pel array respectively, can also carry out edge sharpening to the first pel array.Shown in concrete reference diagram 3a, for the another kind of rendering intent that the embodiment of the present invention provides, the step S1 of the rendering intent that the corresponding rendering intent of Fig. 3 a provides with Fig. 1 is identical to step S4, therefore does not do unnecessary repeating, difference is, the rendering intent that the application Fig. 3 provides also comprises after step S4:
S5, edge sharpening is carried out to the first pel array.
Shown in concrete reference diagram 3b, for the schematic diagram of a kind of first pel array edge sharpening that the embodiment of the present invention provides, wherein, picture element matrix 500 is extracted in the first pel array 100, then carry out convolution according to the B sub-pixel factor matrix 600 preset, to obtain the brightness value of each B sub-pixel in the first optimum pel array, and obtain the optimum brightness value of the correspondence of the sub-pixel of often kind of color in the first pel array in this approach, and then improve the display effect of display device.It should be noted that, the embodiment of the present invention does not do concrete restriction for the picture element matrix size extracted, and the sub-pixel factor matrix preset needs to design according to practical application, and the embodiment of the present invention does not do concrete restriction equally.
In addition, for the shape and size of the first pel array that above-mentioned all embodiments provide, the embodiment of the present invention does not do concrete restriction, as long as the first pel array meets the multiple pixel columns comprised along first direction arrangement, each pixel column comprises multiple first pixel, and the first pixel comprises the R sub-pixel and G sub-pixel that arrange along second direction, or, any one first pixel includes B sub-pixel and R sub-pixel, or, any one first pixel comprises G sub-pixel and B sub-pixel, and it is not all identical along the color of sub-pixel contiguous between the kind and adjacent two the first pixels of two the first pixels adjacent in second direction, first direction and second direction are mutually vertical.
Accordingly, the embodiment of the present invention additionally provides a kind of rendering device, be applied to display device, display device comprises the first pel array, first pel array comprises the multiple pixel columns along first direction arrangement, each pixel column comprises multiple first pixel, and any one first pixel includes the R sub-pixel and G sub-pixel that arrange along second direction, or, any one first pixel includes B sub-pixel and R sub-pixel, or, any one first pixel comprises G sub-pixel and B sub-pixel, and it is not all identical along the color of sub-pixel contiguous between the kind and adjacent two the first pixels of two the first pixels adjacent in second direction, shown in figure 4, for the structural representation of a kind of rendering device that the embodiment of the present invention provides, wherein, the rendering device that the embodiment of the present invention provides comprises:
Image collection module 1, for obtaining the second pel array corresponding to original image, wherein, R sub-pixel, a G sub-pixel and B sub-pixel corresponding brightness value respectively in each second pixel of the second pel array;
Image processing module 2, for each second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array, and calculate the first brightness value of the first brightness value of the R sub-pixel of each virtual pixel, the first brightness value of G sub-pixel and B sub-pixel;
Memory module 3, for the data of poke predetermined pattern, wherein, predetermined pattern is divided into multiple sub pattern, and the center of sub pattern is the i sub-pixel of the first pixel;
Data analysis module 4, for according to the projection of virtual pixel in the first pel array, calculate the brightness value of each sub-pixel in the first pel array respectively, wherein, the brightness value calculating i sub-pixel in the first pel array is: first obtain predetermined pattern, and wherein, predetermined pattern is corresponding with the first pel array, and predetermined pattern is divided into multiple sub pattern, the center of sub pattern is the i sub-pixel of the first pixel; The second brightness value being arranged in the corresponding i sub-pixel of each virtual pixel of sub pattern is then calculated according to Li '=S '/S*Li, wherein, in sub pattern, the second brightness value sum of the corresponding i sub-pixel of all virtual pixels is the brightness value of i sub-pixel in the first pel array, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, S ' is arranged in the area of sub pattern for virtual sub-pixel, and S is the area of virtual sub-pixel.
In addition, the brightness value of each sub-pixel, after data analysis module calculates the brightness value of each sub-pixel in complete first pel array, is converted to GTG parameter, by display device display frame by the rendering device that the embodiment of the present invention provides.
In addition, the rendering device that the embodiment of the present invention provides also comprises edge sharpening module, and edge sharpening module is used for after the brightness value calculating each sub-pixel in the first pel array respectively, carries out edge sharpening to the first pel array.
Finally, the embodiment of the present application additionally provides a kind of display device, display device comprises the first pel array, first pel array comprises the multiple pixel columns along first direction arrangement, each pixel column comprises multiple first pixel, and the first pixel comprises the R sub-pixel and G sub-pixel that arrange along second direction, or, any one first pixel includes B sub-pixel and R sub-pixel, or, any one first pixel comprises G sub-pixel and B sub-pixel, and it is not all identical along the color of sub-pixel contiguous between the kind and adjacent two the first pixels of two the first pixels adjacent in second direction, first direction and second direction are mutually vertical, wherein, display device comprises image processing apparatus, image processing apparatus is for obtaining the second pel array corresponding to original image, wherein, R sub-pixel in each second pixel of the second pel array, a G sub-pixel and B sub-pixel corresponding brightness value respectively,
Each second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array;
Calculate the first brightness value of the first brightness value of the R sub-pixel of each virtual pixel, the first brightness value of G sub-pixel and B sub-pixel;
Virtual pixel array is mapped in the first pel array, and calculate the brightness value of each sub-pixel in the first pel array respectively, wherein, the step calculating the brightness value of i sub-pixel in the first pel array is: first obtain predetermined pattern, wherein, predetermined pattern is corresponding with the first pel array, and predetermined pattern is divided into multiple sub pattern, and the center of sub pattern is the i sub-pixel of the first pixel; The second brightness value L i ' of the i sub-pixel of each virtual pixel that sub pattern covers then is calculated according to Li '=S '/S*Li, wherein, second brightness value sum of the i sub-pixel of all virtual pixels that sub pattern covers is the brightness value that the first pel array is arranged in the i sub-pixel of sub pattern, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, S ' is arranged in the area of sub pattern for virtual pixel, and S is the area of virtual pixel.
A kind of rendering intent, rendering device and display device that the embodiment of the present application provides, comprise: obtain the second pel array that original image is corresponding, wherein, R sub-pixel, a G sub-pixel and B sub-pixel corresponding brightness value respectively in each second pixel of the second pel array; Each second pixel is divided into multiple region, and the corresponding virtual pixel in each region, to obtain virtual pixel array; Calculate the first brightness value of the first brightness value of the R sub-pixel of each virtual pixel, the first brightness value of G sub-pixel and B sub-pixel; Virtual pixel array is mapped in the first pel array, and calculate the brightness value of each sub-pixel in the first pel array respectively, wherein, the step calculating the brightness value of i sub-pixel in the first pel array is: first obtain predetermined pattern, wherein, predetermined pattern is corresponding with the first pel array, and predetermined pattern is divided into multiple sub pattern, and the center of sub pattern is the i sub-pixel of the first pixel; The second brightness value being arranged in the corresponding i sub-pixel of each virtual pixel of sub pattern is then calculated according to Li '=S '/S*Li, wherein, in sub pattern, the second brightness value sum of the corresponding i sub-pixel of all virtual pixels is the brightness value of i sub-pixel in the first pel array, i is R, G or B, Li is the first brightness value of the i sub-pixel of virtual pixel, S ' is arranged in the area of sub pattern for virtual pixel, and S is the area of virtual pixel.
As shown in the above, the technical scheme that the embodiment of the present application provides, without the need to carrying out special positional alignment to the pel array of display device, eliminating the impact of display device pixel arrangement, improve the scope of application of rendering intent; And in render process, by each second pixel corresponding for original image is carried out process of refinement, then calculate the brightness value of each sub-pixel in display device, ensure that the effect of display device when display frame is high; And the rendering intent that the embodiment of the present application provides is simple and convenient, easy Hardware.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.