CN109951699B - Method and device for testing television display scale and storage medium - Google Patents

Method and device for testing television display scale and storage medium Download PDF

Info

Publication number
CN109951699B
CN109951699B CN201711391311.5A CN201711391311A CN109951699B CN 109951699 B CN109951699 B CN 109951699B CN 201711391311 A CN201711391311 A CN 201711391311A CN 109951699 B CN109951699 B CN 109951699B
Authority
CN
China
Prior art keywords
image
television
display
display scale
video signal
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
CN201711391311.5A
Other languages
Chinese (zh)
Other versions
CN109951699A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201711391311.5A priority Critical patent/CN109951699B/en
Publication of CN109951699A publication Critical patent/CN109951699A/en
Application granted granted Critical
Publication of CN109951699B publication Critical patent/CN109951699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a method, a device and a storage medium for testing a television display scale, wherein the method comprises the following steps: acquiring a display scale of a video signal to be sent to an intelligent television, and controlling the intelligent television to configure the display scale; sending the video signal to an intelligent television, and collecting an image formed by the video signal on the intelligent television; extracting image features of the image, and comparing the image features with image features corresponding to the display scale; and determining the correctness of the display scale configuration of the intelligent television according to the comparison result. According to the invention, the display scale of the television is adjusted according to the display scale carried by the video signal, the image characteristics of the image formed by the video information on the intelligent television with the adjusted scale are extracted, and then the image characteristics are compared with the preset image characteristics to test the display scale of the television, so that the automatic test of the automatic display scale is realized, and the test efficiency is improved.

Description

