CN114422636B - Android-based method for generating test image to detect display - Google Patents

Android-based method for generating test image to detect display Download PDF

Info

Publication number
CN114422636B
CN114422636B CN202111542274.XA CN202111542274A CN114422636B CN 114422636 B CN114422636 B CN 114422636B CN 202111542274 A CN202111542274 A CN 202111542274A CN 114422636 B CN114422636 B CN 114422636B
Authority
CN
China
Prior art keywords
test image
android
mobile phone
image
display
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
CN202111542274.XA
Other languages
Chinese (zh)
Other versions
CN114422636A (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.)
Barco Suzhou Medical Technology Co ltd
Original Assignee
Barco Suzhou Medical Technology 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 Barco Suzhou Medical Technology Co ltd filed Critical Barco Suzhou Medical Technology Co ltd
Priority to CN202111542274.XA priority Critical patent/CN114422636B/en
Publication of CN114422636A publication Critical patent/CN114422636A/en
Application granted granted Critical
Publication of CN114422636B publication Critical patent/CN114422636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection

Abstract

The invention provides a method for generating a test image to detect a display based on Android, which is characterized in that the function of various graphs required by a test screen is directly generated by utilizing a graph API of the Android, and the generated graphs are projected to the screen of the display to be tested through an interface and a converter of a mobile phone; compared with a professional signal generator which is complex in use method and needs a large amount of time to build an environment, the method can quickly generate a required test image, can quickly edit and replace, is suitable for more test machine types and wider test requirements, and is especially obvious in excellence under the conditions that the reserved time is short and the test result needs to be quickly obtained.

Description

