CN108806517B - Display screen calibration method and device and computer readable storage medium - Google Patents

Display screen calibration method and device and computer readable storage medium Download PDF

Info

Publication number
CN108806517B
CN108806517B CN201810404523.0A CN201810404523A CN108806517B CN 108806517 B CN108806517 B CN 108806517B CN 201810404523 A CN201810404523 A CN 201810404523A CN 108806517 B CN108806517 B CN 108806517B
Authority
CN
China
Prior art keywords
display screen
line
display
pixel
screen
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
CN201810404523.0A
Other languages
Chinese (zh)
Other versions
CN108806517A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810404523.0A priority Critical patent/CN108806517B/en
Publication of CN108806517A publication Critical patent/CN108806517A/en
Priority to PCT/CN2019/078141 priority patent/WO2019205827A1/en
Application granted granted Critical
Publication of CN108806517B publication Critical patent/CN108806517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/302Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements characterised by the form or geometrical disposition of the individual elements
    • G09F9/3026Video wall, i.e. stackable semiconductor matrix display modules
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters

Abstract

A display screen calibration method, a display screen calibration device and a computer-readable storage medium are provided, wherein the display screen calibration method comprises the following steps: determining the number of staggered pixel rows of the first display screen and the second display screen; and setting display areas of the first display screen and the second display screen according to the staggered pixel line number. According to the scheme provided by the embodiment, the display area of the display screen is set according to the staggered pixel line number by determining the staggered pixel line number, so that the display screen is aligned, and the user experience is improved.

Description

