Summary of the invention
Adjustment process based on traditional GAMMA curve is complicated, and the problem that adjustment cost is higher, provides a kind of GAMMA curve adjustment method.
A kind of GAMMA curve adjustment method, comprises the steps:
S1, reception optimization information, wherein this optimization information comprises parameters, the GTG number list of register, and the parameters of described register comprises the identifying information of destination register and the variation range of the register value corresponding with this identifying information;
S2, according to described optimization information, show the image corresponding with a GTG numerical value in described GTG number list;
S3, obtain described image information and store, wherein the information of this image comprises the intrinsic brilliance numerical value of described image;
Repeat above-mentioned S2 ~ S3 step, until obtain the information of the image under each the GTG numerical value in described GTG number list;
S4, according to described intrinsic brilliance numerical value, calculate the actual GAMMA value corresponding with this intrinsic brilliance numerical value;
S5, calculate actual GAMMA value described in each and the variance of target GAMMA value preset, and tried to achieve variance is sued for peace;
Repeating said steps S1 ~ S5;
S6, by calculate gained variance and by arranging from small to large.
Wherein in an embodiment, described step S1 specifically comprises:
The information of S10, reception user input, the information of wherein said input comprises the number of GTG, the parameters of described register and the specified command of register;
S11, calculate grey decision-making according to the number of described GTG, obtain GTG number list;
S12, identifying information according to described destination register, find destination register, arrange the variation range of this target register values;
S13, specify the relation of non-targeted register and destination register according to the specified command of described register, make the value of non-targeted register after the value of destination register is determined, relation according to described non-targeted register of specifying and destination register is determined, the pass of wherein said non-targeted register of specifying and destination register is equal or complementary.
Wherein in an embodiment, also comprise before described step S10:
Receive the target GAMMA value of user's input; Or
Receive GTG numerical value and the brightness number percent of user's input, according to described GTG numerical value and brightness number percent, calculate target GAMMA value.
Wherein in an embodiment, the step of described calculating actual GAMMA value adopts following formula:
γ
n’=(log(LA’-L0’)-log(L255’-L0’))/(log(A-0)-log(255-0));
Wherein LA ' is the actual measurement brightness of display module under GTG A, and L0 ' is the actual measurement brightness of display module when GTG is 0, and L255 ' is the actual measurement brightness of display module when GTG is 255, γ
n' be actual GAMMA value.
A kind of GAMMA curve adjustment system, comprises testing control module, optical parametric tester and test module:
Described test module is for receiving optimization information, wherein this optimization information comprises parameters, the GTG number list of register, and the parameters of described register comprises the identifying information of destination register and the variation range of the register value corresponding with this identifying information.;
Described testing control module controls display module according to described optimization information, shows the image corresponding with a GTG numerical value in described GTG number list;
Described test module obtains the information of described image and stores, and wherein the information of this image comprises the intrinsic brilliance numerical value of described image; Wherein, the information of the image under described test module obtains in described GTG number list each GTG numerical value;
Described test module, according to described intrinsic brilliance numerical value, calculates the actual GAMMA value corresponding with this intrinsic brilliance numerical value;
Described test module calculates the variance of actual GAMMA value described in each and default target GAMMA value, and sues for peace to tried to achieve variance;
Described test module is by the variance of calculating gained with by arranging from small to large.
Wherein in an embodiment, described test module specifically for:
Receive the information of user's input, the information of wherein said input comprises the number of GTG, the parameters of described register and the specified command of register;
Number according to described GTG calculates grey decision-making, obtains GTG number list;
According to the identifying information of described destination register, find destination register, the variation range of this target register values is set;
The relation of non-targeted register and destination register is specified according to the specified command of described register, make the value of non-targeted register after the value of destination register is determined, relation according to described non-targeted register of specifying and destination register is determined, the pass of wherein said non-targeted register of specifying and destination register is equal or complementary.
Wherein in an embodiment, described test module is also for receiving the target GAMMA value of user's input; Or
Receive GTG numerical value and the brightness number percent of user's input, according to described GTG numerical value and brightness number percent, calculate target GAMMA value.
Wherein in an embodiment, described test module adopts following formula when calculating actual GAMMA value:
γ
n’=(log(LA’-L0’)-log(L255’-L0’))/(log(A-0)-log(255-0));
Wherein LA ' is the actual measurement brightness of display module under GTG A, and L0 ' is the actual measurement brightness of display module when GTG is 0, and L255 ' is the actual measurement brightness of display module when GTG is 255, γ
n' be actual GAMMA value.
Above-mentioned adjustment method and debug system, first target GAMMA value is obtained, multiple different actual GAMMA value is obtained according to different GTG numerical value, calculate the variance of actual GAMMA value and target GAMMA value, and by the variance summation with gained under the register parameters once inputted, to the variance of gained be calculated and form list according to order arrangement from small to large, user can according to the actual GAMMA value of this list acquisition near target GAMMA value, and the related register obtaining this actual GAMMA value is arranged and GTG numerical value, when needs reuse, directly can use the data in list, without the need to suboptimization again, compared to than traditional adjustment method, substantially increase debugging efficiency.
Embodiment
Below in conjunction with drawings and Examples, GAMMA curve adjustment method of the present invention and debug system are further described.
As shown in Figure 2, be the GAMMA curve adjustment system module map of an embodiment.This GAMMA curve adjustment system 10 for regulating the GAMMA curve of display module 20 to be tested, to obtain target GAMMA curve.This GAMMA curve adjustment system 10 comprises testing control module 110, optical parametric tester 120 and test module 130.Wherein, described testing control module 110 comprises the first communication interface 112 and display module control interface 114, testing control module 110 is communicated to connect with test module 130 by the first communication interface 112, and is connected with display module 20 to be tested by display module control interface 114.Described optical parametric tester 120 comprises second communication interface 122 and test probe 124, and optical parametric tester 120 is communicated to connect by second communication interface 122 and test module 130, and tests the brightness of display module 20 by test probe 124.
Test module 130 is for receiving optimization information, and wherein this optimization information comprises parameters, the GTG number list of register.For different test requests, test module 130 can store multiple with the test pattern one to one of the GTG in GTG number list, is not restricted this herein, as preferably, can store the test pattern of 16 GTGs, 32 GTGs or 64 GTGs for test.After test starts, the optimization information received can be sent to testing control module 110 by the first communication interface 112 by test module 130, and the test pattern of multiple different GTG is sent to testing control module 110 one by one.After testing control module 110 receives optimization information, control display module 20 by display module control interface 114 and show the image corresponding with a GTG numerical value in described GTG number list.
Test module 130 receives optimization information, and detailed process is as follows:
1. receive the information of user's input, the information of wherein said input comprises the number of GTG, the parameters of described register and the specified command of register.GTG number represents the gray scale of 0 to 255 is divided into how many parts.Such as 16 GTGs, are divided into 16 parts the gray scale of 0 to 255, particularly exactly, described parameters comprises the identifying information of destination register, target register values, also can comprise, the information such as the specified command of destination register and non-targeted register, do not limit this herein.
2. calculate grey decision-making according to the number of described GTG, obtain GTG number list.According to the GTG numerical value in the list of grey exponent number determination GTG, such as, for the situation of 16 GTGs, store 17 grey decision-making in GTG number list, wherein gray values is respectively { 0,15,31,47,63 ... 223,239,255}.
3. according to the identifying information of described destination register, find destination register, the variation range of this target register values is set.This identifying information comprises any information of these registers of identifiable design such as the ID of register, is not restricted this herein.When specifically testing, not needing to arrange all registers, when register number is numerous, all registers is arranged debug time can be made long.Therefore, some destination registers can be selected from all registers, be its set-up register value and variation range, make destination register change value in this variation range, thus form the setting of many group registers.And for remaining non-targeted register, testing control module 110 control display module 20 show test pattern time, for default value inserted by non-targeted register.
Use as default except allowing non-targeted register, the relation of non-targeted register and destination register also can be specified according to the specified command of described register, the value of non-targeted register is determined according to described relation of specifying after the value of destination register is determined, wherein said pass of specifying is equal or complementary (namely the voltage sum of the two is maximum adjustable voltage).
Testing control module 110 controls display module 20 according to described optimization information, shows the image corresponding with a GTG numerical value in described GTG number list.After display module 20 shows test pattern, test module 130 sends test instruction by second communication interface 122 to optical parametric tester 120, make optical parametric tester 120 test the intrinsic brilliance of display module 20 under current gray image by test probe 124, and intrinsic brilliance numerical value is returned to test module 130 by second communication interface 122.
Test module 130 obtains the information of described image and stores, and wherein the information of this image comprises the intrinsic brilliance numerical value of described image; Wherein, the information of the image under testing control module 120 obtains in described GTG number list each GTG numerical value.
Test module 130, according to described intrinsic brilliance numerical value, calculates the actual GAMMA value corresponding with this intrinsic brilliance numerical value.Calculate the variance of actual GAMMA value described in each and default target GAMMA value, and tried to achieve variance is sued for peace.By the variance of calculating gained with by arranging from small to large.Test module 130 adopts following formula when calculating actual GAMMA value:
γ
n’=(log(LA’-L0’)-log(L255’-L0’))/(log(A-0)-log(255-0));
Wherein LA ' is the actual measurement brightness of display module under GTG A, and L0 ' is the actual measurement brightness of display module when GTG is 0, and L255 ' is the actual measurement brightness of display module when GTG is 255, γ
n' be actual GAMMA value.
Wherein n is the sequence number of gray scale image, after showing different gray scale image one by one, can calculate a GAMMA value after carrying out luminance test to each width gray scale image.Such as, for 16 gray scale images, one meets together and obtains 15 GAMMA values, because when GTG A equals 0 and A=255, be the black of minimum gray scale and most high gray white, they are both benchmark, do not have GAMMA value.On formula, working as A=0, is all nonsensical during A=255, so for 16 GTGs, its GTG numerical value has 17,17-2=15, and for 32 gray scale images, and one meets together and obtains 31 GAMMA values.These GAMMA values, these GAMMA values calculating gained are arranged by a kind of register to be determined.
The actual GAMMA value of gained according to the actual GAMMA value under this this GTG of intrinsic brilliance numerical evaluation, and is preserved by test module 130.Test module 130 all performs above-mentioned test intrinsic brilliance to each width GTG test pattern and calculates the operation of actual GAMMA value, until all GTG test patterns all transmit and shown.Then test module 130 can be chosen next group optimization information and repeat said process.
The actual GAMMA value of gained is according to the result of calculation of intrinsic brilliance data under corresponding GTG.An actual GAMMA numerical value can be calculated according to a width gray scale image, after therefore different to several gray scale images has been tested, multiple actual GAMMA numerical value can be obtained.Obtained actual GAMMA numerical value can be kept in an array, and arrange with corresponding register value and form corresponding form, and store.Meanwhile, the data in this array can also reflect the corresponding relation of actual GAMMA numerical value and GTG numerical value.
Arrange after debugging completes at all registers, carry out analyzing filtering out to the actual GAMMA value of gained and meet pre-conditioned register and arrange.Meet under pre-conditioned register arranges at this, the GAMMA curve of display module 20 is closest to target GAMMA curve.
Test module 130 is also for receiving the target GAMMA value of user's input; Or receive the target GAMMA value that user pre-sets, wherein input mode comprises both:
Such as, when directly inputting target GAMMA value γ (such as 2.2,2.4 etc.), once GAMMA value is determined, whole piece curve (i.e. power function curve y=x
gamma) determine thereupon.In this setup, require that the response under all GTGs is consistent.
Or the GTG number of input and brightness number percent, according to described GTG GTG and brightness number percent, calculate target GAMMA value, wherein said brightness number percent is corresponding with the GTG numerical value calculated according to described GTG number.
When GTG number and brightness number percent are set.Ash exponent number is generally the multiple of 2, such as 16 GTGs, 32 GTGs and 64 GTGs etc.To the test of 16 GTGs, store 17 grey decision-making in GTG number list, wherein gray values is respectively { 0,15,31,47,63 ... 223,239,255}.In like manner, to the test of 64 GTGs, its GTG numerical value array is { 0,3,7,11,15,19 ... 243,247,251,255} has the brightness under 65 gray scales altogether.This setup may have different requirements to the GAMMA value under each GTG, and also namely target GAMMA value has multiple, requires that display module is when showing, and has different responses under different GTGs.Now target GAMMA value adopts following formula to calculate: γ
n=log (LA)/(log (A)-log (255)), wherein LA is brightness number percent, and A is grey decision-making, and wherein LA and A is corresponding.
Preferably, also can the legitimate skew of Offered target GAMMA value, namely the value range of target GAMMA value is inputted, because the actual GAMMA value calculated substantially can not be completely consistent with target GAMMA value, as long as actual GAMMA value is in target GAMMA value legitimate skew, also think relatively near target GAMMA value.When the actual GAMMA value calculated is not obviously in tolerance interval, data analysis (calculate variance and and preserve) can not be applied to, the speed of whole optimizing process can be accelerated so further.Further, this legitimate skew also can directly set (such as GAMMA ± 0.2), or carries out deviation setting to the brightness number percent under each GTG, then goes out corresponding GAMMA value deviation according to above-mentioned formulae discovery.When the actual GAMMA value of calculating gained is in the scope of described target GAMMA value, this GAMMA value is reasonable value, can select more reasonably numerical value, can screen more near the actual GAMMA curve of target GAMMA curve in all reasonable values.Therefore following computing can be carried out to reasonable value:
Test module 130 is by calculating the variance of GAMMA value and and screening.
Calculate same register value and variance between lower obtained multiple GAMMA value and target GAMMA value is set, and sue for peace.According to the difference of above-mentioned target GAMMA value set-up mode, specifically comprise two kinds of situations:
1. calculate (γ
1'-γ)
2, (γ
2'-γ)
2..., (γ
n'-γ)
2, and sue for peace.
2. calculate (γ
1'-γ
1)
2, (γ
2'-γ
2)
2..., (γ
n'-γ
n)
2, and sue for peace.
Above-mentioned two kinds of modes can calculate register and arrange gap between corresponding GAMMA curve and target GAMMA curve, and wherein the γ of first formula is the target GAMMA value that user directly inputs, the γ in second formula
1, γ
2,, γ
nfor user inputs the grey exponent number of GTG number system-computed gained.
All register values tested are arranged, perform above-mentioned calculating variance and summation step, after calculating by variance and the ascending arrangement of numerical value form form, select for user, wherein this form can comprise variance and the data such as numerical value and the register parameters corresponding with it, target GAMMA value, GTG number, GTG numerical value, will not enumerate herein, this form mainly supplies user according to form related data, from wherein mask register setting, such as user can select the register parameters corresponding with minimum variance and numerical value as required
Obtain variance and minimum several register values settings.Such as can choose 3 variances and the setting of minimum register value.Variance and less, shows that this register arranges more close required setting, also namely more closely obtains target GAMMA curve.When user uses without the need to again optimizing register, improve optimization efficiency to a certain extent.
In above-mentioned debug system 10, testing control module 110 can select ARM plate, integrated data process chip, data communication interface and video communication interface on it, wherein data communication interface is used as the first above-mentioned communication interface 112, can be the wireline interface such as USB interface, com interface or the wave point such as bluetooth, WIFI.Video communication interface is used as above-mentioned display module control interface 114, for transmitting video data.Data processing chip is used for processing register value and test pattern data and forwarding.
Optical parametric tester 120 adopts the testing tool possessing data communication function, second communication interface 122 as data communication can be the wireline interface such as USB interface, com interface or the wave point such as bluetooth, WIFI, test probe 124 mainly optic probe.Optical parametric tester 120 specifically can adopt the instruments such as such as CA-210, CA-310 and CS2000.
Test module 130 adopts the assembly with data input and output and data computing power, such as computer system.The test procedure of debugging GAMMA curve runs in this computer system.Can be provided by designer's machine interactive interface and register value and the function such as startup and closedown test procedure are manually set.
In the present embodiment, first target GAMMA value is obtained, multiple different actual GAMMA value is obtained according to different GTG numerical value, calculate the variance of actual GAMMA value and target GAMMA value, and by the variance summation with gained under the register parameters once inputted, to the variance of gained be calculated and form list according to order arrangement from small to large, user can according to the actual GAMMA value of this list acquisition near target GAMMA value, and the related register obtaining this actual GAMMA value is arranged and GTG numerical value, when needs reuse, directly can use the data in list, without the need to suboptimization again, compared to than traditional adjustment method, substantially increase debugging efficiency.
As shown in Figure 3, a kind of GAMMA curve adjustment method is also provided.The method is used for the GAMMA curve adjustment of display module 20 to close to target GAMMA curve.Comprise the steps:
S1, reception optimization information, wherein this optimization information comprises parameters, the GTG number list of register.The parameters of wherein said register comprises the identifying information of destination register and the variation range of the register value corresponding with this identifying information.User can use all registers as required, also can use component register, according to obtained parameters, sets the variation range of destination register and register value thereof, makes the value of this destination register change value in described variation range.
In the present embodiment, described step S1 specifically comprises:
The information of S10, reception user input, the information of wherein said input comprises the number of GTG, the parameters of described register and the specified command of register.GTG number represents the gray scale of 0 to 255 is divided into how many parts.Such as 16 GTGs, are divided into 16 parts the gray scale of 0 to 255 exactly.Particularly, described parameters comprises the identifying information of destination register, target register values, also can comprise, and the information such as the specified command of destination register and non-targeted register, do not limit this herein.
S11, calculate grey decision-making according to the number of described GTG, obtain GTG number list.According to the GTG numerical value in the list of GTG number determination GTG, such as, for the situation of 16 GTGs, store 17 grey decision-making in GTG number list, wherein gray values is respectively { 0,15,31,47,63 ... 223,239,255}, in like manner, to the situation of 64 GTGs, its GTG numerical value array is { 0,3,7,11,15,19 ... 243,247,251,255} has 65 altogether.
S12, identifying information according to described destination register, find destination register, arrange the variation range of this target register values.This identifying information comprises any information of these registers of identifiable design such as the ID of register, is not restricted this herein.When specifically testing, not needing to arrange all registers, when register number is numerous, all registers is arranged debug time can be made long.Therefore, some destination registers can be selected from all registers, be its set-up register value and variation range, make destination register change value in this variation range, thus form the setting of many group registers.And for remaining non-targeted register, the value of non-targeted register can be used as default.
An optimal way of the present embodiment, except above-mentioned steps, also can comprise step S13.
S13, specify the relation of non-targeted register and destination register according to the specified command of described register, the value of non-targeted register is determined according to described relation of specifying after the value of destination register is determined, wherein said pass of specifying is equal or complementary (namely the voltage sum of the two is maximum adjustable voltage).
S2, according to described optimization information, show the image corresponding with a GTG numerical value in described GTG number list.For different test requests, the test pattern of different GTG can be provided, such as, can select the test pattern etc. that the test pattern of 16 GTGs, the test pattern of 32 GTGs or 64 GTGs are provided, this is not restricted herein.A GAMMA curve (or a GAMMA numerical value) of one group of register value parameters correspondence display module 20, after register parameters is determined, display module 20 just responds with this GAMMA curve, display test pattern.
S3, obtain described image information and store, wherein the information of this image comprises the intrinsic brilliance numerical value of described image; The brightness detecting test pattern can adopt special optical parametric tester, and it can receive test instruction, by the intrinsic brilliance value on optic probe detection display module surface, and is returned by brightness data.
Repeat above-mentioned S2 ~ S3 step, until obtain the information of the image under each the GTG numerical value in described GTG number list.
S4, according to described intrinsic brilliance numerical value, calculate the actual GAMMA value corresponding with this intrinsic brilliance numerical value.Under a kind of GAMMA curve, the test pattern of different GTG can present different brightness, this GAMMA curve and the GTG residing for test pattern are depended in this brightness, therefore by detecting the brightness of test pattern, can calculate a GAMMA numerical value according to the nitometer of test pattern.Suppose that LA ' is the actual measurement brightness of display module under GTG A, L0 ' is the actual measurement brightness of display module when GTG is 0, and L255 ' is the actual measurement brightness of display module when GTG numerical value is 255, then GAMMA value (γ
n') following formula can be adopted to calculate:
γ
n’=(log(LA’-L0’)-log(L255’-L0’))/(log(A-0)-log(255-0))。
Wherein n is the sequence number of gray scale image, after showing different gray scale image one by one, can calculate a GAMMA value after carrying out luminance test to each width gray scale image.Such as, for 16 gray scale images, one meets together and obtains 15 GAMMA values, because when A equals 0, with during A=255, be that black and the most high gray of minimum gray scale is white, they are both benchmark, do not have GAMMA value.On formula, working as A=0, is all nonsensical seeing during A=255, so for 16 GTGs, its GTG numerical value has 17,17-2=15, and for 32 gray scale images, and one meets together and obtains 31 GAMMA values.These GAMMA values, these GAMMA values calculating gained are arranged by a kind of register to be determined.
The actual GAMMA value of gained is according to the result of calculation of brightness data under corresponding GTG.A GAMMA numerical value can be calculated according to a width gray scale image, after therefore different to several gray scale images has been tested, multiple GAMMA numerical value can be obtained.Obtained GAMMA numerical value can be kept in an array, and corresponding stored is set with corresponding register value.Meanwhile, the data in this array can also reflect the corresponding relation of GAMMA numerical value and GTG.
The object calculating GAMMA numerical value picks out the register that can obtain the GAMMA curve close with target GAMMA curve to arrange.Therefore, the step of Offered target GAMMA curve is also comprised before described step S10.
Target GAMMA curve liquid crystal display module will be debugged the response curve of display brightness relative to control voltage, is the target that above-mentioned test process finally will be reached.Therefore, first Offered target GAMMA curve, and provide screening conditions just can obtain satisfactory register to arrange.
Offered target GAMMA curve has two kinds of modes:
Receive the target GAMMA value of user's input; Or
Receive GTG number and the brightness number percent of user's input, according to described GTG number and brightness number percent, calculate target GAMMA value.
Direct given GAMMA value γ (such as 2.2,2.4 etc.) time, once GAMMA value is determined, whole piece curve (i.e. power function curve y=x
gamma) determine thereupon.In this setup, require that the response under all GTGs is consistent.
When GTG numerical value and brightness number percent are set.Ash exponent number is generally the multiple of 2, such as 16 GTGs, 32 GTGs and 64 GTGs etc.To the test of 16 GTGs, its GTG numerical value array is { 0,15,31,47,63 ... 223,239,255}, the brightness altogether under 17 gray values.In like manner, to the test of 64 GTGs, its GTG numerical value array is { 0,3,7,11,15,19 ... 243,247,251,255} has the brightness under 65 gray scales altogether.This setup may have different requirements to the GAMMA under each GTG, and also namely target GAMMA value has multiple, requires that display module is when showing, and has different responses under different GTGs.Now target GAMMA value adopts following formula to calculate: γ
n=log (LA)/(log (A)-log (255)), wherein LA is brightness number percent, and A is grey decision-making, and wherein LA and A is corresponding.
Finally, also can the legitimate skew of Offered target GAMMA value, namely the value range of target GAMMA value is inputted, because the actual GAMMAGAMMA value calculated substantially can not be completely consistent with target GAMMA value, when the actual GAMMA value calculated is not obviously in tolerance interval, data analysis (calculate variance and and preserve) can not be applied to, the speed of whole optimizing process can be accelerated so further.As long as actual GAMMA value is in target GAMMA value legitimate skew, also think relatively near target GAMMA value.Same, this legitimate skew also can directly set (such as GAMMA ± 0.2), or carries out deviation setting to the brightness number percent under each GTG, then goes out corresponding GAMMA value deviation according to above-mentioned formulae discovery.
Select suitable register to arrange and this register arranges lower actual GAMMA value, namely under this register is arranged, namely when the actual GAMMA value of calculating gained is in the scope of described target GAMMA value, execution following steps S5 and S6.
S5, calculate actual GAMMA value described in each and the variance of target GAMMA value preset, and tried to achieve variance is sued for peace.
Calculate same register value and variance between lower obtained multiple GAMMA value and target GAMMA value is set, and sue for peace.According to the difference of above-mentioned target GAMMA set-up mode, specifically comprise two kinds of situations:
1. calculate (γ
1'-γ)
2, (γ
2'-γ)
2..., (γ
n'-γ)
2, and sue for peace.
2. calculate (γ
1'-γ
1)
2, (γ
2'-γ
2)
2..., (γ
n'-γ
n)
2, and sue for peace.
Above-mentioned two kinds of modes can calculate register and arrange gap between corresponding GAMMA curve and target GAMMA, and wherein the γ of first formula is the target GAMMA value that user directly inputs, the γ in second formula
1, γ
2,, γ
nfor user inputs the grey exponent number of GTG number system-computed gained.
Repeating said steps S1 ~ S5, until all variances asked and (namely there is no new optimization information), rear steering step S6.
S6, by calculate gained variance and by arranging from small to large.All register values tested are arranged, performs above-mentioned calculating variance and summation step.After calculating by variance and the ascending arrangement of numerical value form form, select for user, wherein this form can comprise variance and the data such as numerical value and the register parameters corresponding with it, target GAMMA value, GTG number, GTG numerical value, will not enumerate herein, this form mainly supplies user according to form related data, from wherein mask register setting, such as user can select the register parameters corresponding with minimum variance and numerical value as required, obtains variance and minimum several register values settings.Such as can choose 3 variances and the setting of minimum register value.Variance and less, shows that this register arranges more close required setting, also namely more closely obtains target GAMMA curve.When user uses without the need to again optimizing register, improve optimization efficiency to a certain extent.
In the present embodiment, first target GAMMA value is obtained, multiple different actual GAMMA value is obtained according to different GTG numerical value, calculate the variance of actual GAMMA value and target GAMMA value, and by the variance summation with gained under the register parameters once inputted, to the variance of gained be calculated and form list according to order arrangement from small to large, user can according to the actual GAMMA value of this list acquisition near target GAMMA value, and the related register obtaining this actual GAMMA value is arranged and GTG numerical value, when needs reuse, directly can use the data in list, without the need to suboptimization again, compared to than traditional adjustment method, substantially increase debugging efficiency.
In above-mentioned test process, the actual GAMMA value arranged corresponding to lower each tested GTG at various register all can be preserved, and therefore when user's request changes, can also screen from these registers are arranged, the register obtaining meeting user's request is arranged, and avoids repeated work.
Above-mentioned adjustment method and debug system, arrange according to obtained register value and automatically can complete image display, brightness detection, GAMMA numerical evaluation and preservation, can carry out analyzing obtaining meeting pre-conditioned register value setting according to the data of preserving.Compared to than traditional adjustment method, substantially increase testing efficiency.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.