Method and device for testing television display scale and storage medium
Technical Field
The invention relates to the technical field of intelligent televisions, in particular to a method and a device for testing a television display scale and a storage medium.
Background
With the gradual popularization of flat-panel televisions, the scale mode of the display screen of the television is gradually increased. E.g., 4:3 scale mode, 16:9 scale mode, 16_9_ zoom _ up scale mode, etc. At present, the smart television can automatically adjust the scale mode according to the display scale carried by the video signal so as to meet the requirement of the matching between the scale mode and the signal format of the video signal. However, in order to ensure that the smart television properly displays the input signals with different resolutions on the display device with a fixed physical resolution according to different display requirements, a function of automatically adjusting the display scale of the smart television according to the display scale carried by the video signal needs to be tested.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
The invention aims to provide a method and a device for testing a television display scale and a storage medium, so as to realize automatic testing of the display scale.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a method for testing the display scale of a television comprises the following steps:
acquiring a display scale of a video signal to be sent to an intelligent television, and controlling the intelligent television to configure the display scale;
sending the video signal to an intelligent television, and collecting an image formed by the video signal on the intelligent television;
extracting image features of the image, and comparing the image features with image features corresponding to the display scale;
and determining the correctness of the display scale configuration of the intelligent television according to the comparison result.
The method for testing the display scale of the television comprises the following steps of obtaining the display scale of a video signal to be sent to the smart television, and controlling the smart television to configure the display scale:
generating a video signal to be sent to the smart television through a preset video signal generator, and extracting the display proportion of the video signal;
and generating a remote control code according to the display proportion of the video signal, and controlling the smart television to configure the display proportion through the remote control code.
The method for testing the television display proportion comprises the following steps of sending the video signal to the intelligent television and collecting an image formed by the video signal on the intelligent television:
sending the video signal to an intelligent television to control the intelligent television to display a video picture corresponding to the video signal;
and collecting the video picture displayed by the intelligent television to obtain the image.
The method for testing the television display scale comprises the following steps of:
judging a proportion mode to which the display proportion belongs, wherein the proportion mode comprises 4:3, and other proportional modes supported by the smart television;
when the display scale is 4:3, extracting the image characteristics of the image according to a first extraction rule;
and when the display scale is in other scale modes supported by the smart television, extracting the image features of the image according to a second extraction rule.
The method for testing the television display scale comprises the steps that the image is a black image carrying a plurality of white concentric circles, wherein the circle center of each white concentric circle is located at the center of the image.
The television display scale testing method comprises the following steps of: 3, extracting the image features of the image according to the first extraction rule specifically includes:
when the display scale is 4:3, respectively intercepting first images with preset sizes at the left side and the right side of the image in a proportional mode;
and respectively acquiring white pixel points carried in the intercepted first image, and calculating the number of all the acquired white pixel points to obtain the image characteristics of the image.
The method for testing the television display scale, wherein when the display scale is in other scale modes supported by the smart television, extracting the image features of the image according to a second extraction rule specifically includes:
when the display scale is in other scale modes supported by the smart television, respectively translating the central point of the image to the left/right and to the up/down by preset distances;
respectively extracting white pixel points contained in the horizontal direction and the longitudinal direction of the position of the center point of the moved image;
and respectively calculating the number of pixels of the white pixel points contained in the horizontal direction and the vertical direction, and generating the image characteristics of the image according to the calculated number of all the pixels.
The method for testing the television display proportion comprises the following steps of respectively calculating the number of pixels of white pixels contained in the horizontal direction and the vertical direction, and generating the image characteristics of the image according to the calculated number of all the pixels:
generating corresponding pixel point lists according to the white pixel points contained in the horizontal direction and the vertical direction respectively, and performing duplicate removal processing on each pixel point list by adopting a list circulation method;
and calculating the number of pixel points contained in the corresponding direction according to the pixel point list after the duplication removal, and generating the image characteristics of the image according to the calculated number of all the pixels.
A computer readable storage medium storing one or more programs which are executable by one or more processors to implement the steps in the method for testing the display scale of a television set as described in any one of the above.
A testing device for television display scale comprises: the device comprises a processor, a memory and a communication bus, wherein the memory is stored with a computer readable program which can be executed by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the method for testing the television display scale as described in any one of the above.
Has the advantages that: compared with the prior art, the invention provides a method, a device and a storage medium for testing the display scale of a television, wherein the method comprises the following steps: acquiring a display scale of a video signal to be sent to an intelligent television, and controlling the intelligent television to configure the display scale; sending the video signal to an intelligent television, and collecting an image formed by the video signal on the intelligent television; extracting image features of the image, and comparing the image features with image features corresponding to the display scale; and determining the correctness of the display scale configuration of the intelligent television according to the comparison result. According to the invention, the display scale of the television is adjusted according to the display scale carried by the video signal, the image characteristics of the image formed by the video information on the intelligent television with the adjusted scale are extracted, and then the image characteristics are compared with the preset image characteristics to test the display scale of the television, so that the automatic test of the automatic display scale is realized, and the test efficiency is improved.
Drawings
Fig. 1 is a flowchart of a method for testing a television display scale according to a preferred embodiment of the present invention.
Fig. 2 is a schematic diagram of a video signal carrying display content in the method for testing a television display scale provided by the present invention.
Fig. 3 is a flowchart of step S10 in the method for testing the tv display scale according to the present invention.
Fig. 4 is a flowchart of step S20 in the method for testing the tv display scale according to the present invention.
Fig. 5 is a flowchart of step S30 in the method for testing the tv display scale according to the present invention.
Fig. 6 is a flowchart of step S32 in the method for testing the tv display scale according to the present invention.
Fig. 7 is a flowchart of step S33 in the method for testing the tv display scale according to the present invention.
Fig. 8 is a flowchart of step S333 in the method for testing the television display scale according to the present invention.
FIG. 9 is a schematic structural diagram of a preferred embodiment of a device for testing a television display ratio according to the present invention.
Detailed Description
The invention provides a method, a device and a storage medium for testing a television display scale, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The invention will be further explained by the description of the embodiments with reference to the drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for testing a television display scale according to a preferred embodiment of the present invention. The method comprises the following steps:
and S10, acquiring the display scale of the video signal to be sent to the smart television, and controlling the smart television to configure the display scale.
Specifically, the video information is a preset video signal for sending to the smart television, and the video signal carries preset display content. Namely, when the intelligent television plays the video signal, preset display content is displayed on a display interface of the intelligent television. As shown in fig. 2, the preset display content is a black image carrying a preset number of white concentric circles, so that the acquired image of the display image of the smart television is a black image carrying a plurality of white concentric circles, and the center of the white concentric circle is located at the center of the image. Further, the preset contents carry a horizontal axis and a vertical axis, and the horizontal axis and the vertical axis pass through an image center point, respectively.
The different video information sent to the smart television has the same display content, and only the configured signal formats are different, that is, the display proportions corresponding to the video signals are different. Therefore, the preset image characteristics corresponding to the display proportion can be configured according to the preset display content, and the configured image characteristics are associated with the corresponding display proportion, so that the corresponding preset image characteristics can be found according to the display proportion. Correspondingly, an image feature list can be established in advance, and the display proportion supported by the smart television and the preset image features corresponding to the display proportions are stored in the image feature list. Meanwhile, the image feature list is associated with the model of the corresponding intelligent television, an image feature database is formed according to the image feature list corresponding to each intelligent television model, and the image feature database is stored.
In addition, after the display scale of the video signal is acquired, a remote control code needs to be generated to control the smart television to switch the display scale through the remote control code. Correspondingly, as shown in fig. 3, the obtaining of the display scale of the video signal to be sent to the smart television, and the controlling of the smart television to configure the display scale specifically include:
s11, generating a video signal to be sent to the smart television through a preset video signal generator, and extracting the display scale of the video signal;
and S12, generating a remote control code according to the display scale of the video signal, and controlling the smart television to configure the display scale through the remote control code.
Specifically, the video signal generator may generate a preset video signal and send the video information to the smart television, that is, the video signal generator is connected to the smart television in advance and may generate and send the video information to the smart television. The video signal is a fixed video signal carrying preset display content, and the video signal carries a display scale, that is, the display scale carried by the video signal can be determined according to the display scale carried by the video signal. In addition, after the display scale carried by the video signal is acquired, the remote control code can be generated according to the display scale, and the remote control code is sent to the smart television through the script, so that the smart television configures the display scale of the smart television according to the remote control code. Certainly, in practical application, the video signal generator may obtain a model of the smart television to be tested, and obtain a proportional mode supported by the smart television according to the model; and sequentially generating corresponding video signals according to the proportional modes, and after the test of one proportional mode is finished, sending a video signal corresponding to the other proportional mode so as to test all proportional modes supported by the intelligent television.
And S20, sending the video signal to the intelligent television, and collecting an image formed by the video signal on the intelligent television.
Specifically, the image is an image of a display screen formed by playing the video signal by the smart television. That is to say, after the video signal is sent to the smart television, the smart television plays the video information and displays a display picture corresponding to the video signal on a display interface configured by the smart television. And acquiring the display picture to obtain the image. In this embodiment, the image may be acquired by an acquisition card configured for the smart television, or may be acquired by a screen capture mode, or may be acquired by configuring a camera for the testing apparatus, and capturing a display interface of the smart television by the camera, where the image is acquired by any mode as long as the image can be acquired, which is not necessarily described here.
For example, as shown in fig. 4, the sending the video signal to the smart television and acquiring the image formed by the video signal on the smart television specifically include:
s21, sending the video signal to the smart television to control the smart television to display a video picture corresponding to the video signal;
and S22, collecting the video picture displayed by the intelligent television to obtain the image.
Specifically, the video frame is a display frame corresponding to the video signal, and preset display content is presented in the video frame, as shown in fig. 2, the image is a black background and carries several white concentric circles, and carries a horizontal axis and a vertical axis passing through a center point of the image.
And S30, extracting the image features of the image, and comparing the image features with the image features corresponding to the display scale.
Specifically, the image features are images carried by the images and used for judging the corresponding display proportions of the images, and different proportion modes correspond to different image features, so that the image features are extracted by searching extraction rules corresponding to the image features according to the display proportions and extracting the image features according to the searched extraction rules. The extraction rules and the corresponding relation between the extraction rules and the display proportion are pre-stored, and the corresponding extraction rules can be found according to the display proportion. The extraction rule may be found according to a display scale of a video signal corresponding to the image after the image is extracted, or may be found according to a display scale corresponding to the video signal after the video signal is generated, and the video signal, the display scale and the extraction rule are associated and stored in a temporary file, and after the image is acquired, the extraction rule is read from the temporary file, and the image feature of the image is extracted according to the extraction rule.
In this embodiment, the extraction rule is determined according to a display scale after the image is acquired. Correspondingly, as shown in fig. 5, the extracting the image feature of the image and comparing the image feature with the image feature corresponding to the display scale specifically includes:
s31, judging a proportion mode to which the display proportion belongs, wherein the proportion mode comprises 4:3, and other proportional modes supported by the smart television;
s32, when the display scale is 4:3, extracting the image features of the image according to a first extraction rule, and executing step S34;
s33, when the display scale is in other scale modes supported by the smart television, extracting image features of the image according to a second extraction rule, and executing a step S34;
and S34, comparing the image features with the image features corresponding to the display scale.
In particular, other scaling modes supported by the intelligence may include 16:9 and 16_9_ zoom _ up, etc. And the proportion modes supported by different models of intelligent televisions are also different, and other proportion modes supported by the intelligence are also different. For example, a television supporting only standard definition signals supports a scale mode of 4:3,16: 9, 16_9_ zoom _ up, cinema, and 14_9_ zoom, etc., the proportional modes supported by the tv supporting high definition signals are 4:3,16: 9, stretch _ zoom, wide _ zoom, wide _ zoom2, zoom2, etc. Correspondingly, a database is established in advance, the model of the intelligent television to be tested, the proportional mode supported by each model, the extraction rule corresponding to each proportional mode and the preset image characteristic corresponding to each proportional mode are stored in the database, and therefore the extraction rule corresponding to each proportional mode and the preset image characteristic can be found according to the proportional mode. In addition, the extraction rules corresponding to the same scale mode of different models of smart televisions are the same as the preset image features.
Meanwhile, in this embodiment, the first preset rule is to extract images within a preset range on the left and right sides of the image, and the number of white pixels carried by the images is 4:3, scale mode. The second preset rule is to extract various white pixel points contained in the preset position in the horizontal and vertical directions, and to take the number of the white pixel points contained in the horizontal and vertical directions as the image characteristics of other proportional modes supported by the smart television.
Accordingly, as shown in fig. 6, when the display scale is 4:3, extracting the image features of the image according to the first extraction rule specifically includes:
s321, when the display proportion is 4:3, respectively intercepting first images with preset sizes at the left side and the right side of the image in a proportional mode;
and S322, respectively obtaining white pixel points carried in the intercepted first image, and calculating the number of all the obtained white pixel points to obtain the image characteristics of the image.
Specifically, the ratio of 4: the image characteristic of the scale mode of 3 is that the left and right sides of the image each carry a black border of 12.5%. So that the preset size is 12.5% of the image resolution. For example, the image resolution is 1920 × 1080, that is, an image with a width of 1920 × 12.5% =240 pixels is cut on the left and right sides of the image. In this embodiment, the first image is captured by taking the coordinates of the pixel point at the upper left corner of the image as (0, 0) and the coordinates of the pixel point at the lower right corner of the image as (1919, 1079). Firstly, selecting (0, 0), (240,1079), (1680, 0) and (1919,1079) from the images, respectively taking a connecting line of (0, 0) and (240,1079) as an opposite angle and a connecting line of (1680, 0) and (1919,1079) as opposite angles, intercepting two rectangular images to obtain first images, and extracting the number of white pixel points carried by the two first images and recording the number as a first number; and finally, taking the first number as the image characteristic of the image. It is worth describing that, in this embodiment, the white pixels are pixels satisfying a preset condition, where the preset condition is that R, G and the B value are both greater than 150, and the extracted white pixels refer to pixels satisfying the preset condition.
As shown in fig. 7, when the display scale is in another scale mode supported by the smart television, the extracting the image feature of the image according to the second extraction rule specifically includes:
s331, when the display scale is in other scale modes supported by the smart television, respectively translating the central point of the image to the left/right and up/down by preset distances;
s332, extracting white pixel points contained in the horizontal direction and the longitudinal direction of the position of the center point of the moved image respectively;
and S333, respectively calculating the number of pixels of the white pixel points contained in the horizontal direction and the vertical direction, and generating the image characteristics of the image according to the calculated number of all the pixels.
Specifically, the preset distance is preset, for example, 10 pixels. Correspondingly, the step of respectively paralleling the image center point to the left/right and up/down by the preset distance means that one of four vertexes of a square with the image center point as the center and 2 times of the preset distance as the side length is selected. The lateral direction refers to a horizontal direction in which the center point of the image is located after the movement, and the longitudinal direction refers to a vertical direction in which the center point of the image is located after the movement. For example, the coordinates of the center point of the image are (960, 540), the coordinates of the pixel point obtained after moving left/right by the preset distance may be (950, y) or (970, y), and the coordinates of the pixel point obtained after moving up/down by the preset distance may be (x, 530) or (x, 550).
Further, after the central point of the image is translated, the white pixel points of the central point in the transverse and longitudinal directions are obtained, so that the influence of the horizontal white line and the vertical white line on the extraction of the white pixel points can be avoided, and the number of the white lines carried by the image can be accurately extracted. The white pixels are also pixels satisfying a predetermined condition, that is, R, G and B values are both greater than 150. Repeated white pixel points may exist when the white pixel points are extracted, and therefore after the white pixel points are extracted, deduplication processing needs to be performed to obtain the accurate number of the white pixel points. Correspondingly, as shown in fig. 8, the calculating the number of pixels of the white pixel points included in the horizontal direction and the vertical direction, and generating the image feature of the image according to the calculated number of all pixels specifically includes:
s3331, generating corresponding pixel point lists according to the white pixel points contained in the horizontal direction and the vertical direction respectively, and performing duplication elimination on each pixel point list by adopting a list circulation method;
s3332, calculating the number of pixels included in the corresponding direction according to each pixel point list after the duplication removal, and generating the image characteristics of the image according to the calculated number of all pixels.
Specifically, the specific process of performing deduplication processing by using a list circulation method may be: for a transverse pixel point list, taking out the coordinate value of a first white pixel point in the pixel point list, traversing all the white pixel points in the pixel point list, respectively calculating the distances between the first white pixel point and all the white pixel points except the first white pixel point, selecting all the pixel points with the distances smaller than the preset distance, and deleting all the selected white pixel points with the distances smaller than the preset distance to form a second pixel list; and then, taking out second white pixel points in the second pixel table, and repeating the process until all the repeated white pixel points are removed, so as to obtain the white pixel points contained in the transverse pixel point list, and extracting the number of the white pixel points. Correspondingly, the same method is adopted to extract the number of the white pixels contained in the longitudinal pixel point list. And finally, determining the image characteristics of the image according to the number of the horizontal pixel points and the number of the longitudinal pixel points.
In a modified embodiment of this embodiment, the removing process may be: and for the transverse pixel point list, calculating the distance between any two pixel points, classifying according to the calculated distance, and taking the number of the classified categories as the number of white pixel points contained in the transverse pixel point list. Correspondingly, the number of the pixels contained in the longitudinal pixel point list is obtained in the same way for the longitudinal pixel point list. The preset distance may be a length corresponding to 10 pixels.
And S40, determining the correctness of the display scale configuration of the intelligent television according to the comparison result.
Specifically, the comparison results include the same and different. When the display scale configuration of the intelligent television is the same, the display scale configuration of the intelligent television is correct, and when the display scale configuration of the intelligent television is different, the display scale configuration of the intelligent television is incorrect. In this embodiment, the preset image characteristics may be that 16:9 corresponds to 21 horizontal pixel points and 23 vertical pixel points; the longitudinal pixel point corresponding to the stretch _ zoom is 15, and the transverse pixel point is 23; the vertical pixel point corresponding to the wide _ zoom is 19, and the horizontal pixel point is 21; the longitudinal pixel point corresponding to the wide _ zoom2 is 15, and the transverse pixel point is 15; the longitudinal pixel point corresponding to the zoom2 is 15, and the transverse pixel point is 21; the longitudinal pixel point corresponding to the '16 _9_ zoom _ up' is 16, and the transverse pixel point is 19; the longitudinal pixel point corresponding to the cinema is 19, and the transverse pixel point is 21; the vertical pixel point corresponding to "14_9_ zoom" is 17, and the horizontal pixel point is 23.
Based on the above-mentioned method for testing the television display ratio, the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs can be executed by one or more processors to implement the steps in the method for testing the television display ratio according to the above-mentioned embodiment.
Based on the above-mentioned testing method for the television display scale, the present invention further provides a testing apparatus for the television display scale, as shown in fig. 9, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory) 22, and may further include a communication Interface (Communications Interface) 23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 30 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the mobile terminal are described in detail in the method, and are not stated herein.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A method for testing the display scale of a television is characterized by comprising the following steps:
acquiring a display scale of a video signal to be sent to an intelligent television, and controlling the intelligent television to configure the display scale;
sending the video signal to an intelligent television, and collecting an image formed by the video signal on the intelligent television;
extracting image features of the image, and comparing the image features with image features corresponding to the display scale;
determining the correctness of the display scale configuration of the intelligent television according to the comparison result;
wherein the extracting of the image features of the image specifically comprises:
judging a proportion mode to which the display proportion belongs, wherein the proportion mode comprises 4:3, and other proportional modes supported by the smart television;
when the display scale is 4:3, extracting the image characteristics of the image according to a first extraction rule;
when the display scale is in other scale modes supported by the smart television, extracting image features of the image according to a second extraction rule;
when the display scale is 4:3, extracting the image features of the image according to the first extraction rule specifically includes:
when the display scale is 4:3, respectively intercepting first images with preset sizes at the left side and the right side of the image in a proportional mode;
respectively acquiring white pixel points carried in the intercepted first image, and calculating the number of all the acquired white pixel points to obtain the image characteristics of the image;
when the display scale is in other scale modes supported by the smart television, extracting the image features of the image according to a second extraction rule specifically includes:
when the display scale is in other scale modes supported by the smart television, respectively translating the central point of the image to the left/right and to the up/down by preset distances;
respectively extracting white pixel points contained in the horizontal direction and the longitudinal direction of the position of the center point of the moved image;
and respectively calculating the number of pixels of the white pixel points contained in the horizontal direction and the vertical direction, and generating the image characteristics of the image according to the calculated number of all the pixels.
2. The method for testing the display ratio of the television according to claim 1, wherein the obtaining the display ratio of the video signal to be sent to the smart television and controlling the smart television to configure the display ratio specifically comprises:
generating a video signal to be sent to the smart television through a preset video signal generator, and extracting the display proportion of the video signal;
and generating a remote control code according to the display proportion of the video signal, and controlling the smart television to configure the display proportion through the remote control code.
3. The method for testing the television display ratio according to claim 1, wherein the sending the video signal to the smart television and the collecting the image formed by the video signal on the smart television specifically comprises:
sending the video signal to an intelligent television to control the intelligent television to display a video picture corresponding to the video signal;
and collecting the video picture displayed by the intelligent television to obtain the image.
4. The method for testing the television display scale according to claim 1, wherein the image is a black image carrying a plurality of white concentric circles, and the centers of the white concentric circles are located at the center of the image.
5. The method for testing the television display ratio according to claim 1, wherein the steps of calculating the number of pixels of the white pixels included in the horizontal direction and the vertical direction, and generating the image features of the image according to the calculated number of all the pixels specifically include:
generating corresponding pixel point lists according to the white pixel points contained in the horizontal direction and the vertical direction respectively, and performing duplicate removal processing on each pixel point list by adopting a list circulation method;
and calculating the number of pixel points contained in the corresponding direction according to the pixel point list after the duplication removal, and generating the image characteristics of the image according to the calculated number of all the pixels.
6. A computer readable storage medium, storing one or more programs, which are executable by one or more processors, to implement the steps in the method for testing the display scale of a television according to any one of claims 1 to 5.
7. A TV display scale testing device is characterized by comprising: a processor, a memory, and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes connection communication between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the method for testing the display scale of a television according to any one of claims 1 to 5.
CN201711391311.5A 2017-12-21 2017-12-21 Method and device for testing television display scale and storage medium Active CN109951699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711391311.5A CN109951699B (en) 2017-12-21 2017-12-21 Method and device for testing television display scale and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711391311.5A CN109951699B (en) 2017-12-21 2017-12-21 Method and device for testing television display scale and storage medium

