Background technology
The Gamma value is a correction parameter, and the self attributes of reflection instrument is for LCD space light modulator; Gamma value possibility on each pixel is inequality and do not have rule each other, and corresponding to input value, its output valve can only be exported with a kind of nonlinear mode; For single LCD space light modulator, because its principle of work is identical, its gamma curve is fixed; For different LCD space light modulators; Because the restriction of manufacture craft and the minute differences of material, each LCD space light modulator gamma curve may be different, so need carry out the gamma curved measurement to each LCD space light modulator.
The method of measuring LCD space light modulator gamma curve in the prior art is:
On LCD space light modulator, write the picture of different gray-scale values;
Measure the energy value when writing different gray-scale value with energy meter;
Energy value is done normalization handle, promptly all energy all divided by this maximum extreme value of energy, are drawn the gamma curve.
Utilize this measuring method, when measuring, need in LCD space light modulator, repeatedly write the picture of different gray-scale values, for example; To white rank, gray-scale value always has 256 from 0-255 from black rank, if be the interval with 5 gray-scale values; Just need on LCD space light modulator, write 52 different gray level images; Under 52 different gray-scale values, need to measure 52 energy values, this method workload is big, make the image of a plurality of gray-scale values, measurement energy value repeatedly; And high to the stability requirement of injecting laser, instability will be brought great error slightly.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of can reduce the workload of measuring LCD space light modulator gamma curve, writes the method and system that image once just can obtain the gamma curve of LCD space light modulator.
In order to achieve the above object, the present invention proposes a kind of method of measuring LCD space light modulator gamma curve, and this method may further comprise the steps:
In LCD space light modulator, write image, said image comprises order continually varying standard grayscale value by size;
Receive the test gray-scale value of exporting in the LCD space light modulator through photoelectric sensor, said test gray-scale value is corresponding one by one with the standard grayscale value;
The test gray-scale value that obtains is carried out normalization handle, utilize the normalization result to draw the gamma curve.
Preferential, the standard grayscale value of said image is included in the two-dimensional matrix of a 256*n, and every capable gray-scale value increases progressively with the 0-255 order continuously, and wherein, n is a natural number.
Preferential, saidly the test gray-scale value is carried out normalization to handle, the step of utilizing result after the normalization to draw the gamma curve comprises:
Confirm the standard grayscale value corresponding with said test gray-scale value;
With the standard grayscale value of test gray-scale value divided by correspondence, its result as ordinate, is set up coordinate system with the standard grayscale value as horizontal ordinate, draw the gamma curve.。
Preferential, saidly confirm that the concrete steps of the said standard grayscale value corresponding with testing gray-scale value are:
Confirm to write the maximal value X of the standard grayscale value of LCD space light modulator;
Confirm the number Y of the test gray-scale value that photoelectric sensor receives, the number of test gray-scale value that the number Y of said test gray-scale value equals test gray-scale value to last non-zero of first non-zero that photoelectric sensor receives adds 1;
According to the spacing value Z between X and the Y basis of calculation gray-scale value, Z=X/ (Y-1);
Calculate the standard grayscale value An corresponding to the test gray-scale value according to spacing value Z, An=Z*m, m are more than or equal to 0 and less than the integer of Y.
Preferential, said photoelectric sensor is charge coupled cell CCD.
The present invention also provides a kind of system of measuring LCD space light modulator gamma curve; Comprise the LCD space light modulator that is connected with external light source; Said system also comprises photoelectric sensor; Be connected with said LCD space light modulator, be used to receive the test gray-scale value of said LCD space light modulator output.
Preferential, be provided with the beam expanding lens of expanded light beam diameter between the LCD space light modulator of said system and the light source, be provided with the convex lens that are used for convergent pencil of rays between said photoelectric sensor and the LCD space light modulator.
Preferential, be connected with preceding polaroid between said LCD space light modulator and the light source, be connected with rear polarizer between the photoelectric sensor of said system and the LCD space light modulator.
Preferential; Be connected with preceding half-wave plate between said LCD space light modulator and the said preceding polaroid; Be connected with the back half-wave plate between said LCD space light modulator and the said rear polarizer; Be connected with attenuator and outer half-wave plate between said light source and the said preceding polaroid, outer half-wave plate is between attenuator and preceding polaroid.
Preferential, the photoelectric sensor of said system is charge coupled cell CCD.
The method and system of the measurement LCD space light modulator gamma curve that the present invention proposes utilize CCD to receive the gray-scale value of image, after handling through data normalization; Disposable generation gamma curve with respect to the mode of the reception output information of energy meter, has saved the number of times that writes gray level image at LCD space light modulator; Reduced the workload of measuring the gamma curve; In addition, with respect to the energy value of measuring with energy meter, the data stability of the gray-scale value that quantizes that receives with CCD is also higher.
Embodiment
Embodiment of the invention solution mainly is: in LCD space light modulator, write gray-scale value order continually varying image by size; Obtain the test gray-scale value of exporting in the LCD space light modulator through photoelectric sensor then; At last the test gray-scale value normalization of obtaining is handled, drawn the gamma curve.
The principle that the present invention measures LCD space light modulator gamma curve is: on the one hand, what the gamma curve reflected is under different gray-scale values, and input light is through the variation of energy behind the LCD space light modulator; On the other hand, the image that charge coupled cell CCD obtains, what the different gray-scale values of image reacted is the variation of energy, and energy high-gray level value more is also big more, and the two is directly proportional.
As shown in Figure 1, one embodiment of the invention proposes a kind of method of measuring LCD space light modulator gamma curve, comprising:
Step S1 writes image in LCD space light modulator, image comprises order continually varying standard grayscale value by size.
In the present embodiment; Write in the LCD space light modulator image as shown in Figures 2 and 3; This image also has 256*256 gray-scale value; Be included in the two-dimensional matrix of a 256*256, this every provisional capital of two dimensional gray matrix is a 0-255 gray-scale value of repetition, arbitrarily delegation to begin from left to right all be to be that zero (black rank) to gray-scale value is that 255 (white rank) increase progressively by the gray-scale value size order from gray-scale value; As shown in Figure 2; The imaging display effect of this image be one from left to right color wherein contain the standard grayscale value of measuring LCD space light modulator gamma curve by the picture of black rank to white rank even transition, this standard grayscale value is exactly the gray-scale value by said two-dimensional matrix regular distribution; The said image that contains the standard grayscale value evenly is imaged on the pixel planes of LCD space light modulator; Input light gets into all pixels that LCD space light modulator illuminates LCD space light modulator, receives the half-tone information that writes image, and the modulation conversion that contains the input light process LCD space light modulator that writes the gradation of image value information becomes output light.Step S2 obtains the test gray-scale value of exporting in the LCD space light modulator with charge coupled cell CCD, and the test gray-scale value is corresponding one by one with the standard grayscale value.
Through becoming output light to contain output gray level information after the modulation conversion of LCD space light modulator; The output test half-tone information that present embodiment obtains is a gray-scale value, and this test gray-scale value contains all data of drawing the gamma curve, in the present embodiment; Charge coupled cell CCD reads the wherein delegation arbitrarily that writes image when obtaining the test gray-scale value of said image; Of Fig. 4, when to read the standard grayscale value be 0 gray areas, the test gray-scale value of reception also was 0; Complete black background is 0 through gray-scale value after the denoising; The all corresponding test gray-scale value that receives of the gray areas of each standard grayscale value, the difference reaction of this test gray-scale value and standard grayscale value the LCD space light modulator self characteristics, collect the gamma curve that these data can be drawn LCD space light modulator.
Step S3 handles the test gray-scale value normalization of obtaining, and utilizes the normalization result to draw the gamma curve.
When the test gray value data that receives and known standard grayscale Value Data are drawn the gamma curve; At first the test gray-scale value being carried out normalization handles; Normalization is a kind of simplification calculation mode, does not influence under the prerequisite of the implication of data own in assurance, can make to calculate to become simple and direct.
As shown in Figure 5, the step S3 that utilizes the normalization result to draw the gamma curve comprises:
Step S31 confirms and the corresponding standard grayscale value of test gray-scale value;
Step S32 with the standard grayscale value of test gray-scale value divided by correspondence, as ordinate, sets up coordinate system with the standard grayscale value as horizontal ordinate with its result, draws the gamma curve.
In the present embodiment; Divided by the standard grayscale value of correspondence, the standard grayscale value is the CCD gray-scale value that can receive in theory just, after the standard grayscale value of test gray-scale value divided by correspondence with the test gray-scale value; Can obtain corresponding normalization result, these distribution of results are between 0-1.
In reality, 256 all gray-scale values of read test gray-scale value not that is to say that the test gray-scale value of reception is not that pointwise is corresponding with the standard grayscale value, therefore, also need confirm the position of the standard grayscale value of the test gray-scale value that correspondence receives.
As shown in Figure 6, confirm that the step S31 of the standard grayscale value corresponding with the test gray-scale value comprises:
Step S311 confirms to write the maximal value X of the standard grayscale value of LCD space light modulator;
Step S312 confirms that the number of test gray-scale value that the number Y of the test gray-scale value that photoelectric sensor receives, the number Y of test gray-scale value equal test gray-scale value to last non-zero of first non-zero that photoelectric sensor receives adds 1;
Step S313 is according to the spacing value Z between X and the Y basis of calculation gray-scale value, Z=X/ (Y-1);
Step S314 calculates the standard grayscale value An corresponding to the test gray-scale value according to spacing value Z, and An=Z*m, m are more than or equal to 0 and less than the integer of Y.
In the present embodiment, obtain the standard grayscale value of the actual grey that correspondence receives, at first confirm to write the maximal value X of the standard grayscale value of LCD space light modulator with charge coupled cell CCD; This maximal value X is exactly the maximum gradation value 255 that writes image in the present embodiment, the number of the test gray-scale value of confirming then to receive, and the position of reading is as shown in Figure 4; Test gray-scale value previous that the number Y of test gray-scale value equals first non-zero is the number of the test gray-scale value of gray-scale value to last non-zero of zero; The number of test gray-scale value that is test gray-scale value to last non-zero of first non-zero adds 1, and according to the interval 255/ (Y-1) that the test gray-scale value number Y that confirms can get the standard grayscale value of corresponding test gray-scale value, then the standard grayscale value corresponding to the test gray-scale value is an ordered series of numbers 0; 255/ (Y-1); 2*255/ (Y-1) ..., (Y-2) * 255/ (Y-1); 255; For example, if the test gray-scale value that reads is 0,0,0, (0,2,40,80,120,230), 0,0,0,0, then be the half-tone information of the test gray-scale value of the image output that writes LCD space light modulator in the bracket; Therefore can test gray-scale value number Y=6; Promptly the number of corresponding standard grayscale value also is 6, can get the interval 255/ (6-1)=51 of the standard grayscale value of corresponding test gray-scale value thus, and then correspondence test gray-scale value is that 0,2,40,80,120,230 standard grayscale value is 0,51,102,153,204,255.
Special declaration be; Can obtain whole 256 test gray-scale values with charge coupled cell CCD on the principle, it is accurate more that the test gray-scale value of collection obtains the result more, so test the gray-scale value number in the present embodiment and be exemplified as 6 and be merely concise description step S31; So that understand; In reality is implemented, can get for example 16 according to different testing requirements, 86 grades are more tested the gray-scale value number and are confirmed corresponding more accurate standard grayscale value.
After collecting these data; Through testing gray-scale value obtains correspondence divided by the standard grayscale value of correspondence normalization result;, as horizontal ordinate, set up coordinate system and just generated the gamma curve of wanting required for the present invention as ordinate with the data after these normalization with the data of standard grayscale value.
As shown in Figure 7; One embodiment of the invention proposes a kind of system of measuring LCD space light modulator gamma curve; Comprise the LCD space light modulator that is connected with external light source; System also comprises photoelectric sensor, and said photoelectric sensor is connected with LCD space light modulator, is used to receive the test gray-scale value of LCD space light modulator output.
In the present embodiment, system adopts charge coupled cell CCD 3 to receive the test gray-scale value of exporting, and the beam expanding lens group 4 of expanded light beam diameter is arranged between the LCD space light modulator 2 of system and the light source 1; The convex lens 5 that a convergent beam is arranged between charge coupled cell CCD 3 and the LCD space light modulator 2 have preceding polaroid 6 between the LCD space light modulator 2 of system and the light source 1, preceding polaroid 6 is between light source 1 and beam expanding lens group 4; Between the charge coupled cell CCD 3 of system and the LCD space light modulator 2 rear polarizer 9 is arranged; Preceding half-wave plate 7 is arranged between LCD space light modulator 2 and the preceding polaroid 6, and preceding half-wave plate 7 has back half-wave plate 8 between LCD space light modulator 2 and the rear polarizer 9 between beam expanding lens group 4 and LCD space light modulator 2; Wherein preceding polaroid 6 is placed with rear polarizer 9 at angle; Preceding polaroid 6 can send light with light source 1 and be filtered into linearly polarized photon, has played effect partially, and rear polarizer 9 can be controlled passing through through the modulation linearity polarized light; Play the analyzing effect; An attenuator 11 is arranged behind the light source 1, an outer half-wave plate 10 is arranged behind the attenuator 11, outer half-wave plate 10 and attenuator 11 are between light source 1; Attenuator 11 is used for the light decay that light source 1 sends is kept to suitable light intensity, and preceding half-wave plate 7, back half-wave plate 8 and outer half-wave plate 10 are used to control the polarization direction of light.
The system of the measurement LCD space light modulator gamma curve of present embodiment is not limited to above-mentioned optics Control Component, can also be according to common optical elements such as different light path design and actual needs increase and decrease prism mirrors.
System's implementation of the measurement LCD space light modulator gamma curve in the present embodiment depends on the method for the measurement LCD space light modulator gamma curve in this enforcement, and the embodiment of present embodiment system sees also said method.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.