Display screen calibration method and device and computer readable storage medium
Technical Field
The present invention relates to communications technologies, and in particular, to a method and an apparatus for calibrating a display screen, and a computer-readable storage medium.
Background
In order to provide better experience for users, a double-screen folding terminal is provided on the basis of the existing single-screen terminal. The dual screen terminal includes two display screens. Ideally, the display areas of the two display screens should be aligned. However, in the dual display terminal, due to the tolerance of the display screen and the structure, the joint tolerance of the single display screen is +/-0.15mm, and the sum of the two display screens is 0.3mm, and in addition, due to the problem that the display screens are staggered up and down caused by the assembly when the two display screens are assembled together, the display areas are not on the same horizontal line up and down, and the display areas cannot be strictly aligned up and down, as shown in fig. 1. Therefore, improvements are needed.
Disclosure of Invention
At least one embodiment of the invention provides a display screen calibration method and device and a computer readable storage medium.
In order to achieve the object of the present invention, at least one embodiment of the present invention provides a display screen calibration method, including:
determining the number of staggered pixel rows of the first display screen and the second display screen;
and setting display areas of the first display screen and the second display screen according to the staggered pixel line number.
An embodiment of the present invention provides a display screen calibration apparatus, including a memory and a processor, where the memory stores a program, and the program, when being read and executed by the processor, implements the display screen calibration method according to any embodiment.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the display screen calibration method of any embodiment.
Compared with the prior art, in at least one embodiment of the invention, the display area of the display screen is set according to the staggered pixel line number by determining the staggered pixel line number, so that the display screens are aligned, and the user experience is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic diagram illustrating misalignment of a dual-screen terminal in the related art;
FIG. 2 is a flowchart of a display screen calibration method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a display screen calibration method according to an embodiment of the present invention;
FIG. 4a is a schematic diagram of a screen misalignment of a display screen calibration method according to an embodiment of the present invention;
FIG. 4b is a schematic diagram illustrating screen alignment in a display screen calibration method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a display area of a display screen according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating adjustment of display areas of different types of display screens according to an embodiment of the present invention;
FIG. 7 is a flow chart illustrating a display area setting process according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating a setting process of a display area of a full-screen terminal according to an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating a display screen calibration method according to an embodiment of the present invention;
FIG. 10a is a schematic diagram of a display screen calibration method according to an embodiment of the present invention;
FIG. 10b is a schematic diagram illustrating a display screen calibration method according to an embodiment of the present invention;
fig. 11 is a block diagram of a display screen calibration apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here. The pixel row refers to a row of pixels in the alignment direction, for example, when two display panels are aligned in the horizontal direction, the pixel row refers to a row of pixels in the horizontal direction. The pixel column is a column of pixels in the vertical direction; if the two display screens are aligned vertically, the pixel row refers to a row of pixels in the vertical direction, and the pixel column refers to a row of pixels in the horizontal direction.
As shown in fig. 2, an embodiment of the present invention provides a method for calibrating a display screen, including:
step 201, determining the number of staggered pixel lines of a first display screen and a second display screen;
step 202, setting display areas of the first display screen and the second display screen according to the dislocated pixel line number.
The first display screen and the second display screen are two display screens of the same terminal and are connected together through a rotating connector. The two display screens may be the same type of display screen (i.e., the two display screens have the same specification and the same display area size), or different types of display screens (the display areas have different sizes), for example, one display screen is a full-screen display, and the other display screen is a non-full screen display. When the two display screens are the same type of display screen, both the display screens can be full-screen display screens or non-full-screen display screens. Of course, two screens of the multi-screen terminal are also possible.
In one embodiment, the step 202 of determining the number of misaligned pixel rows of the first display screen and the second display screen includes:
respectively displaying a target picture on the first display screen and the second display screen;
adjusting a display area of the first display screen;
when the target picture of the first display screen is aligned with the target picture of the second display screen in at least one direction, the number of pixel lines for adjusting the display area of the first display screen is recorded, and the number of pixel lines for adjusting is the number of pixel lines of the dislocation.
In an embodiment, the target picture includes at least one reference line located in a direction to be aligned between the first display screen and the second display screen, and the reference line is displayed on a preset aligned pixel line of the first display screen and the second display screen. The pixel rows to be aligned are preset, that is, the pixel rows to be aligned are required when the production and assembly are completely error-free, for example, a first pixel row (hereinafter referred to as a first row) of a first display screen and a first pixel row (hereinafter referred to as a second row) of a second display screen are required to be aligned when the production and assembly are completely error-free, and then the reference lines can be displayed in the first row of the first display screen and the reference lines can be displayed in the second row of the second display screen. The reference line may be one or more, for example, 3. The horizontal line length is for example the width of the display screen. Of course, the target picture may be other pictures, such as a long strip, or other pictures that are easy to distinguish whether the target picture is aligned.
In one embodiment, the adjusting the display area of the first display screen includes: and receiving a first instruction, and moving down a display area of the first display screen indicated by the first instruction. For example, a function button, a first function button and a second function button may be disposed on the display screen, and respectively located on the first display screen and the second display screen, and configured to adjust the first display screen and the second display screen, move down the display area of the first display screen when detecting that the user clicks the first function button (at this time, a first instruction is generated), and move down the display area of the second display screen when detecting that the user clicks the second function button (at this time, a first instruction is generated). And shifting down one line of the display area every time the first instruction is received. In this embodiment, a first instruction to adjust a first display screen is received.
In an embodiment, the aligning the target picture of the first display screen and the target picture of the second display screen in at least one direction includes: when a second instruction is received, the target picture of the first display screen is aligned with the target picture of the second display screen in at least one direction. For example, a third function button is set on the display screen, and when it is detected that the user clicks the third function button (at this time, a second instruction is generated), it indicates that the target pictures of the two display screens are aligned. It should be noted that in other embodiments, other manners may also be used to determine whether to align, for example, an external imaging device photographs the two display screens, and the terminal determines whether the target pictures of the two display screens are aligned according to the photographed pictures, or an external PC determines whether the target pictures of the two display screens are aligned according to the photographed pictures, and sends a second instruction to the terminal when the target pictures are aligned.
In an embodiment, the setting the display areas of the first display screen and the second display screen according to the misaligned pixel line number includes:
taking lines T +1 to M of the first display screen as a display area of the first display screen;
taking the 1 st line to the M-T line of the second display screen as a display area of the second display screen;
and M is the number of pixel lines of the first display screen and the second display screen. In this embodiment, the two display screens are the same type of display screen (same specification), and the display areas of the two display screens are adjusted.
In an embodiment, when the display area of the first display screen is smaller than the display area of the second display screen (for example, when the first display screen is a non-full-screen, and the second display screen is a full-screen), the display area of the second display screen is adjusted;
the setting of the display areas of the two display screens to be calibrated according to the number of lines comprises:
taking the line 1 to the line M1 of the first display screen as a display area of the first display screen;
regard the line T1+ T +1 to the line T1+ T + M1 of second display screen as the display area of second display screen, and T1+ T + M1< M2, T is right the line number that the display area of second display screen was adjusted, T1 is predetermine in the second display screen with the pixel line value of the first line alignment of first display screen, M1 is the pixel line number of first display screen, M2 is the pixel line number of second display screen. In this embodiment, the two display panels are different types of display panels (same specification), for example, if there is no error, the 121 th line of the second display panel and the 1 st line of the first display panel are horizontally aligned, and then T1 is 121. At this time, the display area of the non-full screen is not changed, and only the display area of the full screen is changed.
In one embodiment, the determining the number of misaligned pixel rows of the first display screen and the second display screen comprises:
acquiring images formed by the first display screen and the second display screen;
and determining the staggered pixel line number of the first display screen and the second display screen according to the image.
In one embodiment, the determining, from the image, the number of misaligned pixel rows of the first display screen and the second display screen includes:
acquiring a distance a between a first mark and a second mark on the first display screen in the image, and acquiring a distance b1 between a first reference line displayed on the first display screen and a second reference line displayed on the second display screen in the image, wherein the first reference line and the second reference line are displayed on pixel rows preset and aligned on the first display screen and the second display screen;
determining the number of dislocated pixel lines according to the physical distance L of the first mark and the second mark and the height H of all pixel lines of the first display screen
Figure BDA0001646536030000061
Wherein M1 is the number of pixel lines of the first display screen;
alternatively, the first and second electrodes may be,
acquiring a distance a between a first marker and a second marker on the first display screen in the image, and acquiring a distance b2 between the exact center of the first display screen and the exact center of the second display screen in the image;
determining the number of dislocated pixel lines according to the physical distance L of the first mark and the second mark and the height H of all pixel lines of the first display screen
Figure BDA0001646536030000062
Wherein L1 is the physical distance in the alignment direction between the exact center of the first display screen and the exact center of the second display screen.
Or, the heights h of all pixel lines of the first display screen in the image are acquired, the distance b1 between a first reference line on the first display screen and a second reference line on the second display screen in the image is acquired, and the first reference line and the second reference line are displayed on the pixel lines preset to be aligned with each other on the first display screen and the second display screen, thenThe number of misaligned pixel lines is
Figure BDA0001646536030000063
The preset alignment means that, for example, the first pixel row of the first display screen and the first pixel row of the second display screen need to be aligned, but the first pixel row of the first display screen and the first pixel row of the second display screen cannot be aligned due to errors in production and assembly, and the first pixel row of the first display screen and the first pixel row of the second display screen are the preset aligned pixel rows. For another example, the first pixel row of the first display panel and the 121 th pixel row of the second display panel need to be aligned, but due to production and assembly errors, the first pixel row and the 121 th pixel row of the first display panel and the second display panel cannot be aligned, and the first pixel row and the 121 th pixel row of the first display panel and the second display panel are the preset aligned pixel rows.
In an embodiment, the method further comprises:
determining the position relation of the display areas of the first display screen and the second display screen according to the positions of a first reference line on the first display screen and a second reference line on the second display screen in the image; the first reference line and the second reference line are displayed on pixel rows which are preset and aligned with the first display screen and the second display screen;
the setting of the display areas of the first display screen and the second display screen according to the dislocated pixel line number comprises: when the display area of the first display screen is higher than that of the second display screen, taking the lines from the T +1 th line to the M1 th line of the first display screen as the display area of the first display screen; taking the 1 st line to the M1-T line of the second display screen as a display area of the second display screen;
when the display area of the second display screen is higher than that of the first display screen, taking the lines from the T +1 th line to the M1 th line of the second display screen as the display area of the second display screen; taking the 1 st line to the M1-T line of the first display screen as a display area of the first display screen.
In an embodiment, the setting the display areas of the first display screen and the second display screen according to the misaligned pixel line number includes:
when the display area of the first display screen is smaller than that of the second display screen, taking the 1 st line to the M1 th line of the first display screen as the display area of the first display screen, taking the T1+ T +1 th line to the T1+ T + M1 th line of the second display screen as the display area of the second display screen, where M1 is the pixel line number of the first display screen, M2 is the pixel line number of the second display screen, and T1 is a preset pixel line value aligned with the first line of the first display screen in the second display screen;
when the display area of the first display screen is larger than that of the second display screen, taking lines from T2+ T +1 to T2+ T + M2 of the first display screen as the display area of the first display screen, taking lines from 1 to M2 of the second display screen as the display area of the second display screen, and taking the T2 as a pixel line value preset in the first display screen and aligned with the first line of the second display screen.
It should be noted that, the external PC may obtain the number of misaligned pixel lines and send the number of misaligned pixel lines to the terminal (i.e., the terminal including the first display screen and the second display screen), that is, the external PC controls the image capturing device to capture images of the first display screen and the second display screen, and then processes the images to obtain the number of misaligned pixel lines and sends the number of misaligned pixel lines to the terminal; or the terminal can process the images by itself, the images of the first display screen and the second display screen are shot by the external camera equipment and then sent to the terminal, and the terminal processes the images to obtain the number of staggered pixel lines.
In one embodiment, the regarding the lines T1+ T +1 to T1+ T + M2 of the first display screen as the display area of the first display screen includes:
setting the value of a starting line register of the first display screen to be T1+ T +1, and setting the value of an ending line register of the second display screen to be T1+ T + M2; or, dividing a window on the first display screen, setting the starting behavior of the window to be the T1+ T +1 th line, and setting the ending behavior to be the T1+ T + M2 th line.
That is, the display area may be set in two ways, one way is to set the values of the start line register and the receive line register, when the other pixel lines outside the display area of the display screen do not display content, being black. In another way, a window is divided into display areas, and at this time, other pixel rows outside the window are used as other windows, and some contents can also be displayed.
The application is further illustrated by the following specific examples.
An embodiment of the present invention provides a display screen calibration method, where when a first display screen and a second display screen are of the same type, as shown in fig. 3, the method includes:
step 301, entering a horizontal alignment display calibration mode;
the horizontal alignment display calibration mode can be entered through a physical key or a functional button (virtual key), or can be entered through system setting;
302, drawing a target picture on a first display screen and a second display screen;
for example, three reference lines are drawn, or one of the display screens draws one reference line and the other display screen draws three reference lines.
Step 303, when the display area of the first display screen is higher than that of the second display screen, turning to step 304, otherwise, turning to step 307;
304, adjusting a display area of the first display screen downwards line by line until the display areas of the first display screen and the second display screen are aligned;
step 305, recording the number x of the downward moving lines of the first display screen, and recording the number x in a storage area;
step 306, the first display screen displays black from the starting line to the x line, and refreshes display contents from the x +1 line to the ending line; the second display screen displays the refreshing content from the initial line to the (ending line-x), and displays black from the (ending line-x +1) to the ending line, and then ends; that is, the display area of the first display screen is from line x +1 to line end, and the display area of the second display screen is from line start to line (line end-x).
307, adjusting the display area of the second display screen downwards line by line until the display areas of the first display screen and the second display screen are aligned;
step 308, recording the number y of the downward shifting rows of the second display screen, and recording the number y in a storage area;
step 309, the second display screen displays black from the starting line to the y line, and refreshes display contents from the starting line to the ending line of the y +1 line; the first display screen displays the refresh content from the starting line to the (ending line-y), and displays black from the (ending line-y +1) to the ending line; that is, the display area of the second display screen is from line y +1 to the end line, and the display area of the first display screen is from the start line to the (end line-y).
After entering the horizontal alignment display calibration mode, three horizontal lines are displayed on the dual-screen, and the display frame is misaligned, as shown in fig. 4 a. In addition, there are two function buttons, adjust a for adjusting the display area of the first display screen, adjust B for adjusting the display area of the second display screen, and may further include a function button, Save, for indicating that the adjustment is completed, saving the adjusted number of lines, and a function button Restore, for resuming the alignment. In addition, a prompt message "If the display area of the screen is high, adjust the screen" can be displayed on the first display screen (If this screen is high, adjust a). And displaying prompt information on the second display screen, If the display area of the screen is high, adjusting the screen (If this screen is high, adjust B). Of course, the prompt message may not be present.
In this example, the second display screen is higher than the first display screen, and after the user is detected to click the adjust B button (at this time, the first instruction is received), the display area of the second display screen is adjusted step by step until the horizontal lines of the first display screen and the second display screen are aligned, as shown in fig. 4B. And after detecting that the user clicks the Save button (at the moment, receiving a second instruction), recording the line number y of the horizontal downward movement of the second display screen into the memory.
For example, in one embodiment, the display resolution of the first display screen and the second display screen are 1920 × 1080, and the second display screen is 4 rows of pixels higher than the first display screen, that is, y is 4. After calibration by the scheme, the display refresh area of the first display screen is 1916 rows of pixels 1920-4 from the 1 st row of pixels, the display refresh area of the second display screen is 1915 rows of pixels 1920-4 from the y +1 th row of pixels, wherein the 1917 th row of pixels 1920 from the first display screen are displayed in black, and the 1 st row of pixels 4 from the second display screen are displayed in black. As shown in fig. 5.
In another embodiment of the present invention, in the embodiment, the first display screen and the second display screen are different types of display screens, the first display screen is a non-full-screen, and the second display screen is a full-screen, in this embodiment, the first display screen is referred to as an a screen, and the resolution thereof is 1920x1080, and the second display screen is referred to as a B screen, and the resolution thereof is 2160x1080, and particularly, the resolutions of the a screen and the B screen may be other sizes, for example, the a screen is 2160x1080, and the B screen is 2400x 1080. For another example, the a screen is 1920x1080, the B screen is 2400x1080, and so on. This is not a limitation of the present application.
The display modes of the B screen are divided into two modes, namely a full-screen display mode and a small-screen display mode. Wherein the display area size of the "small screen" display mode is the same as the display area size of the a screen.
The A screen display resolution is 1920x1080, the B screen display resolution is 2160x1080, and compared with the A screen, 240 rows of pixels are added, and the pixels in the columns are the same. If the A screen and the B screen are installed without tolerance, the 1 st row of pixels of the A screen and the 121 th row of pixels of the B screen are aligned, and when the B screen works in a small screen mode, the pixels of the display area of the B screen are the 121 st row of pixels to 2040 th row of pixels and are completely aligned with the display area of the A screen.
However, due to the structure and the dimensional tolerance of the LCD, in the expansion mode, the 1 st row of pixels of the A screen and the 121 th row of pixels of the B screen cannot be aligned, and the 121 th row of pixels of the B screen may be aligned at the 1 st row of pixels of the A screen; the 121 th row of pixels of the B screen may be above the horizontal lines of the 1 st row of pixels of the a screen; the 121 th row of pixels of the B screen may be below the horizontal lines of the 1 st row of pixels of the a screen. And each machine may be different.
In this embodiment, three reference lines are displayed on the a screen and the B screen, and the display area of the B screen is adjusted so that the three reference lines of the B screen and the three reference lines of the a screen are aligned, as shown in fig. 6. The number of pixel lines X of the B screen aligned with the first line of the a screen is recorded. Store X as a configuration file in memory.
In the B-screen small-screen display mode, the pixels of the X row to the (X +1920-1) row of the B-screen are taken as the display area of the B-screen, in addition, the pixels of the 1 st row to the (X-1) th row of the B-screen are taken as the first display small window, and the pixels of the (X +1920) th row to the 2160 th row of the B-screen are taken as the second display small window.
The flow chart of the method for setting the display area of the B-screen as the "small-screen" display mode from the X-th row of pixels to the (X +1920-1) -th row of pixels is shown in fig. 7, and includes:
step 701, setting an initial display line of the display device as x through a Start Row register;
step 702, setting the ending display line of the display to (x +1920-1) through an End Row register;
step 703, refreshing the display content to the display area.
In other embodiments, the size of the display area may be set by sending a control command to the LCD IC, such as a command to set SP and EP parameters to the LCD IC. The specific setting method can refer to the LCD IC control description, and is not described herein.
As shown in fig. 8, an embodiment of the present invention provides a display control method, including:
step 801, detecting a display mode of a B screen;
step 802, when the screen B is in a full screen display mode, turning to step 803, and when the screen B is in a non-full screen display mode, turning to step 804;
step 803, setting the size of the display area of the B screen to 2160 × 1080, and ending;
step 804, reading an initial display line X of the B screen configuration file;
step 805, setting the size of a display area of the B screen to 1920 × 1080, wherein the display line X is displayed at the beginning, and the display line X +1920-1 is displayed at the end.
Fig. 9 is a schematic diagram of a display screen calibration method according to an embodiment of the invention. As shown in fig. 9, two marks Mark a and Mark B are provided on the first display screen, the first display screen displays one reference line, the second display screen displays three reference lines, and the second of the three reference lines and the reference line of the first display screen are displayed in a pixel row which is preset to be aligned. For example, taking the first display panel and the second display panel as the same type of display panel as an example, the reference line of the first display panel is displayed in the pixel row 1000, and the middle reference line of the three reference lines of the second display panel is displayed in the pixel row 1000. Mark A and Mark B can take any two points as required, and the relation between the image distance and the actual physical distance can be represented.
And calculating the offset dislocation distance through photographing, image recognition and image processing. Assuming that the physical distance between the preset points MarkA and MarkB is L mm (i.e. the actual distance on the display screen, the distance in the non-image), the height of all pixel lines of the screen is H mm (the actual height, the height in the non-image), and the resolution of the screen is 1920x 1080.
The image distance a of MarkA and MarkB is obtained through image processing, the distance between the reference line of the A screen and the reference line of the B screen is B1 (which can be obtained through the distance between the point x1 and the point y1 in the figure, and the distance between the point x1 and the point y1 can be approximately used as the distance between the reference line of the A screen and the reference line of the B screen because the distance between the A screen and the B screen is very small), then the dislocation length m1 and the dislocation pixel line number T of the A screen and the B screen can be calculated through the following formulas, and T is recorded into a memory, wherein:
length of dislocation
Staggered rows of pixels
Figure BDA0001646536030000112
In particular, the point of x1 is higher than the point of y1, the A screen is higher than the B screen; the point of x1 is lower than the point of y1, and the B screen is higher than the A screen.
When the screen A and the screen B are the same type of screen and the screen A is higher than the screen B, taking the line T +1 to the line M of the screen A as a display area of the screen A; and taking the 1 st line to the M-T line of the B screen as a display area of the B screen.
When the screen A and the screen B are the same type of screen and the screen B is higher than the screen A, taking the line T +1 to the line M of the screen B as a display area of the screen B; and taking the 1 st line to the M-T line of the A screen as a display area of the A screen.
And M is the pixel line number of the A screen and the B screen.
Fig. 10a is a schematic diagram of a display screen calibration method according to another embodiment of the present invention. As shown in fig. 10a, two marks Mark a and Mark B are provided on a first display screen, the first display screen displays one reference line, a second display screen displays three reference lines, and a second of the three reference lines and the reference line of the first display screen are displayed in a pixel row which is preset to be aligned. x2 and y2 are the exact centers of the A screen and the B screen, respectively.
Assuming that the physical distance between MarkA and MarkB is L mm, the height of all pixel lines of the A screen is H mm, the widths of the A screen and the B screen are consistent and are both W mm, and the resolution of the screen is 1920x 1080.
If horizontally aligned, the physical distance L1 between the exact center point x of the a screen and the exact center y of the B screen is the screen width W + the slot width S.
And obtaining an image distance a of MarkA and MarkB through image processing, wherein the image distance between two points, namely an X2 point at the positive center of the A screen and a y2 point at the positive center of the B screen is B2, then:
the true distance between the exact center point x2 of the A screen and the exact center y2 of the B screen is
As shown in fig. 10b, the offset distance is
Figure BDA0001646536030000122
Staggered rows of pixels
Figure BDA0001646536030000123
Record T to memory.
The method of calculating the misalignment distance in the image is merely an example, and the misalignment distance of the pixel may be calculated by another method.
In particular, the point of x2 is higher than the point of y2, the A screen is higher than the B screen; the point of x2 is lower than the point of y2, and the B screen is higher than the A screen.
As shown in fig. 11, an embodiment of the present invention provides a display screen calibration apparatus 110, which includes a memory 1110 and a processor 1120, where the memory 1110 stores a program, and when the program is read and executed by the processor 1120, the program implements the display screen calibration method according to any one of the above embodiments.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the display screen calibration method described in any of the above embodiments.
The computer-readable storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A display screen calibration method comprises the following steps:
determining the number of staggered pixel rows of the first display screen and the second display screen;
and reselecting the pixel row according to the dislocated pixel row number to serve as the display area of the first display screen, and reselecting the pixel row according to the dislocated pixel row number to serve as the display area of the second display screen so as to align the first display screen and the second display screen.
2. The display screen calibration method of claim 1, wherein determining the number of misaligned pixel rows for the first display screen and the second display screen comprises:
respectively displaying a target picture on the first display screen and the second display screen;
adjusting a display area of the first display screen;
when the target picture of the first display screen is aligned with the target picture of the second display screen in at least one direction, the number of pixel lines for adjusting the display area of the first display screen is recorded, and the number of pixel lines for adjusting is the number of pixel lines of the dislocation.
3. The display screen calibration method according to claim 2, wherein the target picture comprises at least one reference line located in a direction in which the first display screen and the second display screen are to be aligned, and the reference line is displayed on a preset aligned pixel row of the first display screen and the second display screen.
4. The display screen calibration method of claim 2, wherein the adjusting the display area of the first display screen comprises: and receiving a first instruction, and moving down a display area of the first display screen indicated by the first instruction.
5. The display screen calibration method according to claim 2, wherein when the target picture of the first display screen is aligned with the target picture of the second display screen in at least one direction, the method comprises: when a second instruction is received, the target picture of the first display screen is aligned with the target picture of the second display screen in at least one direction.
6. The display screen calibration method of claim 1, wherein the reselecting a row of pixels as the display area for the first display screen based on the misaligned number of rows of pixels, and the reselecting a row of pixels as the display area for the second display screen based on the misaligned number of rows of pixels to align the first display screen and the second display screen comprises:
taking lines T +1 to M of the first display screen as a display area of the first display screen;
taking the 1 st line to the M-T line of the second display screen as a display area of the second display screen;
and M is the pixel line number of the first display screen and the second display screen.
7. The display screen calibration method of claim 1, wherein determining the number of misaligned pixel rows for the first display screen and the second display screen comprises:
acquiring images formed by the first display screen and the second display screen;
and determining the staggered pixel line number of the first display screen and the second display screen according to the image.
8. The display screen calibration method of claim 7, wherein said determining from the image the number of misaligned pixel rows of the first display screen and the second display screen comprises:
acquiring a distance a between a first mark and a second mark in the image, and acquiring a distance b1 between a first reference line on the first display screen and a second reference line on the second display screen in the image, wherein the first reference line and the second reference line are displayed on pixel rows which are preset and aligned on the first display screen and the second display screen;
determining the number of the dislocated pixel lines according to the physical distance L between the first mark and the second mark and the height H of all the pixel lines of the first display screen
Figure FDA0002266643150000021
Wherein M1 is the pixel line number of the first display screen;
alternatively, the first and second electrodes may be,
acquiring a distance a between a first marker and a second marker in the image, and acquiring a distance b2 between the exact center of the first display screen and the exact center of the second display screen in the image;
determining the number of dislocated pixel lines according to the physical distance L of the first mark and the second mark and the height H of all pixel lines of the first display screenWherein L1 is the object of the center of the first display screen and the center of the second display screen along the alignment directionAnd M1 is the number of pixel lines of the first display screen.
9. The display screen calibration method of claim 7, further comprising:
determining the position relation of the display areas of the first display screen and the second display screen according to the positions of a first reference line on the first display screen and a second reference line on the second display screen in the image; the first reference line and the second reference line are displayed on pixel rows which are preset and aligned with the first display screen and the second display screen;
the reselecting a pixel row according to the dislocated pixel row number as a display area of the first display screen, and reselecting a pixel row according to the dislocated pixel row number as a display area of the second display screen to align the first display screen and the second display screen comprises: when the display area of the first display screen is higher than that of the second display screen, taking the lines from the T +1 th line to the M1 th line of the first display screen as the display area of the first display screen; taking the 1 st line to the M1-T line of the second display screen as the display area of the second display screen, wherein T is the staggered pixel line number, and M1 is the pixel line number of the first display screen;
when the display area of the second display screen is higher than that of the first display screen, taking the lines from the T +1 th line to the M2 th line of the second display screen as the display area of the second display screen; and taking the 1 st line to the M2-T line of the first display screen as a display area of the first display screen, wherein T is the staggered pixel line number, and M2 is the pixel line number of the second display screen.
10. The display screen calibration method of any of claims 1 to 9, wherein the reselecting a pixel row as the display area of the first display screen according to the misaligned pixel row number and reselecting a pixel row as the display area of the second display screen according to the misaligned pixel row number to align the first display screen and the second display screen comprises:
when the display area of the first display screen is smaller than that of the second display screen, taking the 1 st line to the M1 th line of the first display screen as the display area of the first display screen, taking the T1+ T line to the T1+ T + M1-1 st line of the second display screen as the display area of the second display screen, where M1 is the pixel line number of the first display screen, T1 is a pixel line value preset in the second display screen and aligned with the first line of the first display screen, and T is the pixel line number of the misalignment;
when the display area of the first display screen is larger than that of the second display screen, regarding the line from the T2+ T line to the T2+ T + M2-1 line of the first display screen as the display area of the first display screen, regarding the line from the 1 st line to the M2 line of the second display screen as the display area of the second display screen, wherein the T2 is a pixel line value preset in the first display screen and aligned with the first line of the second display screen, the T is the dislocated pixel line number, and the M2 is the pixel line number of the second display screen.
11. The display screen calibration method according to claim 10, wherein the using the T2+ T line to the T2+ T + M2-1 line of the first display screen as the display area of the first display screen comprises:
setting the value of a starting line register of the first display screen to be T2+ T, and setting the value of an ending line register of the first display screen to be T2+ T + M2-1; or, dividing a window on the first display screen, setting the starting behavior of the window to be the T2+ T line, and setting the ending behavior to be the T2+ T + M2-1 line.
12. A display screen calibration device comprising a memory and a processor, wherein the memory stores a program which, when read and executed by the processor, implements the display screen calibration method according to any one of claims 1 to 11.
13. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the display screen calibration method of any one of claims 1 to 11.
CN201810404523.0A 2018-04-28 2018-04-28 Display screen calibration method and device and computer readable storage medium Active CN108806517B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810404523.0A CN108806517B (en) 2018-04-28 2018-04-28 Display screen calibration method and device and computer readable storage medium
PCT/CN2019/078141 WO2019205827A1 (en) 2018-04-28 2019-03-14 Display screen calibration method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810404523.0A CN108806517B (en) 2018-04-28 2018-04-28 Display screen calibration method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108806517A CN108806517A (en) 2018-11-13
CN108806517B true CN108806517B (en) 2020-02-14

