[go: up one dir, main page]

CN105486227A - Font size test method and device for digital instrument - Google Patents

Font size test method and device for digital instrument Download PDF

Info

Publication number
CN105486227A
CN105486227A CN201510822533.2A CN201510822533A CN105486227A CN 105486227 A CN105486227 A CN 105486227A CN 201510822533 A CN201510822533 A CN 201510822533A CN 105486227 A CN105486227 A CN 105486227A
Authority
CN
China
Prior art keywords
character
digital instrument
pixel information
font size
digital
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.)
Pending
Application number
CN201510822533.2A
Other languages
Chinese (zh)
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.)
SHANGHAI VISTEON AUTOMOTIVE ELECTRONIC SYSTEMS Co Ltd
Original Assignee
SHANGHAI VISTEON AUTOMOTIVE ELECTRONIC SYSTEMS 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 SHANGHAI VISTEON AUTOMOTIVE ELECTRONIC SYSTEMS Co Ltd filed Critical SHANGHAI VISTEON AUTOMOTIVE ELECTRONIC SYSTEMS Co Ltd
Priority to CN201510822533.2A priority Critical patent/CN105486227A/en
Publication of CN105486227A publication Critical patent/CN105486227A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention provides a font size test method and device for a digital instrument. The method comprises the steps that a) a camera device shoots a character displayed by an LCD display screen of the digital instrument and obtains a character photo; b) axis-x and axis-y pixel information of the character in the coordinate system of the camera device is obtained; c) according to the pre-obtained linear relation and the pixel information obtained in the step b), pixel information of the character displayed by the LCD display screen of the digital instrument is obtained; and d) the pixel information obtained in the step c) is compared with required pixel information, if the character pixel information satisfies the required pixel information, the font size of the character on the LCD display screen of the digital instrument is determined to be correct, and otherwise, incorrect. According to the invention, the automation degree of test can be improved, test time is reduced, and too much errors caused by artificial intervention are avoided.

Description