Publications (2)

Publication Number Publication Date
CN109951699A CN109951699A (en) 2019-06-28
CN109951699B true CN109951699B (en) 2021-06-11

Family

ID=67004646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711391311.5A Active CN109951699B (en) 2017-12-21 2017-12-21 Method and device for testing television display scale and storage medium

Country Status (1)

Country Link
CN (1) CN109951699B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051136B (en) * 2021-11-26 2024-02-23 四川长虹电器股份有限公司 Automatic testing method for television picture size
CN115914767B (en) * 2022-11-11 2024-09-13 深圳创维-Rgb电子有限公司 Reproduction rate adjustment method, system, television and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1701602A (en) * 2003-07-22 2005-11-23 索尼株式会社 Apparatus and method for image processing, and computer program
CN1770882A (en) * 2004-11-06 2006-05-10 鸿富锦精密工业(深圳)有限公司 Digital image analysis test pattern and its making method
CN103501436A (en) * 2013-09-24 2014-01-08 深圳Tcl新技术有限公司 Reproduction ratio testing method and system
CN103813095A (en) * 2012-11-06 2014-05-21 利达电子株式会社 Test chart and method for using thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100727390B1 (en) * 2005-12-26 2007-06-12 삼성전자주식회사 Adaptive image size conversion apparatus and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1701602A (en) * 2003-07-22 2005-11-23 索尼株式会社 Apparatus and method for image processing, and computer program
CN1770882A (en) * 2004-11-06 2006-05-10 鸿富锦精密工业(深圳)有限公司 Digital image analysis test pattern and its making method
CN103813095A (en) * 2012-11-06 2014-05-21 利达电子株式会社 Test chart and method for using thereof
CN103501436A (en) * 2013-09-24 2014-01-08 深圳Tcl新技术有限公司 Reproduction ratio testing method and system