Android-based method for generating test image to detect display
Technical Field
The invention relates to the technical field of optical measurement data acquisition of displays, in particular to a method for generating a test image to detect a display based on Android.
Background
The medical display has high requirements on the screen, so that in the process of testing the screen of the medical display, a plurality of different images need to be output on which screen is used for detecting the display quality of the screen. For example, the brightness of the screen needs to be detected by outputting images with different gray scales, and a brightness curve is verified; outputting a pure-color picture, and detecting dark spots and bright spots of a screen; the brightness uniformity of a specific picture detection screen needs to be output; the corresponding performance of the detection screen such as a gray-scale image, a color bar image and the like needs to be output.
At present, a professional signal generator similar to Chroma can output signals required above, but the operation is complex, the construction environment is time-consuming, and when the screen quality of a display needs to be detected quickly, the requirement cannot be met frequently, so that a method for outputting required test images (test patterns) more quickly is needed, the required test images can be output quickly, and the screen quality of the display is detected by a screen to be detected.
Disclosure of Invention
The invention aims to solve the problems in the prior art and provides a method for generating a test image to detect a display based on Android.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for generating a test image detection display based on Android comprises the steps of directly generating functions of various graphs required by a test screen by utilizing a graph API of the Android, and projecting the generated graphs to the screen of the display to be tested through an interface and a converter of a mobile phone; the method specifically comprises the following steps:
s1, making a user operation interface of a mobile phone end, wherein the user operation interface comprises a preset test image menu for a user to select, a preview frame of the mobile phone end and a self-defined test image import menu;
s2, selecting a required test image, and obtaining a test image serial number selected by a user by the Android device side to judge whether the condition is a, a condition b1 or a condition b2;
a. if the required test image is one of the preset test image menus for the user to select, directly clicking and selecting from the preset test image menus;
b. if the required test image is not in the preset test image menu, selecting the user-defined test image import menu, wherein the user-defined test image import menu comprises a drawing image option and an import local image option;
b1, if an image supported by an Android graphics API is needed, inputting parameters needed for drawing the graphics and confirming the parameters;
b2, if a test image stored in the Android terminal of the mobile phone is needed, selecting an import local image option and importing the test image stored in the Android terminal of the mobile phone;
s3, generating a required test image;
under the condition of selecting a in S2, calling a corresponding function in an android.
Under the condition of b1 in S2, calling a corresponding function in an android.
Under the condition of b2 in the S2, calling a file processing function, and exporting a test image locally stored at the Android equipment terminal;
and S4, projecting the derived test image onto a detected display screen through an interface and a converter of the mobile phone, so as to realize screen detection of the display.
Preferably, the user manipulation interface at the mobile phone end exists in the form of an APP, a webpage or an applet.
More preferably, the preset test image menu includes Red pure color map, green pure color map, blue pure color map, color bar map and 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100% gray scale map.
More preferably, in S2, the B1 option is selected, and the user operation interface jumps out of the input box for the user to input R, G, and B values, and generate the corresponding test image.
More preferably, after S3 is completed, the mobile phone jumps out of the preview box to display the generated picture preview, and executes the operation of S4 after clicking the confirm button.
More preferably, in S4, the interface of the mobile phone itself is a type-c interface.
More preferably, in S4, the converter is a type-c to DP docking station or a type-c to DP cable, the type-c terminal is connected to a type-c interface of the mobile phone, and the DP docking station or the DP cable is connected to the detected display.
Compared with the prior art, the method for generating the test image to detect the display based on the Android, provided by the invention, has the advantages that the functions of various graphs required by a test screen are directly generated by utilizing the graph API of the Android, and the generated graphs are projected onto the screen of the display to be tested through the interface and the converter of the mobile phone; compared with a professional signal generator which is complex in use method and needs a large amount of time to build an environment, the method can quickly generate a required test image, can quickly edit and replace, is suitable for more test machine types and wider test requirements, and is especially obvious in excellence under the conditions that the reserved time is short and the test result needs to be quickly obtained.
Drawings
Fig. 1 is a flowchart of a method for generating a test image to inspect a display based on Android.
Detailed description of the preferred embodiments
In order to further understand the objects, structures, features and functions of the present invention, the following embodiments are described in detail.
Referring to the attached drawing 1, the method for generating the test image detection display based on the Android directly generates various graphics functions required by a test screen by using a graphics API of the Android, and throws the generated graphics onto the screen of the display to be tested through an interface and a converter of a mobile phone; the method specifically comprises the following steps:
s1, making a user operation interface of a mobile phone end, wherein the user operation interface comprises a preset test image menu for a user to select, a preview frame of the mobile phone end and a self-defined test image import menu;
s2, selecting a required test image, and obtaining a test image serial number selected by a user by the Android device side to judge whether the condition is a, a condition b1 or a condition b2;
a. if the required test image is one of the preset test image menus for the user to select, directly clicking and selecting from the preset test image menus;
b. if the required test image is not in the preset test image menu, selecting the user-defined test image import menu, wherein the user-defined test image import menu comprises a drawing image option and an import local image option;
b1, if an image supported by an Android graphics API is needed, inputting parameters needed for drawing the graphics and confirming the parameters;
b2, if a test image stored in the Android terminal of the mobile phone is needed, selecting an import local image option and importing the test image stored in the Android terminal of the mobile phone;
s3, generating a required test image;
under the condition of selecting a in S2, calling a corresponding function in an android.
Under the condition of b1 in S2, calling a corresponding function in an android.
Under the condition of b2 in the S2, calling a file processing function, and exporting a test image locally stored at the Android equipment terminal;
and S4, projecting the derived test image onto a detected display screen through an interface and a converter of the mobile phone, so as to realize screen detection of the display.
In a traditional test method, a professional signal generator similar to Chroma is required to output a required signal to a display with a test, so that a test image is displayed, and the purpose of detecting the display is achieved. However, at present, the function development of the mobile phone is rapid, especially, the Android system provides a large amount of APIs which can be used for rapidly developing applications with rich functions, wherein the graphic API of the Android system can generate various graphics required by a test screen.
The detection method is more convenient to operate, particularly for scenes needing quick detection, time for building a test environment can be saved, and a test picture is quickly generated and sent to a display to obtain a detection effect. And the Android system is used for generating test patterns, so that the types are richer, the limitation is smaller, and the method is suitable for more tester types and wider test requirements.
In a preferred embodiment, the user operation interface of the mobile phone end exists in the form of an APP, a webpage or an applet, a user holds a mobile phone with an Android system, installs the APP, the webpage or the applet of the test method, connects the mobile phone end with the display end to be detected, and operates at the mobile phone end, so that the test method is convenient and easy to understand and has no use threshold.
In a preferred embodiment, the preset test image menu comprises a Red solid color map, a Green solid color map, a Blue solid color map, a color bar map, and 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100% gray scale map; the patterns are common test images for display detection, and after the patterns are preset, a user can directly click the patterns without additional operation, so that the corresponding test images can be quickly led out to the display for detection.
In a preferred embodiment, in S2, the B1 option is selected, and the user operation interface jumps out of the input box for the user to input R, G, and B values, and generate a corresponding test image; if Red solid tone is selected, the image color parameters can be set to R =255, g =0, B =0; selecting a 10% grayscale map, the graphic color parameters R =10, g =10, b =10 can be set; the method has the advantages that the parameter values of R, G and B can be set automatically according to actual requirements, the corresponding function in the android.
In a more preferred embodiment, after S3 is completed, the mobile phone jumps out of the preview box to display the generated picture preview, and executes the operation of S4 after clicking the confirmation button to help the user check whether there is a parameter input error or a picture import error before launching the test pattern, thereby avoiding the test image from deviating.
In a preferred embodiment, in S4, the own interface of the mobile phone is a type-c interface. More preferably, in S4, the converter is a type-c to DP docking station or a type-c to DP cable, the type-c end is connected to a type-c interface of the mobile phone, and the DP docking station or the DP cable is connected to the detected display.
Compared with a professional signal generator which is complex in use method and needs a large amount of time to build an environment, the method can quickly generate a required test image, can be quickly edited and replaced, is suitable for more test machine types and wider test requirements, and is especially obvious in superiority under the conditions that the reserved time is short and the test result needs to be quickly obtained.
The present invention has been described in relation to the above embodiments, which are only exemplary of the implementation of the present invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. Rather, it is intended that all such modifications and variations be included within the spirit and scope of this invention.