Digital instrument font size method of testing and device
Technical field
The present invention relates to digital instrument font size method of testing and device, particularly relate to the digital instrument font size method of testing based on digital image processing techniques and device.
Background technology
Carry out corrigenda to the image of display on digital instrument LCD generally to be undertaken by artificial eyes.Traditional convenient and with low cost by the image of eyes to display on digital instrument LCD carry out the correcting errors in printing mode of test, but there is the not high shortcoming of degree of accuracy.At present, the quality of each large automobile manufacturing company to digital instrument proposes the requirement of more refinement, correspondingly test organization is also proposed to the requirement of more increasing.Such as, on customer requirement digital instrument LCD, the character of display has specific size dimension, and unit is accurate in pixel.Particularly, the size of user expectation character is no more than 50*50 pixel on digital instrument LCD.
When this font size on digital instrument LCD requires that pinpoint accuracy is tested, need a kind of digital instrument font size method of testing based on digital image processing techniques and device badly.
Summary of the invention
The invention provides a kind of digital instrument font size method of testing based on picture pick-up device and digital image processing techniques and device, can accurately measure font size LCD showing character, meet the high request of client to quality, ensure the quality of product.
A kind of digital instrument font size method of testing based on digital image processing techniques of the present invention, comprising:
Step a: taken pictures to the character that the LCD display of described digital instrument shows by picture pick-up device, obtains the photo of described character;
Step b: the x-axis of described character and the Pixel Information of y-axis under obtaining the coordinate system of described picture pick-up device;
Step c: the Pixel Information obtaining character in digital instrument LCD display according to the Pixel Information obtained in the linear relationship obtained in advance and step b; And
Steps d: the Pixel Information of the Pixel Information obtained in step c and requirement compared, if the satisfactory Pixel Information of the Pixel Information of described character, then judges that the font size of character in described digital instrument LCD display is correct; Otherwise, judge that the font size of character in described digital instrument LCD display is incorrect.
According to method of the present invention, also comprise signal input step a ' before step a, by analog input instrument, input signal is sent to described digital instrument, thus the character that in the LCD display of described digital instrument, display is corresponding to input signal.
According to method of the present invention, in step b, described linear relationship is the linear relationship between the resolution of digital instrument LCD display and the resolution of picture pick-up device.
According to method of the present invention, described linear relationship is determined by following method:
B1: show in digital instrument LCD display and demarcate photo, 4 corners of described demarcation photo respectively have a cross, and described cross has the Pixel Information of regulation;
B2: by described capture apparatus to described demarcation photograph;
B3: determine described linear relationship according to the Pixel Information of the regulation of the cross of the Pixel Information of cross in the demarcation photo that shooting obtains and the demarcation photo in LCD display.
Present invention also offers a kind of digital instrument font size proving installation based on Digital image technology, comprise capture apparatus and computer equipment,
Described capture apparatus, for taking the character that demarcation photo in digital instrument LCD display and shooting digital instrument LCD display show;
Described computer equipment comprises further:
Linear relationship determining unit, for determining the linear relationship between the resolution of digital instrument LCD display and the resolution of picture pick-up device;
Character Pixel Information acquiring unit under picture pick-up device coordinate system, for obtain described picture pick-up device according to the photo of character coordinate system under the x-axis of described character and the Pixel Information of y-axis;
Character pixels information acquisition unit on digital instrument LCD, according to the Pixel Information of character on the character pixels acquisition of information digital instrument LCD under the linear relationship obtained in advance and picture pick-up device coordinate system; And
Font size identifying unit, the Pixel Information of character on the digital instrument LCD of acquisition and the character pixels information of requirement are compared, if the satisfactory character pixels information of the Pixel Information of character on described digital instrument LCD, then judge that the font size of character in described digital instrument LCD display is correct; Otherwise, judge that the font size of character in described digital instrument LCD display is incorrect.
According to device of the present invention, described computer equipment also comprises input simulation tool, for analog digital instrument various input signal and described input signal is sent to described digital instrument.
According to device of the present invention, described linear relationship determining unit determines linear relationship according to the Pixel Information of the cross on the demarcation photo in digital instrument LCD display and the Pixel Information of taking the described cross obtained.
According to device of the present invention, described input simulation tool can be realized by CAN emulation software module.
According to device of the present invention, described linear relationship determining unit, character pixels information acquisition unit and font size identifying unit can be realized by digital imaging processing software module.
Adopt method of testing of the present invention and device, tool has the following advantages:
1. accurately can measure the font size in digital instrument LCD display, solve client to the high-quality requirement of product.
2. adopt equipment analysis, that avoids being brought by human factor cannot test and test error problem.
Accompanying drawing explanation
Fig. 1 is the structural drawing of the digital instrument font size proving installation that the present invention is based on image processing techniques;
Fig. 2 is the process flow diagram of the digital instrument font size method of testing that the present invention is based on image processing techniques;
Fig. 3 is the schematic diagram of the demarcation photo generated according to digital instrument display resolution in the present invention; With
Fig. 4 is the schematic diagram of the demarcation photo of picture pick-up device shooting in the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail.Following examples are not limitation of the present invention.Under the spirit and scope not deviating from inventive concept, the change that those skilled in the art can expect and advantage are all included in the present invention.
Fig. 1 is the structural drawing of the digital instrument font size proving installation that the present invention is based on image processing techniques.This proving installation comprises capture apparatus 11 and computer equipment 13.Computer equipment 13 comprises linear relationship determining unit 131, character Pixel Information acquiring unit 132 under picture pick-up device coordinate system, character pixels information acquisition unit 133 on digital instrument LCD, font size identifying unit 134 and input simulation tool 136.
Capture apparatus 11 is for taking the character that demarcation photo in digital instrument LCD display and shooting digital instrument LCD display show.According to the difference of user's situation, the difference of tested object characteristic, can the common network capture apparatus of choice for use, also can select the industrial capture apparatus that price is higher.Shooting photo storage in capture apparatus, with to be analyzed.After shooting terminates, all photos can be read by computer equipment 13, and carry out optical analysis.
Linear relationship determining unit 131 in computer equipment 13, for determining the linear relationship between the resolution of digital instrument LCD display and the resolution of picture pick-up device 11.Described linear relationship determining unit determines this linear relationship according to the Pixel Information of the cross on the demarcation photo in digital instrument LCD display and the Pixel Information of taking the described cross obtained.
Wherein, character Pixel Information acquiring unit 132 under picture pick-up device coordinate system, under the character photo for obtaining according to shooting obtains the coordinate system of described picture pick-up device, the Pixel Information of described character, comprises the Pixel Information of the x-axis of this character and the Pixel Information of y-axis.
Character pixels information acquisition unit 133 on digital instrument LCD, obtain character pixels information on digital instrument LCD according to character Pixel Information under the linear relationship obtained in advance and picture pick-up device coordinate system, comprise the Pixel Information of the x-axis of this character and the Pixel Information of y-axis.
Font size identifying unit 134, the character pixels information of character pixels information and system requirements on the digital instrument LCD of acquisition is compared, if the satisfactory character pixels information of the Pixel Information of character on digital instrument LCD, then judge that the font size in described digital instrument LCD display is correct; Otherwise, judge that the font size in described digital instrument LCD display is incorrect.
Aforementioned linear relations determining unit 131, character pixels information acquisition unit 132 and font size identifying unit 134 all can be realized by the digital imaging processing software module be installed in computer equipment 13.
In addition, the input simulation tool 136 in computer equipment 13, for analog digital instrument various input signal and described input signal is sent to digital instrument.Various input signal comprises hard signal, K-LINE, LIN, CAN, Flexray, MOST, Ethernet or LVDS etc.
Fig. 2 is the process flow diagram of the digital instrument font size method of testing that the present invention is based on image processing techniques.As shown in the figure, step a ' ~ step e is comprised.
But before font size is tested, need the linear relationship in first determining step b.This linear relationship is the linear relationship between the resolution of digital instrument LCD display and the resolution of picture pick-up device.First introduce below and how to determine described linear relationship, comprise the steps b1 ~ b3.
Step b1: show in digital instrument LCD display and demarcate photo (as shown in Figure 3), 4 corners of described demarcation photo respectively have a cross, and described cross has the Pixel Information of regulation, such as long 21 pixels, wide 1 pixel, distance 5, border pixel.
Step b2: by capture apparatus to this demarcation photograph, is taken the photo (as shown in Figure 4, i.e. the demarcation photo of picture pick-up device shooting) obtained and is measured by digital imaging processing software.Digital imaging processing software detects Pixel Information under picture pick-up device resolution of 4 crosses of LCD display corner and location coordinate information.Long 21 pixels in LCD display, the Pixel Information of wide 1 pixel is being long 42 pixels based on the new Pixel Information on the resolution base of picture pick-up device, wide 2 pixels.
Step b3: determine described linear relationship according to the Pixel Information of the regulation of the cross of the Pixel Information of cross in the demarcation photo that shooting obtains and the demarcation photo in LCD display.That is, it can thus be appreciated that 2 pixels in picture pick-up device represent 1 pixel in LCD display, linear relationship produces at this point, from the relation the angle of row and column being exactly 2:1, from the relation the angle of size being exactly 4:1.
Next the concrete steps of digital instrument font size method of testing of the present invention are introduced in detail.
First, by analog input instrument, input signal is sent to described digital instrument, thus the display character corresponding to input signal in the LCD display of described digital instrument, namely character lights (step a ').Here simulating signal input, according to the difference of user's testing apparatus automaticity, can Non-follow control, also can adopt the form control of script, such as, by being installed on the CAN simulation software in computer equipment.This CAN (controllerareanetwork) simulation software, is widely used in automobile industry now, and its emulation tool has a lot, such as CANoe or VehicleSpy.Certainly also realize by other automobile bus communication technologys.
Step a: taken pictures to the character that the LCD display of described digital instrument shows by picture pick-up device, obtains the photo of described character.For obtaining good analytical effect, can carry out continuing to take pictures.The photo that shooting obtains is read, for optical analysis by the digital imaging processing software module of installing in computer equipment.
Step b: then, the Pixel Information of described character under obtaining the coordinate system of described picture pick-up device according to the character photo of shooting acquisition.Particularly, this step can realize obtaining character pixels number by digital imaging processing software module, can be such as NIVisionBuilder (vision maker), it is the instrument of NationalInstruments company (Nat Instr Corp.), can be used for gathering, showing and store the image from picture pick-up device, and carry out graphical analysis, calculating etc.Namely by the Pixel Information (number of pixels) of the x-axis of this character and the Pixel Information (number of pixels) of y-axis can be obtained to the optical analysis of character photo.The number of pixels of such as x-axis * y-axis is 100*100.
Step c: be next character pixels information acquiring step on digital instrument LCD, namely according to character pixels information on the character pixels information acquisition digital instrument LCD under the linear relationship obtained before and picture pick-up device coordinate system.Such as, predetermined linear relationship is the relation (angle from row and column) of 1:2 as previously mentioned, and the Pixel Information of described character is 100*100 under the coordinate system of the picture pick-up device obtained in step b, so can obtain character pixels on digital instrument LCD is 50*50 (row * arranges).
Steps d: the character pixels information of character pixels and requirement on the aforementioned digital instrument LCD calculated is compared, if calculate the character pixels information of this requirement of character pixels information conforms obtained, then judge that the font size in described digital instrument LCD display is correct; Otherwise, judge that the font size in described digital instrument LCD display is incorrect.Such as, if the character pixels information required be x-axis and y-axis all can not more than 50*50, then on the digital instrument LCD obtained in above-mentioned steps c, character pixels information meets this requirement.This steps d realizes by aforementioned digital image processing software module, or also can be realized by other determination module.The incorrect words of font size, the font size in adjustment digital instrument LCD display is also tested again.
Be only preferred embodiment of the present invention in sum, be not used for limiting practical range of the present invention.Namely all equivalences done according to the content of the present patent application the scope of the claims change and modify, and all should belong to technology category of the present invention.

Claims (9)

1., based on a digital instrument font size method of testing for digital image processing techniques, it is characterized in that, described method comprises:
Step a: taken pictures to the character that the LCD display of described digital instrument shows by picture pick-up device, obtains the photo of described character;
Step b: the x-axis of described character and the Pixel Information of y-axis under obtaining the coordinate system of described picture pick-up device;
Step c: the Pixel Information obtaining character in digital instrument LCD display according to the Pixel Information obtained in the linear relationship obtained in advance and step b; And
Steps d: the Pixel Information of the Pixel Information obtained in step c and requirement compared, if the satisfactory Pixel Information of the Pixel Information of described character, then judges that the font size of character in described digital instrument LCD display is correct; Otherwise, judge that the font size of character in described digital instrument LCD display is incorrect.
2. the digital instrument font size method of testing based on Digital image technology according to claim 1, it is characterized in that, signal input step a ' is also comprised before step a, by analog input instrument, input signal is sent to described digital instrument, thus the character that in the LCD display of described digital instrument, display is corresponding to input signal.
3. the digital instrument font size method of testing based on Digital image technology according to claim 1, is characterized in that, in step b, described linear relationship is the linear relationship between the resolution of digital instrument LCD display and the resolution of picture pick-up device.
4. the digital instrument font size method of testing based on Digital image technology according to claim 3, it is characterized in that, described linear relationship is determined by following method:
B1: show in digital instrument LCD display and demarcate photo, 4 corners of described demarcation photo respectively have a cross, and described cross has the Pixel Information of regulation;
B2: by described capture apparatus to described demarcation photograph;
B3: determine described linear relationship according to the Pixel Information of the regulation of the cross of the Pixel Information of cross in the demarcation photo that shooting obtains and the demarcation photo in LCD display.
5., based on a digital instrument font size proving installation for Digital image technology, it is characterized in that, comprise capture apparatus and computer equipment,
Described capture apparatus, for taking the character that demarcation photo in digital instrument LCD display and shooting digital instrument LCD display show;
Described computer equipment comprises further:
Linear relationship determining unit, for determining the linear relationship between the resolution of digital instrument LCD display and the resolution of picture pick-up device;
Character Pixel Information acquiring unit under picture pick-up device coordinate system, for obtain described picture pick-up device according to the photo of character coordinate system under the x-axis of described character and the Pixel Information of y-axis;
Character pixels information acquisition unit on digital instrument LCD, according to the Pixel Information of character on the character pixels acquisition of information digital instrument LCD under the linear relationship obtained in advance and picture pick-up device coordinate system; And
Font size identifying unit, the Pixel Information of character on the digital instrument LCD of acquisition and the character pixels information of requirement are compared, if the satisfactory character pixels information of the Pixel Information of character on described digital instrument LCD, then judge that the font size of character in described digital instrument LCD display is correct; Otherwise, judge that the font size of character in described digital instrument LCD display is incorrect.
6. as claimed in claim 5 based on the digital instrument font size proving installation of Digital image technology, it is characterized in that, described computer equipment also comprises input simulation tool, for analog digital instrument various input signal and described input signal is sent to described digital instrument.
7. as claimed in claim 6 based on the digital instrument font size proving installation of Digital image technology, it is characterized in that, described linear relationship determining unit determines linear relationship according to the Pixel Information of the cross on the demarcation photo in digital instrument LCD display and the Pixel Information of taking the described cross obtained.
8., as claimed in claim 6 based on the digital instrument font size proving installation of Digital image technology, it is characterized in that, described input simulation tool can be realized by CAN emulation software module.
9. as claimed in claim 5 based on the digital instrument font size proving installation of Digital image technology, it is characterized in that, described linear relationship determining unit, character pixels information acquisition unit and font size identifying unit can be realized by digital imaging processing software module.
CN201510822533.2A 2015-11-24 2015-11-24 Font size test method and device for digital instrument Pending CN105486227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510822533.2A CN105486227A (en) 2015-11-24 2015-11-24 Font size test method and device for digital instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510822533.2A CN105486227A (en) 2015-11-24 2015-11-24 Font size test method and device for digital instrument

Publications (1)

Publication Number Publication Date
CN105486227A true CN105486227A (en) 2016-04-13

Family

ID=55673366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510822533.2A Pending CN105486227A (en) 2015-11-24 2015-11-24 Font size test method and device for digital instrument

Country Status (1)

Country Link
CN (1) CN105486227A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375698A (en) * 2016-08-31 2017-02-01 上海伟世通汽车电子系统有限公司 Automatic discrimination method of automobile instrument icons based on digital image processing technology
CN110412379A (en) * 2019-07-31 2019-11-05 惠州市德赛西威汽车电子股份有限公司 A kind of test method of instrument function response time
CN110807969A (en) * 2019-11-28 2020-02-18 深圳市华兴鼎盛科技有限公司 Machine vision recognition teaching system and teaching method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020109856A1 (en) * 2000-12-28 2002-08-15 Nobuatsu Sasanuma Image ratio measuring method for image forming apparatus
JP2004287168A (en) * 2003-03-24 2004-10-14 Pioneer Electronic Corp Information display device and information display method
CN101770145A (en) * 2010-01-12 2010-07-07 圆展科技股份有限公司 Method for estimating actual size of object and real object projector
CN102967305A (en) * 2012-10-26 2013-03-13 南京信息工程大学 Multi-rotor unmanned aerial vehicle pose acquisition method based on markers in shape of large and small square
CN103488444A (en) * 2013-09-13 2014-01-01 首钢总公司 Method and system for controlling font sizes of labels of steel coils
CN104316191A (en) * 2014-11-07 2015-01-28 京东方科技集团股份有限公司 Chroma testing method and chroma testing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020109856A1 (en) * 2000-12-28 2002-08-15 Nobuatsu Sasanuma Image ratio measuring method for image forming apparatus
JP2004287168A (en) * 2003-03-24 2004-10-14 Pioneer Electronic Corp Information display device and information display method
CN101770145A (en) * 2010-01-12 2010-07-07 圆展科技股份有限公司 Method for estimating actual size of object and real object projector
CN102967305A (en) * 2012-10-26 2013-03-13 南京信息工程大学 Multi-rotor unmanned aerial vehicle pose acquisition method based on markers in shape of large and small square
CN103488444A (en) * 2013-09-13 2014-01-01 首钢总公司 Method and system for controlling font sizes of labels of steel coils
CN104316191A (en) * 2014-11-07 2015-01-28 京东方科技集团股份有限公司 Chroma testing method and chroma testing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐进军: "《工业测量技术与数据处理》", 28 February 2014 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375698A (en) * 2016-08-31 2017-02-01 上海伟世通汽车电子系统有限公司 Automatic discrimination method of automobile instrument icons based on digital image processing technology
CN110412379A (en) * 2019-07-31 2019-11-05 惠州市德赛西威汽车电子股份有限公司 A kind of test method of instrument function response time
CN110807969A (en) * 2019-11-28 2020-02-18 深圳市华兴鼎盛科技有限公司 Machine vision recognition teaching system and teaching method

Similar Documents

Publication Publication Date Title
US8345950B2 (en) System and method for testing a multimeter
WO2019001354A1 (en) Display panel gray scale adjustment method and device
US20090087078A1 (en) Display testing apparatus and method
JP6461426B2 (en) Brightness adjusting apparatus and method, image display system, program, and recording medium
WO2019041650A1 (en) Method, apparatus and device for correcting calibration parameters of video camera, and storage medium
CN108055532A (en) Automate the method and apparatus of matching test card
CN107170010A (en) System calibration method, device and three-dimensional reconstruction system
CN117115233B (en) Dimension measurement method and device based on machine vision and electronic equipment
CN105486227A (en) Font size test method and device for digital instrument
CN109949725B (en) Image gray level standardization method and system for AOI system
CN105427315B (en) Digital instrument image position testing method and device
CN108717847B (en) DICOM calibration method, medical display device and computer storage medium
CN104394026A (en) Method and device for measuring webpage load time
WO2016145831A1 (en) Image acquisition method and device
WO2016169055A1 (en) Calibration method and apparatus for brightness detection value and chrominance detection value of optical camera
TW202226828A (en) Computation apparatus and method of detecting defects for near-eye display
CN110740315A (en) Camera correction method and device, electronic equipment and storage medium
CN112461504B (en) VR lens consistency test-based method and device
CN107734324B (en) Method and system for measuring illumination uniformity of flash lamp and terminal equipment
CN110780478A (en) Liquid crystal screen calibration detection method
CN106375698A (en) Automatic discrimination method of automobile instrument icons based on digital image processing technology
CN111982468B (en) Method, device and system for measuring field angle and computer storage medium
CN116708750A (en) Resolution test method, device, system, electronic equipment and storage medium
CN107657607B (en) Method and system for testing and tracking position error
US9449251B2 (en) Image processing apparatus, image processing method, and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160413

RJ01 Rejection of invention patent application after publication