Family

ID=64093228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810404523.0A Active CN108806517B (en) 2018-04-28 2018-04-28 Display screen calibration method and device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108806517B (en)
WO (1) WO2019205827A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108806517B (en) * 2018-04-28 2020-02-14 中兴通讯股份有限公司 Display screen calibration method and device and computer readable storage medium
CN110264892B (en) * 2019-05-24 2021-09-24 亿信科技发展有限公司 Control method of annular screen
CN110825335A (en) * 2019-10-31 2020-02-21 维沃移动通信有限公司 Double-sided screen dislocation adjusting method and device and electronic equipment
CN110718179A (en) * 2019-11-04 2020-01-21 深圳市华星光电半导体显示技术有限公司 Display driving method and spliced screen display driving system
CN114267291B (en) * 2020-09-16 2023-05-12 京东方科技集团股份有限公司 Gray scale data determination method, device, equipment and screen driving plate

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055989A (en) * 2009-11-04 2011-05-11 克里斯蒂数字系统美国有限公司 Tiled display system and improvement therein
CN103577062A (en) * 2012-08-07 2014-02-12 纬创资通股份有限公司 Display adjustment method and computer program product thereof
CN103870091A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Multi-window display method and system
CN103984477A (en) * 2014-04-01 2014-08-13 深圳市云来网络科技有限公司 Method and device for adapting UI to mobile clients in different screen sizes
CN105955689A (en) * 2016-05-19 2016-09-21 乐视控股(北京)有限公司 Screen adaption method and device during multi-screen interaction
CN106537235A (en) * 2014-09-30 2017-03-22 X开发有限责任公司 Masking mechanical separations between tiled display panels
CN107728986A (en) * 2017-11-07 2018-02-23 北京小鸟看看科技有限公司 The display methods and display device of a kind of double-display screen

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7570227B2 (en) * 2003-10-17 2009-08-04 Palo Alto Research Center Incorporated Systems and methods for managing seams
KR100790890B1 (en) * 2006-09-27 2008-01-02 삼성전자주식회사 Apparatus and method for generating panorama image
CN101833231B (en) * 2010-03-19 2012-05-23 中国人民解放军国防科学技术大学 Device and method for adjusting view field of spliced panoramic camera
CN103533279A (en) * 2013-10-24 2014-01-22 深圳市晶日盛科技有限公司 Calibration method for multi-projection splicing
WO2015089819A1 (en) * 2013-12-20 2015-06-25 Orange Method for selecting an electronic content to be displayed on a display of an electronic device
CN104461301B (en) * 2014-12-22 2017-11-14 青岛大学 The method that screen window automatic aligning is realized based on world coordinates
CN107391066A (en) * 2017-07-14 2017-11-24 西安万像电子科技有限公司 Window display method and device
CN108806517B (en) * 2018-04-28 2020-02-14 中兴通讯股份有限公司 Display screen calibration method and device and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055989A (en) * 2009-11-04 2011-05-11 克里斯蒂数字系统美国有限公司 Tiled display system and improvement therein
CN103577062A (en) * 2012-08-07 2014-02-12 纬创资通股份有限公司 Display adjustment method and computer program product thereof
CN103870091A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Multi-window display method and system
CN103984477A (en) * 2014-04-01 2014-08-13 深圳市云来网络科技有限公司 Method and device for adapting UI to mobile clients in different screen sizes
CN106537235A (en) * 2014-09-30 2017-03-22 X开发有限责任公司 Masking mechanical separations between tiled display panels
CN105955689A (en) * 2016-05-19 2016-09-21 乐视控股(北京)有限公司 Screen adaption method and device during multi-screen interaction
CN107728986A (en) * 2017-11-07 2018-02-23 北京小鸟看看科技有限公司 The display methods and display device of a kind of double-display screen