Claims (5)

1. A method for generating a test image to detect a display based on Android is characterized in that a graphic API of the Android is used for directly generating functions of various graphics required by a test screen, and the generated graphics are projected onto the screen of the display to be tested through an interface and a converter of a mobile phone; the method specifically comprises the following steps:
s1, making a user operation interface of a mobile phone end, wherein the user operation interface comprises a preset test image menu for a user to select, a preview frame of the mobile phone end and a self-defined test image import menu;
s2, selecting a required test image, and obtaining a test image serial number selected by a user by the Android device side to judge whether the condition is a, a condition b1 or a condition b2;
a. if the required test image is one of the preset test image menus for the user to select, directly clicking and selecting from the preset test image menus; the preset test image menu comprises a Red pure color image, a Green pure color image, a Blue pure color image, a color bar image and 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100% gray level images;
b. if the required test image is not in the preset test image menu, selecting the user-defined test image import menu, wherein the user-defined test image import menu comprises a drawing image option and an import local image option;
b1, if an image supported by an Android graphic API is needed, jumping out of an input box from a user operation interface for a user to input R, G and B values, generating a corresponding test image, and inputting and confirming parameters needed for drawing the graphic;
b2, if a test image stored in the local of the mobile phone is needed, selecting an import local image option and importing the test image stored in the local of the Android end of the mobile phone;
s3, generating a required test image;
under the condition of selecting a in the S2, calling a corresponding function in an android.
Under the condition of b1 in S2, calling a corresponding function in an android.
Under the condition of b2 in the S2, calling a file processing function, and exporting a test image locally stored at the Android equipment terminal;
and S4, projecting the derived test image onto a detected display screen through an interface and a converter of the mobile phone, so as to realize screen detection of the display.
2. The Android-based method of generating test image inspection displays of claim 1, wherein: the user operation interface of the mobile phone end exists in the form of APP, a webpage or an applet.
3. The Android-based method of generating a test image inspection display of claim 1, wherein: and after S3 is finished, the mobile phone end jumps out of the preview box and is used for displaying the generated picture preview, and the operation of S4 is executed after the confirmation button is clicked.
4. The Android-based method of generating test image inspection displays of claim 1, wherein: in S4, the interface of the mobile phone is a type-c interface.
5. The Android-based method of generating a test image inspection display of claim 4, in which: in S4, the converter is a type-c-to-DP docking station or a type-c-to-DP cable, the type-c end is connected with a type-c interface of the mobile phone, and the DP docking station or the DP cable is connected with a display to be detected.
CN202111542274.XA 2021-12-16 2021-12-16 Android-based method for generating test image to detect display Active CN114422636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111542274.XA CN114422636B (en) 2021-12-16 2021-12-16 Android-based method for generating test image to detect display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111542274.XA CN114422636B (en) 2021-12-16 2021-12-16 Android-based method for generating test image to detect display