Also Published As

Publication number Publication date
CN109951699A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN110300292B (en) Projection distortion correction method, device, system and storage medium
US11151723B2 (en) Image segmentation method, apparatus, and fully convolutional network system
CN107111880B (en) Disposition is blocked for computer vision
US11194536B2 (en) Image processing method and apparatus for displaying an image between two display screens
CN108965839B (en) Method and device for automatically adjusting projection picture
CN110765799B (en) Client code scanning identification method, device, equipment and storage medium
CN109951699B (en) Method and device for testing television display scale and storage medium
CN112348958A (en) Method, device and system for acquiring key frame image and three-dimensional reconstruction method
CN111309203A (en) Method and device for acquiring positioning information of mouse cursor
US20190172226A1 (en) System and method for generating training images
CN114066823A (en) Method for detecting color block and related product thereof
JP6246441B1 (en) Image analysis system, image analysis method, and program
CN109931923B (en) Navigation guidance diagram generation method and device
CN112150355A (en) Image processing method and related equipment
KR20160135661A (en) Method and device for bounding an object in a video
CN116243837A (en) Picture display method, system, equipment and computer readable storage medium
CN112652056B (en) 3D information display method and device
CN117372247A (en) Image processing method, image processing apparatus, and storage medium
KR102242202B1 (en) Apparatus and Method for camera calibration
CN115914767B (en) Reproduction rate adjustment method, system, television and computer readable storage medium
CN110689515B (en) Computer image processing system adopting intelligent recognition technology
CN112712474B (en) Perspective correction method and system for video streaming images
WO2023193648A1 (en) Image processing method and apparatus, electronic device, and storage medium
KR102696006B1 (en) System for providing three dimentional event display service using spatial coordinates
CN116433769B (en) Space calibration method, device, electronic equipment and storage medium

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