CN103152602B - Method for measuring picture definition data of television - Google Patents

Method for measuring picture definition data of television Download PDF

Info

Publication number
CN103152602B
CN103152602B CN201310104911.4A CN201310104911A CN103152602B CN 103152602 B CN103152602 B CN 103152602B CN 201310104911 A CN201310104911 A CN 201310104911A CN 103152602 B CN103152602 B CN 103152602B
Authority
CN
China
Prior art keywords
television
data
host computer
picture definition
signal generator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310104911.4A
Other languages
Chinese (zh)
Other versions
CN103152602A (en
Inventor
马浩洋
李宏钧
吴智仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TPV Display Technology Xiamen Co Ltd
Original Assignee
TPV Display Technology Xiamen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TPV Display Technology Xiamen Co Ltd filed Critical TPV Display Technology Xiamen Co Ltd
Priority to CN201310104911.4A priority Critical patent/CN103152602B/en
Publication of CN103152602A publication Critical patent/CN103152602A/en
Application granted granted Critical
Publication of CN103152602B publication Critical patent/CN103152602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a method for measuring picture definition data of a television. The method comprises the steps of: generating a video signal by adopting a signal generator, measuring the picture definition data of the television through a color analyzer, processing the picture definition data by a computer host, setting a C++ visible development control in the computer host and a DLL (Dynamic Link Library) function base in the C++ visible development control, connecting a signal generator and the color analyzer with the computer host through a serial port, and connecting the computer host and the signal generator with the television through a serial port. According to the invention, data is transmitted among the computer host, the signal generator and the color analyzer by adopting a serial port communication protocol, and a DLL base storing a corresponding computing function of each picture definition parameter is arranged in the computer host, signal data transmitted to a television host by the signal generator and the color analyzer is read and displayed through an OLE (Object Linking and Embedding) control, and a data signal is automatically stored in EXCEL by combining with the C++ visible development control, and the corresponding function is called from the DLL base, and a tendency chart of the picture definition parameters of the television can be figured out.

Description

Measure the method for picture definition data of television
Technical field
The present invention relates to a kind of method measuring picture definition data of television.
Background technology
Existing measurement TV image quality parameter is all generally use instrument manual measurement, the words time of manual measurement is long and efficiency is low, after measurement completes, also need to carry out manual record data, because the data volume measured is larger, make writing task very loaded down with trivial details, its accuracy is also affected because of being manual probability, brings impact to production efficiency.
The TV image quality data of traditional measurement comprise color gamut value, gamma curve, colour temperature curve, RGBCMY(red, green, blue, green grass or young crops, fuchsin, Huang) with the distribution map of brightness, contrast, measures these data as seen, operate a time long, and in the large factory of production capacity, all will measure the image quality of every platform TV, workload is quite large.
Summary of the invention
The object of the present invention is to provide a kind of method of measurement picture definition data of television automatically can measured picture quality of television parameter, increase work efficiency.
For achieving the above object, the present invention adopts and relates to scheme below, it adopts signal generator to produce vision signal, color analysis instrument measures picture definition data of television, host computer processes image quality data, described host computer is provided with C++ visual development control, DLL function library is provided with in described C++ visual development control, described signal generator, color analysis instrument are connected with host computer by serial ports, described host computer is also connected with television set by serial ports with signal generator, and described method comprises the following steps:
1) in host computer, pre-enter the information of television set to be measured;
2) signal generator produces in vision signal input television set, television set produces video pictures, by the probe of color analysis instrument to the center position of aiming at television set, color analysis instrument carries out data acquisition to television set, and by the data collected with character string formed be input to send serial ports carry out buffer memory;
3) threshold value arranging the serial ports receive interruption of host computer is X byte, namely host computer often receives X byte, cause an interrupt event, host computer captures interruption, X byte data is received again from the transmission serial ports of signal generator and color analysis instrument, until receive all signal datas, described X is natural number;
4) host computer reads the signal data received according to serial communication protocol by C++ visual development control, and it is shown to automatically on OLE control, be provided with DLL function library in wherein said C++ visual development control, in described DLL function library, be provided with the computing function of picture definition data of television;
5) signal data is kept in Microsoft Excel by OLE control by host computer, and calls the computing function of the image quality data in corresponding DLL function library, obtains the value of picture definition data of television, and is automatically saved in Microsoft Excel.
Wherein, the computing function of described image quality data comprises colour gamut computing function, gamma curve computing function, RGBCMY COLOR COMPOSITION THROUGH DISTRIBUTION computing function and contrast computing function.
Described step 2) in be formed as character string to be converted to byte array form according to the relation of the corresponding byte of every 2 characters with character string.
Described step 1) television information to be measured comprises TV machine name, the model of liquid crystal panel, color temperature target value.
The present invention adopts above design, by arranging host computer, adopt serial communication protocol to carry out the transmission of data and control command between signal generator and color analysis instrument, the DLL storehouse of the corresponding computing function storing each image quality parameter is set in host computer, the signal data being transferred to TV main frame with display generator and color analysis instrument is read by OLE control (Object link and embedded control), in conjunction with C++ visual development control, achieve and data-signal is saved in EXCEL automatically, corresponding function is called again from DLL storehouse, the tendency chart of image quality on television parameter can be calculated, make the data more directly demonstrating image quality parameter, convenient operation personnel check, analyze, save the operating time, and it is more directly perceived, accurately.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation:
Fig. 1 is structural scheme of mechanism of the present invention.
Embodiment
As shown in Figure 1, the present invention adopts signal generator 1 to produce vision signal, color analysis instrument 2 measures television set 3 image quality data, host computer 4 pairs of image quality data process, described host computer 4 is provided with C++ visual development control, DLL function library is provided with in described C++ visual development control, described signal generator 1, color analysis instrument 2 are connected with host computer 4 by serial ports, described host computer 4 is also connected with television set 3 by serial ports with signal generator 1, and described method comprises the following steps:
1) in host computer 4, pre-enter the information of television set 3 to be measured;
2) signal generator 1 produces in vision signal input television set 3, television set 3 produces video pictures, by the probe 21 of color analysis instrument 2 to the center position of aiming at television set 3, color analysis instrument 1 pair of television set carries out data acquisition, and by the data collected with character string formed be input to send serial ports carry out buffer memory;
3) threshold value arranging the serial ports receive interruption of host computer 4 is X byte, namely host computer 4 often receives X byte, cause an interrupt event, host computer 4 captures interruption, X byte data is received again from the transmission serial ports of signal generator 1 and color analysis instrument 2, until receive all signal datas, described X is natural number;
4) host computer 4 reads the signal data received according to serial communication protocol by C++ visual development control, and it is shown to automatically on OLE control, be provided with DLL function library in wherein said C++ visual development control, in described DLL function library, be provided with the computing function of picture definition data of television;
5) signal data is kept in Microsoft Excel by OLE control by host computer 4, and calls corresponding DLL letter
The computing function of the image quality data in number storehouse, obtains the value of picture definition data of television, and is automatically saved in Microsoft Excel.
Wherein, the computing function of described image quality data comprises colour gamut computing function, gamma curve computing function, RGBCMY COLOR COMPOSITION THROUGH DISTRIBUTION computing function and contrast computing function.
Described step 2) in be formed as character string to be converted to byte array form according to the relation of the corresponding byte of every 2 characters with character string.
Described step 1) TV information to be measured comprises TV machine name, the model of liquid crystal panel, color temperature target value.
In the present invention, because signal generator, color analysis instrument, to be connected by serial ports between television set and host computer, therefore it adopts serial communication protocol, serial communication is divided into character string mode and Hex form according to data transfer method, and its essence is all in units of byte, transmit data in serial ports physical layer.The process of transmitting of character string mode each character is changed into corresponding ascii data, then issue the transmission of serial ports physical layer, such as sends character " abc ", the actual transmission of serial ports physical layer be 0x61 0x62 0x63; The Hex pattern then direct data by Hex form issues physical layer transmission.
Wherein C++ visual development control uses TeeChart control as chart show tools, wherein TeeChart ActiveX is a chart control, and can provide efficient, directly perceived, knot mouth is programmed in timesaving, it supports 2D, 3D figure, broken line can be drawn, loose point, pie chart, administrative division map, bubble chart, arrow, the multiple graphic model such as Gantt chart.
OLE control be Object Linking and Embedding and Object link and embedded, present title ActiveX control is the functional module that other people develop, and can directly be used in application program newly developed and need not again develop, to improve development efficiency, it can read and write EXCEL file.
OLE control needs three variablees and vExcelApp, vWorkbook, vSheet to be endowed EXCEL program ID respectively, book ID, cell ID.
All settings and operation use three methods below:
1. object properties are set: void OlePropertySet (attribute-name, parameter ...);
2. obtain object properties: Variant OlePropertyGet (attribute-name, parameter ...);
3. allocating object method is:
Variant OleFunction (function name, parameter ...);
Void OleProcedure (procedure name, parameter ...);
Wherein vExcelApp is created by the CreateObject method of Variant variable, and its method prototype used is:
Static Variant _ _ fastcall CreateObject (const String & ProgID); CreateObject method creates the object of a no initializtion, and its classification is specified by ProgID parameter, its return value by the id number of establishment object, operate this object with this ID.If ProgID is illegal, then CreateObject method dishes out EOleSysError extremely.
In this example, ProgID=" Excel.Application ", can create Excel object.
The setup of attribute OlePropertySet method of object, its prototype is:
Void OlePropertySet (const String & name, TAutoArgsBase & args); Name is the Property Name needing to arrange, and args is the TAutoArgsBase object including write parameters method.
In this example during Tentative Study of Achievement of Manipulation on Excel, do not wish to occur Excel program window, so Visible is set to vacation.Measure data to need to insert pre-designed Excel form, need the Workbook attribute obtaining ExcelApp herein, assignment is the Excel file of being specified by Destination path:
vExcelApp.OlePropertyGet("WorkBooks").OleFunction("Open",Destination.c_str());
After specifying WorkBook path, call activation command ActiveWorkbook, obtain a manipulable vWorkbook:
vWorkbook = vExcelApp.OlePropertyGet("ActiveWorkbook");
Specify the Sheet table needing operation:
vWorkbook.PG("Sheets", 1).PR("Select");
Activate Sheet table:
vSheet=vWorkbook.PG("ActiveSheet");
Write Sheet cell:
According to its line number, row number, obtaining designating unit lattice, is designated value arranging its numerical value.
VSheet.OlePropertyGet (" Cells ", row value, train value). OlePropertySet (" Value ", " needs the data of write ");
Read cell, read according to ranks number:
String Read=vSheet.OlePropertyGet (" Cells ", row value, train value). OlePropertyGet (" Value ");
All operations in formula, is the combination of cell read-write operation.
Wherein DLL function library is a kind of file will generated after power function compiling, essentially calls DLL function and call the function oneself write as broad as long.Just calling the function oneself write can direct call function name, and the function called in DLL needs to know entry address, because function just hereof, only have and just can find function by address, so need use invocation pattern, concrete invocation step is as follows:
1. load DLL:
HINSTANCE CAControl = LoadLibrary("CAControl.dll");
2. defined function pointer:
int _stdcall(*CA_Connect)(int ,int , int );
3. find DLL respective function address, and assignment gives the function pointer of just definition
CA_Connect=(int(_stdcall*)(int,int,int ))GetProcAddress(CAControl,"CA_Connect");
4. call this function
CA_Connect(ChannelNO,DisplayMode,SyncMode);
5. discharge DLL handle
FreeLibrary(CAControl。
Wherein the account form of each image quality data is as follows:
1. calculate colour gamut:
Measure the hue coordinate of R G B tri-pure colors at TV VGA Source, Standard PQ Mode, then pass through formula:
((P1_X [0]-P1_X [2]) * (P1_Y [1]-P1_Y [2])-0.5* (P1_X [0]-P1_X [2]) * (P1_Y [0]-P1_Y [2])-0.5* (P1_X [0]-P1_X [1]) * (P1_Y [1]-P1_Y [0])-0.5* (P1_X [1]-P1_X [2]) * (P1_Y [1]-P1_Y [2]))/0.001582 calculates colour gamut percentage, wherein P1_X [0], P1_Y [0], P1_X [1], P1_Y [1], P1_X [2], P1_Y [2] represents R respectively, G, the hue coordinate x of B, y.
2. measure Gama:
Signal generator exports 100% white, and output level establishes maximum 255, then sets output level respectively according to the demand of adjustment, such as measure 32 grades of Gamma, so 0-255 is divided into 32 equal portions, export Level 0 respectively, Level 7, Level 15, Level 22 ... Level 255, often change once output Level and measure a color data, by brightness, x, y, color temperature value, be increased to respectively on corresponding icon, be finally linked to be gamma curve.
3. generate gamma curve:
After the high-high brightness measuring screen, according to Gamma numerical value, the brightness value of each point can be calculated, wherein i-th brightness=MaxLv* (i/10) gamma value(i is from 0 to 10 values), wherein MaxLv is the high-high brightness of screen, then after being connected in coordinate diagram by the brightness value of each point, can obtain Gama curve.
Measure RGBCMY COLOR COMPOSITION THROUGH DISTRIBUTION:
Get the Show Styles of RGBCMY respectively, then adjustment exports Level(current setting 16 grades step by step) measure color data, be presented in gamut map.

Claims (4)

1. measure the method for picture definition data of television, it is characterized in that: it adopts signal generator to produce vision signal, color analysis instrument measures picture definition data of television, host computer processes image quality data, described host computer is provided with C++ visual development control, DLL function library is provided with in described C++ visual development control, described signal generator, color analysis instrument are connected with host computer by serial ports, described host computer is also connected with television set by serial ports with signal generator, and described method comprises the following steps:
1) in host computer, pre-enter the information of television set to be measured;
2) signal generator produces in vision signal input television set, television set produces video pictures, by the probe of color analysis instrument to the center position of aiming at television set, color analysis instrument carries out data acquisition to television set, and by the data collected with character string formed be input to send serial ports carry out buffer memory;
3) threshold value arranging the serial ports receive interruption of host computer is X byte, namely host computer often receives X byte, cause an interrupt event, host computer captures interruption, X byte data is received again from the transmission serial ports of signal generator and color analysis instrument, until receive all signal datas, described X is natural number;
4) host computer reads the signal data received according to serial communication protocol by C++ visual development control, and it is shown to automatically on OLE control, be provided with DLL function library in wherein said C++ visual development control, in described DLL function library, be provided with the computing function of picture definition data of television;
5) signal data is kept in Microsoft Excel by OLE control by host computer, and calls the computing function of the image quality data in corresponding DLL function library, obtains the value of picture definition data of television, and is automatically saved in Microsoft Excel.
2. the method for measurement picture definition data of television according to claim 1, is characterized in that: the computing function of described image quality data comprises colour gamut computing function, gamma curve computing function, RGBCMY COLOR COMPOSITION THROUGH DISTRIBUTION computing function and contrast computing function.
3. the method for measurement picture definition data of television according to claim 1, is characterized in that: described step 2) in be formed as character string to be converted to byte array form according to the relation of the corresponding byte of every 2 characters with character string.
4. the method for measurement picture definition data of television according to claim 1, is characterized in that: described step 1) television information to be measured comprises TV machine name, the model of liquid crystal panel, color temperature target value.
CN201310104911.4A 2013-03-27 2013-03-27 Method for measuring picture definition data of television Active CN103152602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310104911.4A CN103152602B (en) 2013-03-27 2013-03-27 Method for measuring picture definition data of television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310104911.4A CN103152602B (en) 2013-03-27 2013-03-27 Method for measuring picture definition data of television