Publications (2)

Publication Number Publication Date
CN114422636A CN114422636A (en) 2022-04-29
CN114422636B true CN114422636B (en) 2023-03-07

Family

ID=81267030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111542274.XA Active CN114422636B (en) 2021-12-16 2021-12-16 Android-based method for generating test image to detect display

Country Status (1)

Country Link
CN (1) CN114422636B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141957A (en) * 2010-10-21 2011-08-03 华为技术有限公司 Auxiliary test method, device and system for remote real machine
CN104023191A (en) * 2014-06-13 2014-09-03 暨南大学 Android-based camera projection system and implementation method
KR20160111271A (en) * 2015-03-16 2016-09-26 주식회사 젠탑스 A patern generator for testing u h d displays using p c and patern generating method at the same
CN106055533A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Note generation method and apparatus, and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101058011B1 (en) * 2004-10-01 2011-08-19 삼성전자주식회사 How to Operate Digital Camera Using Touch Screen
KR100707952B1 (en) * 2005-05-10 2007-04-16 삼성전자주식회사 Display apparatus and control method thereof
JP2007124275A (en) * 2005-10-28 2007-05-17 Canon Inc Picture output device
KR101764774B1 (en) * 2014-12-11 2017-08-07 대한민국 Report writing system that the report includes pictures and computer-readable recorded medium
CN106919326A (en) * 2015-12-25 2017-07-04 阿里巴巴集团控股有限公司 A kind of image searching method and device
TR201919477A1 (en) * 2019-12-06 2021-06-21 Eskisehir Teknik Ueniversitesi Idari Ve Mali Isler Daire Baskanligi A system and method for user interface control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141957A (en) * 2010-10-21 2011-08-03 华为技术有限公司 Auxiliary test method, device and system for remote real machine
CN104023191A (en) * 2014-06-13 2014-09-03 暨南大学 Android-based camera projection system and implementation method
KR20160111271A (en) * 2015-03-16 2016-09-26 주식회사 젠탑스 A patern generator for testing u h d displays using p c and patern generating method at the same
CN106055533A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Note generation method and apparatus, and terminal

Also Published As

Publication number Publication date
CN114422636A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN107272234B (en) Detection method and system based on liquid crystal display test picture
US7405723B2 (en) Apparatus for testing display device and method for testing the same
US20130182942A1 (en) Method for registering inspection standard for soldering inspection and board inspection apparatus thereby
CN111896232B (en) Optical machine module testing method, equipment, system and computer readable storage medium
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN114422636B (en) Android-based method for generating test image to detect display
CN113407461A (en) Interface test method and device, electronic equipment and storage medium
CN115359747B (en) Screen flashing test equipment and screen flashing test method
CN102006496B (en) Data processing equipment and method for implementing video signal measurement
TWI412927B (en) Method of testing a display and related apparatus
CN104427322A (en) Information processing device, imaging device, information processing method, and program
JP2013140041A (en) Visual inspection device, visual inspection method and computer program
CN114858417A (en) Display performance testing method and device and electronic equipment
TW200931989A (en) Method to measure the gray scale-brightness characteristics and the uniformity of display, and structure of the system thereof
JP2007267284A (en) Apparatus and method for generating test pattern
CN110572641A (en) display equipment testing method and device and computer readable storage medium
CN110865911A (en) Image testing method and device, storage medium, image acquisition card and upper computer
CN112461504B (en) VR lens consistency test-based method and device
JP2971809B2 (en) Method and device for marking pixel defect in display device
CN219143449U (en) Computer HDMI interface test system
TW200949224A (en) Apparatus and method for testing color gradation of a screen
CN114299854B (en) LED display screen adjusting system, method, equipment and readable storage medium
JP2010145097A (en) Color unevenness inspection method, and inspection image data generation apparatus
KR20090034107A (en) Apparatus and method for testing picture quality
CN115576820A (en) Automatic processing method and device for image quality test data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant