CN106408559B - Method and terminal for detecting resolution - Google Patents

Method and terminal for detecting resolution Download PDF

Info

Publication number
CN106408559B
CN106408559B CN201610804231.7A CN201610804231A CN106408559B CN 106408559 B CN106408559 B CN 106408559B CN 201610804231 A CN201610804231 A CN 201610804231A CN 106408559 B CN106408559 B CN 106408559B
Authority
CN
China
Prior art keywords
resolution
image
tested
preset image
display equipment
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.)
Expired - Fee Related
Application number
CN201610804231.7A
Other languages
Chinese (zh)
Other versions
CN106408559A (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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201610804231.7A priority Critical patent/CN106408559B/en
Publication of CN106408559A publication Critical patent/CN106408559A/en
Application granted granted Critical
Publication of CN106408559B publication Critical patent/CN106408559B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention relates to the technical field of display, in particular to a method and a terminal for detecting resolution, which are used for solving the problem that the resolution of display equipment cannot be detected by using mobile equipment in the prior art. The invention discloses a method for detecting resolution, which is characterized by comprising the following steps: the terminal determines a target image obtained by shooting a preset image displayed in the display equipment to be tested; the terminal identifies the image size of a preset image displayed in the display equipment to be detected according to the target image; the terminal determines the resolution of the display equipment to be tested according to the displayed image size, the image size of the preset image under the reference resolution and the reference resolution; wherein the image size is expressed by the number of pixels. According to the embodiment of the invention, the terminal can be used for comparing the image size of the preset image displayed in the display equipment to be tested with the image size of the preset image under the reference resolution, and the resolution of the display equipment to be tested can be obtained by further combining the reference resolution.

Description

Method and terminal for detecting resolution
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method and a terminal for detecting a resolution.
Background
From a technical point of view, displays with resolution up to 720P are called high definition displays, while from what we generally speak of high definition, we refer broadly to those displays with up to now higher resolution. With the development of high-definition and even ultra-high-definition display technologies, more and more display devices have been able to achieve resolutions of 4K (3840 × 2160 pixel resolution), 8K (7680 × 4320 pixel resolution) and even higher. Due to the fact that the commercial value of display products such as televisions and the like can be greatly improved by the ultra-high definition resolution level, in recent years, the television products with the mouth numbers of 'high-definition display' or even 'full-high-definition display' are frequently seen to be continuously released by merchants in the market. However, in reality, it is difficult for ordinary consumers to verify the accurate resolution of the display device, and the resolution of the so-called "high definition" display device can only be indirectly distinguished according to the publicity of the merchant and the viewing experience of the display device.
In summary, in the field of display technologies, it is impossible to detect the resolution of an ultra high definition display device using a mobile device.
Disclosure of Invention
The invention provides a method and a terminal for detecting resolution, which are used for solving the problem that the resolution of display equipment cannot be effectively detected in the prior art.
The method for detecting the resolution provided by the embodiment of the invention comprises the following steps:
the terminal determines a target image obtained by shooting a preset image displayed in the display equipment to be tested;
the terminal identifies the image size of the preset image displayed in the display equipment to be tested according to the target image;
the terminal determines the resolution of the display equipment to be tested according to the displayed image size, the image size of the preset image under the reference resolution and the reference resolution;
wherein the image size is expressed by a pixel cell number.
The terminal for detecting resolution provided by the embodiment of the invention comprises:
the target image determining module is used for determining a target image obtained by shooting a preset image displayed in the display equipment to be tested;
the image identification module is used for identifying the image size of the preset image displayed in the display equipment to be detected according to the target image;
the resolution determining module is used for determining the resolution of the display equipment to be tested according to the displayed image size, the image size of the preset image under the reference resolution and the reference resolution;
wherein the image size is expressed by a pixel cell number.
According to the embodiment of the invention, the terminal can be used for comparing the image size displayed in the display equipment to be detected with the image size of the preset image under the reference resolution according to the preset image to obtain the multiple relation between the resolution of the image to be detected and the reference resolution, and the resolution of the display equipment to be detected can be further obtained through the multiple relation between the reference resolution and the reference resolution, so that the display resolution of the display equipment can be accurately detected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart of a method for detecting resolution according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a pixel unit in a default image according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a display image of a preset image in a display device to be tested according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a boundary detection image according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating specific steps of a method for detecting resolution according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal for detecting resolution according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a method for detecting a resolution according to an embodiment of the present invention includes:
step 101: the terminal determines a target image obtained by shooting a preset image displayed in the display equipment to be tested;
step 102: the terminal identifies the image size of a preset image displayed in the display equipment to be detected according to the target image;
step 103: the terminal determines the resolution of the display equipment to be tested according to the displayed image size, the image size of the preset image under the reference resolution and the reference resolution;
wherein the image size is expressed by the number of pixel cells.
The embodiment of the invention provides a method for detecting resolution, which comprises the steps that firstly, a terminal determines a target image obtained by shooting a preset image displayed in a display device to be detected, the terminal identifies the image size of the preset image displayed in the display device to be detected according to the target image, and further, the terminal determines the resolution of the display device to be detected according to the displayed image size, the image size of the preset image under a reference resolution and the reference resolution, wherein the image size is the size represented by the number of pixel units.
The method comprises the steps of identifying the image size of a preset image displayed in the display equipment to be tested, wherein the step of identifying the maximum pixel unit number of the image displayed in the display equipment to be tested of the preset image in the horizontal direction and the step of identifying the maximum pixel unit number of the image displayed in the display equipment to be tested of the preset image in the vertical direction.
Since the resolution of the display device used for displaying the preset image changes, which may cause a corresponding proportional change in the number of pixel units of the preset image displayed in the display device in the horizontal and vertical directions, for example, under a 1920 × 1080 resolution condition, the size of the image displayed by the preset image is 100 × 100 pixel units, and under a 3840 × 2160 resolution, the size of the image displayed by the preset image will be 200 × 200 pixel units, so if the size of the image displayed by the preset image under the reference resolution condition and the reference resolution can be known, the resolution of the display device to be tested can be known by calculation only by detecting the size of the image displayed by the preset image in the display device to be tested.
The shape of the preset image according to the embodiment of the present invention may be a square, a rectangle, a circle, or the like.
As shown in fig. 2, which is a schematic diagram of a pixel unit structure of a preset image, any one pixel unit 201 in the preset image is composed of three sub-pixels 202, when the three sub-pixels respectively emit light, the whole pixel unit displays color, and a non-light-emitting connection structure 203 is provided between any sub-pixel and other sub-pixels. The color information of the pixel unit 201 is represented by RGB information (Red-Green-Blue color information), where R (Red ) represents the color information of a Red sub-pixel in one pixel unit, G (Green ) represents the color information of a Green sub-pixel in one pixel unit, and B (Blue ) represents the color information of a Blue sub-pixel in one pixel unit.
Optionally, the color of the edge region of the preset image is different from the color of the non-edge region;
the edge area is an area formed by X pixels close to the edge of the preset image in each row of pixels of the preset image and Y pixels close to the edge of the preset image in each column of pixels, and X and Y are positive integers.
Since the embodiment of the present invention identifies the image size of the preset image displayed in the display device to be tested needs to identify the area where the preset image is located by means of the specific color of the edge of the preset image, an area composed of X pixels close to the edge of the preset image in each row of pixels of the preset image and Y pixels close to the edge of the preset image in each column of pixels of the preset image is set to be a color different from that of a non-edge area, where X, Y is a positive integer. For example, a region formed by 1 pixel close to the edge of the preset image in the pixels of the preset image and 1 pixel close to the edge of the preset image in each row of pixels is set to be black to distinguish the region where the preset image is located, and then the black region and the region within the black region are the regions where the preset image is located.
Alternatively, the shape of the preset image may be a square.
In the embodiment of the invention, the terminal needs to determine the target image according to the shooting result of the preset image displayed in the display device to be tested, the preset image can be shot by virtue of the shooting function of the terminal, and the preset image can also be shot by virtue of other shooting devices except the terminal.
Optionally, the terminal identifies, according to the target image, a maximum number of pixel units in a vertical direction of an image displayed in the display device to be tested by the preset image, and a maximum number of pixel units in a horizontal direction.
The process that the terminal identifies the maximum pixel unit number in the vertical direction and the maximum pixel unit number in the horizontal direction of the preset image displayed in the display device to be tested is as follows:
firstly, a terminal scans a target image and determines a display area of a preset image in display equipment to be tested according to RGB information of a pixel unit in an edge area of the preset image;
secondly, identifying a boundary image displayed by a preset image in the display equipment to be detected by adopting a boundary detection method, wherein the boundary image is an image indicating a boundary position with color change in the image;
thirdly, carrying out image color numerical analysis on the boundary image, comparing the color change pixel by pixel aiming at the analyzed image, and determining the color change times of the preset image in the horizontal direction and the vertical direction in the whole range displayed in the display equipment to be tested;
and fourthly, determining the maximum pixel unit quantity of the preset image in the vertical direction and the horizontal direction displayed in the display equipment to be detected according to the color change times of the edge image recognition.
The above process is explained below with reference to fig. 3 and 4:
fig. 3 is a schematic diagram of a preset image displayed in a display device to be tested, assuming that the preset image is displayed in the display device to be tested as a square image formed by 12 × 12 pixel units, where an edge region of the preset image is black, a region 301 represents one pixel unit in the preset image displayed in the display device to be tested, a region 302 represents one sub-pixel in the preset image displayed in the display device to be tested, and a region 303 represents a connection structure that does not emit light in the preset image displayed in the display device to be tested. Because the display information of the preset image pixel unit is represented by the RGB information, the black RGB information can be preset to represent the edge area displayed by the preset image, and the terminal can determine, according to the RGB information of the black pixel unit, that the area displayed by the preset image in the display device to be tested is the area displayed as black and the display area within the black area.
The terminal converts the display information of the preset image in the display device to be tested from RGB representation to YUV representation (YUV is a representation in which the colors of the image are represented by brightness and chromaticity, Y represents brightness, and U, V represents chromaticity), the brightness Y of the pixel at the position of the region 303 in fig. 3 is zero, the brightness at the position outside the region 303 in fig. 3 is not zero, and the connection structure represented by the region 303 can be regarded as a boundary region relative to the light-emitting sub-pixels in fig. 3. The boundary area of the preset image in the display area of the display device to be detected is detected by a boundary detection method such as a Sobel detection method and a Canny detection method, so as to obtain the boundary detection image shown in fig. 4, where an area 402 indicates a position where the boundary area is located, that is, an area where the connection structure in the pixel unit is located, and an area 401 indicates an area where the sub-pixels of the preset image in the display device to be detected are located.
The terminal performs numerical analysis of image colors in the horizontal direction and the vertical direction in units of display pixels in the target image according to the boundary detection image shown in fig. 4, determines the number of times of change from a black region to a white region in the horizontal direction and the number of times of change from a black region to a white region in the vertical direction in the boundary detection image, and takes the maximum number of times of change from a black region to a white region in the horizontal direction and the maximum number of times of change from a black region to a white region in the vertical direction in the target image, which are respectively recorded as A, B, then a is the maximum number of sub-pixels included in the display region of the preset image in the display device under test in the horizontal direction, and B is the maximum number of sub-pixels included in the display region of the preset image in the display device under test in the vertical direction.
Finally, the image size of the preset image displayed in the display device to be tested can be determined: the maximum pixel unit number of the preset image in the horizontal direction displayed in the display equipment to be tested is A/3, and the maximum pixel unit number of the preset image in the vertical direction displayed in the display equipment to be tested is B.
Optionally, the terminal determines a multiple relation between the resolution of the display device to be tested and the reference resolution according to the image size of the preset image displayed in the display device to be tested and the image size of the preset image under the reference resolution;
and the terminal determines the resolution of the display equipment to be tested according to the multiple relation and the reference resolution.
Optionally, the terminal identifies, according to the target image, a maximum number of pixel units in a vertical direction and a maximum number of pixel units in a horizontal direction, where the preset image is displayed in the display device to be tested.
Optionally, the terminal determines a multiple relation in the vertical direction according to the maximum pixel unit number in the vertical direction displayed by the preset image in the display device to be tested and the maximum pixel unit number in the vertical direction of the preset image under the reference resolution; and
the terminal determines a multiple relation in the horizontal direction according to the maximum pixel unit number of the preset image in the horizontal direction displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the horizontal direction under the reference resolution;
the terminal determines the resolution of the display device to be tested according to the multiple relation and the reference resolution, and the method specifically comprises the following steps:
the terminal determines the resolution of the display equipment to be tested in the vertical direction according to the multiple relation in the vertical direction and the resolution in the vertical direction in the reference resolution; and
and the terminal determines the resolution of the display equipment to be tested in the horizontal direction according to the multiple relation in the horizontal direction and the resolution in the horizontal direction in the reference resolution.
The following describes a process of determining a resolution of a display device to be tested according to an image size of an identified preset image displayed in the display device to be tested in an embodiment of the present invention:
the terminal can identify the image size of the preset image displayed in the display device to be tested according to the determined target image, namely, the maximum pixel of the displayed image in the horizontal direction and the maximum pixel of the displayed image in the vertical direction are identified.
Because the number of pixel units in the horizontal direction and the vertical direction of the preset image is still changed proportionally when the resolution of the display device is changed no matter how the shape of the preset image is, the multiple relation of the maximum number of pixel units in the horizontal direction of the preset image under the resolution to be measured relative to the maximum number of pixel units in the horizontal direction of the preset image under the reference resolution is the multiple relation of the resolution to be measured in the horizontal direction relative to the reference resolution, and the multiple relation of the number of pixel units in the vertical direction of the preset image under the resolution to be measured relative to the number of pixel units in the vertical direction of the preset image under the reference resolution is the multiple relation of the resolution to be measured in the vertical direction relative to the reference resolution.
According to the obtained multiple relation of the resolution to be measured in the horizontal direction and the vertical direction relative to the reference resolution, the resolution in the horizontal direction and the resolution in the vertical direction of the resolution of the display equipment to be measured can be calculated and obtained by combining the resolution in the horizontal direction and the resolution in the vertical direction of the reference resolution.
For example, mixing M0(resolution M in horizontal directionaResolution in vertical direction of Mb) The resolution is set as the reference resolution, and the resolution M of the display equipment to be tested and the reference resolution M can be known0The relationship is shown in formula (1):
M=G*M0(1)
wherein G is the multiple relation between the resolution of the display equipment to be tested and the reference resolution, and M is0Is the base resolution.
Since the resolution of the display device is represented by the resolutions in the horizontal and vertical directions, the resolution of the display device to be measured in the horizontal and vertical directions needs to be calculated. The resolution M of the display device under test in the horizontal direction, viewed from both the horizontal and vertical directionslAs shown in equation (2):
Ml=Gl*Ma(2)
wherein G islFor the multiple relation between the resolution of the display device to be tested in the horizontal direction and the resolution of the reference resolution in the horizontal direction, MaIs the resolution of the reference resolution in the horizontal direction.
Resolution M of display device to be tested in vertical directionvAs shown in equation (3):
Mv=Gv*Mb(3)
wherein G isvFor the display device to be testedThe multiple relation between the resolution of the spare resolution in the vertical direction and the resolution of the reference resolution in the vertical direction, MbIs the resolution of the reference resolution in the vertical direction.
GlIs calculated as shown in equation (4):
Gl=m/k (4)
wherein m is the number of pixel units in the horizontal direction when the preset image is displayed in the display device to be tested, and k is the number of pixel units in the horizontal direction when the preset image is displayed under the reference resolution.
GvIs calculated as shown in equation (5):
Gv=n/l (5)
and n is the number of pixel units in the vertical direction when the preset image is displayed in the display equipment to be tested, and l is the number of pixel units in the vertical direction when the preset image is displayed under the reference resolution.
Combining the formula (4) with the formula (2) and combining the formula (5) with the formula (3), it can be known that the calculation formula of the resolution of the display device to be tested in the horizontal direction is:
Ml=(m/k)*Ma(6)
the calculation formula of the resolution of the display equipment to be tested in the vertical direction is as follows:
Mv=(n/l)*Mb(7)
the resolution of the display device to be tested in the horizontal and vertical directions can be calculated according to the formulas (6) and (7).
In summary, the embodiment of the present invention can calculate the resolution of the image to be detected according to the image size included in the detected preset image when the preset image is displayed in the display device to be detected, and by combining the image size and the basic resolution of the preset image displayed under the reference resolution.
Optionally, the method for detecting the display resolution of the display device provided by the embodiment of the invention can be implemented on a terminal such as a mobile phone and a tablet computer.
The following describes specific steps of a method for detecting a resolution of a display device according to an embodiment of the present invention with reference to fig. 5:
step 501: the terminal determines a target image obtained by shooting a preset image displayed in the display device to be tested.
Step 502: and the terminal identifies the size of the display image of the preset image in the display equipment to be tested, which is expressed by the number of pixel units, according to the target image.
The size of the image displayed by the preset image in the display equipment to be tested, which is expressed by the number of pixel units, is identified, wherein the identification includes identifying the maximum number of pixel units of the image displayed by the preset image in the display equipment to be tested in the horizontal direction, and identifying the maximum number of pixel units of the image displayed by the preset image in the display equipment to be tested in the vertical direction.
Step 503: the terminal determines the multiple relation of the resolution ratio of the display equipment to be tested and the reference resolution ratio in the horizontal direction according to the maximum pixel unit number of the preset image in the horizontal direction of the image displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the horizontal direction under the reference resolution ratio.
Step 504: the terminal determines the multiple relation of the resolution ratio of the display equipment to be tested and the reference resolution ratio in the vertical direction according to the maximum pixel unit number of the preset image in the vertical direction of the image displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the vertical direction under the reference resolution ratio.
For example, step 503 may be executed first to determine a multiple relationship between the resolution of the display device to be tested and the reference resolution in the horizontal direction, or step 504 may be executed first to determine a multiple relationship between the resolution of the display device to be tested and the reference resolution in the vertical direction.
Step 505: and the terminal determines the resolution ratio of the display equipment to be tested in the horizontal direction according to the multiple relation of the resolution ratio of the display equipment to be tested and the reference resolution ratio in the horizontal direction and the resolution ratio of the reference resolution ratio in the horizontal direction.
Step 506: and the terminal determines the resolution ratio of the display equipment to be tested in the vertical direction according to the multiple relation between the resolution ratio of the display equipment to be tested and the reference resolution ratio in the vertical direction and the resolution ratio of the reference resolution ratio in the vertical direction.
For example, step 505 may be executed first to determine the resolution of the display device to be tested in the horizontal direction, or step 506 may be executed first to determine the resolution of the display device to be tested in the vertical direction.
Step 507: the terminal combines the resolution in the vertical direction of the resolution of the display equipment to be tested and the resolution in the vertical direction of the resolution of the display equipment to be tested to represent the resolution of the display equipment to be tested.
Based on the same inventive concept, the embodiment of the invention also provides a terminal for detecting the resolution. Because the principle of the device for solving the problems is similar to that of the embodiment of the present invention, the implementation of the device may refer to the implementation of the method of the present invention, and repeated details are not described herein.
As shown in fig. 6, a terminal for detecting resolution according to an embodiment of the present invention includes:
a target image determining module 601, configured to determine a target image obtained by shooting a preset image displayed in a display device to be tested;
an image recognition module 602, configured to recognize, according to the target image, an image size of the preset image displayed in the to-be-detected display device;
a resolution determining module 603, configured to determine a resolution of the display device to be tested according to the displayed image size, the image size of the preset image at a reference resolution, and the reference resolution;
wherein the image size is expressed by a pixel cell number.
Optionally, the resolution determining module 603 is specifically configured to:
determining the multiple relation between the resolution of the display equipment to be tested and the reference resolution according to the displayed image size and the image size of the preset image under the reference resolution;
and determining the resolution of the display equipment to be tested according to the multiple relation and the reference resolution.
Optionally, the image recognition module 602 is specifically configured to:
and identifying the maximum pixel unit number of the preset image in the vertical direction and the maximum pixel unit number in the horizontal direction displayed in the display equipment to be tested according to the target image.
Optionally, the resolution determining module 603 is specifically configured to:
determining a multiple relation in the vertical direction according to the maximum pixel unit number of a preset image in the vertical direction displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the vertical direction under the reference resolution; and
determining a multiple relation in the horizontal direction according to the maximum pixel unit number of a preset image in the horizontal direction displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the horizontal direction under the reference resolution;
determining the resolution of the display equipment to be tested in the vertical direction according to the multiple relation in the vertical direction and the resolution in the vertical direction in the reference resolution; and
and determining the resolution of the display equipment to be tested in the horizontal direction according to the multiple relation in the horizontal direction and the resolution in the horizontal direction in the reference resolution.
Alternatively, the shape of the preset image may be a square.
Optionally, the color of the edge region of the preset image is different from the color of the non-edge region;
the edge area is an area formed by X pixels close to the edge of the preset image in each row of pixels of the preset image and Y pixels close to the edge of the preset image in each column of pixels, and X, Y is a positive integer.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A method of detecting resolution, comprising:
the terminal determines a target image obtained by shooting a preset image displayed in the display equipment to be tested;
the terminal identifies the image size of the preset image displayed in the display equipment to be tested according to the target image;
the terminal determines the resolution of the display equipment to be tested according to the displayed image size, the image size of the preset image under the reference resolution and the reference resolution;
wherein the image size is expressed by a pixel cell number;
the terminal identifies the image size of the preset image displayed in the display equipment to be tested according to the target image, and the method specifically comprises the following steps:
the terminal identifies the maximum pixel unit number of the preset image in the vertical direction and the maximum pixel unit number in the horizontal direction displayed in the display equipment to be tested according to the target image;
the terminal determines the resolution of the display device to be tested according to the displayed image size, the image size of the preset image under the reference resolution and the reference resolution, and specifically includes:
the terminal determines the multiple relation between the resolution of the display equipment to be tested and the reference resolution according to the displayed image size and the image size of the preset image under the reference resolution;
the terminal determines the resolution of the display equipment to be tested according to the multiple relation and the reference resolution;
the terminal determines the multiple relation between the resolution of the display equipment to be tested and the reference resolution according to the displayed image size and the image size of the preset image under the reference resolution, and the method specifically comprises the following steps:
the terminal determines a multiple relation in the vertical direction according to the maximum pixel unit number of a preset image in the vertical direction displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the vertical direction under the reference resolution; and
the terminal determines a multiple relation in the horizontal direction according to the maximum pixel unit number in the horizontal direction displayed by a preset image in the display equipment to be tested and the maximum pixel unit number in the horizontal direction of the preset image under the reference resolution;
the terminal determines the resolution of the display device to be tested according to the multiple relation and the reference resolution, and the method specifically includes:
the terminal determines the resolution of the display equipment to be tested in the vertical direction according to the multiple relation in the vertical direction and the resolution in the vertical direction in the reference resolution; and
and the terminal determines the resolution of the display equipment to be tested in the horizontal direction according to the multiple relation in the horizontal direction and the resolution in the horizontal direction in the reference resolution.
2. The method of claim 1, wherein the color of the edge region of the preset image is different from the color of the non-edge region;
the edge area is an area formed by X pixels close to the edge of the preset image in each row of pixels of the preset image and Y pixels close to the edge of the preset image in each column of pixels, and X, Y is a positive integer.
3. A terminal for detecting resolution, the terminal comprising:
the target image determining module is used for determining a target image obtained by shooting a preset image displayed in the display equipment to be tested;
the image identification module is used for identifying the image size of the preset image displayed in the display equipment to be detected according to the target image;
the resolution determining module is used for determining the resolution of the display equipment to be tested according to the displayed image size, the image size of the preset image under the reference resolution and the reference resolution;
wherein the image size is expressed by a pixel cell number;
the resolution determination module is specifically configured to:
determining the multiple relation between the resolution of the display equipment to be tested and the reference resolution according to the displayed image size and the image size of the preset image under the reference resolution;
determining the resolution of the display equipment to be tested according to the multiple relation and the reference resolution;
the image recognition module is specifically configured to:
according to the target image, identifying the maximum pixel unit number in the vertical direction and the maximum pixel unit number in the horizontal direction of the preset image displayed in the display equipment to be tested;
the resolution determination module is specifically configured to:
determining a multiple relation in the vertical direction according to the maximum pixel unit number of a preset image in the vertical direction displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the vertical direction under the reference resolution; and
determining a multiple relation in the horizontal direction according to the maximum pixel unit number of a preset image in the horizontal direction displayed in the display equipment to be tested and the maximum pixel unit number of the preset image in the horizontal direction under the reference resolution;
determining the resolution of the display equipment to be tested in the vertical direction according to the multiple relation in the vertical direction and the resolution in the vertical direction in the reference resolution; and
and determining the resolution of the display equipment to be tested in the horizontal direction according to the multiple relation in the horizontal direction and the resolution in the horizontal direction in the reference resolution.
4. The terminal according to claim 3, wherein a color of an edge region of the preset image is different from a color of a non-edge region;
the edge area is an area formed by X pixels close to the edge of the preset image in each row of pixels of the preset image and Y pixels close to the edge of the preset image in each column of pixels, and X, Y is a positive integer.
CN201610804231.7A 2016-09-05 2016-09-05 Method and terminal for detecting resolution Expired - Fee Related CN106408559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610804231.7A CN106408559B (en) 2016-09-05 2016-09-05 Method and terminal for detecting resolution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610804231.7A CN106408559B (en) 2016-09-05 2016-09-05 Method and terminal for detecting resolution

Publications (2)

Publication Number Publication Date
CN106408559A CN106408559A (en) 2017-02-15
CN106408559B true CN106408559B (en) 2020-03-10

Family

ID=57998547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610804231.7A Expired - Fee Related CN106408559B (en) 2016-09-05 2016-09-05 Method and terminal for detecting resolution

Country Status (1)

Country Link
CN (1) CN106408559B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108172151A (en) * 2017-12-15 2018-06-15 鲁霖 Color monitor resolution detection method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100515098C (en) * 2006-12-25 2009-07-15 华为技术有限公司 Detection system of camera head and its method
CN100595799C (en) * 2007-02-07 2010-03-24 张健 Two-dimensional currency automatic recognition method and system
CN101626518B (en) * 2008-07-11 2011-06-29 比亚迪股份有限公司 Method and system for detecting resolution of photographic device
US8477053B2 (en) * 2011-06-06 2013-07-02 Analog Devices, Inc. ADC with resolution detector and variable dither
JP2013143709A (en) * 2012-01-12 2013-07-22 Canon Inc Image display device
JP6331253B2 (en) * 2013-03-13 2018-05-30 株式会社リコー Information processing program, information processing method, and information processing apparatus
CN103413512B (en) * 2013-07-24 2015-10-21 京东方科技集团股份有限公司 Display sychronizing signal detecting method and pick-up unit, display

Also Published As

Publication number Publication date
CN106408559A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
US10204537B2 (en) Display driving method and device and display device
US10109068B2 (en) Method of automatic identification and calibration of color and grayscale medical images
JP6325520B2 (en) Unevenness inspection system, unevenness inspection method, and unevenness inspection program
US10048061B2 (en) Measuring method and measuring system thereof
JP5867268B2 (en) Unevenness inspection apparatus and unevenness inspection method
US9368055B2 (en) Display device and driving method thereof for improving side visibility
WO2017008362A1 (en) Display improvement method and device thereof for liquid crystal panel
CN104966493A (en) Method for compensating spliced bright and dark lines
WO2015035744A1 (en) Image processing method
US20190141268A1 (en) Defective pixel compensation method and device
CN109151431B (en) Image color cast compensation method and device and display equipment
US10971044B2 (en) Methods and systems for measuring electronic visual displays using fractional pixels
CN115423795A (en) Static frame detection method, electronic device and storage medium
CN106408559B (en) Method and terminal for detecting resolution
CN113380170B (en) Display compensation method and device of display panel, display device and medium
US20180108136A1 (en) Method of length measurement for 2d photography
CN104461797A (en) System and method for testing notebook computer external display port
CN109599051B (en) Chromaticity adjusting method of display screen
EP3296957B1 (en) Method and apparatus for judging image brightness background, and display apparatus
US20210366348A1 (en) Display device and display method thereof
CN110176207A (en) Image data determination method and device and electronic equipment
CN111710279B (en) Image rendering method and device, display device, storage medium and electronic device
CN110288662B (en) Display detection method and system
US20140210842A1 (en) Measurement position determination apparatus, image display system, and non-transitory computer readable medium
CN112287856A (en) Logo detection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200310