Also Published As

Publication number Publication date
CN108806517A (en) 2018-11-13
WO2019205827A1 (en) 2019-10-31

Similar Documents

Publication Publication Date Title
CN108806517B (en) Display screen calibration method and device and computer readable storage medium
CN101110942B (en) Remote instruction system and method
CN102170544B (en) Correction information calculating device, image processing apparatus, image display system, and image correcting method
EP3770747A1 (en) Method for displaying a picture and method for rotating a displayed picture
US20090058884A1 (en) Image display device and method
US9398278B2 (en) Graphical display system with adaptive keystone mechanism and method of operation thereof
TWI611383B (en) Calibration system and method of multi-image output device
US20160286184A1 (en) System and method for adjusting a projected image, and projection device
CN1928700B (en) Projection type display device and method for controlling the same
US20110134252A1 (en) Information processing apparatus and control method thereof
CN103517041A (en) Real-time full-view monitoring method and device based on multi-camera rotating scanning
TW200421162A (en) Image processing system, projector, information memory media and image processing method
CN103685956A (en) Panoramic photo shooting method and device
CN113269697B (en) Method and device for generating curved screen image
JP2008503121A (en) Image sensors and display devices that function in various aspect ratios
US20190371219A1 (en) Demura system for non-planar screen
US7813578B2 (en) Method and apparatus for unobtrusively correcting projected image
US8390567B2 (en) System and method for determining coordinates
JP2007158398A (en) Shift amount detector and multiprojection device
CN109377884B (en) Display panel, display device and driving method of display panel
US20210357170A1 (en) Method for determining offset distance of splicing screen and related apparatus
CN111260550A (en) Splicing line optimization method and equipment for panoramic video
JPWO2018189971A1 (en) Image processing device, imaging device, terminal device, image correction method, and image processing program
US20170084004A1 (en) Image processing apparatus, image processing method, and computer-readable recording medium
KR101790994B1 (en) 360-degree video implementing system based on rotatable 360-degree camera

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