Publications (2)

Publication Number Publication Date
CN103152602A CN103152602A (en) 2013-06-12
CN103152602B true CN103152602B (en) 2015-04-08

Family

ID=48550435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310104911.4A Active CN103152602B (en) 2013-03-27 2013-03-27 Method for measuring picture definition data of television

Country Status (1)

Country Link
CN (1) CN103152602B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686153B (en) * 2013-12-12 2016-07-06 京东方科技集团股份有限公司 A kind of contrast test system
CN103674495A (en) * 2013-12-19 2014-03-26 京东方科技集团股份有限公司 Display panel color gamut value testing system
CN108492755A (en) * 2018-02-28 2018-09-04 信利半导体有限公司 A kind of full-automatic high precision coloration and Gamma monitoring adjustment systems and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348126A (en) * 2010-08-02 2012-02-08 厦门华侨电子股份有限公司 Method for realizing automatic adjustment of Gamma curve of television through computer
CN102572503B (en) * 2010-12-30 2014-04-02 厦门华侨电子股份有限公司 Automatic test system for functions of television set and method thereof
CN202150911U (en) * 2011-06-27 2012-02-22 广州视源电子科技有限公司 Automatic test system of digital television signal
CN102364954A (en) * 2011-11-07 2012-02-29 天津三星电子有限公司 Method for automatically regulating picture quality of television

