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, image comprises main viewing area and two auxiliary viewing areas that are positioned at both sides, main viewing area, and main viewing area comprises the first standard grayscale information, and auxiliary viewing area comprises the second standard grayscale information;
LCD space light modulator filters the second standard grayscale information and the first standard grayscale information translation is the test half-tone information and outputs to photoelectric sensor;
The test half-tone information that photoelectric sensor is obtained carries out the normalization processing, utilizes the normalization result to draw the gamma curve
Preferential; Said first standard grayscale information and the said second standard grayscale information all comprise a plurality of standard grayscale values, the number of the standard grayscale value that the number of the standard grayscale value that the said first standard grayscale information is comprised is comprised more than the said second standard grayscale value information.
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 half-tone information is carried out normalization to handle, the step of utilizing result after the normalization to draw the gamma curve comprises:
Confirm with said test half-tone information in each test the corresponding standard grayscale value of 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 standard grayscale value corresponding with said test 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.
The present invention also provides a kind of system of measuring LCD space light modulator gamma curve; Comprise the light source, LCD space light modulator and the photoelectric sensor that are provided with in regular turn along light path; Said light source output beam gets into said photoelectric sensor through said LCD space light modulator, and said photoelectric sensor is used to receive the test half-tone information of 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 beam between said photoelectric sensor and the LCD space light modulator.
Preferential, be provided with preceding polaroid between said LCD space light modulator and the light source, be provided with rear polarizer between the photoelectric sensor of said system and the LCD space light modulator.
Preferential; Be provided with preceding half-wave plate between said LCD space light modulator and the said preceding polaroid; Be provided with the back half-wave plate between said LCD space light modulator and the said rear polarizer; Be provided 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, said photoelectric sensor is charge coupled cell CCD.
The method and system of the measurement LCD space light modulator gamma curve that the present invention proposes; Utilize the gray-scale value of photoelectric sensor reception image, after handling through data normalization, disposable generation gamma curve; Mode with respect to the reception output information of energy meter; Save 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 photoelectric sensor is also higher.In addition, the present invention has increased auxiliary viewing area to the image that photoelectric sensor received, and has eliminated the influence that the image diffraction reads photoelectric sensor data, further improves the accuracy that photoelectric sensor data reads.
Embodiment
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 photoelectric sensor 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 main viewing area and two auxiliary viewing areas that are positioned at both sides, main viewing area, and main viewing area comprises the first standard grayscale information, and auxiliary viewing area comprises the second standard grayscale information.
Said first standard grayscale information and the said second standard grayscale information all comprise a plurality of standard grayscale values, the number of the standard grayscale value that the number of the standard grayscale value that the said first standard grayscale information is comprised is comprised more than the said second standard grayscale value information.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.
In the present embodiment; Write in the LCD space light modulator image as shown in Figures 2 and 3; The first standard grayscale information of the main viewing area of this image comprises 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 to comprise 256 gray-scale values of identical from 0 to 255, and the gray-scale value of delegation all is from left to right according to being that 0 (black rank) to gray-scale value is that the order that the gray-scale value size on 255 (white rank) increases progressively is arranged by gray-scale value arbitrarily.The second standard grayscale information of two auxiliary viewing areas of this image all comprises 256*51 gray-scale value, is included in the two-dimensional matrix of a 256*51.The said every provisional capital of two dimensional gray matrix that is positioned at the auxiliary viewing area in left side, main viewing area is to comprise 51 gray-scale values of from 50 to 0, and promptly the gray-scale value of delegation all is from left to right according to being that 50 (GTG) to gray-scale values are that the order that the gray-scale value size on 0 (black rank) is successively decreased is arranged by gray-scale value arbitrarily.The said every provisional capital of two dimensional gray matrix that is positioned at the auxiliary viewing area on right side, main viewing area is to comprise 51 gray-scale values of from 255 to 205, and promptly arbitrarily the gray-scale value of delegation all is from left to right according to being that 255 (white rank) to gray-scale values are that the order that the gray-scale value size of 205 (GTGs) is successively decreased is arranged by gray-scale value.
Wherein, Needs according to practical operation; The two dimensional gray matrix of the main viewing area of said image also can all be that the order that increases progressively according to the gray-scale value size is from right to left arranged at the gray-scale value of any delegation; Accordingly, the two dimensional gray matrix of the auxiliary viewing area of said image all is that the order of successively decreasing according to the gray-scale value size is from right to left arranged at the gray-scale value of any delegation.
As shown in Figure 2; This image contains the standard grayscale value of measuring LCD space light modulator gamma curve; This standard grayscale value is exactly the gray-scale value by said two-dimensional matrix regular distribution; The said image master viewing area of containing the first standard grayscale information 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, and LCD space light modulator receives the first standard grayscale information that writes image master viewing area, and the modulation conversion that contains the input light process LCD space light modulator that writes the image master viewing area first standard grayscale information becomes output light.
Step S2, LCD space light modulator filter the second standard grayscale information and the first standard grayscale information translation are the test half-tone information and output to photoelectric sensor.Said test half-tone information comprises a plurality of test gray-scale values, and each test gray-scale value is all corresponding one by one with the first standard grayscale value.Said photoelectric sensor is charge coupled cell CCD.Become output light to contain the test half-tone information after the modulation conversion of the first standard grayscale information via LCD space light modulator of said image, the test half-tone information that present embodiment obtains 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 half-tone information 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, the test half-tone information that photoelectric sensor is obtained carries out the normalization processing, utilizes the normalization result to draw the gamma curve.
When drawing the gamma curve according to the test half-tone information that receives and known standard grayscale information; At first each the test gray-scale value in the said test half-tone information being carried out normalization handles; Normalization is a kind of simplification calculation mode; Do 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, confirm with said test half-tone information in each test the corresponding standard grayscale value of 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 information of the actual grey that correspondence receives, at first confirm to write the maximum gradation value X in the standard grayscale information 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 light source, LCD space light modulator and the photoelectric sensor that are provided with in regular turn along light path; Said light source output beam gets into said photoelectric sensor through said LCD space light modulator, and said photoelectric sensor is used to receive the test half-tone information of LCD space light modulator output.
In the present embodiment; System adopts charge coupled cell CCD 3 to receive the test half-tone information that said LCD space light modulator is exported, 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, is provided with the convex lens 5 of a convergent beam between charge coupled cell CCD 3 and the LCD space light modulator 2; Polaroid 6 before being provided with between the LCD space light modulator 2 of system and the light source 1; Preceding polaroid 6 has rear polarizer 9 between the charge coupled cell CCD 3 of system and the LCD space light modulator 2 between light source 1 and beam expanding lens group 4, preceding half-wave plate 7 is arranged between LCD space light modulator 2 and the preceding polaroid 6; Preceding half-wave plate 7 is between beam expanding lens group 4 and LCD space light modulator 2; Back half-wave plate 8 is arranged between LCD space light modulator 2 and the rear polarizer 9, and wherein preceding polaroid 6 is placed with rear polarizer 9 at angle, and preceding polaroid 6 can send light with light source 1 and be filtered into linearly polarized photon; Played effect partially; Rear polarizer 9 can be controlled through the passing through of modulation linearity polarized light, and plays the analyzing effect, and 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, and 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.
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.