Also Published As

Publication number Publication date
CN103152602A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN105336286A (en) Spliced screen color adjusting method and device
CN103152602B (en) Method for measuring picture definition data of television
CN101719356A (en) Programming method for programming EDID simultaneously on liquid crystal display multiinterface
CN201037989Y (en) Synchronous all-colorful LED display control device
CN102103820B (en) Image display apparatus, its driving method and apparatus driving program
CN103092551A (en) Method and device for adjusting display effect
US11380284B2 (en) Color space mapping method, equipment, computer readable storage medium, and device
CN107390394A (en) A kind of liquid crystal module test system based on SOPC
CN106644413A (en) Automatic test system and method for display
CN106531097B (en) A kind of medical display color rendition system and its implementation
CN103905817A (en) Automatic video measuring system based on LabVIEW and VideoMASTER
CN209657777U (en) Display correction device and display
CN101583050A (en) Method and system for rapidly and automatically adjusting color temperature
CN110456772A (en) A kind of test of common apparatus, control method and system
CN106454306A (en) Automatic white balance debugging method at smart TV side
CN202385229U (en) Signal source applicable to stereotelevision crosstalk measurement
CN107452306B (en) Tool jig for detecting display panel and detection method thereof
CN113571008A (en) Bright and dark line adjusting method, device and system of spliced display screen
CN101668225B (en) Method for adjusting gamma curve to improve image of flat television
CN103279265A (en) Terminal and system for displaying network information interface and interface generating method
CN103345565A (en) Instrument panel construction method for data display based on Flash technology
US10571725B2 (en) Method for locating subpixel address, address location device and repairing device
CN106454304A (en) White balance adjusting method and device
CN103177694B (en) White balance adjusting method of LED (Light Emitting Diode) display screen
CN207399416U (en) A kind of white balance adjustment system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant